ACT® · Math: Functions — Relating Graphs to Situations and Building Functions
Comparing Actual Values to Model Values to Judge Fit (F 701)
A residual is the actual value minus the model's predicted value at a point. Small residuals scattered on both sides of zero mean a good fit; large or one-sided residuals mean a bad one.
A model is only useful if it matches reality, and residuals are how you check that match point by point. At any x-value, take the actual measured value and subtract what the model predicted: actual minus predicted. If the model predicted 31 and the real value was 27, the residual is 27 - 31 = -4. A residual of zero means a perfect hit at that point. The sign tells you which way the model missed: positive means the model undershot, negative means it overshot.
To judge a whole model rather than one point, look at all its residuals together. Since positives and negatives can cancel if you just add them, square each residual first, then add. That sum of squares can never hide a miss, so a smaller sum always means a tighter fit. Compare a model with errors 3, -2, 4 (squares 9, 4, 16, sum 29) against one with errors 1, 6, -5 (squares 1, 36, 25, sum 62). The first model fits better even though one of its individual misses, 4, is close to the second model's smallest miss.
This is why a curve can look deceptively good and still be wrong. A line drawn through only the first and last data point will always have zero residual at those two ends, but that tells you nothing about the points between. If every middle point sits above the line, every one of those residuals is positive, meaning the model is wrong in the same direction every time. That one-sided pattern is also the signature of fitting a straight line to data that actually curves: the residuals won't scatter randomly, they'll swing from positive to negative to positive again, exposing the wrong shape.
Key terms
- Residual
- The actual value minus the predicted value at a given point.
- Sum of squared residuals
- Each residual squared, then added together, used to compare how well different models fit the same data.
- Fit
- How closely a model's predictions match the actual measured values across all data points, not just some.
- Sign of a residual
- Positive means the model underpredicted, negative means the model overpredicted.
Watch it explained
- How it worksHow does a residual, the actual minus the predicted, turn fit into a measurable number?
- Worked exampleFind the residual at x = 4 when a model predicts 31 and the measured value is 27.
- Worked exampleFind which model fits better when one has errors 3, -2, 4 and the other has 1, 6, -5.
- Common mistakeWhy doesn't a curve passing through the first and last data point mean it fits well?
- Going furtherWhat happens to the residuals when a straight line is fitted to data that genuinely curves?
Check yourself
End of topic.