## Direction Cosines

When a directed line ** OP** passing through the origin makes \(\alpha \)

*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.

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 \)

\(y\)

\(z\)

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

\(r\)

\(\Rightarrow r\)

The cosines of direction angles are given by \(cos \alpha\)

\(x\)

\(y\)

\(z\)

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

\(r\)

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

\(r \)

\(\Rightarrow \hat{r}\)

Therefore, we can say that cosines of direction angles of a vector **r **are the coefficients of the unit vectors \(\hat{i}\)

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\)

In simple terms, \(r\)

On dividing the equation,\(r^2 \)

\(\frac{r^2}{r^2} \)

Using equations 1, 2 and 3, we get

\(\Rightarrow 1 \)

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 \)

\( b \)

\( c \)

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

\(\frac{l}{a} \)

But we know that

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

From this, we can find that \(k\)

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**