Piecewise Rules and Graph Interpretation
A piecewise function uses different formulas on different input regions. The condition chooses the formula; it is not an additional term to substitute. At a boundary, specify exactly which branch applies. Graphs also communicate change: a horizontal part means the output stays constant while input changes, not necessarily that the object is at zero.
Before you begin
Use ≤ and < carefully at endpoints. Evaluate a linear formula after selecting the correct interval.
What you will learn
- Choose a branch from the input
- Interpret endpoint inclusion
- Read rates and flat intervals
- Connect rules to a situation
Understand the idea
A piecewise function uses different formulas on different input regions. The condition chooses the formula; it is not an additional term to substitute. At a boundary, specify exactly which branch applies. Graphs also communicate change: a horizontal part means the output stays constant while input changes, not necessarily that the object is at zero.
Worked example 1
f(x)=x+2 if x<1; f(x)=2x if x≥1. Find f(0),f(1),f(3).
- 0<1 uses x+2, giving f(0)=2.
- 1 belongs to x≥1, so f(1)=2; f(3)=6.
- The left branch approaches 3 near x=1, but its boundary value is excluded.
Worked example 2
Parking costs $4 for 0<t≤1 hour, then $4+2(t−1) for 1<t≤3. Find costs at 1 and 2.5 hours.
- At t=1, use the first rule: $4.
- At t=2.5, use the second: 4+2(1.5)=$7.
- The extra rate applies only to time beyond the first hour.
Diagnose an error
A student uses both branches at a boundary and reports two outputs.
Compare your reasoning
A student uses both branches at a boundary and reports two outputs.
- Check the inequality symbols to determine the included branch.
- A valid function must assign one output at each allowed input; inconsistent overlapping conditions need repair.
Independent practice
Submit your answer in the interactive lesson to unlock the worked solution. Type your reasoning or build it with clickable tiles.
Practice 1
For f(x)=−x if x<0 and x if x≥0, find f(−4).
Solution locked until submission.
Practice 2
Use the same function to find f(0) and f(5).
Solution locked until submission.
Practice 3
A distance-from-home graph is horizontal at 6 km from t=2 to t=4. What does it say?
Solution locked until submission.
Practice 4
A charge is $3 up to 2 kg and $3+1.5(w−2) above 2 kg. Find the charge for 4 kg.
Solution locked until submission.
Connect and reflect
Reading conditions is part of the mathematics. At each boundary, test the actual value separately from nearby values.
Original Cookmath explanations and exercises. Scope reference: IM v.360 Algebra 1 — scope reference. Cookmath units are smaller study groups, not publisher chapter counts.