Piecewise Linear Functions and Threshold Models
Select the correct rule for an input, interpret breakpoints, and build piecewise models from fees, rates, and thresholds.
By the end of this lesson
Select the correct rule for an input, interpret breakpoints, and build piecewise models from fees, rates, and thresholds.
Understand it properly
Conditions choose the rule
The inequality beside each formula is part of the function definition.
Breakpoints require special care
Only the rule whose condition includes the endpoint is used at that exact input.
Context creates piecewise behavior
Base fees, overtime rates, tax brackets, and capacity limits often change the linear rule after a threshold.
AYLOTI • Sir Hunain Zia • SAT Score 1594/1600 • 154 Total A Grades (Personal), 11 World Records, 7 Distinctions
Use this every time
- Locate the input relative to every breakpoint.
- Select only the rule whose condition is true.
- Substitute and simplify.
- For model building, identify base amount, rate, and threshold.
- Check continuity only if the context or question requires it.
AYLOTI • Sir Hunain Zia • SAT Score 1594/1600 • 154 Total A Grades (Personal), 11 World Records, 7 Distinctions
Watch the decision process
f(x)=2x+1 for x<3 and x²−4 for x≥3. Find f(3).
Working
The endpoint belongs to x≥3.
Answer: 5
Why this works
Use 3²−4, not the first rule.
A service costs $12 for up to 4 hours, then $3 per additional hour. Cost for h>4?
Working
Keep the $12 base and charge for h−4 extra hours.
Answer: C(h)=12+3(h−4)
Why this works
Charging 3h would incorrectly bill the first four hours twice.
AYLOTI • Sir Hunain Zia • SAT Score 1594/1600 • 154 Total A Grades (Personal), 11 World Records, 7 Distinctions
What to do when the clock is running
- Mark the breakpoint before calculating.
- Rewrite context as base + rate(extra).
- Use a table for multiple requested inputs.
- Inspect open and closed graph points carefully.
AYLOTI • Sir Hunain Zia • SAT Score 1594/1600 • 154 Total A Grades (Personal), 11 World Records, 7 Distinctions
Do not lose marks here
Read < versus ≤.
Later pieces usually include accumulated earlier cost.
Multiply by units beyond the threshold.
Your turn, with help when needed
g(x)=x+5 if x≤0, 2x if x>0. g(0)?
Need a hint?
Which condition includes zero?
Show complete solution
Method: Use x+5.
Answer: 5.
$20 base plus $4 per mile after 2 miles: formula?
Need a hint?
Extra miles are m−2.
Show complete solution
Method: 20+4(m−2), m>2.
Answer: 20+4(m−2).
Why might a graph jump at a breakpoint?
Need a hint?
The two formulas may give different endpoint values.
Show complete solution
Method: A piecewise function need not be continuous unless stated.
Answer: Different one-sided values.
AYLOTI • Sir Hunain Zia • SAT Score 1594/1600 • 154 Total A Grades (Personal), 11 World Records, 7 Distinctions
Try before revealing
Answer each question without looking back. Then open it to check your thinking.
1What selects a piecewise rule?
Answer: The input condition.
2Which symbol includes an endpoint?
Answer: ≤ or ≥.
3How are extra units written after threshold a?
Answer: x−a.
4Must every piecewise graph be continuous?
Answer: No.
5What usually remains in a later pricing piece?
Answer: The accumulated base amount.
AYLOTI • Sir Hunain Zia • SAT Score 1594/1600 • 154 Total A Grades (Personal), 11 World Records, 7 Distinctions
Lock it into memory
- Check condition.
- Respect endpoint.
- Keep base cost.
- Count only excess units.
