01 / 20

Use Linear Models
to Solve Problems

Learn to interpret slope and y-intercept in real-world linear models, and use the equation \( y = mx + b \) to make predictions from data.

8th Grade Math

What Is a Linear Model?

A linear model is an equation in the form \( y = mx + b \) that best describes the relationship between two variables in a data set. It lets us summarize a trend and make predictions beyond the data we collected.

\( m \) : Slope
The rate of change: how much \( y \) changes for each 1-unit increase in \( x \).
\( b \) : Y-Intercept
The starting value of \( y \) when \( x = 0 \).

From Data to a Line of Best Fit

Hours of Sunlight per Day Plant Height (cm) 0 2 4 6 8 0 3 6 9 12
\( y = 1.5x + 1 \)

Why Do Linear Models Matter?

Real-world data is messy. A linear model gives us a simple equation that captures the overall pattern so we can:

1
Summarize the relationship between two variables in one equation.
2
Predict values we haven't measured yet (interpolation and extrapolation).
3
Interpret the slope and intercept to understand what the data tells us in context.

The Equation \( y = mx + b \)

\( b = \) y-intercept
run \( = 1 \)
rise \( = m \)
\( x \)
\( y \)
\( m \) = Slope
\( m = \frac{\text{rise}}{\text{run}} \): the change in \( y \) per unit change in \( x \). It tells you the rate.
\( b \) = Y-Intercept
The value of \( y \) when \( x = 0 \). It tells you the starting point.

Interpreting Slope in Context

The slope \( m \) always has units. To interpret it, say: "For each additional 1 [unit of \( x \)], \( y \) increases (or decreases) by \( m \) [units of \( y \)]."

1
Identify what \( x \) and \( y \) represent in the problem.
2
State the rate using the units: \( m = 1.5 \) cm/hr means "1.5 cm per hour."
3
Use "associated with" rather than "caused by," because correlation does not imply causation.

Interpreting the Y-Intercept

The y-intercept \( b \) is the predicted value of \( y \) when \( x = 0 \). Ask yourself: "Does \( x = 0 \) make sense in this context?"

✓ Makes Sense
"With 0 hours of sunlight, the model predicts a plant height of 1 cm." This could be the seed height.
✕ Doesn't Make Sense
"At age 0, a person's shoe size is -2." Negative shoe size has no meaning: the model doesn't apply at \( x = 0 \).

Slope vs. Y-Intercept

Slope \( m \) Y-Intercept \( b \)
Meaning Rate of change Starting value
Question it answers "How fast is \( y \) changing?" "Where does \( y \) begin?"
Units \( y \)-units per \( x \)-unit Same units as \( y \)
On the graph Steepness of the line Where line crosses y-axis
Example 1.5 cm/hr 1 cm

How to Apply a Linear Model

1
Identify the equation \( y = mx + b \) and what \( x \) and \( y \) represent.
2
Interpret slope: "For each 1-unit increase in \( x \), \( y \) changes by \( m \)."
3
Interpret intercept: "When \( x = 0 \), the predicted \( y \) is \( b \)." Check if this makes sense.
4
Predict: Substitute a given \( x \)-value into the equation and solve for \( y \).
5
Evaluate: Is the prediction reasonable? Does it fall within or near the data range?

Example 1: Plant Growth

A biology experiment models plant height as \( y = 1.5x + 1 \), where \( x \) = hours of sunlight per day and \( y \) = mature plant height in cm. Predict the height with 6 hours of sunlight.

1
Substitute \( x = 6 \): \( y = 1.5(6) + 1 \)
2
Calculate: \( y = 9 + 1 = 10 \)
3
Interpret: The model predicts a height of 10 cm with 6 hours of sunlight.

Example 2: Taxi Fare

A taxi company charges a fare modeled by \( y = 2.50x + 3 \), where \( x \) = miles driven and \( y \) = total fare in dollars. How much does a 12-mile ride cost?

0 3 6 9 12 $0 $10 $20 $30 $40 Miles Driven (12, $33)

Example 3: Temperature & Elevation

Hikers record temperature at different elevations. A linear model gives \( y = -3.5x + 80 \), where \( x \) = elevation in thousands of feet and \( y \) = temperature in °F. What does the slope mean? Predict the temperature at 6,000 ft.

1
Slope: \( m = -3.5 \) means for each additional 1,000 ft of elevation, the temperature decreases by 3.5°F.
2
Prediction: At 6,000 ft, \( x = 6 \): \( y = -3.5(6) + 80 = -21 + 80 = \) 59°F.
3
Intercept: \( b = 80 \) means at sea level (0 ft), the predicted temperature is 80°F.

Interpolation vs. Extrapolation

Data Range Interpolation Extrapolation
Interpolation
Predicting within the range of the data. Generally reliable and safe.
Extrapolation
Predicting beyond the data range. Less reliable: the trend may not continue.

Common Mistakes to Avoid

✕ Confusing Slope and Intercept
Slope is the rate of change, not the starting value. The y-intercept is where \( x = 0 \), not the slope.
✕ Ignoring Units
Always include units when interpreting. "1.5" is meaningless without "cm per hour of sunlight."
✕ Saying "Causes"
Say "associated with," not "causes." Correlation in data does not prove causation.

Summary Cheat Sheet

Concept What to Do Example
Interpret slope "For each 1-unit increase in \( x \), \( y \) changes by \( m \)" 1.5 cm per hr
Interpret intercept "When \( x = 0 \), predicted \( y = b \)" 1 cm at 0 hrs
Make a prediction Substitute \( x \) into \( y = mx + b \) \( y = 1.5(6) + 1 = 10 \)
Negative slope "\( y \) decreases by \( |m| \) per unit" -3.5°F per 1,000 ft
Check reasonableness Is \( x \) within the data range? Interpolation > Extrapolation

Question 1 of 5

A linear model for a study on exercise is \( y = 0.8x + 2 \), where \( x \) = minutes of exercise per day and \( y \) = calories burned (in hundreds). What does the slope 0.8 mean?

Question 2 of 5

Using the model \( y = -2x + 50 \), where \( x \) = weeks and \( y \) = pounds of supplies remaining, predict the supplies remaining after 10 weeks.

Question 3 of 5

In the model \( y = 4.2x + 15 \), the y-intercept is 15. If \( x \) = years of experience and \( y \) = hourly wage in dollars, what does the 15 represent?

Question 4 of 5

Data was collected for students' study hours (\( x \)) and test scores (\( y \)) between 1 and 8 hours of studying. The model is \( y = 5x + 45 \). A student asks: "What score would I get if I studied 20 hours?" What is the best response?

Question 5 of 5

Two linear models describe tree growth:
Tree A: \( y = 2x + 5 \)
Tree B: \( y = 3x + 1 \)
where \( x \) = years and \( y \) = height in feet. Which tree started taller, and which grows faster?