Lesson 5: Modelling with piece-wise functions
Model a two-block water charge
SkillsPiece-wise modelsPiece-wise functions
Worked example
A council charges households for water each quarter. There is a fixed access charge of $60, plus $2.50 per kilolitre (kL) for the first 50 kL used and $4 per kL for any water used beyond 50 kL.
(a) Write a piece-wise rule for the quarterly charge dollars when kL of water is used. (b) Calculate the charge for 80 kL. (c) One household's charge is $365. How much water did it use?
Step 1: Define the variables and the threshold
Let be the charge in dollars for kL, with . The price changes at .
Step 2: Write the first piece
Up to 50 kL: for .
Step 3: Find the charge at the threshold
Every later piece starts from the charge already reached at the threshold.
Step 4: Write the second piece
Beyond 50 kL, each extra kL costs $4: for .
Step 5: (b) Use the second piece
, so . The charge is $305.
Step 6: (c) Decide which piece gives $365
The first piece reaches at most , and , so the household is on the second piece.
Step 7: (c) Solve and check the domain
. Since , the answer lies in the second piece's domain.
Answer
for and for . The charge for 80 kL is $305, and a $365 charge means 95 kL was used.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Define variables with units and find the thresholds.
Later piece = value at the threshold + new rate × amount above the threshold.
Compare a given output with the threshold values to choose the piece.
Check the answer lies in that piece's domain, then answer in context.
Watch out for
Charging the higher rate on all the water: instead of .
Solving with the first piece: gives , which is not in .