Q.Find the value of k so that the line through (k,3) and (2,−4) is perpendicular to the line through (5,1) and (−1,7).
Concept understanding — Angle Between Two Lines
Angle Between Two Lines – From Intuition to Precision
When you think of two lines crossing each other, the first thing you notice is how "wide" or "narrow" the opening between them is. That opening is the angle between the lines. If you hold two pens and let them cross, the smaller turn you make to bring one pen onto the other is the angle between them.
But here's the key: two intersecting lines actually make four angles — two acute (sharp) and two obtuse (wide), or all four right angles if they are perpendicular. By convention, when we say "the angle between two lines," we always mean the smaller (acute) angle, which lies between 0∘ and 90∘. If the lines are parallel, the angle is 0∘; if they are perpendicular, it is 90∘.
The Geometry of Slopes
Every non-vertical line in the coordinate plane has a slope m, which tells you how steep it is. The slope is the tangent of the angle the line makes with the positive x-axis. So if a line makes an angle θ with the x-axis, then m=tanθ.
Now imagine two lines with slopes m1 and m2. They make angles θ1 and θ2 with the x-axis. The angle between the lines themselves is simply the difference between these two angles: ∣θ1−θ2∣.
tanϕ=1+m1m2m1−m2
Here ϕ is the acute angle between the two lines. The absolute value ensures we get the smaller angle. The denominator 1+m1m2 comes from the tangent subtraction formula: tan(θ1−θ2)=1+tanθ1tanθ2tanθ1−tanθ2.
Why the Formula Works
Suppose line L1 has slope m1=tanθ1 and line L2 has slope m2=tanθ2. The angle between them is ϕ=∣θ1−θ2∣. Using the tangent subtraction identity:
tanϕ=tan∣θ1−θ2∣=1+tanθ1tanθ2tanθ1−tanθ2=1+m1m2m1−m2
The absolute value guarantees we take the acute angle. If 1+m1m2=0, the denominator is zero, meaning tanϕ is undefined — that happens when ϕ=90∘, i.e., the lines are perpendicular.
If 1+m1m2=0, do not use the formula directly. The lines are perpendicular, so ϕ=90∘. The formula simply tells you the angle is 90∘ by giving an undefined tangent.
Special Cases
- Parallel lines: m1=m2. Then numerator is zero, so tanϕ=0, giving ϕ=0∘.
- Perpendicular lines: m1m2=−1. Then denominator is zero, so ϕ=90∘.
- One vertical line: A vertical line has no defined slope (infinite). If one line is vertical, the angle between it and a line of slope m is 90∘−arctan(m) (or its complement). The formula above does not apply directly; you handle this case separately.
A Quick Example
Find the acute angle between the lines y=2x+3 and y=−3x+1.
Here m1=2, m2=−3.
tanϕ=1+(2)(−3)2−(−3)=1−65=−55=1
So tanϕ=1, which means ϕ=45∘.
Always check if the denominator is zero first. If it is, the answer is 90∘ and you're done. If not, plug into the formula.
The Big Picture
The angle between two lines is a measure of their relative orientation. The formula tanϕ=1+m1m2m1−m2 is your tool for finding it when you have slopes. It comes directly from the geometry of angles and the tangent subtraction identity — nothing more than that.
The acute angle ϕ between two lines with slopes m1 and m2 is given by tanϕ=1+m1m2m1−m2, with ϕ=90∘ when 1+m1m2=0.
[!TLDR] The second line has slope −1; perpendicularity forces the first line's slope to be 1, which gives k=9. [!ANSWER] k=9.
Slope of the line through (5,1) and (−1,7): m2=−1−57−1=−66=−1. For the line through (k,3) and (2,−4) to be perpendicular to this, its slope m1 must satisfy m1m2=−1, i.e. m1(−1)=−1, i.e. m1=1. But also m1=2−k−4−3=2−k−7. Setting these equal: 2−k−7=1⟹−7=2−k⟹k=9. Check: with k=9, m1=2−9−7=−7−7=1, and m1m2=1×(−1)=−1 ✓, confirming perpendicularity. [!ANSWER] k=9.
Find the known line's slope first, use m1m2=−1 to find the required slope of the other line, then equate this to the slope formula containing k and solve.
A frequent error is setting m1m2=1 (the parallel condition) instead of m1m2=−1 (the perpendicular condition) by confusing the two corollaries.
- CBSE 2023Set ANNUAL1 markMCQQ.The angle between the straight lines (x-4)/2 = (y-5)/0 = (z-6)/0 and (3-x)/3 = (y-7)/0 = (z-3)/0 is(a) -π(b) -π/2(c) π(d) π/3
›Reveal solutionSolution
The angle between two lines is found from the angle between their direction vectors using cosθ=∣d1∣∣d2∣∣d1⋅d2∣ — but here the sign of the dot product itself tells us the lines point in exactly opposite directions.
Step 1. First line: 2x−4=0y−5=0z−6 has direction ratios (2,0,0).
Step 2. Second line: 33−x=0y−7=0z−3, i.e. −3x−3=0y−7=0z−3, has direction ratios (−3,0,0).
Step 3. cosθ=4⋅9(2)(−3)+0+0=6−6=−1⇒θ=π.
(Both lines are parallel to the x-axis but the given direction ratios point in opposite senses, so the angle between them — taken directly from the ratios as given, without the usual ∣⋅∣ that restricts to [0,π/2] — is π.)
✓Final answerθ=π (option c).
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.