Direction angles and cosines, l² + m² + n² = 1, direction ratios and how to convert them, the direction of a segment and a point on a directed line.
Lesson 1 of 3
5 min read
6 practice questions
What this lesson covers
In the plane one angle, or one slope, tells us the direction of a line. In space we use three numbers. This lesson defines direction cosines and direction ratios, shows how to pass from one to the other, and uses them to find the direction of a segment and the coordinates of a point on a directed line.
Direction cosines of a directed line
Let a directed line L through the origin O make angles α, β and γ with the positive directions of the axes OX, OY and OZ. These are called the direction angles. Their cosines cosα, cosβ and cosγ are called the direction cosines (d.c.'s) of L, written (l,m,n):
l=cosα,m=cosβ,n=cosγ.
For a line not through the origin, use the parallel line through the origin with the same direction.
The direction cosines always satisfy
l2+m2+n2=1,that iscos2α+cos2β+cos2γ=1.
The reason: the point at unit distance along the line is (l,m,n), and its distance from the origin is 1. Two more forms follow from this one:
sin2α+sin2β+sin2γ=2,cos2α+cos2β+cos2γ=−1.
For the first, replace each sin2 by 1−cos2; for the second, use cos2α=2cos2α−1.
Direction cosines of the axes
The x axis makes angles 0∘, 90∘, 90∘ with the axes, so its d.c.'s are (cos0∘,cos90∘,cos90∘)=(1,0,0).
The y axis has d.c.'s (cos90∘,cos0∘,cos90∘)=(0,1,0).
The z axis has d.c.'s (cos90∘,cos90∘,cos0∘)=(0,0,1).
Direction ratios
Any three numbers proportional to the direction cosines of a line are called direction ratios (d.r.'s) of the line, written (a,b,c). If (a,b,c) are d.r.'s of a line, then so is (λa,λb,λc) for any λ=0. Direction ratios are easier to work with because they need not satisfy a2+b2+c2=1.
From direction ratios to direction cosines
If (a,b,c) are d.r.'s and (l,m,n) are d.c.'s of the same line, then
al=bm=cn=±a2+b2+c21,
so
l=±a2+b2+c2a,m=±a2+b2+c2b,n=±a2+b2+c2c,
taking the same sign throughout. In short, divide the d.r.'s by their length.
Direction of a line segment
The d.r.'s of the segment joining A(x1,y1,z1) and B(x2,y2,z2) may be taken as