Skip to content

Mathematics · Ch 8 — Vectors

Direction Cosines and Direction Ratios

2

Direction Cosines and Direction Ratios

Definition of Direction Cosines

Let a vector a⃗\vec a (or the directed line OPOP from the origin OO to a point PP) make angles α,β,γ\alpha,\beta,\gamma with the positive xx-, yy- and zz-axes respectively. The cosines of these angles, cos⁡α,cos⁡β,cos⁡γ\cos\alpha,\cos\beta,\cos\gamma, are called the direction cosines of the vector, usually denoted l,m,nl,m,n:

l=cos⁡α,m=cos⁡β,n=cos⁡γl=\cos\alpha,\qquad m=\cos\beta,\qquad n=\cos\gamma

Direction cosines describe the direction of a vector only, independent of its length -- a vector and any positive scalar multiple of it (pointing the same way) share the same direction cosines.

The Fundamental Relation l2+m2+n2=1l^2+m^2+n^2=1

Derivation. Consider a vector a⃗=a1i^+a2j^+a3k^\vec a=a_1\hat i+a_2\hat j+a_3\hat k of magnitude ∣a⃗∣=r=a12+a22+a32|\vec a|=r=\sqrt{a_1^2+a_2^2+a_3^2}, drawn from the origin to the point P(a1,a2,a3)P(a_1,a_2,a_3). Drop a perpendicular from PP to the xx-axis, meeting it at NN; then ON=a1ON=a_1, and in the right triangle OPNOPN, ∠PON=α\angle PON=\alpha, so

cos⁡α=ONOP=a1r.\cos\alpha=\frac{ON}{OP}=\frac{a_1}{r}.

By the same argument using the perpendiculars to the yy- and zz-axes,

cos⁡β=a2r,cos⁡γ=a3r.\cos\beta=\frac{a_2}{r},\qquad \cos\gamma=\frac{a_3}{r}.

Hence l=a1rl=\dfrac{a_1}{r}, m=a2rm=\dfrac{a_2}{r}, n=a3rn=\dfrac{a_3}{r}. Squaring and adding all three,

l2+m2+n2=a12+a22+a32r2=r2r2=1.l^2+m^2+n^2=\frac{a_1^2+a_2^2+a_3^2}{r^2}=\frac{r^2}{r^2}=1.

Important

l2+m2+n2=1l^2+m^2+n^2=1

This identity holds for the direction cosines of every vector, and is the standard check used immediately after computing l,m,nl,m,n.

Direction Ratios

Any three numbers a,b,ca,b,c proportional to the direction cosines l,m,nl,m,n of a vector (i.e. al=bm=cn\dfrac{a}{l}=\dfrac{b}{m}=\dfrac{c}{n} for some nonzero constant) are called the direction ratios of that vector. Unlike direction cosines, direction ratios are not unique or normalised -- (2,−1,2)(2,-1,2) and (4,−2,4)(4,-2,4) describe the same direction -- and need not satisfy a2+b2+c2=1a^2+b^2+c^2=1.

Given direction ratios a,b,ca,b,c, the direction cosines are recovered by dividing each by a2+b2+c2\sqrt{a^2+b^2+c^2}:

l=aa2+b2+c2,m=ba2+b2+c2,n=ca2+b2+c2l=\frac{a}{\sqrt{a^2+b^2+c^2}},\quad m=\frac{b}{\sqrt{a^2+b^2+c^2}},\quad n=\frac{c}{\sqrt{a^2+b^2+c^2}}

(taking the negative square root instead gives the direction cosines of the oppositely-directed vector.)

Direction Cosines of the Vector Joining Two Points …