Maths Mutt HOME

Mathematical Modelling

mathematical modelling diagram

Mathematical modelling helps solve real‑world problems by finding relationships between variables that describe the situation being examined.

modelling cycle

Once a question is posed, data is collected, analysed and interpreted to look for patterns or relationships that can be used to test the model and make predictions.

This is often an iterative process — the model is tweaked and repeated until an acceptable outcome is reached.

Modelling Stages

modelling stages diagram

1. Specify the real problem

2. Set up a model

3. Formulate the mathematical problem

4. Solve the mathematical problem

5. Interpret the solution

6. Compare with reality

Example

A person wishes to buy a car using an unsecured bank loan.

Question: What is the top of the car price range that is affordable?

1. Specify the real problem

How much can be borrowed if the monthly repayment is £550?

The amount borrowed depends on the interest rate and the loan term.

2. Set up a model

Interest rates vary between lenders, so several representative rates will be considered for 3, 4 and 5‑year terms.

Interest rates (Correct March 2025)
Lender Annual Rate
Online loan company A61.94% representative
Online loan company B19.9% representative
Own Bank6.2%

Assume the representative rate is fixed for the duration of the loan.

Variables: interest rate and number of repayments.

Number of monthly repayments: 36, 48 or 60.

Total monthly repayment must not exceed £550.

First go around

3. Formulate the mathematical problem

As a first approximation, assume the monthly payments are saved in an account.

The balance after each term would be:

The account balance equals the interest paid plus the original capital borrowed.

loan diagram

4. Solve the mathematical problem

Online loan company A — 61.94% interest

3 years:

loan A 3 years

£4,662.33

4 years:

loan A 4 years

£3,838.73

5 years:

loan A 5 years

£2,963.08


Online loan company B — 19.9% interest

3 years:

loan B 3 years

£11,487.03

4 years:

loan B 4 years

£12,774.01

5 years:

loan B 5 years

£13,317.36


Own Bank — 6.2% interest

3 years:

loan bank 3 years

£16,530.72

4 years:

loan bank 4 years

£20,754.19

5 years:

loan bank 5 years

£24,428.19

5. Interpret the solution

A monthly repayment of £550 would service a loan from just under £3,000 to just under £25,000.

6. Compare with reality

The results seem very low. This basic model assumed interest was compounded yearly and did not take repayments into account.

Second go around

2. Set up a model

Create an Excel spreadsheet using the PV function to calculate the present value of a loan or investment based on a constant monthly interest rate.

Excel PV function example

This requires the following variables:

3. Formulate the mathematical problem

Create a small Excel table with cells for:

Excel loan table

The monthly effective interest rate can be calculated using:

\[ (1 + \text{annual rate})^{1/12} - 1 \]

In the example below, the formula is:

\[ =(1 + B5)^{1/12} - 1 \]
monthly effective rate example

To calculate the loan amount, insert the PV function from the Financial section of Excel’s formula menu:

finding PV function

The following screen appears:

PV function window

Enter the variables:

Rate = monthly effective rate (cell B6)

PV rate entry

Nper = number of repayments (cell B7)

PV nper entry

Pmt = fixed monthly repayment (cell B8)

PV pmt entry

The loan amount is shown as a negative number (money owed):

PV result

4. Solve the mathematical problem

Online loan company A — 61.94% interest

A 3 years A 4 years A 5 years

Online loan company B — 19.9% interest

B 3 years B 4 years B 5 years

Own Bank — 6.2% interest

Bank 3 years Bank 4 years Bank 5 years

5. Interpret the solution

3‑year loan → approx. £18,000 can be borrowed.

4‑year loan → approx. £23,000 can be borrowed.

5‑year loan → approx. £28,000 can be borrowed.

Price range: £18,000 to £28,000

Loan rates depend on credit score. The cost of borrowing varies considerably:

loan value comparison

Banks tend to offer much better rates than online finance companies.

6. Compare with reality

A quick comparison with an online quote:

loan quote 1 loan quote 2

The model is quite realistic.

Fermi Problems

Named after Nobel Prize winner Enrico Fermi, Fermi problems require reasonable assumptions and estimates to produce approximate answers. Multiple approaches and answers may exist.

Example

How many toilet rolls are required per year for the population of the UK?

Assumption 1: Average person uses 1 roll per week.

Assumption 2: UK population = 66.7 million.

Assumption 3: 85% of population usage.

Estimate:

\[ 1 \times 52 \times 66.7\text{ million} \times 0.85 = 2{,}948.14\text{ million rolls} \]
toilet roll icon

≈ 2,948,140,000 rolls

STEM Fermi Problems

University of Maryland Fermi Problems Site

Scruffs logo © Alexander Forrest