Class 12 Maths, Worked in Full Past papersGet updates
Chapter 11 · Three Dimensional Geometry

Miscellaneous · Q1: Angle between lines with direction ratios a,b,ca, b, c and b−c,c−a,a−bb - c, c - a, a - b

Miscellaneous ExerciseAngle between two lines · Section 11.4
The question

Find the angle between the lines whose direction ratios are a,b,ca, b, c and b−c,c−a,a−bb - c, c - a, a - b⁠.

Exam answer

Here a1=aa_1 = a⁠, b1=bb_1 = b⁠, c1=cc_1 = c and

a2=b−ca_2 = b - c⁠, b2=c−ab_2 = c - a⁠, c2=a−bc_2 = a - b⁠.

a1a2+b1b2+c1c2=a(b−c)+b(c−a)+c(a−b)=ab−ac+bc−ab+ac−bc=0\begin{aligned} &a_1a_2 + b_1b_2 + c_1c_2 \\ &= a(b - c) + b(c - a) \\ &\quad + c(a - b) \\ &= ab - ac + bc - ab \\ &\quad + ac - bc \\ &= 0 \end{aligned}

If θ\theta is the angle between the lines, then

cos⁡θ=∣a1a2+b1b2+c1c2∣a12+b12+c12×1a22+b22+c22=0\begin{aligned} \cos\theta &= \frac{|a_1a_2 + b_1b_2 + c_1c_2|}{\sqrt{a_1^2 + b_1^2 + c_1^2}} \\ &\quad \times \frac{1}{\sqrt{a_2^2 + b_2^2 + c_2^2}} \\ &= 0 \end{aligned}

(the square roots are not zero, since neither set of direction ratios is 0,0,00, 0, 0⁠).

∴ θ=90∘\therefore\ \theta = 90^\circ⁠, that is, the lines are perpendicular.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The angle between two lines depends only on their direction ratios, through a1a2+b1b2+c1c2a_1a_2 + b_1b_2 + c_1c_2⁠. When this sum is 0, cos⁡θ=0\cos\theta = 0 and the lines are at right angles. Here the sum is 0 for every choice of aa⁠, bb⁠, cc⁠: the terms cancel in pairs.

Given, to find, and the plan
Given
Two lines with direction ratios a,b,ca, b, c and b−c,c−a,a−bb - c, c - a, a - b⁠. As direction ratios, a,b,ca, b, c are not all 0, and b−c,c−a,a−bb - c, c - a, a - b are not all 0 (so a,b,ca, b, c are not all equal).
To find
The angle θ\theta between the lines.
Plan
(1) Name the two sets of direction ratios. (2) Work out a1a2+b1b2+c1c2a_1a_2 + b_1b_2 + c_1c_2⁠. (3) Check that the square roots in the formula are not 0. (4) Find θ\theta⁠. (5) See why the sum is always 0.

Basics you need

1Angle between two lines

For direction ratios a1,b1,c1a_1, b_1, c_1 and a2,b2,c2a_2, b_2, c_2⁠, the acute angle θ\theta between the lines satisfies (Section 11.4)

cos⁡θ=∣a1a2+b1b2+c1c2∣a12+b12+c12×1a22+b22+c22.\begin{aligned} \cos\theta &= \frac{|a_1a_2 + b_1b_2 + c_1c_2|}{\sqrt{a_1^2 + b_1^2 + c_1^2}} \\ &\quad \times \frac{1}{\sqrt{a_2^2 + b_2^2 + c_2^2}}. \end{aligned}

Lesson: the angle between two lines

2Perpendicular lines

The lines are perpendicular exactly when a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0 (Section 11.4, condition (i)). This sum is the dot product of the two direction vectors. Basics: the dot product

3Direction ratios are never all zero

Direction ratios are a nonzero multiple of the direction cosines l,m,nl, m, n⁠, and l2+m2+n2=1l^2 + m^2 + n^2 = 1 (Section 11.2). So 0,0,00, 0, 0 is never a set of direction ratios. Basics: direction cosines and ratios

4The cross product (for Step 5)

u⃗×v⃗\vec u\times\vec v is perpendicular to both u⃗\vec u and v⃗\vec v (Section 10.6.3). Basics: the cross product

Solution

  1. Name the two sets of direction ratios

    a1=a,b1=b,c1=c,a2=b−c,b2=c−a,c2=a−b.\begin{aligned} a_1 &= a, & b_1 &= b, & c_1 &= c, \\ a_2 &= b - c, & b_2 &= c - a, & c_2 &= a - b. \end{aligned}
    The formula pairs the xx-ratios, the yy-ratios and the zz-ratios. In the second set the order matters: b−cb - c goes with xx⁠, c−ac - a with yy⁠, a−ba - b with zz⁠, exactly as listed in the question.
    Direction ratios of a line (Section 11.2). Lesson: direction cosines and ratios
  2. The sum of the products is 0

    a1a2+b1b2+c1c2=a(b−c)+b(c−a)+c(a−b)=ab−ac+bc−ba+ca−cb=(ab−ba)+(ca−ac)+(bc−cb)=0.\begin{aligned} &a_1a_2 + b_1b_2 + c_1c_2 \\ &= a(b - c) + b(c - a) + c(a - b) \\ &= ab - ac + bc - ba + ca - cb \\ &= (ab - ba) + (ca - ac) + (bc - cb) \\ &= 0. \end{aligned}
    Each product appears twice with opposite signs: abab and −ba-ba⁠, −ac-ac and +ca+ca⁠, bcbc and −cb-cb⁠. Since ab=baab = ba and so on, every pair cancels. Nothing was assumed about aa⁠, bb⁠, cc⁠, so the sum is 0 for all values: it is an identity.
    This sum is the dot product of ai^+bj^+ck^a\hat i + b\hat j + c\hat k with the second direction. Basics: a⃗ · b⃗ = a₁b₁ + a₂b₂ + a₃b₃
  3. The square roots are not zero

    a2+b2+c2>0,(b−c)2+(c−a)2+(a−b)2>0.\begin{aligned} &\sqrt{a^2 + b^2 + c^2} > 0, \\ &\sqrt{(b - c)^2 + (c - a)^2 + (a - b)^2} > 0. \end{aligned}
    A sum of squares is 0 only when every term is 0. The first is not 0 because a,b,ca, b, c are not all 0. The second would be 0 only if b=cb = c⁠, c=ac = a and a=ba = b⁠, that is, a=b=ca = b = c⁠; then the second set would be 0,0,00, 0, 0⁠, which is not a set of direction ratios, so the question rules this case out. So the formula never divides by 0.
    Direction ratios are never all zero (Section 11.2). Basics: direction ratios
  4. Find the angle

    cos⁡θ=∣0∣a2+b2+c2×1(b−c)2+(c−a)2+(a−b)2=0,\begin{aligned} &\cos\theta \\ &= \frac{|0|}{\sqrt{a^2 + b^2 + c^2}} \\ &\quad \times \frac{1}{\sqrt{(b - c)^2 + (c - a)^2 + (a - b)^2}} \\ &= 0, \end{aligned}

    so θ=90∘\theta = 90^\circ⁠.

    0 divided by a positive number is 0. The formula gives the acute (or right) angle, 0∘≤θ≤90∘0^\circ \le \theta \le 90^\circ⁠, and in that range cos⁡θ=0\cos\theta = 0 only at θ=90∘\theta = 90^\circ⁠. This is condition (i) of Section 11.4: the lines are perpendicular. We never needed the lengths, only the fact that they are not 0.
    Section 11.4, the angle formula and condition (i). Lesson: perpendicular lines
  5. Why it always works

    The second direction is a cross product:

    (ai^+bj^+ck^)×(i^+j^+k^)=∣i^j^k^abc111∣=(b−c)i^−(a−c)j^+(a−b)k^=(b−c)i^+(c−a)j^+(a−b)k^.\begin{aligned} &(a\hat i + b\hat j + c\hat k)\times(\hat i + \hat j + \hat k) \\ &= \begin{vmatrix} \hat i & \hat j & \hat k \\ a & b & c \\ 1 & 1 & 1 \end{vmatrix} \\ &= (b - c)\hat i - (a - c)\hat j \\ &\quad + (a - b)\hat k \\ &= (b - c)\hat i + (c - a)\hat j \\ &\quad + (a - b)\hat k. \end{aligned}
    The middle term is −(a⋅1−c⋅1)=c−a-(a \cdot 1 - c \cdot 1) = c - a⁠. So the second line points along (ai^+bj^+ck^)×(i^+j^+k^)(a\hat i + b\hat j + c\hat k)\times(\hat i + \hat j + \hat k)⁠, and a cross product is perpendicular to each of its two factors, in particular to the first line's direction. The question is built so that the answer is 90∘90^\circ whatever aa⁠, bb⁠, cc are. It also shows when it fails: if a=b=ca = b = c⁠, the two factors are parallel and the cross product is 0⃗\vec 0⁠.
    The cross product is perpendicular to both factors (Section 10.6.3). Basics: a⃗ × b⃗ stands up from both
Result

θ=90∘\theta = 90^\circ⁠: the lines are perpendicular, for every aa⁠, bb⁠, cc (not all equal).

(Textbook answer: 90∘90^\circ⁠.)

Check it with numbers

a=1a = 1⁠, b=2b = 2⁠, c=3c = 3⁠: the second set is −1,2,−1-1, 2, -1⁠, and 1(−1)+2(2)+3(−1)=−1+4−3=01(-1) + 2(2) + 3(-1) = -1 + 4 - 3 = 0⁠.

a=2a = 2⁠, b=−1b = -1⁠, c=4c = 4⁠: the second set is −5,2,3-5, 2, 3⁠, and 2(−5)+(−1)(2)+4(3)2(-5) + (-1)(2) + 4(3) =−10−2+12=0= -10 - 2 + 12 = 0⁠.

a=0.5a = 0.5⁠, b=1.7b = 1.7⁠, c=−2.3c = -2.3⁠: the second set is 4.0,−2.8,−1.24.0, -2.8, -1.2⁠, and 0.5(4.0)+1.7(−2.8)0.5(4.0) + 1.7(-2.8) + (−2.3)(−1.2)+\ (-2.3)(-1.2) =2−4.76+2.76=0= 2 - 4.76 + 2.76 = 0⁠.

Common mistakes
  1. Pairing the wrong ratios, for example a(c−a)a(c - a)⁠. Keep the order: aa with b−cb - c⁠, bb with c−ac - a⁠, cc with a−ba - b⁠.
  2. Sign slips while expanding: b(c−a)=bc−abb(c - a) = bc - ab and c(a−b)=ac−bcc(a - b) = ac - bc⁠.
  3. Reading cos⁡θ=0\cos\theta = 0 as θ=0∘\theta = 0^\circ⁠. cos⁡0∘=1\cos 0^\circ = 1⁠; cos⁡θ=0\cos\theta = 0 means θ=90∘\theta = 90^\circ⁠.
  4. Trying special numbers instead of a proof. One example such as 1,2,31, 2, 3 does not show the answer for all a,b,ca, b, c⁠; the expansion in Step 2 does.
What to take away
  1. If a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0⁠, the lines are perpendicular; the lengths are not needed (only that they are not 0).
  2. With letters, expand and collect: here the six terms cancel in pairs, for every a,b,ca, b, c⁠.
  3. b−c,c−a,a−bb - c, c - a, a - b is the cross product of a,b,ca, b, c with 1,1,11, 1, 1⁠, so it is always perpendicular to a,b,ca, b, c⁠.

Every fact used, and where it comes from

FactUsed inSource
Direction ratios; they are never all 0Steps 1, 3Section 11.2 (Basics)
a1a2+b1b2+c1c2a_1a_2 + b_1b_2 + c_1c_2 is the dot product of the two directionsStep 2Section 10.6.1 (Basics)
The angle between two lines from their direction ratios; perpendicular when a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0Steps 3, 4Section 11.4, equation (1) and condition (i) (Lesson)
The cross product as a determinant; it is perpendicular to both factorsStep 5Section 10.6.3 (Basics)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →