‹ Class 12 · Ch 11
Three Dimensional Geometry · Principle 6 of 10

The angle between two lines

cos θ = |b₁ · b₂| / (|b₁||b₂|), the acute angle.

Stuck? Ask Guru

NCERT: 11.4 Angle between Two Lines

Think

Lines, not arrows

Two lines need not meet, but each has a direction. The angle between the lines is the angle between their directions, taken acute.

If you reverse one line’s direction, the angle between the lines …

What this lesson covers

The idea

For lines with direction ratios a₁, b₁, c₁ and a₂, b₂, c₂, the acute angle θ between them is given by cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²)); in vector form cos θ = |b₁ · b₂|/(|b₁||b₂|).

Lines, not arrows

Two lines need not meet, but each has a direction. The angle between the lines is the angle between their directions, taken acute.

If you reverse one line’s direction, the angle between the lines …

  • stays the same
  • becomes 180° minus it
  • becomes 0

Turn the second line

Both lines are drawn through O (parallel to Example 7’s lines). Change b₂ with the steppers.

Angle between two lines

For lines with direction ratios a₁, b₁, c₁ and a₂, b₂, c₂, the acute angle θ between them is given by cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²)). In vector form, for r = a₁ + λb₁ and r = a₂ + μb₂: cos θ = |b₁ · b₂| / (|b₁||b₂|).

The absolute value makes θ acute: reversing a direction changes the sign of b₁ · b₂, but not the angle between the lines.

Example 7: b₁ = î + 2ĵ + 2k̂ and b₂ = 3î + 2ĵ + 6k̂ give cos θ = (3 + 4 + 12)/(3 × 7) = 19/21.

Lines that do not pass through O: use the parallel lines through O, as the toy does.

Notes

cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²)) = |b₁ · b₂|/(|b₁||b₂|): the acute angle between the lines.

Check yourself

Example 8: direction ratios 3, 5, 4 and 1, 1, 2. Then cos θ = …

Exercise 11.2, Q9(ii): x/2 = y/2 = z/1 and (x − 5)/4 = (y − 2)/1 = (z − 3)/8. Find cos θ.

Answer: 2/3

(8 + 2 + 8)/(3 × 9) = 18/27 = 2/3, so θ = cos⁻¹(2/3).

Before the absolute value, a calculation gives −1/2. The angle between the two lines is …

  • 8√3/15 — correct. Yes! 16/(√50 × √6) = 16/(10√3) = 8√3/15.
  • 16/15. cos θ cannot be more than 1: divide by √50 × √6, not by 15.
  • 16/(√50 + √6). Multiply the lengths, do not add them.
  • 120°. That is the angle between the two direction vectors. The angle between the lines is the acute one.
  • 60° — correct. Yes! cos θ = |−1/2| = 1/2.
  • 30°. cos 30° = √3/2, not 1/2.