JEE Main 2021 Mathematics question — Equations of a line in various forms
The point P(a,b) undergoes the following three transformations successively: (a) reflection about the line y=x. (b) translation through 2 units along the positive direction of x-axis. (c) rotation through angle 4π about the origin in the anti-clockwise direction. If the co-ordinates of the final position of the point P are (−21,27), then the value of 2a+b is equal to:
SOLUTION
Let the original point be denoted by P(a,b). We shall follow the three prescribed transformations one after another and track the co-ordinates at every stage.
First, we perform a reflection about the line y=x. For any point (x,y), reflection in the line y=x interchanges its co-ordinates. Hence
P(a,b)⟶P1(b, \, a).
Next, we translate the point by 2 units along the positive x-axis. Translation along the positive x-direction by 2 units simply adds 2 to the x-coordinate while leaving the y-coordinate unchanged. Therefore
P1(b,a)⟶P2(b+2,a).
Now we rotate the point anticlockwise about the origin through an angle 4π. For rotation of a point (x,y) by an angle θ anticlockwise about the origin, the standard formula is
(x,y)⟶(xcosθ−ysinθ,xsinθ+ycosθ).
Here θ=4π, so cosθ=21 and sinθ=21. Applying the formula to P2(b+2,a) we obtain the final point P3(xf,yf):