A line through the points A(3, 4, 1) and B(5, 1, 6) is drawn.
Direction cosines of the line passing through the points A and B are :
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{2}{\sqrt{38}},-\frac{3}{\sqrt{38}},\frac{5}{\sqrt{38}}\)
The direction ratios of the line AB are the differences of the coordinates:
\((5-3,\ 1-4,\ 6-1) = (2,\ -3,\ 5)\)
Their magnitude is
\(\sqrt{2^2+(-3)^2+5^2} = \sqrt{4+9+25} = \sqrt{38}\)
The direction cosines are the direction ratios divided by this magnitude:
\( \displaystyle \frac{2}{\sqrt{38}},\ -\frac{3}{\sqrt{38}},\ \frac{5}{\sqrt{38}} \)
The only other set, with all signs changed, is \(-\frac{2}{\sqrt{38}}, \frac{3}{\sqrt{38}}, -\frac{5}{\sqrt{38}}\), which is not among the options. In Options (1), (3) and (4) only some of the signs differ, so they do not describe the line AB.
NCERT (2026-27 edition):
Direction Cosines and Direction Ratios of a Line
