Mathematical modelling
A mathematical model represents a real situation using variables, equations, graphs, diagrams or probability distributions. It deliberately ignores some detail so that mathematics can answer a useful question.
For example, the equation
models distance travelled at constant speed for time . It is not universally true. It is useful only when the speed is constant, the units are consistent, and means distance along the route.
The central habit of modelling is therefore not merely to calculate. It is to ask:
- What do the symbols mean?
- Which assumptions make the mathematics possible?
- Is the result sensible in the original situation?
Prerequisites
Section titled “Prerequisites”You should be able to:
- substitute into and rearrange formulae;
- read tables and graphs;
- round numbers appropriately;
- convert units and compound measures;
- distinguish exact values from approximations.
The modelling cycle
Section titled “The modelling cycle”A complete modelling solution moves between the real situation and mathematics.
If the answer is not accurate enough for its purpose, refine the assumptions or choose a different model and repeat the cycle.
| Stage | Questions to ask |
|---|---|
| Define | What is known? What must be found? What are the units and allowed values? |
| Simplify | Which effects are important? Which can reasonably be ignored? |
| Formulate | Which variables and relationships represent the situation? |
| Solve | Which algebraic, graphical, numerical or statistical method applies? |
| Interpret | What does the mathematical answer mean in context? |
| Validate | Does it fit observations, units, constraints and common sense? |
| Refine | Which assumption or parameter should change? |
In an examination, these stages may be compressed into one question. Your written solution should still make them visible.
Define variables precisely
Section titled “Define variables precisely”A variable needs a meaning, a unit and often a domain. Compare
with
The second statement can be interpreted and checked. The first cannot.
Suppose is the number of complete rows of seats. Then
not merely . A model may produce , but the context permits only a whole number. Whether to use or depends on the question, not on the usual rounding rule.
Worked example 1: identify the variables and domain
Section titled “Worked example 1: identify the variables and domain”A taxi charges a fixed fee of plus per mile. Model the fare for a journey of miles.
Let
The model is
Here is the fare at , and is the rate of change of fare with distance, measured in pounds per mile.
If the meter records each completed tenth of a mile, the actual domain is discrete:
That operational detail changes the model even though the algebraic formula looks the same.
Assumptions are part of the model
Section titled “Assumptions are part of the model”An assumption is a statement accepted while building the model. Assumptions reduce complexity, but each one limits when the result can be trusted.
Common assumptions include:
- an object is a particle, so its size and rotation are ignored;
- a string is light and inextensible;
- air resistance is negligible;
- acceleration is constant;
- observations are independent;
- a sample is representative of a population;
- a percentage rate remains constant;
- a relationship seen within the data continues beyond it.
Good assumptions are specific. Write air resistance is negligible, not conditions are normal.
Worked example 2: expose the hidden assumptions
Section titled “Worked example 2: expose the hidden assumptions”A runner completes m in s. Using
we find
This is the runner’s mean speed, not necessarily the speed at every instant. To use to predict that the runner covers m in the next s, we must assume that the same mean speed continues:
The prediction may fail because of fatigue, acceleration from rest, bends or changing conditions. The arithmetic can be correct while the model is poor.
Choose the model from the behaviour
Section titled “Choose the model from the behaviour”Different patterns suggest different mathematical structures.
| Behaviour | Typical model | Recognising feature |
|---|---|---|
| constant amount added per unit | constant gradient | |
| constant factor per interval | constant percentage change | |
| quantity proportional to a power | scaling scales predictably | |
| periodic variation | repeating cycle | |
| constant acceleration | velocity changes linearly with time | |
| random outcome | probability distribution | probabilities describe uncertainty |
This table is a starting point, not proof. Several models may fit a small data set. Context and validation decide which is useful.
Worked example 3: linear or exponential?
Section titled “Worked example 3: linear or exponential?”Two savings plans both start with .
- Plan A adds each year.
- Plan B adds of the current balance each year.
After years, Plan A is linear:
Plan B is exponential because each balance is multiplied by :
After years,
whereas
Thus the models predict and respectively.
The phrase adds $6\%$ does not mean add every year. The percentage acts on a changing balance.
Keep units consistent
Section titled “Keep units consistent”Every term added in an equation must have the same units. In
if is in , in and in seconds, then
and
Both terms have units of length, as must.
Unit analysis can reject an impossible formula, but it cannot prove a formula correct. Both and are dimensionally consistent.
Worked example 4: repair inconsistent units
Section titled “Worked example 4: repair inconsistent units”A cyclist travels at for seconds. Find the distance travelled under a constant speed assumption.
Convert the speed first:
Then
Therefore the model predicts
Multiplying directly by combines hours with seconds and has no valid interpretation.
Solve, then return to the context
Section titled “Solve, then return to the context”A mathematical solution is not automatically a contextual answer. Check:
- sign: can the quantity be negative?
- domain: must it be a whole number or lie in a fixed interval?
- scale: is the order of magnitude plausible?
- precision: do the data justify the stated accuracy?
- meaning: which root or solution answers the question?
Worked example 5: reject an inadmissible solution
Section titled “Worked example 5: reject an inadmissible solution”The height of a ball is modelled by
where is in metres and is seconds after release. Find when the model says the ball reaches the ground.
Set :
or
Using the quadratic formula,
This gives
The model begins at , so the negative value describes an extrapolation before release and is outside the contextual domain. Hence
Do not call the negative root wrong. It solves the equation, but it is inadmissible for this question.
Worked example 6: rounding depends on purpose
Section titled “Worked example 6: rounding depends on purpose”A minibus holds passengers. How many minibuses are required for passengers?
Five minibuses are insufficient, so the answer must be rounded up:
By contrast, if identical items are packed into complete boxes of , the number of full boxes is
with items left. The same calculation leads to different rounding because the questions ask for different things.
Validate and evaluate
Section titled “Validate and evaluate”Validation compares the model with reality or with information not used to construct it. Useful checks include:
- substitute a known case;
- compare predictions with fresh observations;
- inspect residuals, the differences ;
- test boundary and extreme cases;
- check whether parameters have sensible signs and sizes;
- reconsider the assumptions.
Worked example 7: validate against data
Section titled “Worked example 7: validate against data”Water depth in a tank is modelled by
where is in metres and is in minutes. At , the observed depth is m.
The predicted depth is
The residual is
So the model underestimates the observed depth by m.
Whether this is acceptable depends on purpose. An error of cm may be harmless for a rough display and unacceptable for an overflow warning system.
The model also predicts when
so minutes. For , it predicts negative depth, which is physically impossible. Its sensible domain is at most
Interpolation and extrapolation
Section titled “Interpolation and extrapolation”Interpolation predicts within the range of observed data. Extrapolation predicts outside that range.
If temperatures have been recorded for minutes, estimating at is interpolation, while estimating at is extrapolation.
Extrapolation is usually less reliable because:
- the relationship may change;
- a physical limit may be reached;
- omitted effects may become important;
- small parameter errors can produce large long term errors.
For example, a linear population model with positive gradient eventually predicts unlimited growth. Resource limits make that implausible over a sufficiently long period.
Sensitivity and model refinement
Section titled “Sensitivity and model refinement”A model is sensitive to a parameter if a small change in that parameter produces a large change in the prediction.
Worked example 8: assess sensitivity
Section titled “Worked example 8: assess sensitivity”A population after years is modelled by
where is the annual growth rate as a decimal.
For ,
For the slightly larger estimate ,
A change of only percentage points in the annual rate changes the twenty year prediction by about
This does not make the model useless. It means the rate must be estimated carefully and long term predictions should be reported with appropriate caution.
Possible refinements include:
- allowing a parameter to vary with time;
- replacing a straight line with a curve;
- splitting the domain into different regimes;
- adding an omitted force or constraint;
- collecting more representative data;
- stating a narrower domain of validity.
Each refinement adds complexity. Prefer the simplest model accurate enough for the intended use.
Common misconceptions
Section titled “Common misconceptions”The model gave a number, so the answer is reliable
Section titled “The model gave a number, so the answer is reliable”Calculation only shows what follows from the model. Reliability also depends on assumptions, data quality, domain and purpose.
More decimal places make a prediction more accurate
Section titled “More decimal places make a prediction more accurate”Decimal places show numerical precision, not model accuracy. If a length was measured as m, reporting a prediction as m usually gives unjustified precision.
A good fit proves cause
Section titled “A good fit proves cause”An association can support prediction without establishing causation. A third variable or coincidence may explain the pattern. See correlation and regression.
All solutions of the equation answer the problem
Section titled “All solutions of the equation answer the problem”An equation may have negative, non integer or out of range solutions. Apply the contextual domain after solving.
An unrealistic assumption makes the whole model worthless
Section titled “An unrealistic assumption makes the whole model worthless”All models simplify. The proper question is whether the assumption causes unacceptable error for the required purpose.
A model answer structure
Section titled “A model answer structure”For an extended modelling question, use this compact structure:
- Define:
Let $t$ be time in seconds and $h$ be height in metres. - Assume:
Assume constant acceleration and negligible air resistance. - Model: write the equation and its domain.
- Solve: show the mathematics with units.
- Interpret: select admissible solutions and answer in context.
- Evaluate: state a limitation and its likely effect.
A useful evaluation connects cause to consequence. For example, ignoring air resistance makes the predicted range too large because drag reduces the horizontal speed.
Merely writing the model is unrealistic gives no mathematical insight.
Self check
Section titled “Self check”1. Variables and units
Section titled “1. Variables and units”A tap fills a container at a constant rate of litres per second. The container initially holds litres.
- Write a model for the volume after seconds.
- State the units of the gradient.
- Find the predicted volume after seconds.
Answer
Let be volume in litres and be time in seconds. Then
until the container becomes full or the flow changes. The gradient has units litres per second. At ,
2. Interpret a solution
Section titled “2. Interpret a solution”A model for the number of crates required gives . Each crate holds at most the stated capacity. What value of should be used?
Answer
Use
The number of crates must be a whole number, and crates would not provide enough capacity.
3. Evaluate an extrapolation
Section titled “3. Evaluate an extrapolation”A linear model fitted to the height of a plant during its first six weeks predicts a height of m after five years. Give two reasons to doubt this prediction.
Answer
Five years lies far outside the observed six week range, so this is substantial extrapolation. The plant’s growth rate is unlikely to remain constant because maturity, seasonal conditions, disease and limited resources can change it. The linear relationship should therefore not be assumed to continue for five years.
4. Compare models
Section titled “4. Compare models”A quantity starts at . Model L adds each period. Model E increases by each period. Find both predictions after periods.
Answer
For the linear model,
For the exponential model,
The similar five period answers do not make the models equivalent. Their predictions separate increasingly over time.
5. Diagnose a model
Section titled “5. Diagnose a model”A model predicts the stopping distance of a car from , where is in metres and is in metres per second. A student substitutes for a speed of . Explain and correct the error.
Answer
The formula requires metres per second, but is in kilometres per hour. Convert:
Therefore
Next steps
Section titled “Next steps”- Learn how algebraic structure represents context in functions in modelling.
- Build constant rate and trend models with straight lines.
- Model repeated percentage change in exponential growth and decay.
- Apply modelling assumptions to motion in kinematics language and constant acceleration.
- Study data based model fitting in correlation and regression.
- Develop changing rate models in differential equation models.
The transferable principle is simple: solve the mathematics, then judge the solution as a statement about the real situation.