Piecewise
Functions
Master functions defined by multiple rules over different intervals: evaluate, graph, and solve with confidence on the ACT.
What Is a Piecewise Function?
A piecewise function is a function defined by different formulas on different parts of its domain. Instead of one rule for every input, the rule changes depending on which interval the input falls in.
Reading the Notation
Why Piecewise Functions on the ACT?
Formal Definition
Key rule: Every input \( x \) must belong to exactly one interval. The conditions must not overlap, or the function would give two outputs for one input.
Graphing a Piecewise Function
Continuous vs. Discontinuous
How to Evaluate \( f(a) \)
Example 1: Basic Evaluation
\( g(5) = 5^2 + 1 = \) 26
\( g(-1) = 3(-1) - 4 = \) -7
Example 2: Boundary Value
\( 1 + 5 = \) 6
\( 2(3)^2 = \) 18
\( h(4) = \) 10
Example 3: Graphing with Three Pieces
Example 4: Solving for an Unknown
Finding Domain and Range
For the overall function, combine the intervals from all pieces:
Common Mistakes
Quick Reference Table
| Concept | Key Detail | |
|---|---|---|
| Evaluation | Match input to correct interval | Substitute into that piece only |
| Open dot ○ | Strict inequality: \( < \) or \( > \) | Point is not on the graph |
| Closed dot ● | Inclusive: \( \leq \) or \( \geq \) | Point is on the graph |
| Continuity | Left value = Right value at boundary | Set pieces equal, solve for unknown |
| Domain | Union of all intervals | Check for gaps between pieces |
| Range | Union of each piece's range | Include/exclude boundary outputs |
Question 1 of 5
Given $$ f(x) = \begin{cases} x^2 & \text{if } x \leq 3 \\ 5x - 6 & \text{if } x > 3 \end{cases} $$ what is \( f(3) \)?
Question 2 of 5
$$ g(x) = \begin{cases} -2x + 8 & \text{if } x < 5 \\ 3 & \text{if } x \geq 5 \end{cases} $$ What is \( g(5) + g(2) \)?
Question 3 of 5
$$ h(x) = \begin{cases} 4x + c & \text{if } x < 2 \\ x^2 + 3 & \text{if } x \geq 2 \end{cases} $$ For what value of \( c \) is \( h \) continuous at \( x = 2 \)?
Question 4 of 5
Which graph feature indicates that a piecewise function uses a strict inequality (like \( x < 3 \)) at a boundary point?
Question 5 of 5
$$ f(x) = \begin{cases} |x| & \text{if } x < -1 \\ 2 & \text{if } -1 \leq x \leq 3 \\ x - 1 & \text{if } x > 3 \end{cases} $$ What is the range of \( f \)?