Singapore School Mathematics Operating Manual · Chapter 39
A model can be useful without fitting every observation exactly.
The difference between what a model predicts and what is actually observed is called a residual. Residuals are not merely leftover arithmetic. They are evidence about whether the model is behaving as intended.
If residuals are small and scattered without obvious structure, the model may be adequate for the task. If residuals show a pattern—always positive at the ends, always negative in the middle, increasing with x, clustering by subgroup—the equation may be systematically missing something.
This chapter treats residuals as a diagnostic language across school Mathematics: data fitting, graph models, numerical equations, approximations and real-world modelling.
1. Residual means observed minus predicted
A common convention is residual = observed value − predicted value.
If a model predicts 12 and the observed value is 14, residual=2.
If it predicts 12 and observation is 9, residual=−3.
The sign shows direction of model error.
2. Residual sign has interpretation
Positive residual: observation lies above prediction.
Negative residual: observation lies below prediction.
Zero residual: exact agreement.
This sign convention should be stated or used consistently.
3. A residual is not the same as a mistake
In noisy data, an observation need not lie exactly on the model.
A non-zero residual can be expected even when the calculation and model are both reasonable.
The question is whether the residual pattern is compatible with the model’s intended use.
4. One residual tells little about global model quality
A model can fit one point perfectly and fail elsewhere.
Residual diagnosis requires examining the set of residuals across the relevant data range.
5. A residual plot makes mismatch visible
Plot input x against residual.
If points scatter around zero with no strong pattern, a simple model may be plausible.
If a curved pattern appears, the chosen model family may be too simple.
6. Curved residual patterns can expose nonlinear structure
If a straight line is fitted to a quadratic relationship, residuals may be positive at both ends and negative in the middle, or the reverse.
The line is systematically missing curvature.
7. Residual size should be judged against scale
An error of 2 units is large when typical values are around 5, but small when they are around 10,000.
Relative or percentage residual thinking may be more informative across changing scales.
8. Residuals can grow with x
If variation increases as the predicted quantity increases, the residual spread may fan outward.
This suggests the error scale is not constant across the domain.
Even without advanced statistical terminology, the visual pattern matters.
9. Residuals reveal subgroup structure
If one group consistently has positive residuals and another negative residuals, the single model may be missing a group effect.
Aggregation can hide this mismatch.
10. A line of best fit minimises mismatch by a chosen criterion
In ordinary least squares, the fitted line minimises the sum of squared vertical residuals.
This does not mean every residual is small or that the line is causally correct.
It means one specific mathematical criterion has been optimised.
11. Squaring residuals prevents positive and negative cancellation
Residuals +5 and −5 sum to zero, but the model was not perfect.
Squaring gives 25+25=50, preserving mismatch magnitude.
This is one reason squared-error criteria are common.
12. Absolute residuals provide another mismatch measure
|observed−predicted| ignores sign and records distance.
Different error measures produce different optimisation properties.
The chosen measure should match the task.
13. Numerical root residuals check equation satisfaction
If solving f(x)=0 numerically, residual |f(x)| measures how closely the candidate satisfies the equation.
A small residual supports the candidate, though conditioning determines how close x itself is to a true root.
14. Residual and input error are not identical
A small function residual can coexist with a noticeable x-error if f changes very slowly.
A large slope can produce the opposite relation.
Use the Conditioning chapter to interpret this.
15. Geometry has residual-like checks
If three claimed triangle angles sum to 181°, the 1° discrepancy signals inconsistency.
If coordinates claimed to lie on a circle produce x²+y²−r²≠0, that difference is an algebraic mismatch indicator.
16. Probability models have normalisation residuals
If exhaustive outcome probabilities sum to 0.97, the difference from 1 is a consistency residual.
A missing branch or rounding accumulation may explain it.
17. Unit mismatch is stronger than a residual
If predicted area has units cm instead of cm², the model is type-invalid before residual comparison.
Residual analysis belongs after basic mathematical validity checks.
18. Model mismatch can come from wrong parameters
A linear model may be the right family but have a poor gradient or intercept.
Residuals can reveal systematic offset or slope error.
19. Model mismatch can come from wrong structure
A straight line cannot capture a strongly curved mechanism across a wide range.
Changing parameters will not fix a structural mismatch.
20. Model mismatch can come from omitted variables
If an outcome depends on x and z but the model uses only x, residuals may correlate with z.
The unexplained structure points toward missing information.
21. Model mismatch can come from regime changes
One formula may fit below a threshold and fail above it.
A piecewise model may be more appropriate.
The Thresholds and Regime Changes chapter handles this control layer.
22. Outliers deserve investigation, not automatic deletion
A large residual may indicate measurement error, unusual but valid behaviour, model failure, or data-entry error.
Removing it simply because it is inconvenient can bias the analysis.
23. Residuals should retain provenance
Know which observed value and which predicted model produced each residual.
If model parameters change, residuals must be recomputed.
24. Model improvement should reduce meaningful residual structure
A more complex model is justified when it captures genuine structure, not merely because it fits every old point more tightly.
Overfitting can reduce training residuals while weakening future prediction.
25. Perfect fit can be suspicious
In genuinely noisy measurements, a highly flexible model passing through every point may be fitting noise rather than signal.
Residual zero is not automatically evidence of truth.
26. Cross-validation is an advanced form of independent checking
Fit the model on one subset and test predictions on another.
This separates fitting ability from out-of-sample performance.
The principle aligns with mathematical fault tolerance: verify using evidence not used to construct the model.
27. Residuals support return-to-context reasoning
If the model misses by ±2 units and the decision margin is 50, the mismatch may be irrelevant to the decision.
If the margin is 1, the same residuals matter greatly.
28. Residual scale should be compared with decision margin
Model error and threshold robustness belong in one decision framework.
Residual size that is small numerically can still be decision-critical near a boundary.
29. Residuals can reveal whether further precision is worth pursuing
If model mismatch dominates calculator rounding by a factor of 100, more decimal places are not the main problem.
Fix model structure or data quality first.
30. A residual audit
Ask:
How is residual defined? Are signs consistent? Is mismatch random-looking or patterned? Does it grow with scale? Are there subgroup effects? Is the model structurally wrong, poorly parameterised, or missing variables? How does residual magnitude compare with decision margin and measurement uncertainty?
31. Independent practice
1. Model predicts 12, observation is 15. Find residual.
2. Model predicts 20, observation is 18. Find residual.
3. Why can residuals +4 and −4 not be treated as “no total error”?
4. What does a curved residual plot suggest for a linear model?
5. Why can a small numerical residual still matter near a tight threshold?
6. Why should an outlier not automatically be deleted?
7. What is one advantage of testing a model on data not used to fit it?
8. If all exhaustive probability branches sum to 0.96, what should you investigate?
32. Worked answers
1. 15−12=3.
2. 18−20=−2.
3. Their signed sum cancels despite both observations being 4 units away from prediction.
4. Systematic nonlinearity or wrong model family.
5. It may be large enough to flip the decision.
6. It may be valid evidence of model mismatch or unusual behaviour rather than an error.
7. It gives a more independent test of generalisation.
8. Missing branches, incorrect probabilities or accumulated rounding.
33. Continue through Batch 10
Use Redundancy and Fault Tolerance for independent model checks, Decision Margins and Slack to judge whether residuals threaten a conclusion, and Evidence Sufficiency and Verification Depth to decide whether further model checking is worthwhile.
Return to the BTT Mathematics Hub for Batch 10.

