QCC Notes
CLASS 11 · MATHEMATICSJEE MAIN × ADVANCEDहिंदी
§ 11.4NCERT Class 11 · Mathematics · Chapter 11

Direction Cosines & Direction Ratios (JEE Foundation)

Definition of Direction Angles & Direction Cosines:

If a directed line segment OP (passing through Origin O) makes angles α, β, γ with the positive directions of X, Y, and Z axes respectively, then these angles are called Direction Angles, and their cosines:

l = cos α ,   m = cos β ,   n = cos γ

are called the Direction Cosines (DC's) of the directed line.

1. Fundamental Identity of Direction Cosines

Let P(x, y, z) be a point in space and r = |OP| = √(x2 + y2 + z2). Then:

x = l r ,   y = m r ,   z = n r ⇒ l = x/r ,   m = y/r ,   n = z/r

Squaring and adding:

l2 + m2 + n2 = cos2α + cos2β + cos2γ = 1
Corollary (Sine identity):
Since sin2θ = 1 − cos2θ:
sin2α + sin2β + sin2γ = (1 − l2) + (1 − m2) + (1 − n2) = 3 − 1 = 2

2. Direction Ratios (DR's)

Any three numbers a, b, c that are proportional to the direction cosines l, m, n are called Direction Ratios of the line:

l / a = m / b = n / c = ± 1 / √(a2 + b2 + c2)

Hence, given direction ratios a, b, c:

l = ± a / √(a2 + b2 + c2) ,   m = ± b / √(a2 + b2 + c2) ,   n = ± c / √(a2 + b2 + c2)

3. Direction Ratios of a Line Joining Two Points

For points P(x1, y1, z1) and Q(x2, y2, z2):

  • Direction ratios: (x2 − x1), (y2 − y1), (z2 − z1)
  • Direction cosines:
    l = (x2 − x1)/PQ ,   m = (y2 − y1)/PQ ,   n = (z2 − z1)/PQ
    where PQ = √[ (x2 − x1)2 + (y2 − y1)2 + (z2 − z1)2 ].

4. Angle Between Two Directed Lines in 3D Space

Let θ be the acute angle between two lines with direction cosines (l1, m1, n1) and (l2, m2, n2):

cos θ = | l1 l2 + m1 m2 + n1 n2 |

In terms of direction ratios (a1, b1, c1) and (a2, b2, c2):

cos θ = | a1 a2 + b1 b2 + c1 c2 | / [ √(a12 + b12 + c12) · √(a22 + b22 + c22) ]

5. Conditions for Perpendicularity and Parallelism

Perpendicular Lines (θ = 90°)

cos 90° = 0 ⇒ Scalar product of direction vectors is zero:

l1 l2 + m1 m2 + n1 n2 = 0
a1 a2 + b1 b2 + c1 c2 = 0

Parallel Lines (θ = 0° or 180°)

Direction ratios are proportional:

l1/l2 = m1/m2 = n1/n2
a1/a2 = b1/b2 = c1/c2

6. Solved Examples for JEE Main

Example 1: If a line makes angles 90°, 60°, and 30° with the positive directions of X, Y, and Z axes respectively, find its direction cosines.

Solution:

  • l = cos 90° = 0
  • m = cos 60° = 1/2
  • n = cos 30° = √3 / 2

Check: l2 + m2 + n2 = 0 + (1/4) + (3/4) = 1 (Verified!).

Example 2: Find the angle between lines whose direction ratios are (2, −1, 2) and (1, 2, 2).

Solution:

a1 a2 + b1 b2 + c1 c2 = (2)(1) + (−1)(2) + (2)(2) = 2 − 2 + 4 = 4

√(a12 + b12 + c12) = √(4 + 1 + 4) = 3

√(a22 + b22 + c22) = √(1 + 4 + 4) = 3

cos θ = 4 / (3 × 3) = 4/9 ⇒ θ = cos−1(4/9)

Practice problems

Try each problem yourself first, then open the solution to check your working.

Problem 1. A line makes angles 45° and 60° with the x-axis and y-axis. Find the angle it makes with the z-axis.

Show answer

l2 + m2 + n2 = 1 gives cos245° + cos260° + cos2γ = 1.

1/2 + 1/4 + cos2γ = 1, so cos2γ = 1/4 and cos γ = ±1/2.

Answer: γ = 60° or 120° (the line and its opposite direction).

Problem 2. Find the direction ratios and the direction cosines of the line joining A(2, 3, −1) and B(5, −1, 11), taking the direction from A to B.

Show answer

Direction ratios: (5 − 2, −1 − 3, 11 − (−1)) = (3, −4, 12).

Length AB = √(9 + 16 + 144) = √169 = 13.

Divide each ratio by 13 to get the direction cosines.

Answer: DRs (3, −4, 12); DCs (3/13, −4/13, 12/13).

Problem 3. Find the cosine of the angle between two lines whose direction ratios are (1, 2, 2) and (2, 3, 6).

Show answer

cos θ = (a1a2 + b1b2 + c1c2)/(√(a12 + b12 + c12) · √(a22 + b22 + c22)).

Numerator: 2 + 6 + 12 = 20. Denominator: √9 × √49 = 3 × 7 = 21.

Answer: cos θ = 20/21.

Your progress

Saved on this device only — no account, no sign-in.