PRE-ALGEBRA • FUNCTIONS

Interpreting Linear Models — I can interpret y=mx+b as a model and identify when extrapolation may be unreasonable.

Learn how straight-line equations describe real data and when stretching them too far leads to silly predictions.

Historical Context & Motivation

People have been looking for patterns in numbers for thousands of years. Farmers tracked how much grain they grew each season. Merchants recorded how prices changed over time. The idea of drawing a straight line through data to predict what might happen next is actually ancient.

Over the centuries, mathematicians developed better tools for finding and using these patterns. The equation y = mx + b became the go-to formula for describing straight-line relationships. But scientists also learned an important lesson: a pattern that works for some values can give ridiculous answers if you push it too far.

~300 BC
Euclid and Geometry
The ancient Greek mathematician Euclid wrote about lines and their properties. His work laid the foundation for graphing and coordinate systems.
1637
Descartes Creates the Coordinate Plane
René Descartes invented the x-y coordinate plane. This let people turn equations like y = mx + b into pictures (graphs) for the first time.
1805
Legendre & Best-Fit Lines
Adrien-Marie Legendre published a method called "least squares" to find the best straight line through messy data points. Scientists still use it today.
Today
Linear Models Everywhere
From weather forecasts to sports stats, linear models help us spot trends and make predictions — but only within a reasonable range of data.

So here's the big question this lesson answers: How do we use y = mx + b to describe real-world data, and how do we know when our predictions stop making sense?

Core Principles & Definitions

Before we dive in, let's get clear on the key vocabulary. A linear model is a straight-line equation that represents real-world data. Think of it as a simplified version of reality — not perfect, but useful.

1

Slope (m)

The slope tells you how much y changes every time x goes up by 1. It's the rate of change — like earning $8 per hour.
2

Y-Intercept (b)

The y-intercept is the value of y when x equals 0. It's your starting point — like a $5 signup fee before you start earning.
3

Interpolation

Interpolation means predicting a value that falls inside the range of your data. This is usually safe and reasonable.
4

Extrapolation

Extrapolation means predicting a value that falls outside the range of your data. This can lead to unreasonable or silly answers.
KEY TAKEAWAY
Think of a linear model like a recipe you tested between 1 and 4 cups of flour. You can probably trust it at 3 cups (interpolation). But if someone says "use 100 cups," the recipe would break — the cake would be a disaster! That's extrapolation going wrong.

Visual Explanation

Let's look at a picture of what interpolation and extrapolation really mean. Imagine you collected data on how tall a plant grows over several weeks. The diagram below shows the data points, the best-fit line, and the danger zone where extrapolation gets unreasonable.

The cyan dots are real data points collected over weeks 1 through 8. The violet line is the linear model. The green zone shows where interpolation is trustworthy. The red zone shows where extrapolation stretches the model beyond the data — and predictions become unreliable.

Notice how the real data points cluster near the line inside the green zone. That means our model fits the data well there. But look at the red zone on the right. The line keeps going up, but do plants really grow forever at the same rate? Of course not! At some point, growth slows down or stops. That's why extrapolation can be unreasonable.

The Math Behind the Model

The equation of a linear model is written in slope-intercept form. Let's break it down piece by piece.

SLOPE-INTERCEPT FORM
y = mx + b
y = the output (what you're predicting), m = the slope (rate of change), x = the input (the value you plug in), b = the y-intercept (the starting value when x = 0).

Here's a real example. Suppose a streaming service charges a $3 base fee plus $2 for every movie you rent. We can model the total cost like this:

STREAMING COST MODEL
y = 2x + 3
m = 2 means each movie adds $2. b = 3 means you pay $3 just for having the account, even if you rent 0 movies.

Now think about the slope's meaning in context. The slope m = 2 tells a story: "For every 1 additional movie you rent, your total cost goes up by $2." The y-intercept b = 3 also tells a story: "Even before renting any movies, you already owe $3."

INTERPRETING SLOPE IN CONTEXT
m = (change in y) ÷ (change in x)
Always ask: "What does y measure? What does x measure?" Then fill in the sentence: "For every 1 unit increase in x, y changes by m units."
When Does Extrapolation Become Unreasonable?
Ask yourself: does the real-world situation keep following this pattern forever? If a plant grows 2 cm per week for 8 weeks, can it really keep that pace for 200 weeks? That would be 400 cm — over 13 feet! A model that works for small x-values can give ridiculous answers for very large (or very negative) x-values.

Interpolation vs. Extrapolation — A Closer Look

Let's compare interpolation and extrapolation side by side. Imagine you tracked daily high temperatures for the first 10 days of June and found the model y = 1.5x + 72, where x is the day number and y is the temperature in °F.

Both predictions use the same equation, y = 1.5x + 72. The interpolation (day 5) gives a reasonable 79.5°F. The extrapolation (day 200) gives 372°F — hotter than a pizza oven! Same equation, very different trustworthiness.
Comparing interpolation and extrapolation
FeatureInterpolationExtrapolation
Where is the x-value?Inside the data rangeOutside the data range
How reliable is it?Usually reliableOften unreliable
Risk of silly answers?LowHigh — especially far from data
ExamplePredicting day 5 from days 1–10Predicting day 200 from days 1–10

Worked Example

A lemonade stand tracks sales over 6 Saturdays. They find that the linear model y = 12x + 10 describes their data, where x is the number of Saturdays since opening and y is the total number of cups sold that day. The data was collected for weeks 1 through 6.

Interpreting the Model & Testing Extrapolation
1
Step 1 — Identify Slope and Y-InterceptThe equation is y = 12x + 10. The slope is m = 12 and the y-intercept is b = 10.
m = 12, b = 10
2
Step 2 — Interpret the Slope in ContextThe slope m = 12 means that for every additional Saturday, the stand sells about 12 more cups than the previous Saturday. Business is growing!
Each Saturday, sales increase by about 12 cups.
3
Step 3 — Interpret the Y-Intercept in ContextThe y-intercept b = 10 means that when x = 0 (before the first Saturday), the model predicts 10 cups. This might represent a pre-opening event or just the model's starting estimate.
The baseline starting value is about 10 cups.
4
Step 4 — Use the Model to Interpolate (x = 4)Week 4 is inside our data range (weeks 1–6). Substitute x = 4: y = 12(4) + 10 = 48 + 10 = 58. Predicting 58 cups on the 4th Saturday is reasonable.
y = 58 cups (reasonable — this is interpolation)
5
Step 5 — Test Extrapolation (x = 50)Week 50 is far outside our data. Substitute x = 50: y = 12(50) + 10 = 600 + 10 = 610. That's 610 cups in one day! A small lemonade stand probably can't make that many. The real-world pattern would level off long before then.
y = 610 cups — unreasonable extrapolation!

Strengths & Limitations of Linear Models

Linear models are incredibly useful, but they aren't perfect. Here's an honest look at what they do well and where they fall short.

Strengths and limitations of linear models
StrengthsLimitations
Easy to write, graph, and understandOnly works well when data follows a straight-line pattern
Great for short-term predictions within the data rangeExtrapolation can produce impossible or silly answers
Slope and intercept have clear real-world meaningsMany real situations curve — populations, epidemics, savings with interest
Quick to calculate — just plug in and solveDoes not capture changes in rate (speeding up or slowing down)
KEY TAKEAWAY
A linear model is like a weather forecast. It's pretty good for the next few days, but if someone tells you they know the exact temperature 6 months from now based on today's trend, you probably shouldn't believe them. Always check whether your prediction falls inside or outside your original data range.

Connection to Advanced Topics

You've learned that linear models have limits. In future math classes, you'll meet other types of models that handle curves, not just straight lines. Here's a quick preview.

Linear vs. nonlinear models
FeatureLinear Model (y = mx + b)Nonlinear Models (future topics)
Shape of graphStraight lineCurves (parabolas, exponentials, etc.)
Rate of changeConstant (always the same)Changes — speeds up or slows down
Good forSimple, steady trendsPopulation growth, compound interest, gravity
When you learn itPre-Algebra & Algebra 1Algebra 2, Statistics, Calculus

For now, the most important skill is knowing when a linear model fits your situation and when it doesn't. If data curves or levels off, a straight line won't tell the full story. You'll learn those tools in later courses — but the critical-thinking skill of checking whether your model makes sense? That starts right here.

Practice Problems

PROBLEM 1CONCEPTUAL
In the equation y = 5x + 20, what does the number 5 represent in context if x is the number of hours worked and y is the total pay in dollars?
PROBLEM 2BASIC CALCULATION
A model for the number of books a student has read is y = 3x + 2, where x is the number of months. Data was collected from months 1 through 8. How many books does the model predict at month 6?
PROBLEM 3INTERMEDIATE
Using the same model y = 3x + 2 (data collected months 1–8), a student predicts y when x = 100. Calculate the prediction and explain whether it is reasonable.
PROBLEM 4APPLIED
A dog walker tracked their earnings for weeks 1 through 5 and found the model y = 40x + 15, where x is the week number and y is total earnings in dollars. (a) Interpret the slope and y-intercept. (b) Predict earnings at week 3. (c) Predict earnings at week 52 and explain whether it's reasonable.
PROBLEM 5CRITICAL THINKING
Two students each have a linear model for the height of a sunflower (in cm): Student A uses y = 4x + 5 (data from weeks 1–6) and Student B uses y = 4x + 5 (data from weeks 1–20). Both predict height at week 15. Which student's prediction is more trustworthy, and why?

Lesson Summary

A linear model uses the equation y = mx + b to describe a straight-line pattern in real data. The slope (m) tells you the rate of change — how much y increases or decreases for each 1-unit increase in x. The y-intercept (b) is the starting value of y when x equals zero. Always interpret both values in the context of the real-world situation.

Predictions made within the data range are called interpolation and are usually trustworthy. Predictions made outside the data range are called extrapolation and can produce unreasonable or impossible answers. Before trusting any prediction, ask yourself: "Is this x-value inside my data? Does the answer make sense in the real world?"

Varsity Tutors • Pre-Algebra • Interpreting Linear Models