Slope

This is the idea the next two lessons build on, so give it the most time. Slope is one number that tells you two things about a line: how steep it is and which way it tilts. And it isn't new: it's the rate of change, the graphical face of the unit rate you already met in Unit 3.
Start there. In Unit 3, "60 miles per 1 hour" was a unit rate. Draw a graph of distance against time and that rate is the slope of the line: the miles you gain for each single hour. Slope is just rise per 1 of run: how much the output climbs for each 1 step you take across.
Now a picture for steepness: stairs and ramps. A gentle wheelchair ramp barely rises as you walk along it, a small slope. A steep staircase climbs a lot for each step forward, a big slope. Walk downhill and the slope is negative. Stand on a flat landing, going forward but not up at all, and the slope is zero. And a wall going straight up has no "forward" to speak of: you can't move across at all, so its slope is undefined. Those are the four cases, and they're just descriptions of how steep and which way.

To put a number on it, you compare two points on the line. Going from one point to the other, the rise is the vertical change and the run is the horizontal change. Slope is rise over run:
$$m = \frac{y_2 - y_1}{x_2 - x_1}$$
There's one rule that keeps this honest: subtract the two y's and the two x's in the same order. Whichever point you call "first," use it first on the top and the bottom both. Mixing the order flips a sign and hands you the wrong tilt.
There's a deeper reason this single number describes the whole line, and it's better seen than taken on faith. What makes a linear function linear is that its rate of change is constant: pick any two points on the line and the slope comes out the same. Said another way, equal steps in x always produce equal steps in y.
For y = 2x − 1, step x along 0, 1, 2, 3 and y runs −1, 1, 3, 5, up 2 every single time. That fixed "+2 for each +1" is the slope, and it's exactly why the points fell in a straight row back in Lesson 5.2. A curve is what you get when the rate keeps changing instead.
New words
Worked example
-
5.3.w1 Through (1,2) and (3,8): $$m = \frac{8 - 2}{3 - 1} = \frac{6}{2} = 3$$ The slope is positive, so the line runs uphill from left to right. The 6 on top is the rise (y climbed from 2 to 8) and the 2 on the bottom is the run (x moved from 1 to 3).
-
5.3.w2 Through (0,5) and (2,1): $$m = \frac{1 - 5}{2 - 0} = \frac{-4}{2} = -2$$ The slope is negative, so this line runs downhill. Notice the top is 1 − 5, not 5 − 1: we used the second point first on top and bottom, keeping the order matched.
-
5.3.w3 Horizontal line y = 4: every point has y = 4, so there's no rise at all, and rise = 0 means m = 0/run = 0. Slope 0, the flat landing.
-
5.3.w4 Vertical line x = 3: every point has x = 3, so there's no run at all, and m = rise/0 is division by zero, which has no value, so the slope is undefined, the wall.
Those last two are the pair people swap, so pin them to the picture: a flat landing has no rise, giving slope 0, while a wall has no forward run, leaving the slope undefined.
It also helps to say them in full: "zero slope" for horizontal, "undefined slope" for vertical. Try to avoid the phrase "no slope," which some people hear as "slope zero" and others as "undefined." The two full names never blur.
-
5.3.w5 Slope in context, with units. A line on a cost (in dollars) versus time (in hours) graph passes through (0, 20) and (4, 80). Find the slope and say what it means. $$m = \frac{80 - 20}{4 - 0} = \frac{60}{4} = 15$$ The slope is 15 dollars per hour: the cost climbs $15 for each additional hour. You read its units straight off the axes: dollars on top, hours on the bottom, so dollars per hour. The intercept carries meaning too: the point (0, 20) says the cost is already $20 at 0 hours, a $20 starting charge. Constant-rate check: at (2, 50), (50 − 20)/(2 − 0) = 15 as well, so the rate really is steady. Naming the units is what turns a bare number into a rate you can read aloud, "$15 per hour," exactly the rate-of-change idea made concrete.
-
5.3.w6 Slope two ways, graph versus formula. For the line through (1, 2) and (4, 8), compute the slope both ways and compare. From the graph (rise/run): draw the right triangle between the points, going up 6 (from y = 2 to y = 8) and across 3 (from x = 1 to x = 4), so m = rise/run = 6/3 = 2. From the formula: $$m = \frac{8 - 2}{4 - 1} = \frac{6}{3} = 2$$ Same answer, as it has to be: rise/run and (y₂ − y₁)/(x₂ − x₁) are the same subtraction, one read off a picture and one off the coordinates. When is each handier? Rise/run is quickest when you already have a graph and can count boxes; the formula is safer when the points are given as numbers, especially negatives or fractions, where counting on a grid invites mistakes. Both are correct, so use the one that fits what you're handed, and the choice is yours.
Here's a graph with that rise/run right triangle drawn in between two points, so you can see where the rise and the run come from 5.3.f1.
Here's a place people slip: reading the sign of a slope as its steepness. Slope packs two facts. The sign says which way the line tilts (minus is downhill), and the size says how steep. So a slope of −3 is steeper than a slope of 2, because 3 is the bigger size, even though −3 is the smaller number. To compare steepness, strip the signs and compare the sizes; bring the signs back only to say uphill or downhill.
And when you compute a slope, give your subtraction a quick sanity check: if you find yourself with y₂ − y₁ on top but x₁ − x₂ on the bottom, the orders don't match and the sign will come out wrong. Label your two points and subtract the same way on top and bottom. If a check ever disagrees with your answer, that mismatch is the check doing its job. Go back and re-run the subtraction slowly; it's almost always one order or one sign that slipped, not the whole method.
Check yourself
- 5.3.c1 A line goes through (2,3) and (6,11). Find the slope, and say in words what it tells you about how y changes. (m = (11 − 3)/(6 − 2) = 8/4 = 2; y goes up 2 for every 1 step x takes to the right.)
- 5.3.c2 One line has slope 5, another has slope 1/2. Which is steeper, and how do you know? (Slope 5 is steeper: compare the sizes, and 5 is much bigger than 1/2, so that line climbs faster per step across.)
- 5.3.c3 What's the slope of a perfectly horizontal line? A perfectly vertical one? Why is one a number and the other "undefined"? (Horizontal is slope 0, since there's no rise. Vertical is undefined, since the run is 0, and dividing rise by 0 has no value.)
- 5.3.c4 A savings graph passes through (0, 50) and (4, 90), where x is weeks and y is dollars. What is the slope with its units, and what does it tell you about the saving? What does the 50 mean? (m = (90 − 50)/(4 − 0) = 40/4 = 10 dollars per week, so $10 saved each week; the 50 is the starting balance, $50 at week 0.)
- 5.3.c5 Spot the error. Someone says: "Line A has slope -3 and line B has slope 2. Since -3 is less than 2, line A is less steep than line B." What's wrong, and which line is actually steeper? (They compared the signed numbers, but steepness is the size: |−3| = 3 is bigger than |2| = 2, so line A is the steeper one. The minus only means it tilts downhill.)
You can now compute slope from two points, name all four cases from the steepness-and-direction picture, keep your subtraction order consistent, and read a slope in context as a rate with units.
Here's a clean one to get the method moving before the set mixes things up: through (0, 0) and (3, 6), m = (6 − 0)/(3 − 0) = 6/3 = 2, a tidy positive slope, with no signs to track and no order to second-guess.
The set below covers all four cases plus a couple of context problems. Answers are at the end, and the worked examples above cover every type if one stalls you.
Reveal answerHide to problem 1
(8-2)/(3-1)=3Reveal answerHide to problem 2
(1-5)/(2-0)=-2Reveal answerHide to problem 3
(11-3)/(6-2)=2Reveal answerHide to problem 4
(-2-4)/(2-(-1))=-6/3=-2Reveal answerHide to problem 5
(8-0)/(4-0)=2Reveal answerHide to problem 6
(3-1)/(5-1)=1/2Reveal answerHide to problem 7
(5-(-3))/(2-(-2))=8/4=2Reveal answerHide to problem 8
run =3-3=0 → undefined (vertical)Reveal answerHide to problem 9
(2-2)/(4-(-1))=0 (horizontal)Reveal answerHide to problem 10
(5-5)/(6-2)=0 (horizontal)Reveal answerHide to problem 11
(0-6)/(4-1)=-6/3=-2Reveal answerHide to problem 12
(-7-(-1))/(3-1)=-6/2=-3In context (give the slope with its meaning):