Linear Models and Applications
Key Terms
- A linear model uses y = mx + c to represent a real-world situation where one quantity changes at a constant rate relative to another.
- The gradient m = rate of change, with units (e.g. dollars per km, litres per minute). Always state the units!
- The y-intercept c = initial or starting value (e.g. flag-fall charge, initial volume, starting temperature).
- Interpolation
- : finding values within the known data range (reliable). Extrapolation: predicting beyond the known range (less reliable).
- Domain
- : restrict x to sensible values only (e.g. x ≥ 0 for time, x ≤ max capacity for resources).
Step 1: Identify x (independent variable) and y (dependent variable).
Step 2: Find m = rate of change (often stated directly, or calculated from two points).
Step 3: Find c = starting value when x = 0.
Step 4: Write y = mx + c and state the domain.
Step 5: Interpret — always answer “what does the gradient mean?” and “what does the y-intercept mean?” in context.
Worked Example 1 — Building a model from a description
A plumber charges a $65 call-out fee plus $90 per hour. Write a linear model and find the cost for a 3.5-hour job.
Step 1 — Define variables: Let h = hours worked, C = total cost ($).
Step 2 — Identify gradient and y-intercept:
Rate of change (gradient) m = $90/hr
Starting value (y-intercept) c = $65 (call-out fee when h = 0)
Step 3 — Write the model: C = 90h + 65 (for h ≥ 0)
Step 4 — Substitute h = 3.5: C = 90(3.5) + 65 = 315 + 65 = $380
Interpret: The $65 covers the call-out (c = 65); each additional hour adds $90 (m = 90).
Worked Example 2 — Building a model from a table of values
A coffee mug is cooling. Times and temperatures are recorded:
| Time (min) | 0 | 5 | 10 | 15 |
| Temp (°C) | 85 | 75 | 65 | 55 |
Step 1: Let t = time (min), T = temperature (°C).
Step 2 — Gradient: Temperature decreases by 10°C every 5 minutes: m = −10/5 = −2 °C/min
Step 3 — y-intercept: At t = 0, T = 85, so c = 85.
Model: T = −2t + 85 (for 0 ≤ t ≤ 42.5)
Domain: T ≥ 0 means −2t + 85 ≥ 0, so t ≤ 42.5 min.
Introduction
Linear models are used to describe countless real-world situations: taxi fares, water tank levels, temperature changes, phone plans, spring lengths, and more. The power of a linear model is that once you identify the gradient and y-intercept, you can predict any value and answer questions about the situation mathematically.
Identifying Variables and Parameters
The first step is always to define your variables carefully. Ask: “What changes? What does it change with respect to?” The quantity that changes due to another is y (dependent), and the quantity that drives the change is x (independent).
A taxi charges $3.50 flag-fall plus $2.20 per km. Here:
x = distance (km) — the driver controls how far you go
y = C = cost ($) — depends on distance
Gradient m = 2.20 ($/km) — cost increases $2.20 per km
y-intercept c = 3.50 — cost before moving (flag-fall)
Model: C = 2.20d + 3.50
Finding the Model from Two Points
If you are given a table or two data points, use the gradient formula m = (y&sub2;−y&sub1;)/(x&sub2;−x&sub1;) to find the rate of change, then substitute one point to find c.
A car has 60 L at the start of a trip. After 200 km, it has 40 L.
m = (40 − 60)/(200 − 0) = −20/200 = −0.1 L/km
c = 60 (initial fuel at d = 0)
Model: F = −0.1d + 60
Tank empty when F = 0: 0 = −0.1d + 60 → d = 600 km
Comparing Two Linear Models
To find when two models give the same value, set them equal and solve. This is the break-even point — the value of x where both models produce the same y.
Plan A: $20/month + $0.10/text. Plan B: $35/month + $0.04/text.
A = 0.10n + 20 B = 0.04n + 35
Set equal: 0.10n + 20 = 0.04n + 35 → 0.06n = 15 → n = 250 texts
For fewer than 250 texts: Plan A is cheaper. For more than 250: Plan B is cheaper.
Domain and Reasonableness
Always restrict the domain to values that make physical sense. A water tank cannot have negative volume; time cannot be negative; the number of items bought must be a non-negative integer. State the domain explicitly.
Summary
To build a linear model: define x and y with units; find m (rate of change) and c (initial value); write y = mx + c; state the domain. To compare models: set equal and solve. Always interpret m and c in context. Be cautious when extrapolating beyond the data.
Mastery Practice
-
Fluency
A taxi charges a flag-fall of $3.50 plus $2.20 per kilometre.
- (a) Write the cost function C as a linear equation in terms of distance d (km).
- (b) Find the cost of a 15 km trip.
- (c) If a trip costs $25.50, how far was the journey?
-
Fluency
A phone plan charges $30 per month plus $0.15 per text message.
- (a) Write the monthly cost equation C in terms of n (number of texts).
- (b) Find the cost if 80 texts are sent.
- (c) How many texts were sent if the monthly bill was $51?
-
Fluency
A car travels at constant speed. The table below records distance over time.
Time (hr) 0 1 2 3 Distance (km) 12 22 32 42 - (a) Write the linear model for distance D as a function of time t.
- (b) Interpret the gradient and y-intercept in context.
- (c) How far will the car have travelled after 5 hours?
-
Understanding
A car starts a journey with 65 L of fuel. After 120 km, the fuel gauge reads 50 L.
- (a) Write a linear model F = md + c for the fuel remaining after d km.
- (b) Interpret the gradient in context (include units).
- (c) What distance can be travelled before the tank is empty? What assumption are you making?
-
Understanding
A water tank starts with 4800 L and loses 12 L per minute due to a leak.
- (a) Write a linear model for the volume V (litres) remaining after t minutes.
- (b) How many minutes until the tank holds only 1200 L?
- (c) When will the tank be completely empty?
- (d) State the domain of the model.
-
Understanding
Two internet plans are available:
Plan A: $29/month + $0.05 per GB used Plan B: $45/month + $0.02 per GB used- (a) Write cost equations for each plan in terms of g (GB used per month).
- (b) Find the monthly usage where both plans cost the same.
- (c) Which plan is better for a heavy user who uses 300 GB/month? How much cheaper?
-
Understanding
The temperature on a winter evening drops linearly from 22°C at 6 pm to 10°C at midnight.
- (a) Find the rate of cooling per hour.
- (b) Write a linear model T = mh + c, where h = hours after 6 pm.
- (c) Predict the temperature at 2 am.
- (d) At what time will the temperature reach 5°C?
-
Understanding
A spring has a natural length of 8 cm. When a force of 5 N is applied, it stretches to 13 cm (Hooke’s Law).
- (a) Write a linear model for the spring length L (cm) in terms of force F (N).
- (b) Find the length when a force of 8 N is applied.
- (c) What force would cause the spring to reach 20 cm?
- (d) Is it reasonable to use this model at 100 N? Explain.
-
Problem Solving
Two gyms offer different membership structures:
Gym A: $200 joining fee + $15/month Gym B: $50 joining fee + $30/month- (a) Write total cost equations for each gym in terms of n (months).
- (b) Find the number of months at which the total costs are equal.
- (c) Describe (in words) what a sketch of both lines would look like — where they start, which is steeper, and where they cross.
- (d) Which gym is cheaper for a 2-year membership? By how much?
-
Problem Solving
A car rental company charges $35 per day plus $0.22 per kilometre. The daily budget is $200.
- (a) Write the daily cost equation C in terms of km travelled k.
- (b) Find the maximum number of kilometres that can be driven in one day within budget.
- (c) Over 5 days at an average of 180 km/day, find the total cost.
- (d) An upgraded car costs $55/day + $0.12/km. Compare the total 5-day costs for both cars at 180 km/day. Which is cheaper?