Practice free
Unit 1 · Functions and their graphs

Composition of functions

Grade 12 (Precalculus) · A. Function concepts · 30 practice questions

How this works

Work inside out: find g(−3) first, then put that number into f.

Two functions are given by f(x) = 2x + 7 and g(x) = x2 − 6. What is the value of f(g(−3))?

Square −3
−3 × (−3) = 9
g(−3)
9 − 6 = 3
f(3)
2 × 3 + 7 = 13

Answer: 13

Watch out: Doing f first: f(−3) = 1, then g(1) = −5. Work inside out: g(−3) = 3, then f(3) = 13.

Try it

1. Two functions are given by f(x) = 4x - 9 and g(x) = x² - 8. What is the value of f(g(3))?

2. Two functions are given by f(x) = -2x + 3 and g(x) = x² + 2. What is the value of f(g(0))?

3. Two functions are given by f(x) = -2x + 5 and g(x) = x² + 5. What is the value of f(g(4))?

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

A composition runs the inner rule first and then hands whatever comes out to the outer rule, so the order in which the two are written is the whole point. The inner rule at the given input works out as: 9 - 8 = 1, and passing that result to the outer rule gives 4 × 1 = 4, and then 4 - 9 = -5.

More in A. Function concepts