A residual is the actual value minus the value a model predicts, so its sign tells you whether the model underestimates (positive) or overestimates (negative) at that point. A residual plot shows every residual at once: if the residuals scatter above and below with no clear pattern, the model's shape suits the data. If they form a curve, a different type of model fits better.
Quick check
For , what is ?Show answerHide answer
.
Outputs at equally spaced inputs are . Does a linear or an exponential model fit them exactly?Show answerHide answer
Linear. The differences are all , while the ratios (, , about ) are not constant.
A model predicts , but the actual value is . Is the prediction too high or too low?Show answerHide answer
Too high. The model predicts more than really happened.
Know these already? Jump to the practice questions
What you'll be able to do
- Calculate a residual as the actual value minus the predicted value, with units.
- Explain whether a model overestimates or underestimates a data point from the sign of its residual.
- Interpret a residual plot: no clear pattern suggests an appropriate model, and a curved pattern suggests a different model type.
- Justify a choice between linear, quadratic and exponential models with residuals.
Key terms
Residual
For a data point, the actual output minus the output the model predicts: .
- In plain English
- How far the real value is above or below the model.
- Don't write
- "predicted minus actual"; that reverses every sign.
Residual plot
A scatter plot of the points , one for each data value, with a horizontal line at residual .
- In plain English
- A picture of the model's errors along the inputs.
- Don't write
- "a plot of the data"; it shows the errors, not the outputs.
What is a residual, and what does its sign tell you?
Learn this: residual actual value predicted value. A residual has the same units as the output.
The sign carries the meaning:
- Positive residual: the actual value is above the prediction, so the model underestimates there.
- Negative residual: the actual value is below the prediction, so the model overestimates there.
- Zero residual: the model is exact at that point.
For example, suppose a model predicts thousand cells at hours and the culture actually has thousand. The residual is thousand cells. It is negative, so the model overestimates at , by cells.
A residual of is small next to outputs near , so the model is close there. Rearranged, actual predicted residual.
Check yourself
Show answerHide answer
The residual is . It is positive, so the model underestimates.
What does a residual plot show?
In a residual plot, look for a pattern first, not just at size.
- No clear pattern, with points scattered above and below : the model has the right shape, and its errors look like random noise.
- A clear curve, such as positive, then negative, then positive again: the model has the wrong shape, and its errors are predictable.
The figure "Residual plot for the linear model L(t) = 5.39t + 7.89, showing a U-shaped pattern" comes from fitting a line to cell counts that grow by about percent an hour. The line is too high in the middle and too low at both ends, because the data are concave up while a line cannot bend.
Key idea
A pattern in the residuals means the model type is wrong; random scatter around means the type is appropriate.
A U shape means the data bend upward away from the line, so try a concave-up model, such as quadratic or exponential. The note on Choosing and Building Function Models shows how to pick between those two.
Check yourself
Show answerHide answer
No. The residuals are positive, then negative, then positive: a U-shaped pattern, so the model has the wrong shape.
How do you choose between competing models?
When two models are fitted to the same data, compare them in this order.
- Pattern. Prefer the model whose residual plot shows no clear pattern.
- Size. If neither plot shows a pattern, prefer the model with residuals closer to across the data.
- Context. Ask whether the model's form makes sense. A quantity that changes by a constant percent each unit suggests exponential; one that changes by a constant amount suggests linear.
For the cell data, an exponential model has residuals . They switch sign with no pattern and are much smaller than the linear model's, so the exponential model is more appropriate.
The choice matters most beyond the data: at the linear model gives thousand cells and the exponential model about thousand.
Check yourself
Show answerHide answer
Model B. A pattern means model A has the wrong shape, which matters more than residual size.
Which method fits the question?
| You're asked to | Do this |
|---|---|
| Find a residual | Actual minus predicted, with units |
| Say over or under | Positive: underestimate; negative: overestimate |
| Judge one model | Look for a pattern in the residual plot |
| Choose between models | Pattern first, then size, then context |
Worked example 1: Residuals and their signs
Question: The number of cells , in thousands, in a culture is at hour and at hours. The model is used. Find the residual at each time, to three decimal places, and say whether the model overestimates or underestimates there.
What tells you the method
A residual is actual minus predicted, so you need each prediction.
Step 1: Predict at .
.
WhySubstitute the input into the model.
Step 2: Residual at .
thousand cells.
WhyActual minus predicted.
Step 3: Predict and subtract at .
, so the residual is thousand cells.
WhyThe same two moves, with full accuracy until the final rounding.
Step 4: Read the signs.
At the residual is positive, so the model underestimates. At it is negative, so the model overestimates.
WhyA positive residual means the actual value is above the prediction.
Check it
Predicted residual gives back the data: and .
Answer
At the residual is thousand cells (underestimate); at it is thousand cells (overestimate).
Worked example 2: Choosing a model
Question: For the cell data : , , , , , , two models are fitted: and . The residuals for are . (a) Find the residual for at . (b) The residuals for are , your answer to (a), and . Which model is more appropriate? Give a reason for your answer. (c) Use that model to predict at , to three decimal places.
What tells you the method
Two competing models means compare residual patterns.
Step 1: Residual for at .
, so the residual is .
WhyActual minus predicted.
Step 2: Compare patterns.
The residuals for go positive, negative, negative, negative, negative, positive: a U shape. The residuals for change sign with no clear pattern.
WhyA pattern means the wrong model type.
Step 3: Predict with .
thousand cells.
WhyThe exponential model is the appropriate one.
Check it
The residuals for are all smaller than in size, against up to for , which supports the same choice.
Answer
(a) The residual is thousand cells. (b) is more appropriate, because its residuals show no clear pattern while those for form a U shape. (c) About thousand cells.
Your turn
Question: A model for the number of fish in a pond, in hundreds, is , years after a survey. After years the pond actually has hundred fish. Find the residual at and say whether the model overestimates or underestimates.
Step 1:
Predict: .
Step 2: Your go: subtract the prediction from the actual value, then read the sign.
Show the full solutionHide the solution
The residual is hundred fish. It is negative, so the actual value is below the prediction and the model overestimates at .
Answer: The residual is hundred fish, and the model overestimates.
Traps
Trap
Thinking a residual is predicted minus actual.
It seems right because you "take the model away" from something. But the standard definition is actual minus predicted, so that a positive residual means the data point lies above the model.
Check yourself
Show answerHide answer
. The model overestimates by .
Trap
Thinking small residuals always mean the model is appropriate.
It seems right because small errors look like a close fit. But if the residuals form a pattern, the model has the wrong shape, and its predictions drift further off outside the data. Check for a pattern before you look at size.
Check yourself
Show answerHide answer
No. Although they are small, the residuals rise and then fall in an arch, which is a clear pattern.
Trap
Thinking a positive residual means the model overestimates.
It seems right because "positive" sounds like "too much". But a positive residual means the actual value is greater than the prediction, so the model's value is too low: it underestimates.
Check yourself
Show answerHide answer
Too low. The actual value is kilograms above the prediction, so the model underestimates.
What's examined
Residuals belong to Unit 2 (Exponential and Logarithmic Functions) of the AP® Precalculus exam, in both the multiple-choice and free-response sections. Expect to calculate a residual with units, say whether a model overestimates or underestimates, and justify which model is more appropriate by naming the pattern, or the lack of one. A graphing calculator fits models; residuals are found by hand.
Practice questions
- Recall A model predicts for a data point whose actual value is . What is the residual, and what does it show?
- A) ; the model underestimates
- B) ; the model overestimates
- C) ; the model overestimates
- D) ; the model underestimates
Show answer
Answer: C) ; the model overestimates
Marking points:
- Residual , and a negative residual means the prediction is too high.
- A and B subtract the wrong way round. D has the right number but reads the sign backwards.
- Recall A model is . The data include the point . Find the residual at , to three decimal places.
Show answer
Answer: The residual is .
Marking points:
- .
- Residual .
- Apply Which description of a residual plot suggests that the model is appropriate for the data?
- A) The residuals are scattered above and below with no clear pattern.
- B) Every residual is positive.
- C) The residuals form a U shape.
- D) The residuals rise steadily from negative to positive.
Show answer
Answer: A) The residuals are scattered above and below with no clear pattern.
Marking points:
- Random scatter around means the model's shape matches the data.
- B means the model underestimates every point. C and D are patterns, so the model type is wrong.
- Apply A model predicts that a sample has a mass of grams at days. The residual at is grams. What was the actual mass?
Show answer
Answer: The actual mass was grams.
Marking points:
- Actual predicted residual grams.
- The residual is negative, so the actual mass is below the prediction, as confirms.
- Apply Two models are fitted to the same six data points. The linear residuals are . The exponential residuals are . Which statement is correct?
- A) The linear model is more appropriate, because its first residual is the largest.
- B) The linear model is more appropriate, because its residuals are both positive and negative.
- C) The exponential model is more appropriate, because all its residuals are positive.
- D) The exponential model is more appropriate, because its residuals show no clear pattern.
Show answer
Answer: D) The exponential model is more appropriate, because its residuals show no clear pattern.
Marking points:
- The linear residuals form a U shape (positive, negative, positive), so a line has the wrong shape.
- A uses one residual, not the pattern. B ignores the U shape. C is false: three exponential residuals are negative.
- Exam-style The value of a machine, in thousands of dollars, is , , , and at years after purchase. A model is . (a) Find the residual at , to three decimal places, with units. (b) Does the model overestimate or underestimate the value at ? Give a reason for your answer. (c) The residuals at are , , , your answer to (a), and . Is the model appropriate? Give a reason for your answer.
Show answer
Answer: (a) thousand dollars. (b) It overestimates, because the residual is negative. (c) Yes, because the residuals are small and alternate above and below with no clear pattern.
Marking points:
- , so the residual is thousand dollars.
- Negative residual: the actual value is below the prediction, so the model overestimates.
- The residual signs go with no curve, and all are under thousand dollars in size.
- Exam-style A linear model is fitted to a data set. Its residuals, in input order, are positive, then negative for several points, then positive again. What is the best conclusion?
- A) The linear model is appropriate, because the residuals add up to about .
- B) A model whose graph is concave up, such as a quadratic or an exponential model, may be more appropriate.
- C) The linear model overestimates at every data point.
- D) The data show no relationship between the variables.
Show answer
Answer: B) A model whose graph is concave up, such as a quadratic or an exponential model, may be more appropriate.
Marking points:
- A U-shaped residual pattern means the data bend upward away from the line, so a concave-up model fits the shape better.
- A: least-squares residuals usually add up to about , even when the model is wrong. C is false, because the positive residuals are underestimates. D ignores the clear pattern.
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- A residual is actual minus predicted, in the output's units; actual predicted residual.
- Positive residual: the model is too low there. Negative residual: the model is too high.
- In a residual plot, a curve means the wrong model type, and patternless scatter around means the type fits.
- A U-shaped plot for a linear model points to a concave-up model, such as quadratic or exponential.
- To choose between models, compare patterns first, then residual size, then whether the form suits the context.