A mathematical model is a deliberately simplified description of a situation. It relates quantities, supplies predictions and makes assumptions that can be checked. Its variables and assumptions must describe the situation being studied.

The task is to choose a relationship that answers a particular question at an appropriate level of detail. This lesson follows one hypothetical tank from measurement through prediction, testing and revision, rather than collecting unrelated model types.

On this page

Begin with a question and a defined system

A rectangular tank has internal dimensions 80 cm by 50 cm by 40 cm, giving capacity 160 L. It initially contains 20 L. A pump is expected to add water at approximately 12 L/min. How long will it take to fill?

Before writing an equation, define the system. Assume the tank is level, its cross-section is constant, there is no leak or outlet flow, and the inflow remains constant until an automatic stop at capacity. These are model assumptions, not consequences of the dimensions.

The same dimensions were used in Length, Area and Volume Units. Reusing them lets the geometry and rate calculation be checked against one another.

Define variables, parameters and units

Let tt be elapsed time in minutes and V(t)V(t) the water volume in litres. The initial value is 20 L, the rate parameter is 12 L/min, and capacity is 160 L. The uncapped quantity equation is

V(t)=20 L+(12 L/min)t.V(t)=20\text{ L}+(12\text{ L/min})t.

When tt denotes its numerical value in minutes, we may abbreviate this as V(t)=20+12tV(t)=20+12t, with VV reported in litres. Keep this numerical-unit convention visible; replacing minutes with seconds would change the coefficient.

The rate is a slope, while the initial volume is an intercept. They have different units and different physical roles.

Solve and check the prediction

The volume to be added is 160−20=140160-20=140 L. Therefore,

t=140 L12 L/min=353 min.t=\frac{140\text{ L}}{12\text{ L/min}}=\frac{35}{3}\text{ min}.

That is 11 minutes 40 seconds, not 11 minutes 67 seconds. Substitution confirms 20+12(35/3)=16020+12(35/3)=160 L.

The rectangular cross-section is 80×50=400080\times50=4000 cm². One centimetre of depth therefore represents 4000 cm³, or 4 L. Initial depth is 5 cm and the modelled level rises at 3 cm/min. Reaching 40 cm requires another 35 cm, again taking 35/335/3 minutes. This second representation checks both the units and the geometry.

Restrict the model to physically meaningful outputs

The uncapped line applies only for 0≤t≤35/30\le t\le35/3 under the assumptions above. If the pump stops at capacity, a complete idealised model is

V(t)={20+12t,0≤t≤35/3,160,t>35/3.V(t)=\begin{cases}20+12t,&0\le t\le35/3,\\160,&t>35/3.\end{cases}

If instead the pump continues and water overflows, the stored-volume model may still cap at 160 L, but the delivered volume and overflow are separate quantities. A tank cannot store 200 L merely because an unrestricted line predicts that value.

Physical capacity changes the formula that applies

A tank model that stops at capacityVolume increases from twenty litres at twelve litres per minute until it reaches 160 litres at eleven and two thirds minutes; it stays at capacity after inflow stops.0408012016020005101520Water volume (L)Elapsed time (min)Full at 11 min 40 sInflow stoppedThe unbounded line is not a valid contents model after filling.
The assumed inflow is stopped at the instant the tank becomes full.
Diagram explanation and exact data

The fill time solves 20 + 12t = 160, so t = 35/3 min. Before this time volume is linear; afterwards it is constant. These two pieces describe a controlled filling process, not continued overflow.

Physical capacity changes the formula that applies: exact reference data
Time (min) Volume (L)
0 20
5 80
10 140
35/335/3 160
20 160

Compare predictions with separate observations

For teaching, use the following synthetic observations. They are stipulated readings, not actual measurements taken by CTS.

Compare predictions with separate observations: reference table
Time (min) Observed volume (L) Predicted volume (L) Residual: observed minus predicted (L)
0 20 20 0
2 44 44 0
5 79 80 −1
8 116 116 0
10, held out 136 140 −4

The last observation was reserved as a check rather than used to choose the rate. It is 4 L below prediction. A model that matches earlier data exactly is not guaranteed to predict later values accurately.

A residual is not automatically an instrument error. It can reflect measurement uncertainty, a changing flow, an incorrect initial volume or an inadequate model. The uncertainty of the observations matters when deciding how large a residual is meaningful. Linear Regression develops a formal fitting method; fitting and validation should still be distinguished.

Examine sensitivity before changing the model

Suppose the actual constant inflow could be anywhere from 11.5 to 12.5 L/min, while the initial volume and capacity are treated as fixed. Since fill time is 140/q140/q for flow q>0q>0, the fastest and slowest times are

14012.5=11.2 min,14011.5=28023≈12.174 min.\frac{140}{12.5}=11.2\text{ min},\qquad\frac{140}{11.5}=\frac{280}{23}\approx12.174\text{ min}.

This is a deterministic range based on stated flow bounds, not a statistical confidence interval. It shows which parameter uncertainty affects the answer and by how much.

More detail is not automatically better. A time-varying rate needs evidence or a physical reason, and a fitted polynomial through every observation can behave implausibly between points or outside the measured interval.

Revise one assumption at a time

If the pump rate falls after eight minutes, a piecewise-rate model may be appropriate. If the vessel is not rectangular, volume and height may no longer be proportional. If the initial reading is wrong, an intercept adjustment is more relevant than a new growth law.

Document what changed and why. Recalculate predictions, compare them against independent data where possible, and retain the physical constraints. “Improved fit” and “better explanation” are related but not identical claims.

The same modelling discipline applies to costs, travel and growth. Define the quantities, state the domain, check dimensions, solve, interpret, and test. Do not infer validity solely from a plausible-looking graph.

Practice questions

  1. A 100 L tank initially contains 10 L and fills at a constant 6 L/min. Find its fill time.
  2. A model predicts 70 units and an observation is 67. Find the residual under the convention used here.
  3. Why should the original tank’s uncapped model not be used to report its stored volume after 20 minutes?
Check your answers
  1. The required addition is 90 L, giving 90/6=1590/6=15 minutes.
  2. Residual is observed minus predicted: 67−70=−367-70=-3 units.
  3. The unrestricted line gives 20+12(20)=26020+12(20)=260 L, exceeding 160 L capacity. The domain has been exceeded; stopping or overflow must be modelled separately.

Related topics

Use Financial Mathematics for models of dated cash flows, or Growth and Decay for quantities changing by proportional rather than fixed amounts.

Sources and further reading