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

Exercise 11.2 · Q10: Values of pp that make two lines perpendicular

Exercise 11.2Perpendicular lines · Section 11.4
The question

Find the values of pp so that the lines 1−x3=7y−142p=z−32\frac{1 - x}{3} = \frac{7y - 14}{2p} = \frac{z - 3}{2} and 7−7x3p=y−51=6−z5\frac{7 - 7x}{3p} = \frac{y - 5}{1} = \frac{6 - z}{5} are at right angles.

Exam answer

Writing each fraction in the form x−x1a\frac{x - x_1}{a}⁠:

1−x3=x−1−37y−142p=y−22p/77−7x3p=x−1−3p/76−z5=z−6−5\begin{aligned} \frac{1 - x}{3} &= \frac{x - 1}{-3} \\ \frac{7y - 14}{2p} &= \frac{y - 2}{2p/7} \\ \frac{7 - 7x}{3p} &= \frac{x - 1}{-3p/7} \\ \frac{6 - z}{5} &= \frac{z - 6}{-5} \end{aligned}

So the lines are

x−1−3=y−22p/7=z−32\frac{x - 1}{-3} = \frac{y - 2}{2p/7} = \frac{z - 3}{2} x−1−3p/7=y−51=z−6−5\frac{x - 1}{-3p/7} = \frac{y - 5}{1} = \frac{z - 6}{-5}

Their direction ratios are −3,2p7,2-3, \frac{2p}{7}, 2 and −3p7,1,−5-\frac{3p}{7}, 1, -5⁠.

The lines are perpendicular, so a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0⁠:

(−3)(−3p7)+2p7(1)+2(−5)=0⇒ 9p7+2p7−10=0⇒ 11p7=10\begin{aligned} &(-3)\left(-\frac{3p}{7}\right) + \frac{2p}{7}(1) \\ &\quad + 2(-5) = 0 \\ \Rightarrow\ &\frac{9p}{7} + \frac{2p}{7} - 10 = 0 \\ \Rightarrow\ &\frac{11p}{7} = 10 \end{aligned}

∴ p=7011\therefore\ p = \dfrac{70}{11}⁠.

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

The one idea this problem is built on

Two lines are at right angles exactly when a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0 for their direction ratios. But the direction ratios can only be read off once each line is in the standard form x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c}⁠, with xx⁠, yy⁠, zz each having coefficient +1+1⁠. Neither line here is in that form yet, so we rewrite them first.

Given, to find, and the plan
Given
1−x3=7y−142p=z−32\frac{1 - x}{3} = \frac{7y - 14}{2p} = \frac{z - 3}{2} and 7−7x3p=y−51=6−z5\frac{7 - 7x}{3p} = \frac{y - 5}{1} = \frac{6 - z}{5}⁠, with p≠0p \ne 0 (it is in denominators).
To find
Every value of pp for which the lines are perpendicular.
Plan
(1) Put the first line in standard form. (2) Put the second line in standard form. (3) Apply the perpendicularity condition and solve for pp⁠. (4) Check by substituting back.

Basics you need

1Standard Cartesian form

x−x1a=y−y1b=z−z1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c}⁠: point (x1,y1,z1)(x_1, y_1, z_1)⁠, direction ratios a,b,ca, b, c (Section 11.3.1). The coefficients of xx⁠, yy⁠, zz must be +1+1⁠. Basics: a line is a point plus a direction

2Perpendicular lines

Lines with direction ratios a1,b1,c1a_1, b_1, c_1 and a2,b2,c2a_2, b_2, c_2 are perpendicular if a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0 (Section 11.4, condition (i)). Lesson: perpendicular and parallel lines

3Moving a factor into the denominator

kAB=AB/k\frac{kA}{B} = \frac{A}{B/k} for k≠0k \ne 0⁠, and −AB=A−B\frac{-A}{B} = \frac{A}{-B}⁠. These keep the value of each fraction, so the line does not change.

Solution

  1. Standard form of the first line

    1−x3=−(x−1)3=x−1−3,7y−142p=7(y−2)2p=y−22p/7.\begin{aligned} \frac{1 - x}{3} &= \frac{-(x - 1)}{3} = \frac{x - 1}{-3}, \\ \frac{7y - 14}{2p} &= \frac{7(y - 2)}{2p} = \frac{y - 2}{2p/7}. \end{aligned}

    So the first line is x−1−3=y−22p/7=z−32\frac{x - 1}{-3} = \frac{y - 2}{2p/7} = \frac{z - 3}{2}⁠, with direction ratios −3,2p7,2-3, \frac{2p}{7}, 2⁠.

    In 1−x1 - x the coefficient of xx is −1-1⁠; taking the minus sign into the denominator makes it +1+1⁠. In 7y−147y - 14 the coefficient of yy is 7; take out the factor 7 and divide the denominator by it. The value of each fraction is unchanged, so this is the same line, now in a form whose denominators are direction ratios. The line passes through (1,2,3)(1, 2, 3)⁠.
    Cartesian equation (3), Section 11.3.1. Basics: point plus direction
  2. Standard form of the second line

    7−7x3p=−7(x−1)3p=x−1−3p/7,6−z5=−(z−6)5=z−6−5.\begin{aligned} \frac{7 - 7x}{3p} &= \frac{-7(x - 1)}{3p} = \frac{x - 1}{-3p/7}, \\ \frac{6 - z}{5} &= \frac{-(z - 6)}{5} = \frac{z - 6}{-5}. \end{aligned}

    So the second line is x−1−3p/7=y−51=z−6−5\frac{x - 1}{-3p/7} = \frac{y - 5}{1} = \frac{z - 6}{-5}⁠, with direction ratios −3p7,1,−5-\frac{3p}{7}, 1, -5⁠.

    Here the coefficient of xx is −7-7⁠, so we divide the denominator by −7-7⁠: 3p−7=−3p7\frac{3p}{-7} = -\frac{3p}{7}⁠. The middle fraction is already standard. In 6−z6 - z the coefficient of zz is −1-1⁠, so the denominator 5 becomes −5-5⁠. The line passes through (1,5,6)(1, 5, 6)⁠.
    Cartesian equation (3), Section 11.3.1. Basics: point plus direction
  3. Apply the condition for right angles

    (−3)(−3p7)+2p7(1)+2(−5)=0⇒ 9p7+2p7−10=0⇒ 11p7=10 ⇒ p=7011.\begin{aligned} &(-3)\left(-\frac{3p}{7}\right) + \frac{2p}{7}(1) + 2(-5) = 0 \\ \Rightarrow\ &\frac{9p}{7} + \frac{2p}{7} - 10 = 0 \\ \Rightarrow\ &\frac{11p}{7} = 10 \ \Rightarrow\ p = \frac{70}{11}. \end{aligned}
    Multiply matching direction ratios and add, then set the sum to 0. The equation is linear in pp⁠, so it has exactly one solution: although the question says "values", there is only one value of pp⁠. It is not 0, so the denominators 2p2p and 3p3p of the given equations make sense.
    Section 11.4, condition (i) for perpendicular lines. Lesson: perpendicular lines
  4. Check by substituting back

    With p=7011p = \frac{70}{11}⁠: 2p7=2011\frac{2p}{7} = \frac{20}{11} and 3p7=3011\frac{3p}{7} = \frac{30}{11}⁠. The direction ratios become −3,2011,2-3, \frac{20}{11}, 2 and −3011,1,−5-\frac{30}{11}, 1, -5⁠; multiplying each set by 11 gives −33,20,22-33, 20, 22 and −30,11,−55-30, 11, -55⁠. Then

    (−33)(−30)+20(11)+22(−55)=990+220−1210=0.\begin{aligned} &(-33)(-30) + 20(11) + 22(-55) \\ &= 990 + 220 - 1210 = 0. \end{aligned}
    Multiplying a set of direction ratios by the same nonzero number gives direction ratios of the same line, so whole numbers can be used for the check. The sum is 0, so the lines are at right angles.
    Direction ratios are fixed only up to a nonzero multiple (Section 11.2). Basics: direction cosines and ratios
Result

The lines are at right angles for exactly one value, p=7011p = \frac{70}{11}⁠.

(Textbook answer: p=7011p = \frac{70}{11}⁠.)

Check it with numbers

p=7011≈6.363636p = \frac{70}{11} \approx 6.363636⁠. Then 2p7≈1.818182\frac{2p}{7} \approx 1.818182 and −3p7≈−2.727273-\frac{3p}{7} \approx -2.727273⁠, and

(−3)(−2.727273)+1.818182+2(−5)(-3)(-2.727273) + 1.818182 + 2(-5) =8.181819+1.818182−10=0.000001= 8.181819 + 1.818182 - 10 = 0.000001⁠,

which is 0 up to the rounding of the decimals.

Common mistakes
  1. Reading the denominators directly as 3,2p,23, 2p, 2 and 3p,1,53p, 1, 5⁠. That gives 9p+2p+10=09p + 2p + 10 = 0⁠, p=−1011p = -\frac{10}{11}⁠, which is wrong: the numerators 1−x1 - x⁠, 7y−147y - 14⁠, 7−7x7 - 7x⁠, 6−z6 - z are not in standard form.
  2. Fixing the sign but not the factor 7 (or the other way round): every coefficient of xx⁠, yy⁠, zz must become +1+1⁠.
  3. Sign slip in −3p7-\frac{3p}{7}: dividing 3p3p by −7-7 gives a negative direction ratio.
What to take away
  1. Before reading direction ratios, make the coefficients of xx⁠, yy⁠, zz equal to +1+1⁠: divide the denominator by the coefficient.
  2. Perpendicular lines: a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0⁠; this gives an equation for the unknown.
  3. Check by substituting the value back, scaling the direction ratios to whole numbers if that helps.

Every fact used, and where it comes from

FactUsed inSource
Standard Cartesian form; its denominators are direction ratiosSteps 1, 2Section 11.3.1, equation (3) (Basics)
Perpendicular lines: a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0Steps 3, 4Section 11.4, condition (i) (Lesson)
Direction ratios are proportional to the direction cosines; any nonzero multiple servesStep 4Section 11.2 (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 →