Direction Cosines & Direction Ratios Of A Line

Direction Cosines

When a directed line OP passing through the origin makes \(\alpha \), \(\beta\) and \( \gamma\) angles with the \(x\), \(y \) and \(z \) axis respectively with O as the reference, these angles are referred as the direction angles of the line and the cosine of these angles give us the direction cosines. These direction cosines are usually represented as l, m and n.

Direction Cosines

If we extend the line  OP on the three dimensional Cartesian coordinate system, then to figure out the direction cosines, we need to take the supplement of the direction angles. It is pretty obvious from this statement that on reversal of the  line  OP in opposite direction, the direction cosines of the line also get reversed. In a situation where the given line does not pass through the origin, a line parallel to the given line passing through the origin is drawn and in doing so, the angles remain same as the angles made by the original line. Hence, we get the same direction.

Since we are considering a line passing through the origin to figure out the direction angles and their cosines, we can consider the position vectors of the line OP.

If  = r, then from the above figure 1, we can see that

\(x \)= \(r cos \alpha\)

\(y\) = \( r cos \beta\)

\(z\) = \( r cos \gamma\)

Where r  denotes the magnitude of the vector and it is given by,

\(r\) = \(\sqrt{(x – 0)^2 + (y – 0)^2 + (z – 0)^2}\)

\(\Rightarrow r\) =\( \sqrt{x^2 + y^2 + z^2}\)

The cosines of direction angles are given by \(cos \alpha\), \(cos \beta\) and \(cos\gamma\) and these are denoted by l, m and n respectively. Therefore, the above equations can be reframed as:

\(x\) = \(r cos\alpha\) =\( lr\) ——————————————————— (1)

\(y\) =\( r cos\beta\) =\( mr \)——————————————————– (2)

\(z\) = \(r cos \gamma\) = \( nr \)——————————————————— (3)

We can also represent  r in terms of its unit vector components using the orthogonal system.

\(r\) =\( x\hat{i} + y \hat{j} + k \hat{z}\)

Substituting the values of x, y and z, we have

\(r \)=\( lr\hat{i} + mr\hat{j} + nr\hat{z}\)

\(\Rightarrow \hat{r}\) =\( \frac{r}{|r|}\) = \( l\hat{i} + m\hat{j} + n \hat{z}\)

Therefore, we can say that cosines of direction angles of a vector are the coefficients of the unit vectors \(\hat{i}\),\( \hat{j}\) and \(\hat{k}\) when the unit vector \(\hat{r}\) is resolved in terms of its rectangular components.

Any number proportional to the direction cosine is known as the direction ratio of a line. These direction numbers are represented by a, b and c.

Also as \(OP^2\) = \( OA^2 + OB^2 + OC^2 \)

In simple terms, \(r\) = \(\sqrt{x^2 + y^2 + z^2}\)

On dividing the equation,\(r^2 \)=\( x^2 + y^2 + z^2~ by ~r^2 \)we have,

\(\frac{r^2}{r^2} \)=\( \frac{x^2}{r^2} + \frac{y^2}{r^2} + \frac{z^2}{r^2}\)

Using equations 1, 2 and 3, we get

\(\Rightarrow 1 \)= \((\frac{x}{r})^2 + (\frac{y^2}{r^2})^2 + (\frac{z^2}{r^2})^2\) = \(l^2 + m^2 + n^2\)

We can conclude that sum of the squares of the direction cosines of a line is 1.

From the above definition, we can say that

\(a ∝ l\)

\(b ∝ m\)

\(c ∝ n\)

From these relations, we get

\( a \)=\( kl\)

\( b \)=\( km\)

\( c \)=\( kn\)

The ratio between the direction cosines and direction ratios of a line is given by

\(\frac{l}{a} \)= \(\frac{m}{b}\) = \(\frac{n}{c}\) = \(k\)

But we know that

\(l^2 + m^2 + n^2 \)= \(1\)

From this, we can find that \(k\) =\( \pm \frac{1}{\sqrt{a^2 + b^2 + c^2}}\)<

The value of  can be chosen as positive or negative depending upon the direction of the directed line.

We can take any number of direction ratios by altering the value of k.

We are clear on the concept of the direction ratios and cosines of a line. To investigate more about three-dimensional geometry, download BYJU’S learning app and keep learning.

Practise This Question

When three lines intersect at three points, then how many angles will be formed?