Q. The direction cosines of a line passing through two points and are

 271  188 Three Dimensional Geometry Report Error

Solution:

Since, one and only one line passes through two given points, we can determine the direction cosines of a line passing through the given points and as follows
image
Let and be the direction cosines of the line and let it makes angles and with the and Z-axes, respectively.
Draw perpendiculars from and to -plane to meet at and . Draw a perpendicular from to to meet at . Now, in right angled from (figure).
Therefore,
Similarly,
and
Hence, the direction cosines of the line segment joining the points and are