Skip to content

Mathematics and Statistics · Ch 5 — Locus and Straight Line

Angle Between Two Lines

6

Angle Between Two Lines

When two lines cross, they form two pairs of equal angles (one acute, one obtuse, adding to 180∘180^\circ). If the lines have slopes m1m_1 and m2m_2, the angle θ\theta between them is given by the tangent formula:

Note

Angle Between Two Lines

tan⁡θ=∣m1−m21+m1m2∣\tan\theta = \left|\dfrac{m_1 - m_2}{1 + m_1 m_2}\right|

The absolute-value bars are taken so that tan⁡θ≥0\tan\theta \ge 0, which returns the acute angle between the lines. (Dropping the bars gives a signed value whose sign distinguishes the acute from the obtuse angle; for board problems the acute angle is what is normally wanted.)

Two important cases fall straight out of this one formula:

  • If m1=m2m_1 = m_2, the numerator is 00, so tan⁡θ=0\tan\theta = 0 and θ=0∘\theta = 0^\circ — the lines are parallel, exactly as Section 5 said.
  • If 1+m1m2=01 + m_1 m_2 = 0, i.e. m1m2=−1m_1 m_2 = -1, the denominator is 00, so tan⁡θ\tan\theta is undefined and θ=90∘\theta = 90^\circ — the lines are perpendicular, again matching Section 5. …
Definition 1Angle between lines

tan⁡θ=∣m1−m21+m1m2∣\tan\theta = \left|\dfrac{m_1-m_2}{1+m_1m_2}\right|, giving the acute angle. Parallel (θ=0∘\theta=0^\circ) and perpendicular (θ=90∘\theta=90^\circ) a …