If a line has direction ratios 2, –1, –2, determine its cosines.
Let us assume the direction ratios of the line be r1, r2, r3.
Then:
⇒ r1 = 2
⇒ r2 = –1
⇒ r3 = –2
Let us assume the direction cosines for the line be
We know that for a line of direction ratios r1, r2, r3 and having direction cosines has the following property.
⇒
⇒
⇒
Let us substitute the values of r1, r2, r3 to find the values of .
⇒
⇒
⇒
⇒
⇒
⇒
⇒
⇒
⇒
⇒
⇒
⇒
∴ The direction cosines for the given line is .