01 / 20

Piecewise
Functions

Master functions defined by multiple rules over different intervals: evaluate, graph, and solve with confidence on the ACT.

ACT Math

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?

Evaluation
Find \( f(a) \) by choosing the correct piece for the input value.
Graphing
Identify the correct graph: open vs. closed dots and segment shapes.
Domain/Range
Determine the overall domain and range from the combined pieces.

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

x y 0 1 2 3 4 5 6 1 2 3 4 5 6 7 8 \( x=3 \) \( 2x+1 \;(x<3) \) \( -x+10 \;(x \geq 3) \)

Continuous vs. Discontinuous

Continuous
The pieces connect at the boundary: left-hand value equals right-hand value. No gap or jump in the graph.
Discontinuous
The pieces do not connect at the boundary: the graph has a visible jump (a gap between the endpoints).

How to Evaluate \( f(a) \)

1
Read the input. Identify the value of \( a \) you need to evaluate.
2
Check each condition. Find which interval \( a \) belongs to by testing the inequalities left to right.
3
Use that formula. Substitute \( a \) into the matching piece's formula only.
4
Simplify. Compute the arithmetic and select the answer.

Example 1: Basic Evaluation

\( g(5) \)
Since \( 5 \geq 2 \), use the second piece:
\( g(5) = 5^2 + 1 = \) 26
\( g(-1) \)
Since \( -1 < 2 \), use the first piece:
\( g(-1) = 3(-1) - 4 = \) -7

Example 2: Boundary Value

\( h(1) \)
\( 1 \leq 1 \) is true, so use piece 1:
\( 1 + 5 = \) 6
\( h(3) \)
\( 1 < 3 < 4 \), so use piece 2:
\( 2(3)^2 = \) 18
\( h(4) \)
\( 4 \geq 4 \), so use piece 3:
\( h(4) = \) 10

Example 3: Graphing with Three Pieces

x y 0 1 2 3 4 5 -1 -2 1 2 3 4 5 \( -x+2 \;(x<1) \) \( 3 \;(1 \leq x \leq 3) \) \( x-1 \;(x>3) \)

Example 4: Solving for an Unknown

1
Right-hand value: Use piece 2 at \( x = 4 \): \( 4^2 - 3 = 13 \).
2
Left-hand value: Use piece 1 at \( x = 4 \): \( 2(4) + k = 8 + k \).
3
Set them equal: \( 8 + k = 13 \), so \( k = \) 5.

Finding Domain and Range

For the overall function, combine the intervals from all pieces:

Domain
Union of all conditions. If pieces cover \( x < 2 \) and \( x \geq 2 \), the domain is all real numbers.
Range
Find the range of each piece on its interval, then take the union. Don't forget to check boundary values.

Common Mistakes

Wrong Piece
Using the formula for \( x < 3 \) when the input is exactly \( x = 3 \). Check the inequality symbol carefully: \( < \) vs. \( \leq \).
Open vs. Closed Dot
Drawing a closed dot when the condition uses strict inequality (\( < \) or \( > \)). Strict = open; inclusive (\( \leq \) or \( \geq \)) = closed.
Plugging into All Pieces
Evaluating every formula and picking the "nicest" answer. Only one condition is true for each input: use only that piece.

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 \)?