# 8.1 Mathematical Modeling

SPM Form 5 Mathematics (KSSM) · Chapter 8 Mathematical Modeling. Interactive version with diagrams: https://spmtuition.com/math/form-5/chapter-8-mathematical-modeling/8-1-mathematical-modeling/

## Build a model

*Graph of A = x(10 − x): A rectangle with perimeter 20 m has area x(10 − x). Use 0 < x < 10.* (interactive on the web page)

A mathematical model represents a real situation using variables, relationships and assumptions. It supports estimates and decisions.

1. Identify and define the problem
2. Make assumptions and identify variables
3. Apply mathematics to solve the problem
4. Verify and interpret the solution
5. Refine the model if necessary
6. Report the findings

Define units and a sensible domain. State what the model ignores.

### Practice questions: Build a model

1. What should a model state clearly?
   A. Variables, assumptions and units
   B. Only a final number
   C. Only a graph colour
   D. Only the largest observation
   **Answer:** A. Variables, assumptions and units. These details explain what the calculation represents.

## Linear cost model

*Graph of C = 8 + 0.20n: Change the whole-number page count. Read the cost for C = 8 + 0.20n.* (interactive on the web page)

**Worked example:** A printing service charges RM8 setup plus RM0.20 per page. Model and calculate the cost of 60 pages.

1. Let n be the number of pages, a non-negative integer
2. Cost C = 8 + 0.20n, in RM
3. For n = 60, C = 8 + 0.20×60

**Answer:** C = RM20

The fixed charge gives the intercept. The per-page charge gives the gradient.

The model assumes a constant page rate and no extra fees. Check those assumptions before using it.

### Practice questions: Linear cost model

1. C = 10 + 2n. What is the fixed cost?
   A. 2
   B. 10
   C. n
   D. 12n
   **Answer:** B. 10. The fixed cost is independent of n.

## Compare alternatives

*Graph of A: 8 + 0.20n; B: 2 + 0.30n: Change the page count. Compare costs on either side of 60 pages.* (interactive on the web page)

**Worked example:** Service A charges RM8 + RM0.20n. Service B charges RM2 + RM0.30n. Find equal-cost quantity.

1. 8 + 0.20n = 2 + 0.30n
2. 6 = 0.10n
3. n = 60; both costs are RM20

**Answer:** 60 pages

Below 60 pages, B costs less. Above 60 pages, A costs less, provided both pricing rules still apply.

### Practice questions: Compare alternatives

1. For C = 5 + 3n, find C when n = 4.
   A. 32
   B. 12
   C. 17
   D. 9
   **Answer:** C. 17. Substitute n = 4: 5 + 12 = 17.

## Quadratic and exponential models

*Graph of A = x(10 − x): The rectangular area reaches its maximum at width 5 m.* (interactive on the web page)

Use a quadratic model when a product of changing lengths determines area. Use an exponential model for repeated percentage changes.

**Worked example:** A rectangle has perimeter 20 m. Model its area using width x m.

1. Length = 10 − x, with 0 < x < 10
2. Area A = x(10 − x) = 10x − x²
3. A = 25 − (x − 5)², so its greatest value is 25

**Answer:** Maximum area 25 m² when width and length are both 5 m

**Worked example:** A population starts at 500 and grows by 4% yearly. Model its size after t whole years.

1. Yearly multiplier = 1 + 0.04 = 1.04
2. Population P = 500(1.04)ᵗ
3. After two years, P = 500(1.04)² = 540.8

**Answer:** About 541 people after two years

The growth model assumes the same percentage each year. Migration or resource limits can make that assumption fail.

### Practice questions: Quadratic and exponential models

1. A population starts at 200 and grows by 5% yearly. Which model fits?
   A. P = 200 + 5t
   B. P = 200(0.05)ᵗ
   C. P = 200(1.05)ᵗ
   D. P = 200(1.5)ᵗ
   **Answer:** C. P = 200(1.05)ᵗ. Yearly multiplier = 1 + 0.05 = 1.05. 0.05 forgets the 1. 200 + 5t adds a fixed amount, not a percentage.

## Validate and refine

![Compare data points with the fitted line before predicting.](https://spmtuition.com/diagrams/expand-addmath-best-fit.svg)

*Differences between observations and predictions can reveal limitations in the model.*

Compare predictions with observed values. A large difference can indicate a missing factor or an unsuitable relationship.

| Issue | Possible response |
| --- | --- |
| Rate changes for large orders | Use separate rules for different quantity ranges |
| Measurement varies | Collect repeated measurements |
| Prediction lies beyond observed data | State the extrapolation risk |
| Negative prediction for a physical quantity | Restrict the domain or revise the model |

> **Exam tip:** A good numerical fit does not prove a causal relationship. Report limitations with the result.

Choose a model simple enough to use but detailed enough for the decision. Revisit assumptions when conditions change.

### Practice questions: Validate and refine

1. What should follow a poor match between prediction and observation?
   A. Hide the observation
   B. Assume the model is exact
   C. Change units without conversion
   D. Check assumptions and refine the model
   **Answer:** D. Check assumptions and refine the model. Validation tests whether the model suits the situation.

2. Predicting far outside observed data is called
   A. Extrapolation
   B. Interpolation
   C. Factorisation
   D. Transposition
   **Answer:** A. Extrapolation. Extrapolation extends beyond the observed range and can be unreliable.

---

Online SPM tuition for Physics, Chemistry, Biology, Mathematics and Additional Mathematics, Form 4–5, in English or BM. Students who want tuition or extra help can request it at https://spmtuition.com/tuition/.
