Skip to content
Exercise: Angle Between Two Lines · Q28

Q.Find the angle between the lines whose direction ratios are 1,1,01,1,0 and 1,0,11,0,1.

West Bengal WbchseTextbookSubjectiveImportance★★★★★
53% · 31/59 Questions
✓ Free question

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.
  • 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 mm is 90∘−arctan⁡(m)90^\circ - \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+3y = 2x + 3 and y=−3x+1y = -3x + 1.

Here m1=2m_1 = 2, m2=−3m_2 = -3.

tan⁡ϕ=∣2−(−3)1+(2)(−3)∣=∣51−6∣=∣5−5∣=1\tan \phi = \left| \frac{2 - (-3)}{1 + (2)(-3)} \right| = \left| \frac{5}{1 - 6} \right| = \left| \frac{5}{-5} \right| = 1

So tan⁡ϕ=1\tan \phi = 1, which means ϕ=45∘\phi = 45^\circ.

Tip

Always check if the denominator is zero first. If it is, the answer is 90∘90^\circ 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⁡ϕ=∣m1−m21+m1m2∣\tan \phi = \left| \frac{m_1 - m_2}{1 + m_1 m_2} \right| 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 ϕ\phi between two lines with slopes m1m_1 and m2m_2 is given by tan⁡ϕ=∣m1−m21+m1m2∣\tan \phi = \left| \frac{m_1 - m_2}{1 + m_1 m_2} \right|, with ϕ=90∘\phi = 90^\circ when 1+m1m2=01 + m_1 m_2 = 0.

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.