ACT Math Medium
⏱ 15 min 📊 Medium ⭐ Premium

Piecewise and Step Functions

A piecewise function uses different formulas for different parts of its domain: To evaluate: check which condition x satisfies, then use that formula. Exa…

Before you read
Answer first — see what you already know.

If , what is ?

Check your answer
Answer:

A

Before you read
Answer first — see what you already know.

If , what is ?

Check your answer
Answer:

B

Theory

Piecewise Functions

A piecewise function uses different formulas for different parts of its domain:

f(x)={x2if x<02x+1if x0f(x) = \begin{cases} x^2 & \text{if } x < 0 \\ 2x + 1 & \text{if } x \geq 0 \end{cases}

-6-4-2246-6-4-2246
(0, 0)
Piece 1: f(x) = x for x < 0
-6-4-2246-6-4-2246
(0, 4)
Piece 2: f(x) = -x + 4 for x ≥ 0

To evaluate: check which condition xx satisfies, then use that formula.

Example: f(3)=(3)2=9f(-3) = (-3)^2 = 9 (use first piece since 3<0-3 < 0)
f(4)=2(4)+1=9f(4) = 2(4) + 1 = 9 (use second piece since 404 \geq 0)

Example 1

For the function above, find f(0)f(0).

000 \geq 0, so use the second piece

f(0)=2(0)+1=1f(0) = 2(0) + 1 = 1

f(0)=1f(0) = 1
Tip

ACT Pro Tip

On piecewise function questions, the most common mistake is using the wrong piece. Always check the inequality conditions carefully — pay attention to << vs \leq (open vs closed circle on the graph).

Ready to ace the SAT?

Try NovaMath free — AI tutoring, 115 lessons, 2,400+ exercises.

Try NovaMath Free