Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Applications and Interpretation
  3. ›2 Functions
  4. ›2.6 The modelling process

IB Mathematics: Applications and Interpretation · Topic 2 · Functions

2.6 The modelling process

Describe the steps of building a mathematical model, test it against data and refine it when predictions and observations disagree.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A model is a simplified description of a real situation
  1. 1A model is a simplified description of a real situation
  2. 2Building a model follows a cycle of connected steps
  3. 3Testing a model means comparing predictions with data
  4. 4Refining a model uses feedback to improve its fit
  5. 5Interpreting results in context shows whether a model is useful
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A model is a simplified description of a real situation

A taxi company charges a fixed fee plus a rate for each kilometre. A short rule can describe the fare for any journey. That rule is a mathematical model, a simplified description of a real situation using mathematics.

Every model leaves some details out. The taxi rule ignores traffic and waiting time. Each simplification is an assumption, and it decides where the model can be trusted.

A good model is simple enough to use and accurate enough to be useful. Adding more detail often makes it harder to use. You must balance the two.

Exam tip

State your assumptions in words. A model with no stated assumptions cannot be judged fairly.

Key terms · tap one for its definition

mathematical model

A mathematical model is a function, equation or graph that represents a relationship between quantities in a real situation.

assumption

An assumption is a simplification or condition accepted when building a model, such as ignoring a minor factor or holding a quantity fixed.

Part 1 done

2

Part 2 of 5: Building a model follows a cycle of connected steps

Now suppose you must build a model yourself. The same steps apply to most problems. Later steps often send you back to earlier ones, so the process is a cycle.

A variable is a quantity that changes, such as distance or fare. A parameter is a fixed number in the rule, such as the fee or the rate per kilometre.

  • Define the problem and decide what the model must predict.
  • Choose the variables and state the assumptions.
  • Select a type of function that suits the pattern.
  • Find the parameters using data or given information.
  • Test the model, refine it, then use it and interpret the result.

Key terms · tap one for its definition

variable

A variable is a quantity in a model that can take different values, such as time, distance or cost.

parameter

A parameter is a constant in a model’s rule, such as a gradient or fixed fee, chosen to fit the situation.

Part 2 done

Quick check

One question on the part you just read

Easy

State the first step when building a mathematical model.
Show answer and explanation

Answer: C · Worked explanation

The process begins by defining the problem and what the model must predict. Residuals, extrapolation and testing all come later, once variables, assumptions and parameters have been chosen. Calculating residuals needs a model and data to compare, so it cannot come first.
3

Part 3 of 5: Testing a model means comparing predictions with data

Once the parameters are chosen, check the model against real measurements. Use data that was not used to build the model where you can. Close agreement suggests the model is reasonable.

The gap between a measurement and a prediction is called a residual. It is the observed value minus the predicted value. A positive residual means the model predicted too low.

Worked example

Calculating residuals

A taxi model is C=4+1.5dC=4+1.5dC=4+1.5d, where CCC is the fare in euros and ddd is the distance in km\mathrm{km}km. Observed fares for journeys of 2 km2\,\mathrm{km}2km, 4 km4\,\mathrm{km}4km and 8 km8\,\mathrm{km}8km are €7.20, €10.10 and €15.80. Calculate each residual.
  1. 1
    Use residual = observed value − predicted value.
  2. 2
    Predicted fares: 4+1.5×2=7.004+1.5\times2=7.004+1.5×2=7.00, 4+1.5×4=10.004+1.5\times4=10.004+1.5×4=10.00 and 4+1.5×8=16.004+1.5\times8=16.004+1.5×8=16.00 euros.
  3. 3
    Residuals: 7.20−7.00=+0.207.20-7.00=+0.207.20−7.00=+0.20, 10.10−10.00=+0.1010.10-10.00=+0.1010.10−10.00=+0.10 and 15.80−16.00=−0.2015.80-16.00=-0.2015.80−16.00=−0.20.

Answer: The residuals are +€0.20, +€0.10 and −€0.20.

Small residuals on both sides of zero suggest a good fit. Residuals that follow a clear pattern suggest the wrong type of function.

Figure 1. The line is the model. Each observed fare lies close to it, with small residuals above and below.

Exam tip

Give each residual with its sign and units. The sign shows whether the model predicted too high or too low.

Key term

residual

A residual is the observed value minus the value predicted by the model, in the units of the quantity measured.

Part 3 done

4

Part 4 of 5: Refining a model uses feedback to improve its fit

Suppose the residuals grow larger as distance grows. The model needs refining. You can adjust a parameter, add a variable or change the type of function.

New data can also trigger refinement. After each change, test the model again. Repeating this cycle improves the model, though it never makes it perfect.

A refined model is safest inside the range of data used to build it. Predicting inside that range is interpolation. Predicting outside it is extrapolation, which is less reliable.

Common mistake

A model that fits the data well is not correct everywhere. A line fitted to short taxi journeys may fail for very long ones, where the rate may change.

Key terms · tap one for its definition

interpolation

Interpolation is using a model to predict a value inside the range of the data used to build it.

extrapolation

Extrapolation is using a model to predict a value outside the range of the data used to build it.

Part 4 done

Quick check

One question on the part you just read

Easy

State what a residual measures.
Show answer and explanation

Answer: B · Worked explanation

A residual is the observed value minus the predicted value. Reversing the subtraction gives the same size but the opposite sign, which would wrongly suggest the model predicted too high when it predicted too low. Averages and parameters are not residuals.
5

Part 5 of 5: Interpreting results in context shows whether a model is useful

The final step is to use the model and say what the answer means. Give the answer in the context of the problem, with units. Then check that it is reasonable.

  • Check that the units match the quantities in the problem.
  • Check that the value lies in a realistic domain, such as a distance that is not negative.
  • Check that the size and sign agree with the situation.
  • Compare the prediction with a value you already know.

Finally, state a limitation. The taxi rate may not hold in heavy traffic. Naming a limitation shows that you understand the assumptions behind the model.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Outline[4 marks]

    Outline the steps used to build and improve a mathematical model.

    Show mark schemeHide mark scheme

    Model answer

    Define the problem and choose variables and assumptions. Select a suitable type of function and find its parameters. Test the model against data. Refine the model if needed, then use and interpret it.

    • 1 mark for stating that the problem is defined and variables and assumptions are chosen
    • 1 mark for stating that a type of function is selected and its parameters found
    • 1 mark for stating that the model is tested against data
    • 1 mark for stating that the model is refined and then used and interpreted
  2. 2.Define[1 mark]

    Define the term residual.

    Show mark schemeHide mark scheme

    Model answer

    A residual is the observed value minus the value predicted by the model.

    • 1 mark for stating observed value minus predicted value
  3. 3.Calculate[2 marks]

    Calculate the residual when a model predicts a fare of €12.50 and the observed fare is €13.10.

    Show mark schemeHide mark scheme

    Model answer

    Residual = observed − predicted = 13.10−12.50=+0.6013.10-12.50=+0.6013.10−12.50=+0.60, so the residual is +€0.60.

    • 1 mark for subtracting predicted from observed
    • 1 mark for obtaining +€0.60
  4. 4.Distinguish[2 marks]

    Distinguish between interpolation and extrapolation.

    Show mark schemeHide mark scheme

    Model answer

    Interpolation predicts a value inside the range of the data used to build the model. Extrapolation predicts a value outside that range.

    • 1 mark for stating that interpolation predicts inside the data range
    • 1 mark for stating that extrapolation predicts outside the data range
  5. 5.Explain[3 marks]

    Explain why a model with small residuals for the known data may still give an unreliable prediction.

    Show mark schemeHide mark scheme

    Model answer

    The small residuals show a good fit only within the data range. A prediction outside that range is extrapolation. The assumptions behind the model may no longer hold there.

    • 1 mark for stating that a good fit applies only within the data range
    • 1 mark for identifying a prediction outside the range as extrapolation
    • 1 mark for stating that the assumptions may not hold outside the range
  6. 6.Discuss[3 marks]

    Discuss how a pattern in the residuals can be used to refine a model.

    Show mark schemeHide mark scheme

    Model answer

    Residuals scattered on both sides of zero suggest a good fit. A clear pattern suggests the type of function is wrong. The model can then be refined by changing a parameter, adding a variable or choosing another function, and tested again.

    • 1 mark for stating that scattered residuals suggest a good fit
    • 1 mark for stating that a clear pattern suggests a poor choice of function
    • 1 mark for describing a refinement and then testing the model again

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy[1 mark]

A model is built from data collected between 5 and 40 minutes. Using it at 90 minutes is an example of which process?
Show answer and explanation

Answer: C · Worked explanation

The data cover 5 to 40 minutes, and 90 minutes lies outside that range, so the prediction is extrapolation. Interpolation would be a prediction made inside the data range. Extrapolation is less reliable because the assumptions behind the model may stop holding beyond the data. Defining a variable and calculating a residual are other stages of the modelling process, not types of prediction.
4.

Medium·Calculate[2 marks]

A model is N=12+5tN=12+5tN=12+5t. At t=3t=3t=3 the observed value of NNN is 29. Calculate the residual.
Show answer and explanation

Answer: D · Worked explanation

The predicted value is 12+5×3=2712+5\times3=2712+5×3=27. The residual is the observed value minus the predicted value, so it equals 29−27=+229-27=+229−27=+2. A positive residual shows that the model predicted too low. The value −2 comes from subtracting in the wrong order, and 27 is the prediction itself rather than the residual.
5.

Medium[2 marks]

A linear model is fitted to data for x=1x=1x=1 to 5. The residuals are +4, −1, −3, −1 and +4. What do these residuals suggest?
Show answer and explanation

Answer: C · Worked explanation

The residuals fall and then rise again, so they follow a clear curved pattern. This suggests the type of function is wrong and a curved model should be tried. Random scatter on both sides of zero would suggest a good fit. Removing points hides the problem.
6.

Medium[2 marks]

A model is built from temperatures between 5 ∘C5\,^{\circ}\mathrm{C}5∘C and 40 ∘C40\,^{\circ}\mathrm{C}40∘C. Which prediction is an example of interpolation?
Show answer and explanation

Answer: A · Worked explanation

Interpolation means predicting inside the range of the data used to build the model. Only 22 ∘C22\,^{\circ}\mathrm{C}22∘C lies between 5 ∘C5\,^{\circ}\mathrm{C}5∘C and 40 ∘C40\,^{\circ}\mathrm{C}40∘C. The other three temperatures lie outside that range, so they are extrapolation and are less reliable, because the assumptions of the model may not hold there.
7.

Medium[2 marks]

A model of a plant’s height over six weeks is being built. Which statement is an assumption?
Show answer and explanation

Answer: B · Worked explanation

An assumption is a simplification accepted when building the model, such as a constant growth rate. The starting height is a measurement. The residual is a result of testing the model. The prediction is an output of the model, not a simplification made to build it.
8.

Hard·Determine[2 marks]

A tank model is V=200−12tV=200-12tV=200−12t, where VVV is the volume in dm3\mathrm{dm^3}dm3 and ttt is time in minutes. Observed volumes at t=2t=2t=2, 5 and 10 are 178, 137 and 82. Determine the size of the largest residual, ignoring its sign.
Show answer and explanation

Answer: B · Worked explanation

Predicted volumes are 176, 140 and 80. Residuals are 178−176 = +2, 137−140 = −3 and 82−80 = +2. The largest size is 3. The value 7 comes from adding the sizes, and 1 comes from adding the signed residuals.
9.

Hard[2 marks]

A model has residuals under 0.5 for data with ttt from 0 to 10. A student says it will predict t=30t=30t=30 within 0.5. Which evaluation is best?
Show answer and explanation

Answer: C · Worked explanation

Small residuals show a good fit only inside the data range. A prediction at t=30t=30t=30 is extrapolation, and the assumptions behind the model may no longer hold. Residuals do not need to be zero for a model to be useful, so rejecting the model for that reason is also wrong.
10.

Hard[2 marks]

Two models are tested on new data. Model A has residuals +0.2, −0.3, +0.1 and −0.2. Model B has residuals +0.5, +0.6, +0.7 and +0.9. Which conclusion is best supported?
Show answer and explanation

Answer: A · Worked explanation

Model A has small residuals on both sides of zero. Every residual for Model B is positive, so it predicts too low each time and by larger amounts. A positive residual means the prediction was too low, not too high, so claiming B never predicts too low is wrong.

Keep going

Next topic2.7 Composite and inverse functionsPrevious topic2.5 Modelling with functions

More in Topic 2 · Functions

  1. 2.2Functions, domain and rangeNotes · 10 questions
  2. 2.3Graphs of functionsNotes · 10 questions
  3. 2.4Key features of graphsNotes · 10 questions
  4. 2.5Modelling with functionsNotes · 10 questions
  5. 2.6The modelling processNotes · 10 questions
  6. 2.7Composite and inverse functionsNotes · 10 questions· HL only
  7. 2.8Transformations of graphsNotes · 10 questions· HL only
  8. 2.9Further modelsNotes · 10 questions· HL only
  9. 2.10Scaling and linearizing dataNotes · 10 questions· HL only

All IB Mathematics: Applications and Interpretation topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A model is a simplified description of a real situation
  2. 2Building a model follows a cycle of connected steps
  3. 3Testing a model means comparing predictions with data
  4. 4Refining a model uses feedback to improve its fit
  5. 5Interpreting results in context shows whether a model is useful
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Taxi model and observed fares

Fare (euros)024681005101520Distance (km)
  • Model C = 4 + 1.5d
  • Observed fares