JEE Main 2019 Mathematics question — Tangents and normals to curves
Let S be the set of all values of x for which the tangent to the curve y=f(x)=x3−x2−2x at (x,y) is parallel to the line segment joining the points (1,f(1)) and (−1,f(−1)), then S is equal to:
SOLUTION
We are given the cubic curve y=f(x)=x3−x2−2x and we have to find every value of x for which the tangent drawn at the point (x,f(x)) is parallel to the straight line joining the two fixed points (1,f(1)) and (−1,f(−1)).
Whenever two straight lines are parallel, their slopes are equal. Hence, we must first compute the slope of the line segment connecting the two given points and then equate that value with the slope of the tangent to the curve.
We start by evaluating the function at the two prescribed points:
For x=1 we get
f(1)=13−12−2(1)=1−1−2=−2.
For x=−1 we get
f(−1)=(−1)3−(−1)2−2(−1)=−1−1+2=0.
Thus the two points are (1,−2) and (−1,0). Now we recall the basic two-point formula for the slope of a straight line:
The slope m of the line passing through (x1,y1) and (x2,y2) is
m=x2−x1y2−y1.
Substituting (x1,y1)=(1,−2) and (x2,y2)=(−1,0) we obtain
mline=(−1)−10−(−2)=−22=−1.
Hence the required tangent must also have slope −1.
Next, we differentiate the given curve to get the slope of its tangent at any general point x.
Using the standard rule dxd(xn)=nxn−1, we find
f′(x)=dxd(x3−x2−2x)=3x2−2x−2.
Since the tangent must be parallel to the line segment, we equate its slope to −1:
</p><p>3x2−2x−2=−1.</p><p>
Now we collect like terms on the left side:
</p><p>3x2−2x−2+1=0⟹3x2−2x−1=0.</p><p>
This is a quadratic equation in the standard form ax2+bx+c=0 with a=3,b=−2,c=−1. To solve it we apply the quadratic-formula, which states