Skip to content

Mathematics · Ch 8 — Vector Algebra-I

Direction Cosines and Direction Ratios

8.7

Direction Cosines and Direction Ratios

Direction angles. Let P(x,y,z)P(x,y,z) be a point in space at distance r=x2+y2+z2r=\sqrt{x^2+y^2+z^2} from the origin OO, and let R,S,TR,S,T be the feet of the perpendiculars from PP to the x,y,zx,y,z axes. Let α,β,γ\alpha,\beta,\gamma be the angles that OP⃗\vec{OP} makes with the positive x,y,zx,y,z axes respectively — these are the direction angles of OP⃗\vec{OP}.

Direction cosines. In right triangle OPROPR (right-angled at RR), cos⁡α=OROP=xr\cos\alpha=\dfrac{OR}{OP}=\dfrac xr; similarly cos⁡β=yr, cos⁡γ=zr\cos\beta=\dfrac yr,\ \cos\gamma=\dfrac zr. These three cosines, usually denoted (l,m,n)(l,m,n), are the direction cosines of OP⃗=xi^+yj^+zk^\vec{OP}=x\hat i+y\hat j+z\hat k: l=cos⁡α=xr,m=cos⁡β=yr,n=cos⁡γ=zr,r=x2+y2+z2.l=\cos\alpha=\frac xr,\quad m=\cos\beta=\frac yr,\quad n=\cos\gamma=\frac zr,\qquad r=\sqrt{x^2+y^2+z^2}.

Direction ratios. Any three numbers proportional to the direction cosines of a vector are called its direction ratios. Since 'proportional to' allows any nonzero scaling, a vector has infinitely many possible sets of direction ratios — unlike its direction cosines, which are essentially fixed (up to an overall sign, corresponding to the two opposite directions along the same line).

A vector not through the origin. If a vector's initial point is not the origin, we find its direction cosines by translating a copy of it (same magnitude, same direction) so that its tail sits at the origin — two equal vectors necessarily share the same set of direction cosines.

Key results. Let r⃗=xi^+yj^+zk^\vec r=x\hat i+y\hat j+z\hat k have direction angles α,β,γ\alpha,\beta,\gamma. Then:

  1. l2+m2+n2=1l^2+m^2+n^2=1 (the sum of the squares of the direction cosines is always 11). Proof. l2+m2+n2=x2r2+y2r2+z2r2=x2+y2+z2r2=r2r2=1l^2+m^2+n^2=\dfrac{x^2}{r^2}+\dfrac{y^2}{r^2}+\dfrac{z^2}{r^2}=\dfrac{x^2+y^2+z^2}{r^2}=\dfrac{r^2}{r^2}=1.
  2. sin⁡2α+sin⁡2β+sin⁡2γ=2\sin^2\alpha+\sin^2\beta+\sin^2\gamma=2 (immediate from (i), since sin⁡2θ=1−cos⁡2θ\sin^2\theta=1-\cos^2\theta for each angle, and the three 11's sum to 33, minus the 11 from (i), leaves 22).
  3. The direction cosines of r⃗\vec r are (xx2+y2+z2, yx2+y2+z2, zx2+y2+z2).\left(\frac{x}{\sqrt{x^2+y^2+z^2}},\ \frac{y}{\sqrt{x^2+y^2+z^2}},\ \frac{z}{\sqrt{x^2+y^2+z^2}}\right).
  4. l,m,nl,m,n are the direction cosines of some vector if and only if l2+m2+n2=1l^2+m^2+n^2=1 — this is exactly the test used to check whether a given triple of numbers could be direction cosines. …
Figure 8.32Direction angles

What this figure shows. Vector OP with direction angles alpha, beta, gamma measured from the positive x, y, z axes respectively. …