Mathematics Topic

Gradients of Parallel and Perpendicular Lines

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. Parallel lines have equal gradients; perpendicular lines have gradients that multiply to -1 (each is the negative reciprocal of the other)
  2. Find the gradient first: read it from y = mx + c, or rearrange ax + by = k to get -a/b, then apply the rule and use a point to find c
  3. Horizontal and vertical lines are perpendicular to each other, but the product rule cannot be used for them because a vertical line has no gradient

Visual notes

Two parallel lines with gradient 1/2
Two straight lines that never meet, both rising from left to right with gradient 1/2. The upper line y = (1/2)x + 1 passes through (0, 1) and (4, 3). The lower line y = (1/2)x - 2 passes through (0, -2) and (4, 0). One unit across is drawn as long as one unit up.

From (0, 1) to (4, 3) the line rises 2 while it runs 4, and so does the lower line from (0, -2) to (4, 0): both gradients are 1/2, so the lines are parallel and the y-intercepts 1 and -2 show they are different lines.

Two perpendicular lines crossing at (2, 3)
Two straight lines crossing at a right angle at the point (2, 3). The flatter line y = (1/2)x + 2 rises with gradient 1/2 and cuts the y-axis at (0, 2). The steeper line y = -2x + 7 falls with gradient -2 and cuts the y-axis at (0, 7). One unit across is drawn as long as one unit up.

The gradients are 1/2 and -2, and 1/2 × (-2) = -1, so the lines meet at a right angle. They cross at (2, 3), where both equations give y = 3.

Section 1The two rules

Two lines that are not vertical are parallel when their gradients are equal: m1 = m2. They are perpendicular (they meet at 90°) when their gradients multiply to -1: m1 × m2 = -1. These rules turn a question about the directions of lines into arithmetic with gradients. If the gradients are equal and the y-intercepts are different, the lines are two separate parallel lines. If the gradients and the y-intercepts are both equal, it is the same line written twice.

Section 2Get the gradient first

Both rules need the gradients. For y = mx + c, read m, the number multiplying x. For an equation written as ax + by = k, rearrange: by = -ax + k, so y = -(a/b)x + k/b and the gradient is -a/b. For 3x + 2y = 12 the gradient is -3/2, and for 4x - 2y = 6 it is -4/(-2) = 2. When the lines are given by two points each, use m = (y2 - y1) / (x2 - x1) for each line (see the gradient topic).

Section 3Negative reciprocals

To find the gradient of a perpendicular line, turn the gradient upside down and change its sign: 2 becomes -1/2, -3/4 becomes 4/3 and 5 becomes -1/5. Check by multiplying the two gradients: the answer must be -1. Changing only the sign (2 and -2) or only turning it upside down (2 and 1/2) does not work, because those products are -4 and 1. A gradient of 1 pairs with -1.

Section 4Testing two lines

To find how two lines are related, find both gradients and compare. Equal gradients: parallel (or the same line if the y-intercepts match too). A product of -1: perpendicular. Anything else: neither. For y = 2x + 3 and 4x - 2y = 5, the gradients are 2 and 2, so the lines are parallel. For 3x + y = 4 and x - 3y = 6 the gradients are -3 and 1/3, and (-3) × (1/3) = -1, so the lines are perpendicular.

Section 5A line through a point

To write the equation of a line through a given point that is parallel or perpendicular to a given line: (1) find the gradient of the given line; (2) keep it for a parallel line, or take the negative reciprocal for a perpendicular line; (3) put the new gradient and the point into y = mx + c and solve for c. The y-intercept of the given line is not used. Example: through (4, 5), perpendicular to y = 4x - 1. The new gradient is -1/4, so 5 = -(1/4)(4) + c, giving c = 6 and y = -(1/4)x + 6.

Section 6Horizontal and vertical lines

A horizontal line y = k has gradient 0 and a vertical line x = h has no gradient, so the product rule does not apply. A horizontal line is perpendicular to every vertical line. The perpendicular to y = 5 through (3, -2) is the vertical line x = 3. Two horizontal lines are parallel to each other, and so are two vertical lines.

Section 7Unknowns and shapes on a grid

A letter in an equation can be found from a gradient rule. If px + 4y = 7 is parallel to y = 3x + 2, then -p/4 = 3, so p = -12. Gradients also test shapes on a coordinate grid: if opposite sides of a quadrilateral have equal gradients, it has two pairs of parallel sides, and if two sides that meet at a corner have gradients with product -1, the angle there is 90°.

Examples

The line L has the equation 2x - 5y = 10. (a) Find the gradient of L. (b) Find the equation of the line through (5, -3) that is parallel to L. (c) Find the equation of the line through (4, 1) that is perpendicular to L.

(a) Rearrange 2x - 5y = 10: -5y = -2x + 10, so y = (2/5)x - 2 and the gradient is 2/5. (b) A parallel line has the same gradient, 2/5. Through (5, -3): -3 = (2/5)(5) + c = 2 + c, so c = -5 and y = (2/5)x - 5. (c) A perpendicular line has gradient -5/2, because (2/5) × (-5/2) = -1. Through (4, 1): 1 = (-5/2)(4) + c = -10 + c, so c = 11 and y = -(5/2)x + 11. Check: at x = 4, -(5/2)(4) + 11 = 1.

Suppose a surveyor's plan, in metres on a grid, shows the corners D(-1, 2), E(3, 0) and F(4, 2) of a plot. (a) Show that angle DEF is a right angle. (b) Find the equation of the line through F that is parallel to DE. (c) The line kx + 4y = 9 is perpendicular to EF. Find k.

(a) Gradient of DE = (0 - 2)/(3 - (-1)) = -2/4 = -1/2. Gradient of EF = (2 - 0)/(4 - 3) = 2/1 = 2. The product is (-1/2) × 2 = -1, so DE and EF are perpendicular and angle DEF is 90°. (b) A line through F(4, 2) parallel to DE has gradient -1/2. Then 2 = -(1/2)(4) + c = -2 + c, so c = 4 and y = -(1/2)x + 4. (c) The line kx + 4y = 9 has gradient -k/4. To be perpendicular to EF its gradient must be -1/2, the negative reciprocal of 2, so -k/4 = -1/2 and k = 2. Check: 2x + 4y = 9 gives y = -(1/2)x + 9/4, with gradient -1/2.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from