Grade 8 Mathematics · Linear functions

Slope as a rate of change

How much y changes for each unit of x — and it is one number.

Which climb is steeper?

One road climbs 3 units for every 4 it moves along, another climbs 6 for every 10. The second has the bigger climb, and the longer stretch too — so which is steeper? Neither number on its own can decide.

The slope of a line is how much it rises for each unit it runs. It is a single number, it is the same everywhere along a straight line, and that constancy is exactly what makes a line a line.

A rise of 3 for a run of 4 — and that ratio holds everywhere along the line.

m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}

Two worked examples

Example 1 — slope from two points

  1. Take (1, 2) and (5, 5).
  2. The rise. 5 - 2 = 3
  3. The run. 5 - 1 = 4
  4. The slope. m = \tfrac{3}{4} = 0.75

Example 2 — the order does not matter, as long as it matches

  1. Take the same points the other way round. \frac{2 - 5}{1 - 5}
  2. Both differences flipped sign. \frac{-3}{-4} = \tfrac{3}{4}
  3. The same slope, as it must be.
  4. But flipping only one gives -\frac{3}{4} — a line falling instead of rising.
  5. So subtract both coordinates in the same order.
A calculator: Slope from two points — sliders for x of the first point, y of the first point, x of the second point, y of the second point, with results that update at once on a graph.