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.
m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}
Two worked examples
Example 1 — slope from two points
- Take (1, 2) and (5, 5).
- The rise.
5 - 2 = 3 - The run.
5 - 1 = 4 - The slope.
m = \tfrac{3}{4} = 0.75
Example 2 — the order does not matter, as long as it matches
- Take the same points the other way round.
\frac{2 - 5}{1 - 5} - Both differences flipped sign.
\frac{-3}{-4} = \tfrac{3}{4} - The same slope, as it must be.
- But flipping only one gives -\frac{3}{4} — a line falling instead of rising.
- So subtract both coordinates in the same order.