Lesson 6: Sketching piece-wise linear graphs
Sketch a plumber's call-out charge
SkillsSketching piece-wise linear graphsInterpreting piece-wise linear graphs
Worked example
A Townsville plumber charges $95, which covers the first 30 minutes of a job, then $1.60 for each extra minute.
(a) Write a rule for the charge, dollars, for a job lasting minutes, where .
(b) Sketch the graph of against .
(c) Use the rule to find the charge for a 45-minute job.
Step 1: Write the rule for each piece
Only the minutes after 30 are charged at $1.60, so the second rule uses .
Step 2: Find the endpoint values
At : (both rules agree). At : .
Step 3: Sketch
Draw a horizontal segment at from (open circle — a job takes some time) to , then a straight segment from to . Label both axes with units and the key points.
Step 4: Charge for 45 minutes
, so use the second rule: .
Answer
(a) for and for . (b) See the graph: flat at $95 to 30 minutes, then rising to $191 at 90 minutes. (c) A 45-minute job costs $119.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Write a rule for each interval; later rules count only the amount past the change.
Find the value at each end of each piece.
Plot endpoints, join with straight segments, label.
Watch out for
Writing the second rule as , which charges for the first 30 minutes twice.