Formula
Direction cosines from direction ratios
Analytical Geometry • Three Dimensions • Direction Cosines and Ratios
Formula
Direction ratios fix a direction only up to scale. Dividing them by the length of the vector scales it to length , and the components of a unit vector are the cosines of its angles with the axes. So a line with direction ratios has direction cosines , or all three with the opposite sign.
How to use it
- 1Direction ratios are any numbers proportional to the direction; when they are given as conditions like , first pick convenient numbers that satisfy them.
- 2Compute once, then divide each ratio by it.
Worked example
A line has direction ratios . Find the cosine of its angle with the -axis.
Step-by-step
- 1
Why: This is the length of the vector .
- 2
Why: Dividing by the length makes it a unit vector, whose first component is the cosine of the angle with the -axis.
Answer
Watch out
Using the ratios themselves as cosines without dividing: are not cosines, since their squares do not add to .
Builds on
Also known as
direction cosines from direction ratios, l = a over root of a^2+b^2+c^2, normalising direction ratios