Sub topic 11
The Angle Between Two Lines
Assume you know how to find the slope of a line and how to solve linear equations. You should also be comfortable with basic trigonometry, especially the tangent of an angle.
The angle between two lines is usually the smaller angle at which they meet. If the lines are parallel, their angle is \(0^\circ\). If they are perpendicular, their angle is \(90^\circ\).
Formula using slopes
Let two non-vertical lines have slopes \(m1\) and \(m2\). If \(\theta\) is their acute angle, then
\[ \tan\theta=\left|\frac{m2-m1}{1+m1m2}\right|. \]
The absolute value ensures that the result represents the smaller, positive angle.
Worked example
Find the angle between
\[ y=2x+1 \]
and
\[ y=-\frac13x+4. \]
Their slopes are
\[ m1=2,\qquad m2=-\frac13. \]
Substitute into the formula:
\[ \tan\theta =\left|\frac{-\frac13-2}{1+2\left(-\frac13\right)}\right| =\left|\frac{-\frac73}{\frac13}\right| =7. \]
Therefore,
\[ \theta=\tan^{-1}(7)\approx81.9^\circ. \]
In a CAT question, the exact statement \(\tan\theta=7\) may be enough if no decimal angle is required.
Special cases
The denominator \(1+m1m2\) helps identify perpendicular lines.
| Relationship | Slope condition | Angle |
|---|---|---|
| Parallel | \(m_1=m_2\) | \(0^\circ\) |
| Perpendicular | \(m_1m_2=-1\) | \(90^\circ\) |
| Intersecting, neither special case | Other values | Use the formula |
For example, lines with slopes \(3\) and \(-\frac13\) are perpendicular because their product is \(-1\). You do not need to calculate an inverse tangent.
A vertical line has undefined slope. If one line is vertical and the other has slope \(m\), the angle \(\theta\) between them satisfies
\[ \tan\theta=\left|\frac1m\right|, \]
provided \(m\neq0\). A vertical line and a horizontal line are perpendicular.
Formula using general equations
For lines
\[ A1x+B1y+C_1=0 \]
and
\[ A2x+B2y+C_2=0, \]
you can calculate the angle directly:
\[ \tan\theta= \left| \frac{A1B2-A2B1} {A1A2+B1B2} \right|. \]
This form is useful when the equations are already given in general form. If the denominator is zero, the lines are perpendicular.
Common errors and CAT strategy
- Do not use the difference \(m2-m1\) alone. It gives only part of the formula.
- Apply the absolute value when finding the smaller angle.
- Check for parallel or perpendicular lines before using a calculator.
- Convert equations to slope form only when that conversion is quick.
- If the question asks for an angle of intersection, report the acute angle unless it clearly requests the obtuse angle.
Exercise
Find the angle between the lines y = x + 2 and y = -x + 5.
Show answer
Their slopes have product -1, so the lines are perpendicular. The angle is 90°.