📘 CodingMarble Learn

Mathematical Modelling: Using Maths to Describe the Real World

A mathematical model is an equation, graph or table that describes a real situation in a simple way. The modelling cycle: understand the real problem → choose variables and make assumptions → build a model (for example linear, quadratic or exponential) → solve and predict → check the answer against real data → improve the model or state its limits. No model is perfect; a good one is simple and close enough to be useful.

🎬 Step-by-step story

  1. Start with a real question: how does a taxi fare depend on the distance? We collect some real rides. Each orange dot is one ride.
  2. Choose the variables. x is the distance in km (the input). y is the fare in rupees (the output). We assume there is no traffic and no waiting.
  3. Build the model. The dots lie on a straight line, so we use y = 12x + 50: a 50-rupee start plus 12 rupees for each km.
  4. Use the model to predict. For a 15 km ride, y = 12 × 15 + 50 = 230 rupees. The green dot shows this.
  5. Check it with reality. A real 15 km ride in traffic cost 275 rupees. The red line is the error. We improve the model or say where it works.
  6. Free play: pick a data set and a model type. Watch the red gaps. The model with the smallest error fits best.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do we ignore things like traffic?

To make a model simple enough to use. We write it down as an assumption and check later if the error is too big.

How do I know a straight line is right?

If the dots lie close to a line and equal steps in x give equal steps in y, a linear model is a good first choice.

What do the numbers in y = 12x + 50 mean?

12 is the rate (₹ for each km) and 50 is the start value (₹ before you move).

If the model is wrong for one ride, is it useless?

No. Every model has some error. We measure it, and either improve the model or say where it works.

How do I pick between linear, quadratic and exponential?

Try each one on the data and compare the error. The simplest model with a small error wins.

What is a mathematical model?

A model is a simple copy of something real. A toy car is a model of a car. A mathematical model uses numbers, equations, graphs or tables instead of plastic.

Examples:

A model has variables (things that change), parameters (fixed numbers such as 12 and 50) and assumptions (what we choose to ignore to keep it simple).

The modelling cycle

  1. Understand the problem. What do we want to know?
  2. Make assumptions and choose variables. Decide the input (independent variable) and output (dependent variable). Write what you ignore.
  3. Build the model. Use a table, graph or equation. Look at the shape of the data.
  4. Solve. Use the model to calculate or predict.
  5. Interpret. Turn the maths answer back into words with units.
  6. Validate (check). Compare with real data. If the error is too big, change the assumptions or the model and go round again.

This is a loop, not a straight line. Scientists and engineers go round it many times.

Choosing the right type of model

Linear: y = mx + c

Equal steps in x give equal differences in y. Example: fares, phone plans, a candle burning down.

Quadratic: y = ax² + bx + c

The graph is a parabola. The second differences are equal. Example: height of a thrown ball, area of a square.

Exponential: y = a × bˣ

Equal steps in x give equal ratios in y (the value is multiplied each time). Example: bacteria doubling, compound interest, a cooling cup of tea.

Periodic (trigonometric)

Repeats in cycles. Example: tides, hours of daylight in a year.

How to decide

Plot the data. Check differences (linear), second differences (quadratic) or ratios (exponential). Choose the simplest model with a small error.

Checking a model: error, fitting and limits

The error (residual) is real value − model value. Small errors mean a good fit.

A line of best fit is the line that makes the errors as small as possible overall (computers use "least squares": they make the sum of squared errors smallest).

Interpolation (predicting inside the data range) is usually safe. Extrapolation (predicting far outside it) is risky: a child's height grows about 6 cm a year, but the model fails at age 40!

Always state the domain where the model works and the assumptions you made. Models are used in science, economics, medicine and technology, and each one has limits.

Key formulas and definitions

Worked examples

1. A plumber charges ₹200 to visit plus ₹150 per hour. Write a model and find the cost for 3 hours.

Let h = hours, C = cost. C = 150h + 200. For h = 3: C = 450 + 200 = ₹650.

2. A table: x = 0, 1, 2, 3 gives y = 5, 8, 11, 14. Which model fits?

Differences are 3, 3, 3 (equal), so it is linear: y = 3x + 5.

3. A table: x = 0, 1, 2, 3 gives y = 3, 6, 12, 24. Which model fits?

Ratios are 2, 2, 2 (equal), so it is exponential: y = 3 × 2ˣ.

4. A ball's height is modelled by h = −5t² + 20t + 1 (metres, seconds). Find the maximum height.

The top is at t = −b/(2a) = −20/(−10) = 2 s. h = −20 + 40 + 1 = 21 m.

5. A model predicts 480 visitors; the real number was 520. Find the error and percent error.

Error = 520 − 480 = 40. Percent error = 40 ÷ 520 × 100 ≈ 7.7%.

6. A town of 50 000 people grows 4% a year. Model it and predict the population after 5 years.

P = 50 000 × 1.04ᵗ. For t = 5: 50 000 × 1.2167 ≈ 60 800 people (assuming the rate stays 4%).

Common mistakes

Practice quiz

1. The first step of the modelling cycle is:
2. Data with equal differences in y for equal steps in x fits a:
3. In y = 12x + 50 for taxi fares, 50 means:
4. The error (residual) of a model is:
5. Predicting far outside the data range is called:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is mathematical modelling in simple words?

Turning a real-life question into maths (an equation or graph), solving it, and checking if the answer makes sense in real life.

What are the steps of mathematical modelling?

Understand the problem, make assumptions and choose variables, build the model, solve it, interpret the answer, and check it against real data (then improve if needed).

What are examples of mathematical models?

A taxi fare formula, a population growth formula, the path of a thrown ball, weather forecasts and loan interest calculations.

Where this is taught

Canada (Ontario)Grade 8C. Algebra
Canada (Ontario)Grade 9D. Data
Canada (Ontario)Grade 12A. Mathematical Models
Canada (Ontario)Grade 12D. Characteristics of Functions
ItalySecondaria di secondo grado – classe 3ªMathematics for economics and society
ItalySecondaria di secondo grado – classe 4ªMathematics for economics and society
ItalySecondaria di secondo grado – classe 5ª (esame di Stato)Mathematics for economics
NetherlandsVWO 3 (onderbouw)Mathematical thinking
NetherlandsHAVO 4 (bovenbouw, 2e fase)Skills
NetherlandsHAVO 4 (bovenbouw, 2e fase)Skills
NetherlandsHAVO 4 (bovenbouw, 2e fase)Skills
NetherlandsHAVO 4 (bovenbouw, 2e fase)Skills
NetherlandsHAVO 4 (bovenbouw, 2e fase)Skills
NetherlandsHAVO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsVWO 4 (bovenbouw, 2e fase)Skills
NetherlandsHAVO 5 (eindexamenjaar)Research and design
NetherlandsHAVO 5 (eindexamenjaar)Mathematics in technology
NetherlandsVWO 5Research and design
NetherlandsVWO 6 (eindexamenjaar)Geometry with coordinates (part 2)
NetherlandsVWO 6 (eindexamenjaar)Dynamical systems (part 2)
NetherlandsVWO 6 (eindexamenjaar)Mathematics in science
Spain2º ESOAlgebraic sense
Spain3º ESOAlgebraic sense
Spain4º ESOAlgebraic sense
Spain4º ESOAlgebraic sense
Spain1º BachilleratoAlgebraic sense and computational thinking
Ukraine8 класMathematical tasks and real-world processes
Ukraine8 класGeometry problems for studying real processes
Ukraine9 класMathematical tasks and real-world processes
Ukraine9 класGeometry problems for studying real processes
Ukraine11 класAlgebra: review and problem solving (74 h)
England (GCSE, A level)Year 13B Algebra and functions
USA (Common Core, NGSS, AP)Grade 12Polynomial and Rational Functions
USA (Common Core, NGSS, AP)Grade 12Exponential and Logarithmic Functions
Japan高校(専門学科)1〜3年Special Topics in Advanced Mathematics
FranceTerminaleMathematics (2019 programme)
China高一Ch.3 Functions
China高一Ch.4 Exponential and logarithmic functions
China高一Modelling and inquiry
China高三Elective B (economics/social science)
China高三Elective C (humanities)

Learn first

Learn next

Related lessons

All Maths lessons