Lesson 5.1 · Linear Functions
Slope and rate of change
Some quantities change at a steady pace: a phone plan adds the same charge every month, a hiker climbs the same number of feet every hour. When a quantity changes at a constant rate, its graph is a straight line, and the number that measures that rate is the line's slope. Slope is the single most important idea in this unit.
Rate of change
Suppose a pool is being filled with a hose. You record the water level every minutes.
| time (min), | ||||
|---|---|---|---|---|
| depth (in.), |
Every time goes up by , goes up by . So the depth rises inches per minute. That number is the rate of change:
Because the rate is the same between every pair of rows, this relationship is linear. In the last unit you saw the same pattern in arithmetic sequences: a constant difference. Slope is that constant difference, measured per one unit of .
Slope on a graph
On a graph, the change in is how far you move up or down, called the rise. The change in is how far you move left or right, called the run. Pick any two points on a line, draw the little right triangle between them, and divide.
Going from to , the line rises and runs , so the slope is . Pick two different points on the same line and you'll get a bigger or smaller triangle, but the ratio is still . That's what makes a line a line: its slope is the same everywhere.
Definition
Slope
The slope of the line through and is
The letter is the traditional name for slope. The little numbers are subscripts: just means "the -coordinate of the first point." They are labels, not exponents.
Worked example: Slope from two points
Find the slope of the line through and .
Call the first point and the second.
The slope is : every step of to the right takes the line unit down.
Common mistake
Stay consistent. Whichever point's you write first on top, its must come first on the bottom. Mixing them, as in , flips the sign and gives , which is wrong. Also watch double negatives: , not .
It doesn't matter which point you call "first," as long as you're consistent. Using first gives , the same answer.
Four kinds of slope
Read a graph from left to right, the way you read a sentence.
- Positive slope: the line goes up. As increases, increases.
- Negative slope: the line goes down. As increases, decreases.
- Zero slope: the line is horizontal. The rise is , so .
- Undefined slope: the line is vertical. The run is , and you can't divide by zero.
The bigger the absolute value of the slope, the steeper the line. A slope of is steeper than a slope of , because .
Worked example: Horizontal and vertical lines
Find the slope of the line through each pair of points.
- and
- and
Solutions.
- . The -values match, so the line is horizontal.
- , which is undefined. The -values match, so the line is vertical.
Tip
"Zero slope" and "no slope" sound alike but are different. A horizontal line has a slope, and it equals . A vertical line's slope is undefined. Saying "undefined" avoids confusion.
Slope as a rate in context
In a real situation, slope has units: the units of per unit of . Always say what the slope means.
Worked example: Interpreting slope
At 9:00 a.m. a car's tank holds gallons. At 1:00 p.m., after steady highway driving, it holds gallons. Find the rate of change and explain what it means.
Let be hours after 9:00 and be gallons. The points are and .
The rate of change is gallons per hour: the car uses gallons of fuel every hour. The negative sign says the amount of fuel is decreasing.
Practice
Find the slope of the line through and .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the slope of the line through and .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the slope of the line through and ?
Find the slope of the line shown.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The table shows a linear relationship. What is its rate of change?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which line is the steepest?
A line passes through and and has slope . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A water tank holds gallons after hours of steady draining and gallons after hours. What is the rate of change, in gallons per hour?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.