Lesson 8: Modelling with straight-line graphs
Building a model from a table of costs
SkillsBuilding and using linear modelsEquations from graphs and pointsInterpreting gradient and intercept
Worked example
A hardware store lists the cost of hiring a box trailer.
| Hire time, (hours) | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
| Cost, ($) | 47 | 59 | 71 | 83 |
(a) Show that the relationship is linear, and find its equation.
(b) Interpret the gradient and the -intercept.
(c) Predict the cost of hiring the trailer for 8 hours.
Step 1: Check the differences
Each extra hour adds . Equal steps in give equal changes in , so the relationship is linear.
Step 2: Find the gradient
Step 3: Find the intercept
Substitute into :
Step 4: Interpret
Hiring costs $12 for each hour, plus a fixed $23 charged on every hire, however short.
Step 5: Predict
Answer
(a) Constant differences of $12; . (b) $12 per hour, plus a $23 fixed charge. (c) $119.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Check for constant differences to confirm the data is linear.
Gradient from two points; intercept by substituting one point.
Interpret both in context, then use the model to predict.
Watch out for
Reading the intercept as 47 (the cost for 2 hours, not 0 hours).
Predicting by doubling the 4-hour cost: counts the fixed charge twice.