Composition
Composition feeds one function's output into another; an inverse reverses that mapping, so f⁻¹(f(x))=x on a one-to-one domain.
Before you begin
Evaluate a function at an expression and check its domain.
What you will learn
- Interpret composition as successive processes
- Compute both orders
- Restrict the inner input and outer output compatibility
- Model a sequence of operations
Understand the idea
Composition feeds the output of one function into another: (f∘g)(x)=f(g(x)). Order matters because each rule receives a different input. The domain includes only x allowed by g whose output g(x) is also allowed by f. This second restriction can be missed when formulas are simplified too quickly.
Worked example 1
For f(x)=x² and g(x)=x+3, find f(g(x)) and g(f(x)).
- Apply g first for f(g(x)): square x+3 to get (x+3)².
- Apply f first for g(f(x)): add 3 to x², giving x²+3.
- At x=1 the outputs are 16 and 4, showing the order differs.
Worked example 2
Let f(u)=√u and g(x)=4−x². Find their composition and domain.
- The composition is √(4−x²).
- The inner function accepts all real x, but its output must be nonnegative for f.
- Solve 4−x²≥0 to get −2≤x≤2.
Diagnose an error
A student says f(g(x)) means f(x)g(x). Correct the meaning.
Compare your reasoning
A student says f(g(x)) means f(x)g(x). Correct the meaning.
- Composition uses g(x) as an input to f; multiplication multiplies two outputs.
- For f(x)=x²,g(x)=x+1, composition is (x+1)² but the product is x²(x+1).
Independent practice
Submit your answer in the interactive lesson to unlock the worked solution. Type your reasoning or build it with clickable tiles.
Practice 1
f(x)=2x−1 and g(x)=3x+4. Find f(g(2)).
Solution locked until submission.
Practice 2
For f(u)=1/u and g(x)=x−5, find f(g(x)) and its restriction.
Solution locked until submission.
Practice 3
Is f∘g always equal to g∘f? Give a counterexample.
Solution locked until submission.
Practice 4
A price is discounted 20%, then charged 5% tax. Express the final price for original price p.
Solution locked until submission.
Connect and reflect
Name the inner and outer functions and check compatibility at the handoff.
Original Cookmath explanations and exercises. Scope reference: IM v.360 Developing · Functions and graphs — scope reference. Cookmath units are smaller study groups, not publisher chapter counts.