ACT Math · Function notation and transformations

If f(x) = x² and g(x) = f(x-3) + 2, what is g(5)?

If f(x)=x2f(x) = x^2 and g(x)=f(x−3)+2g(x) = f(x-3) + 2, what is g(5)g(5)?

Answer and explanation

Answer: D: 6

Substitute into the definition: g(5)=f(5−3)+2=f(2)+2=22+2=6g(5)=f(5-3)+2=f(2)+2=2^2+2=6, choice D. Choice A (44) forgets the outer +2+2 and stops at f(2)=4f(2)=4. Choice C (2727) ignores the horizontal shift and computes f(5)+2=25+2=27f(5)+2=25+2=27. Choice B (6666) shifts in the wrong direction, using f(5+3)+2=64+2=66f(5+3)+2=64+2=66. Remember that f(x−3)f(x-3) means you subtract 3 from the input before squaring, and any number added outside the function is added at the very end, after the squaring is done. Writing out each step this way makes the order of operations clear.

More Function notation and transformations questions

All Function notation and transformations questions

Learn the method behind questions like this one

The ACT Math course teaches each tested skill through lessons, step-by-step solutions to sample problems, the complete study guide and full-length practice tests.