Practice free
Unit 5 · Functions

Evaluate piecewise-defined functions

Grade 9 (Algebra 1) · Q. Piecewise-defined functions · 203 practice questions

How this works

First decide which piece the input belongs to by checking the conditions, then use only that rule.

f(x) = {2x + 1 if x < 3; x − 4 if x ≥ 3}. Find f(3).

First piece: is 3 < 3?
3 < 3 is false
Second piece: is 3 ≥ 3?
3 ≥ 3 is true
Use the second rule
3 − 4 = −1

Answer: -1

Watch out: Using the first rule: 2 × 3 + 1 = 7. 3 is not less than 3, so the second rule applies: 3 − 4 = −1.

Try it

1. f(x) = {3x + 5 if x < 2; x + 3 if x ≥ 2}. Find f(2).

2. f(x) = {4x + 3 if x < 1; 4x + 1 if x ≥ 1}. Find f(-3).

3. f(x) = {4x + 2 if x < 3; 4x + 0 if x ≥ 3}. Find f(-1).

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

Ask your child to explain their thinking out loud. Guide them to identify the key math operation and review the steps together.

More in Q. Piecewise-defined functions