If f(x) = 3x + 5 and g(x) = x - 2, what is f(g(4))?
- A11Correct
- B8
- C21
- D17
Why A is right
Evaluate a composition from the inside out: first find g(4), then use that output as the input to f. g(4) = 4 - 2 = 2. Then f(g(4)) = f(2) = 3(2) + 5 = 6 + 5 = 11, so the answer is (A).
Why the other 3 choices miss
- B
- Gets g(4) wrong by subtracting 3 instead of 2. That gives g(4) = 1, so f(1) = 3(1) + 5 = 8. The correct value is g(4) = 4 - 2 = 2.
- C
- Works out f(4) = 17 and then adds 4 instead of applying g first. This uses the wrong order and the wrong operation; g must act on 4 before f is applied.
- D
- Finds f(4) = 3(4) + 5 = 17 and ignores g completely. The input to f has to be g(4) = 2, not 4.