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

Miscellaneous · Q5: Vector equation of the line through (1,2,−4)(1, 2, -4) perpendicular to two given lines

Miscellaneous ExerciseA line perpendicular to two lines · Sections 11.3.1 and 11.4
The question

Find the vector equation of the line passing through the point (1,2,−4)(1, 2, -4) and perpendicular to the two lines:

x−83=y+19−16=z−107\frac{x - 8}{3} = \frac{y + 19}{-16} = \frac{z - 10}{7} and x−153=y−298=z−5−5\frac{x - 15}{3} = \frac{y - 29}{8} = \frac{z - 5}{-5}⁠.

Exam answer

The direction ratios of the given lines are 3,−16,73, -16, 7 and 3,8,−53, 8, -5⁠.

Let b⃗1=3i^−16j^+7k^\vec b_1 = 3\hat i - 16\hat j + 7\hat k and b⃗2=3i^+8j^−5k^\vec b_2 = 3\hat i + 8\hat j - 5\hat k⁠.

The required line is perpendicular to both lines, so it is parallel to b⃗1×b⃗2\vec b_1\times\vec b_2⁠.

b⃗1×b⃗2=∣i^j^k^3−16738−5∣=(80−56)i^−(−15−21)j^+(24+48)k^=24i^+36j^+72k^=12(2i^+3j^+6k^)\begin{aligned} \vec b_1\times\vec b_2 &= \begin{vmatrix} \hat i & \hat j & \hat k \\ 3 & -16 & 7 \\ 3 & 8 & -5 \end{vmatrix} \\ &= (80 - 56)\hat i \\ &\quad - (-15 - 21)\hat j \\ &\quad + (24 + 48)\hat k \\ &= 24\hat i + 36\hat j + 72\hat k \\ &= 12(2\hat i + 3\hat j + 6\hat k) \end{aligned}

So take b⃗=2i^+3j^+6k^\vec b = 2\hat i + 3\hat j + 6\hat k⁠.

The line passes through (1,2,−4)(1, 2, -4)⁠, so a⃗=i^+2j^−4k^\vec a = \hat i + 2\hat j - 4\hat k⁠.

Its vector equation is r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b⁠:

∴ r⃗=i^+2j^−4k^\therefore\ \vec r = \hat i + 2\hat j - 4\hat k + λ(2i^+3j^+6k^)+\ \lambda(2\hat i + 3\hat j + 6\hat k)⁠, where λ\lambda is a real number.

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

The one idea this problem is built on

A line perpendicular to two lines must have a direction perpendicular to both of their directions. The cross product b⃗1×b⃗2\vec b_1\times\vec b_2 is exactly such a vector. So the direction comes from the cross product, the point is given, and r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b finishes the job.

Given, to find, and the plan
Given
The point A(1,2,−4)A(1, 2, -4)⁠; the lines x−83=y+19−16=z−107\frac{x - 8}{3} = \frac{y + 19}{-16} = \frac{z - 10}{7} and x−153=y−298=z−5−5\frac{x - 15}{3} = \frac{y - 29}{8} = \frac{z - 5}{-5}⁠.
To find
The vector equation of the line through AA perpendicular to both given lines.
Plan
(1) Read the two directions. (2) Find b⃗1×b⃗2\vec b_1\times\vec b_2⁠. (3) Remove the common factor. (4) Write the line through AA⁠. (5) Check with dot products, and by a second method.

Basics you need

1Cartesian form and its direction ratios

In x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c} the denominators a,b,ca, b, c are direction ratios, and ai^+bj^+ck^a\hat i + b\hat j + c\hat k is parallel to the line (Section 11.3.1). Basics: a line is a point plus a direction

2The cross product

b⃗1×b⃗2\vec b_1\times\vec b_2 is perpendicular to both b⃗1\vec b_1 and b⃗2\vec b_2⁠, and it is 0⃗\vec 0 only when they are parallel (Section 10.6.3). Basics: a⃗ × b⃗ stands up from both

3Perpendicular directions

Two lines are perpendicular when the dot product of their directions is 0: a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0 (Section 11.4, condition (i)). Lesson: perpendicular lines

4Vector form of a line

r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b⁠, through the point with position vector a⃗\vec a⁠, parallel to b⃗\vec b (Section 11.3.1, equation (1)). Basics: go to A, then walk λ copies of b⃗

Solution

  1. Read the two directions

    b⃗1=3i^−16j^+7k^,b⃗2=3i^+8j^−5k^.\begin{aligned} \vec b_1 &= 3\hat i - 16\hat j + 7\hat k, \\ \vec b_2 &= 3\hat i + 8\hat j - 5\hat k. \end{aligned}
    Both equations are in standard form (each numerator is x−…x - \ldots⁠, y−…y - \ldots⁠, z−…z - \ldots⁠), so the denominators are the direction ratios. The points (8,−19,10)(8, -19, 10) and (15,29,5)(15, 29, 5) of the given lines are not needed: "perpendicular" is about directions only. The two directions are not parallel, since 33=1\frac33 = 1 but −168=−2\frac{-16}{8} = -2⁠.
    Cartesian equation (3), Section 11.3.1. Lesson: the equation of a line
  2. The cross product b⃗1×b⃗2\vec b_1\times\vec b_2

    b⃗1×b⃗2=∣i^j^k^3−16738−5∣=((−16)(−5)−(7)(8))i^−((3)(−5)−(7)(3))j^+((3)(8)−(−16)(3))k^=24i^+36j^+72k^.\begin{aligned} \vec b_1\times\vec b_2 &= \begin{vmatrix} \hat i & \hat j & \hat k \\ 3 & -16 & 7 \\ 3 & 8 & -5 \end{vmatrix} \\ &= \big((-16)(-5) - (7)(8)\big)\hat i \\ &\quad - \big((3)(-5) - (7)(3)\big)\hat j \\ &\quad + \big((3)(8) - (-16)(3)\big)\hat k \\ &= 24\hat i + 36\hat j + 72\hat k. \end{aligned}
    We need a vector b⃗\vec b with b⃗⋅b⃗1=0\vec b\cdot\vec b_1 = 0 and b⃗⋅b⃗2=0\vec b\cdot\vec b_2 = 0⁠; the cross product is one, and it is not 0⃗\vec 0 because b⃗1\vec b_1 and b⃗2\vec b_2 are not parallel. In the j^\hat j term, −(−15−21)=+36-(-15 - 21) = +36⁠: the minus sign of the middle term and the negative bracket cancel. In the k^\hat k term, 24−(−48)=7224 - (-48) = 72⁠.
    Determinant form of the cross product (Section 10.6.3). Basics: the cross product
  3. Remove the common factor

    24i^+36j^+72k^=12(2i^+3j^+6k^),24\hat i + 36\hat j + 72\hat k = 12(2\hat i + 3\hat j + 6\hat k),

    so we take b⃗=2i^+3j^+6k^\vec b = 2\hat i + 3\hat j + 6\hat k⁠, with direction ratios 2,3,62, 3, 6⁠.

    24, 36 and 72 have highest common factor 12. A nonzero multiple of a direction is the same direction, so 2,3,62, 3, 6 describes the same line with smaller numbers. Here ∣b⃗∣=4+9+36=7|\vec b| = \sqrt{4 + 9 + 36} = 7⁠, so the direction cosines are 27,37,67\frac27, \frac37, \frac67⁠.
    Direction ratios are fixed only up to a nonzero multiple (Section 11.2). Basics: direction ratios
  4. Write the line through (1,2,−4)(1, 2, -4)

    a⃗=i^+2j^−4k^,r⃗=a⃗+λb⃗=i^+2j^−4k^+λ(2i^+3j^+6k^).\begin{aligned} \vec a &= \hat i + 2\hat j - 4\hat k, \\ \vec r &= \vec a + \lambda\vec b \\ &= \hat i + 2\hat j - 4\hat k + \lambda(2\hat i + 3\hat j + 6\hat k). \end{aligned}
    The position vector of (1,2,−4)(1, 2, -4) is i^+2j^−4k^\hat i + 2\hat j - 4\hat k⁠. Here λ\lambda runs through all real numbers; λ=0\lambda = 0 gives the point AA itself. The question asks only for the vector equation; in Cartesian form the same line is x−12=y−23=z+46\frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z + 4}{6}⁠.
    Section 11.3.1, equation (1). Miscellaneous exercise player
  5. Check, and a second method

    The new direction is perpendicular to both given directions:

    b⃗⋅b⃗1=2(3)+3(−16)+6(7)=6−48+42=0,b⃗⋅b⃗2=2(3)+3(8)+6(−5)=6+24−30=0.\begin{aligned} \vec b\cdot\vec b_1 &= 2(3) + 3(-16) + 6(7) \\ &= 6 - 48 + 42 = 0, \\ \vec b\cdot\vec b_2 &= 2(3) + 3(8) + 6(-5) \\ &= 6 + 24 - 30 = 0. \end{aligned}

    Second method: let the direction ratios be p,q,rp, q, r⁠. Perpendicular to both lines means

    3p−16q+7r=0,3p+8q−5r=0.\begin{aligned} 3p - 16q + 7r &= 0, \\ 3p + 8q - 5r &= 0. \end{aligned}

    Subtracting, −24q+12r=0-24q + 12r = 0⁠, so r=2qr = 2q⁠. Then 3p=16q−14q=2q3p = 16q - 14q = 2q⁠, so p=2q3p = \frac{2q}{3}⁠, and p:q:r=23:1:2=2:3:6p : q : r = \frac23 : 1 : 2 = 2 : 3 : 6⁠.

    A(1, 2, −4) b₁: 3, −16, 7 b₂: 3, 8, −5 new line: 2, 3, 6
    Oblique projection, not to scale (right angles are not shown true). From A(1,2,−4)A(1, 2, -4)⁠: unit arrows along the two given directions b⃗1\vec b_1 and b⃗2\vec b_2⁠, and along the new direction 2i^+3j^+6k^2\hat i + 3\hat j + 6\hat k⁠, which is perpendicular to both.
    Both dot products are 0, so the line is perpendicular to both given lines (Section 11.4, condition (i)). The second method solves the two perpendicularity conditions directly and gets the same direction 2,3,62, 3, 6⁠, which confirms the cross product. Two equations in three unknowns fix only the ratio p:q:rp : q : r⁠, which is all a direction needs.
    Section 11.4, condition (i). Lesson: perpendicular lines
Result

r⃗=i^+2j^−4k^+λ(2i^+3j^+6k^)\vec r = \hat i + 2\hat j - 4\hat k + \lambda(2\hat i + 3\hat j + 6\hat k)⁠, λ∈R\lambda \in \mathbf R⁠.

(Textbook answer: r⃗=i^+2j^−4k^+λ(2i^+3j^+6k^)\vec r = \hat i + 2\hat j - 4\hat k + \lambda(2\hat i + 3\hat j + 6\hat k)⁠.)

Check it with numbers

λ=0.5\lambda = 0.5 gives the point (1+1,2+1.5,−4+3)=(2,3.5,−1)(1 + 1, 2 + 1.5, -4 + 3) = (2, 3.5, -1)⁠, and 2−12=3.5−23=−1+46=0.5\frac{2 - 1}{2} = \frac{3.5 - 2}{3} = \frac{-1 + 4}{6} = 0.5⁠.

The unit vector along b⃗\vec b is (27,37,67)\left(\frac27, \frac37, \frac67\right) ≈(0.285714, 0.428571, 0.857143)\approx (0.285714,\ 0.428571,\ 0.857143)⁠; its dot product with b⃗1\vec b_1 is 6−48+427=0\frac{6 - 48 + 42}{7} = 0⁠.

Common mistakes
  1. Sign of the j^\hat j term: −((3)(−5)−(7)(3))=−(−36)=+36-\big((3)(-5) - (7)(3)\big) = -(-36) = +36⁠, not −36-36⁠.
  2. Using a point of a given line, such as (8,−19,10)(8, -19, 10)⁠, instead of (1,2,−4)(1, 2, -4)⁠.
  3. Using b⃗1+b⃗2\vec b_1 + \vec b_2 or b⃗1−b⃗2\vec b_1 - \vec b_2 as the direction. Those are not perpendicular to both lines; only the cross product (or a multiple of it) is.
  4. Taking the dot product instead of the cross product. b⃗1⋅b⃗2=9−128−35=−154\vec b_1\cdot\vec b_2 = 9 - 128 - 35 = -154 is a number, not a direction.
What to take away
  1. "Perpendicular to two lines" means "parallel to b⃗1×b⃗2\vec b_1\times\vec b_2".
  2. Take out the common factor of the cross product to get small direction ratios.
  3. Check by dotting the answer's direction with b⃗1\vec b_1 and b⃗2\vec b_2⁠: both must give 0.

Every fact used, and where it comes from

FactUsed inSource
Direction ratios from the Cartesian form; ai^+bj^+ck^a\hat i + b\hat j + c\hat k is parallel to the lineStep 1Section 11.3.1 (Basics)
b⃗1×b⃗2\vec b_1\times\vec b_2 as a determinant; it is perpendicular to both vectorsStep 2Section 10.6.3 (Basics)
Any nonzero multiple of direction ratios servesStep 3Section 11.2 (Basics)
Vector equation r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec bStep 4Section 11.3.1, equation (1) (Basics)
Perpendicular lines: a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0Step 5Section 11.4, condition (i) (Lesson)
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 →