Grade 12 / Precalculus
Function composition
Function composition
Concept
A composition feeds the output of one function into another. In f(g(x)), g acts first and f acts on its result. Order generally matters, and the inner output must lie in the outer function’s domain.
Method
Identify the inner function, evaluate or substitute its expression, then apply the outer rule to that result. Keep parentheses around the substituted expression and compare reverse order rather than assuming it agrees.
Worked example
Let f(x)=2x+1 and g(x)=x². Find f(g(3)). g(3)=9, then f(9)=19. Final answer: 19.
Second application
Let f(x)=2x+1 and g(x)=x². Find g(f(3)). f(3)=7, then g(7)=49. Final answer: 49.
Common mistake
f(g(x)) is not a product f(x)g(x). Do not apply the outer function first, and check any division or square-root restrictions when composing domains.
Investigation
Use f(x)=2x+1 and g(x)=x². Build a two-step arrow diagram in each order and compare the outcomes for several inputs.
Worked practice 1: Let f(x)=2x+1 and g(x)=x². Find f(g(3)).
g(3)=9, then f(9)=19. Final answer: 19.
Answer: 19Worked practice 2: Let f(x)=2x+1 and g(x)=x². Find g(f(3)).
f(3)=7, then g(7)=49. Final answer: 49.
Answer: 49Original companion teaching material. This topic guide does not reproduce a publisher’s textbook or confirm its edition-specific sequence.