JEE Main 2020 Mathematics question — Coordinates, direction cosines and direction ratios
The projection of the line segment joining the point (1,−1,3) and (2,−4,11) on the line joining the points (−1,2,3) and (3,−2,10) is ___________.
SOLUTION
We begin by translating the given points into vectors.
For the line segment whose projection we have to find, let us denote the first point by A(1,−1,3) and the second point by B(2,−4,11).
The vector joining these points is obtained by subtracting the coordinates of A from those of B:
AB=⟨2−1,−4−(−1),11−3⟩=⟨1,−3,8⟩.
Next, we need the direction of the line on which we are projecting.
Let that line pass through the points C(−1,2,3) and D(3,−2,10).
Its direction vector is obtained in the same way:
CD=⟨3−(−1),−2−2,10−3⟩=⟨4,−4,7⟩.
Now, the scalar (length) of the projection of one vector on another is given by the well-known formula
Projection of u on v=∣v∣u⋅v,
where u⋅v is the dot product and ∣v∣ is the magnitude of v.
Here u=AB and v=CD.
First we evaluate the dot product AB⋅CD:
AB⋅CD=(1)(4)+(−3)(−4)+(8)(7)=4+12+56=72.
Next we find the magnitude of CD:
∣CD∣=42+(−4)2+72=16+16+49=81=9.
Substituting these values into the projection formula, we obtain