Worked example
Let f(x) = 3x − 4 and g(x) = x2. Find f(g(−2)).
Answer & why
Answer: 8
First g(−2) = 4, then f(4) = 3 × 4 − 4 = 8.
Grade 11 · Math
Evaluate an inner function and use its result as the input of an outer function.
8 generated examples + worked example

Answer: 8
First g(−2) = 4, then f(4) = 3 × 4 − 4 = 8.
8 reproducible examples from this math generator. Choose New examples for another set.
Question 1
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 14
First g(-2) = (-2)2 = 4. Then f(4) = 3 × 4 + (2) = 14.
Question 2
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 84
First g(-4) = (-4)2 = 16. Then f(16) = 5 × 16 + (4) = 84.
Question 3
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 1
First g(-1) = (-1)2 = 1. Then f(1) = 2 × 1 + (-1) = 1.
Question 4
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 0
First g(-1) = (-1)2 = 1. Then f(1) = 5 × 1 + (-5) = 0.
Question 5
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 4
First g(0) = (0)2 = 0. Then f(0) = 3 × 0 + (4) = 4.
Question 6
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 36
First g(4) = (4)2 = 16. Then f(16) = 2 × 16 + (4) = 36.
Question 7
Evaluate the inner function first; use its output as the input of the outer function.
Answer: -5
First g(0) = (0)2 = 0. Then f(0) = 4 × 0 + (-5) = -5.
Question 8
Evaluate the inner function first; use its output as the input of the outer function.
Answer: 94
First g(-4) = (-4)2 = 16. Then f(16) = 6 × 16 + (-2) = 94.