Grade 12 / Precalculus

Function composition

Function composition

01

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.

02

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.

03

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.

04

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.

05

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.

06

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: 19
Worked 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: 49

Original companion teaching material. This topic guide does not reproduce a publisher’s textbook or confirm its edition-specific sequence.