01 · Learn the idea
Two numbers, two meanings
A linear equation in slope-intercept form, y = mx + b, has two numbers in it. In a real situation each one says something you could explain to a friend.
The slope m is a rate. It tells how much y changes each time x goes up by 1. Its unit is the unit of y per one unit of x: dollars per hour, centimeters per week, degrees Fahrenheit per degree Celsius.
The y-intercept b is a starting value. It is the value of y when x is 0, and its unit is the unit of y.
A made-up bike shop rents bikes with the rule C = 6h + 10, where h is hours and C is the cost in dollars. The slope is 6: the cost goes up 6 dollars for each hour. The y-intercept is 10: at 0 hours the cost is already 10 dollars, a flat fee you pay before riding at all. A 3-hour rental costs 6 × 3 + 10 = 28 dollars.
y = mx + b
02 · Build understanding
Worked example: from a written description
A candle is 24 centimeters tall when it is lit. It burns down 1.5 centimeters every hour. Find the slope and y-intercept of the line that gives height against time, and say what they mean.
Step 1: Name the variables. Let t be the hours since the candle was lit and h be its height in centimeters.
Step 2: Find the starting value. When t = 0 the candle is 24 centimeters tall. That is the y-intercept: b = 24, in centimeters.
Step 3: Find the rate. The height changes by 1.5 centimeters each hour, and it is going down, so the slope is negative: m = −1.5, in centimeters per hour.
Step 4: Write the equation. h = −1.5t + 24.
Step 5: Check with a value you can work out from the story. After 4 hours the candle has lost 4 × 1.5 = 6 centimeters, so it is 24 − 6 = 18 centimeters tall. The equation gives −1.5 × 4 + 24 = −6 + 24 = 18. They agree.
h = −1.5t + 24
03 · Build understanding
Worked example: from a table
Luis saves the same amount each week. Week: 2, 4, 6, 8 and dollars saved: 110, 150, 190, 230. Find the slope and the y-intercept and say what they mean.
Step 1: Find the slope from any two rows. From week 2 to week 4 the savings go from 110 to 150. Slope = (150 − 110)/(4 − 2) = 40/2 = 20. Luis saves 20 dollars per week.
Step 2: Find the y-intercept. The table does not have a week 0 row, so work back from week 2. Two weeks at 20 dollars per week is 40 dollars, and 110 − 40 = 70. So b = 70.
Step 3: Interpret. The slope means the savings grow by 20 dollars each week. The y-intercept means Luis had 70 dollars at week 0, before he started adding to it.
Step 4: Check with a row you did not use. The equation y = 20x + 70 gives 20 × 8 + 70 = 160 + 70 = 230 for week 8, which matches the table.
04 · Build understanding
Worked example: from a graph
The graph shows the water in a tank while a hose fills it. Across is time in minutes and up is gallons. The line passes through (0, 40) and (5, 100).
Step 1: Read the y-intercept. The line meets the vertical axis at (0, 40), so b = 40. The tank already held 40 gallons when the hose was turned on.
Step 2: Find the slope from two points on the line. Slope = (100 − 40)/(5 − 0) = 60/5 = 12. The hose adds 12 gallons per minute.
Step 3: Write the equation: y = 12x + 40.
Step 4: Check with another point. At x = 2 the equation gives 12 × 2 + 40 = 64 gallons. On the graph, the line above 2 minutes sits a little over 60 gallons, which agrees.
05 · Build understanding
Temperature conversion and lines of fit
The rule that turns a Celsius temperature C into a Fahrenheit temperature F is a linear equation: F = 1.8C + 32.
The slope is 1.8, in degrees Fahrenheit per degree Celsius. Each time the Celsius reading goes up 1 degree, the Fahrenheit reading goes up 1.8 degrees. For example, 10°C is 1.8 × 10 + 32 = 50°F and 11°C is 51.8°F.
The y-intercept is 32, in degrees Fahrenheit. When the Celsius reading is 0, the Fahrenheit reading is 32. That is the freezing point of water on both scales.
A line of fit on a scatter plot is read the same way, with one change: it describes a trend, so you say "about" or "on average". A made-up animal shelter plots the age in months and the weight in pounds of puppies aged 2 to 10 months, and its line of fit is y = 4x + 6. The slope says that each extra month of age goes with about 4 more pounds, on average. The y-intercept says the line predicts about 6 pounds at 0 months. No puppy in the data was that young, so treat that as the line's prediction and not as a measured fact.
F = 1.8C + 32
06 · Build understanding
Mistakes to watch for
Swapping the two numbers. In C = 6h + 10 the 6 is multiplied by the hours, so it is the rate. The 10 stands alone, so it is the starting fee. Saying "10 dollars per hour" swaps them.
Leaving off the units. "The slope is 12" is unfinished. "The tank gains 12 gallons per minute" tells what is changing and how fast.
Dropping the negative sign. The candle's slope is −1.5, which means the height goes down 1.5 centimeters per hour. A slope of 1.5 would describe a candle that grows.
Reading the first row of a table as the y-intercept. Luis's table starts at week 2 with 110 dollars. The y-intercept is the value at week 0, which is 70 dollars.
Apply and explain
Your turn
Dev looks at F = 1.8C + 32 and says, "The 32 means the Fahrenheit temperature goes up 32 degrees every time the Celsius temperature goes up 1 degree." Explain what the 32 and the 1.8 each mean, with units, and correct Dev.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
Dev has given the meaning of the slope to the y-intercept. The 32 is the y-intercept: it is the Fahrenheit temperature when the Celsius temperature is 0, so 0°C is 32°F. The 1.8 is the slope: the Fahrenheit temperature goes up 1.8 degrees for each 1 degree rise in Celsius. For example, 0°C is 32°F and 1°C is 33.8°F, a rise of 1.8 and not 32.
- Says 32 is the Fahrenheit temperature when the Celsius temperature is 0.
- Says 1.8 is the rise in degrees Fahrenheit for each 1 degree Celsius.
- Corrects Dev by showing a rise of 1 degree Celsius changes Fahrenheit by 1.8, not 32.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
What slope and y-intercept mean in a real situation: practice →