girgit.org

Straight Lines

When are two lines parallel or perpendicular?

The big ideaParallel lines have equal slopes, \( m_1 = m_2 \); perpendicular lines have slopes that multiply to \( -1 \), \( m_1 m_2 = -1 \).

In simple words

Two railway tracks never meet because they lean the same way by the same amount. So their steepness numbers are the same. Now turn one line a quarter turn so it makes a perfect corner with the other. A line that climbed gently now drops sharply, and the two steepness numbers flip over and swap sign. Multiply them and you always get minus one.

Parallel lines: equal slopes

Take two lines that are not vertical, \( l_1 \) with slope \( m_1 \) and inclination \( \alpha \), and \( l_2 \) with slope \( m_2 \) and inclination \( \beta \).

Picture two parallel lines crossing the x-axis. Because they are parallel, they cut the axis at the same angle (corresponding angles), so \( \alpha = \beta \). Then \( \tan \alpha = \tan \beta \), that is \( m_1 = m_2 \).

The reverse also holds. If \( m_1 = m_2 \), then \( \tan \alpha = \tan \beta \). Between \( 0^\circ \) and \( 180^\circ \) the tangent never repeats a value, so \( \alpha = \beta \), and lines with equal inclinations are parallel. So:

Parallel

  • Two non-vertical lines are parallel if and only if their slopes are equal: \( m_1 = m_2 \).

"If and only if" means the test works both ways: parallel tells you the slopes are equal, and equal slopes tell you the lines are parallel. (Two vertical lines are also parallel, though neither has a slope.)

Perpendicular lines: slopes multiply to \( -1 \)

Now suppose the lines meet at a right angle. Picture \( l_1 \) rising to the right at inclination \( \alpha \), and \( l_2 \) crossing it squarely, rising to the left. The angles of the triangle they form with the x-axis show that \( l_2 \) is a quarter turn further round: \( \beta = \alpha + 90^\circ \). Therefore

\[ \tan \beta = \tan(\alpha + 90^\circ) = -\cot \alpha = -\frac{1}{\tan \alpha} \]

so \( m_2 = -\dfrac{1}{m_1} \), or

\[ m_1 m_2 = -1 \]

Conversely, if \( m_1 m_2 = -1 \), then \( \tan \alpha = -\cot \beta \), which equals \( \tan(\beta + 90^\circ) \) or \( \tan(\beta - 90^\circ) \). So \( \alpha \) and \( \beta \) differ by \( 90^\circ \), and the lines are perpendicular.

Perpendicular

  • Two non-vertical lines are perpendicular if and only if their slopes are negative reciprocals of each other: \( m_2 = -\frac{1}{m_1} \), that is \( m_1 m_2 = -1 \).
  • Negative reciprocal: flip the fraction and change the sign. The negative reciprocal of \( \frac{2}{3} \) is \( -\frac{3}{2} \).

Try it: turn the second line until it crosses the first squarely, and watch the little triangle turn with it.

Worked examples

Worked example 1: parallel, perpendicular or neither?

  1. Line through \( (1, 2) \) and \( (3, 6) \): slope \( \frac{4}{2} = 2 \). Line through \( (0, 5) \) and \( (4, 3) \): slope \( \frac{-2}{4} = -\frac{1}{2} \). Product \( 2 \times \left(-\frac{1}{2}\right) = -1 \): perpendicular.
  2. Line through \( (0, 0) \) and \( (4, 2) \): slope \( \frac{1}{2} \). Line through \( (1, 3) \) and \( (5, 5) \): slope \( \frac{2}{4} = \frac{1}{2} \). Equal slopes: parallel. (They are not the same line: the first passes through \( (1, \frac{1}{2}) \), not \( (1, 3) \).)

Worked example 2: find the missing coordinate

The line through \( (2, 1) \) and \( (5, 7) \) is perpendicular to the line through \( (1, 4) \) and \( (x, 2) \). Find \( x \).

  1. First slope: \( m_1 = \frac{7 - 1}{5 - 2} = 2 \).
  2. Second slope: \( m_2 = \frac{2 - 4}{x - 1} = \frac{-2}{x - 1} \).
  3. Perpendicular: \( 2 \times \frac{-2}{x - 1} = -1 \), so \( -4 = -(x - 1) \), giving \( x = 5 \).
  4. Check: \( m_2 = \frac{-2}{4} = -\frac{1}{2} \), and \( 2 \times \left(-\frac{1}{2}\right) = -1 \).

Worked example 3: a right angle without Pythagoras

Show that \( A(1, 1) \), \( B(4, 2) \) and \( C(3, 5) \) form a right triangle.

  1. Slope of AB \( = \frac{2 - 1}{4 - 1} = \frac{1}{3} \). Slope of BC \( = \frac{5 - 2}{3 - 4} = -3 \).
  2. Product \( \frac{1}{3} \times (-3) = -1 \), so AB is perpendicular to BC: the right angle is at B.

Don't mix these up

  • The perpendicular slope is the negative reciprocal, not just the negative. Perpendicular to slope 3 is \( -\frac{1}{3} \), not \( -3 \).
  • \( m_1 m_2 = -1 \) needs both lines to have slopes. For a horizontal line with a vertical line, use the picture, not the formula.

Try it. (a) What slope is perpendicular to a line of slope \( -\frac{4}{5} \)? (b) Show with slopes that \( (0, 0) \), \( (4, 1) \), \( (6, 4) \) and \( (2, 3) \), taken in order, form a parallelogram.

Answer
(a) Flip and change sign: \( \frac{5}{4} \). (b) Opposite sides: slope from \( (0,0) \) to \( (4,1) \) is \( \frac{1}{4} \) and from \( (2,3) \) to \( (6,4) \) is \( \frac{1}{4} \); slope from \( (4,1) \) to \( (6,4) \) is \( \frac{3}{2} \) and from \( (0,0) \) to \( (2,3) \) is \( \frac{3}{2} \). Both pairs of opposite sides are parallel.

Words to know

Parallel lines
Lines that never meet; non-vertical ones have equal slopes.
Perpendicular lines
Lines that meet at a right angle; non-vertical ones have \( m_1 m_2 = -1 \).
Negative reciprocal
Turn the fraction upside down and change its sign: \( m \to -\frac{1}{m} \).
If and only if
The statement works in both directions.

A line has slope \( \frac{3}{2} \). What is the slope of a line perpendicular to it?

  1. \( -\frac{3}{2} \)
  2. \( \frac{2}{3} \)
  3. \( -\frac{2}{3} \)

A ladder leans against a vertical wall standing on flat ground. Why can't we use \( m_1 m_2 = -1 \) to show the wall and ground are perpendicular?

  1. Because they are not really perpendicular
  2. Because the wall has no slope
  3. Because the ladder is in the way

The lines through \( (0, 1) \), \( (2, 5) \) and through \( (3, 0) \), \( (5, k) \) are parallel. What is \( k \)?

  1. 4
  2. 5
  3. \( -1 \)