Unit 1 · Function review & piecewise
Piecewise functions
A piecewise function uses different formulas on different parts of the number line. To evaluate one, first ask: which condition does my input satisfy? Then use that piece, and only that piece.
Example 1
Piecewise f(−2): pick the piece first, then substitute
−2 is less than 1, so use the first piece
Substitute −2 into that piece
Simplify
Check: −2 < 1, so f(−2) = 2(−2) + 1 = −3 ✓
Watch the breakpoint. An input equal to it goes to the piece whose condition uses or . On a graph, that end gets a filled dot and the other piece ends in an open circle.
Example 2
f(1) at the breakpoint: only one piece includes x = 1
1 is not less than 1, but 1 ≥ 1: use the second piece
Substitute 1 into that piece
Simplify
Check: x = 1 belongs to x ≥ 1 only; f(1) = −2 ✓
Practice
10 practice problems with hints, then a mastery check of 8 questions, right on this page.