Direction Cosines

In analytical geometry, the directional cosines also known as direction cosine of a vector is defined as the cosines of the angles between the three coordinate axes and the vector.  In this section, we will first learn about the position vector of a point and direction cosines and then finding the angle between two lines.

Position Vector

\(\begin{array}{l}\text{If O is taken as reference origin and A is an arbitrary point in space then the vector }\overrightarrow{OA} \text{ is called } \\ \text{the position vector of the point.}\end{array} \)

Position vector simply denotes the position or location of a point in the three-dimensional Cartesian system with respect to a reference origin.

Direction Cosines and Angle Between Two Lines

Let us consider a point P lying in space and if its position vector makes positive angles (anticlockwise direction) of α, β and γ with the positive x,y and z-axis respectively, then these angles are known as direction angles and on taking the cosine of these angles we get direction cosines. Taking direction cosines makes it easy to represent the direction of a vector in terms of angles with respect to the reference.

The coordinates of the point P may also be expressed as the product of the magnitude of the given vector and the cosines of direction on the three axes, i.e.

\(\begin{array}{l}x = l| \vec{r} | \end{array} \)

\(\begin{array}{l} y = m| \vec{r} | \end{array} \)

\(\begin{array}{l} z = n| \vec{r} | \end{array} \)

Where l, m, n represent the direction cosines of the given vector on the axes x, y, z respectively. We can clearly see that lr, mr, nr are in proportion to the direction cosines and these are called the direction ratios and they are denoted by a, b, c.

Let L1 and L2 represent two lines having the direction ratios as a1, b1, c1, and a2, b2, c2 respectively such that they are passing through the origin. Let us choose a random point A on line L1 and B on line L2. Considering the directed lines OA and OB as shown in the figure given below, let the angle between these lines be θ.

Direction cosines

Using the concept of direction cosines and direction ratios, the angle θ between L1 and L2 is given by:

Direction Ratios

\(\begin{array}{l} \text{ In terms of } sin θ = \sqrt{(1 – cos^2 θ)}\end{array} \)

Therefore,

Direction Ratios Expansion

Special Cases

  • If L1 and L2 having the direction ratios as a1, b1, c1 and a2, b2, c2 respectively are perpendicular to each other, then θ = 900. Therefore, a1a2 + b1b2 + c1c2 = 0
  • If L1 and L2 having the direction ratios as a1, b1, c1 and a2, b2, c2 respectively are parallel to each other, then θ = 00.
  • \(\begin{array}{l} \text {Therefore } \frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}\end{array} \)

How to Find the Direction Cosine?

The direction cosine of the vector can be determined by dividing the corresponding coordinate of a vector by the vector length. The unit vector coordinate is equal to the direction cosine. One such property of the direction cosine is that the addition of the squares of the direction cosines is equivalent to one.

We know that the direction cosine is the cosine of the angle subtended by the line with the three coordinate axes, such as x-axis, y-axis and z-axis respectively. If the angles subtended by these three axes are α, β, and γ, then the direction cosines are cos α, cos β, cos γ respectively. The direction cosines are also represented by l, m, and n.

\(\begin{array}{l} \text {Thus, the direction cosine of a vector } \vec{A} = a\hat{i}+b\hat{j}+c\hat{k} \text{  is given as:}\end{array} \)

\(\begin{array}{l}cos\alpha = l = \frac{a}{\sqrt{(a)^{2}+(b)^{2}+(c)^{2}}}\end{array} \)

\(\begin{array}{l}cos\beta = m = \frac{b}{\sqrt{(a)^{2}+(b)^{2}+(c)^{2}}}\end{array} \)

\(\begin{array}{l}cos\gamma = n = \frac{c}{\sqrt{(a)^{2}+(b)^{2}+(c)^{2}}}\end{array} \)

Direction Cosines Examples

Example 1: 

Determine the direction cosine of a line joining the point (-4, 2, 3) with the origin.

Solution:

Given that, the line joins the origin (0, 0, 0) and the point (-4, 2, 3). Hence, the direction ratios are -4, 2, 3.

Also, the magnitude of a line = √[(-4)2+(2)2+(3)2]

= √(16+4+9) = √29.

Therefore, the direction cosines are ((-4/√29), (2/√29), (3/√29)).

Example 2: 

Find the direction cosine of a vector joining the points A(1, 2, -3) and B(-1, -2, 1), directed from A to B.

Solution:

Given that, A(1, 2, -3) and B(-1, -2, 1)

\(\begin{array}{l}\overrightarrow{AB} = (-1-1)\hat{i}+(-2-2)\hat{j}+(1-(-3))\hat{k}\end{array} \)

\(\begin{array}{l}\overrightarrow{AB} = -2\hat{i}-4\hat{j}+4\hat{k}\end{array} \)

Hence, the direction ratios are -2, -4, 4.

Magnitude = √[(-2)2+(-4)2+(4)2]

= √(4+16+16) = √36 = 6.

Thus, the direction cosines are (-2/6, -4/6, 4/6), which is also equal to (-⅓, -⅔, ⅔)

Example 3: 

\(\begin{array}{l}\text{Determine the direction cosine of the vector  } 1\hat{i}+2\hat{j}+3\hat{k}\end{array} \)

Solution:

Given vector:

\(\begin{array}{l}1\hat{i}+2\hat{j}+3\hat{k}\end{array} \)

\(\begin{array}{l}\text{Let } \vec{a}= 1\hat{i}+2\hat{j}+3\hat{k}\end{array} \)

Thus, the direction ratios are 1, 2, 3.

\(\begin{array}{l} \text{Magnitude of }\vec{a} = \sqrt{1^2 + 2^2 + 3^2}\end{array} \)

= √(1+4+9) = √14.

Therefore, the direction cosines are ((1/√14), (2/√14), (3/√14))

Stay tuned with BYJU’S – The Learning App and download the app to learn all Maths-related concepts easily by exploring more videos.

Frequently Asked Questions on Direction Cosines

Q1

What is meant by direction cosines?

The direction cosine of a vector is defined as the cosine of the angle between the vector and the three positive coordinate axes.

Q2

Does the direction cosines of two parallel lines are always the same?

Yes, the direction cosines of two parallel lines are always the same.

Q3

If l, m and n are the direction cosines of a line, then what is the relationship between the direction cosines of a line?

If l, m and n are the direction cosines of a line, then the relationship between the direction cosines of a line is l2+m2+n2 = 1.

Q4

Does the direction cosine of a line is unique?

Yes, the direction cosine of a line is unique. However, there are infinitely many direction ratios, if direction ratios are proportional to the direction cosines.

Q5

What is meant by position vector?

Position vector, also known as Euclidean vector represents the position or location of a point in the three-dimensional Cartesian system with respect to a reference origin.

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*

close
close

Play

&

Win