JEE Main 2004 Mathematics question — Tangents and normals to curves
A function y=f(x) has a second order derivative f′′(x)=6(x−1). If its graph passes through the point (2,1) and at that point the tangent to the graph is y=3x−5, then the function is
SOLUTION
Key idea: integrate twice and fix the constants with f′(2)=3 (the tangent's slope) and f(2)=1.
f′(x)=3(x−1)2+c1. f′(2)=3 gives 3+c1=3, so c1=0.
f(x)=(x−1)3+c2. f(2)=1 gives 1+c2=1, so c2=0.
So f(x)=(x−1)3. Check: the tangent at (2,1) is y−1=3(x−2), i.e. y=3x−5.