Skip to content
Exercise: Angle Between Two Lines · Q31

Q.Show that the lines whose direction ratios are 1,2,31,2,3 and 2,−4,22,-4,2 are perpendicular to each other.

West Bengal WbchseTextbookSubjectiveImportance★★★★★
58% · 34/59 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

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∘0^\circ and 90∘90^\circ. If the lines are parallel, the angle is 0∘0^\circ; if they are perpendicular, it is 90∘90^\circ.


The Geometry of Slopes

Every non-vertical line in the coordinate plane has a slope mm, which tells you how steep it is. The slope is the tangent of the angle the line makes with the positive xx-axis. So if a line makes an angle θ\theta with the xx-axis, then m=tan⁡θm = \tan \theta.

Now imagine two lines with slopes m1m_1 and m2m_2. They make angles θ1\theta_1 and θ2\theta_2 with the xx-axis. The angle between the lines themselves is simply the difference between these two angles: ∣θ1−θ2∣|\theta_1 - \theta_2|.

tan⁡ϕ=∣m1−m21+m1m2∣\tan \phi = \left| \frac{m_1 - m_2}{1 + m_1 m_2} \right|

Here ϕ\phi is the acute angle between the two lines. The absolute value ensures we get the smaller angle. The denominator 1+m1m21 + m_1 m_2 comes from the tangent subtraction formula: tan⁡(θ1−θ2)=tan⁡θ1−tan⁡θ21+tan⁡θ1tan⁡θ2\tan(\theta_1 - \theta_2) = \frac{\tan \theta_1 - \tan \theta_2}{1 + \tan \theta_1 \tan \theta_2}.


Why the Formula Works

Suppose line L1L_1 has slope m1=tan⁡θ1m_1 = \tan \theta_1 and line L2L_2 has slope m2=tan⁡θ2m_2 = \tan \theta_2. The angle between them is ϕ=∣θ1−θ2∣\phi = |\theta_1 - \theta_2|. Using the tangent subtraction identity:

tan⁡ϕ=tan⁡∣θ1−θ2∣=∣tan⁡θ1−tan⁡θ21+tan⁡θ1tan⁡θ2∣=∣m1−m21+m1m2∣\tan \phi = \tan |\theta_1 - \theta_2| = \left| \frac{\tan \theta_1 - \tan \theta_2}{1 + \tan \theta_1 \tan \theta_2} \right| = \left| \frac{m_1 - m_2}{1 + m_1 m_2} \right|

The absolute value guarantees we take the acute angle. If 1+m1m2=01 + m_1 m_2 = 0, the denominator is zero, meaning tan⁡ϕ\tan \phi is undefined — that happens when ϕ=90∘\phi = 90^\circ, i.e., the lines are perpendicular.

Watch out

If 1+m1m2=01 + m_1 m_2 = 0, do not use the formula directly. The lines are perpendicular, so ϕ=90∘\phi = 90^\circ. The formula simply tells you the angle is 90∘90^\circ by giving an undefined tangent.


Special Cases

  • Parallel lines: m1=m2m_1 = m_2. Then numerator is zero, so tan⁡ϕ=0\tan \phi = 0, giving ϕ=0∘\phi = 0^\circ.
  • Perpendicular lines: m1m2=−1m_1 m_2 = -1. Then denominator is zero, so ϕ=90∘\phi = 90^\circ. …

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.