STAGE ALG 3.1 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS
Function Composition
Useful preparation: Completing the Square
Goal: Follow two rules in their specified order.
Before you begin: Completing the Square
Understand the idea
A function assigns one output to each allowed input. Composition feeds one function’s output into another. The inside notation describes the first step.
Choose and carry out a method
Evaluate the inner expression fully, then use that result as the outer input. For symbolic composition, replace every occurrence of the outer variable with parentheses containing the inner rule.
Check the reasoning
Track domain restrictions through both steps. Even if the original input is allowed by the inner function, its output must also be allowed by the outer function.
Let f(x)=2x+3 and g(x)=x²-6. Find f(g(2)).
- Evaluate the inner function first; order matters.
- g(2)=4-6=-2; f(-2)=2(-2)+3.
- The result is -1. Reversing the two steps would compute a different composition.
-1
Let f(x)=2x+4 and g(x)=x²-7. Find f(g(3)).
- Evaluate the inner function first; order matters.
- g(3)=9-7=2; f(2)=2(2)+4.
- The result is 8. Reversing the two steps would compute a different composition.
8
Common pitfalls
Possible mix-up: f(g(x)) means f(x) times g(x).
Composition passes an output into a new rule.
Possible mix-up: Reversing the rules always gives the same output.
Check both orders; composition usually is not commutative.
Explain it to yourself
Invent two simple rules whose order changes the answer.
Preview the eight practice prompts
- Let f(x)=2x+6 and g(x)=x²-9. Find f(g(5)).
- Let f(x)=2x+7 and g(x)=x²-5. Find f(g(6)).
- Let f(x)=2x+8 and g(x)=x²-6. Find f(g(7)).
- Let f(x)=2x+9 and g(x)=x²-7. Find f(g(8)).
- Let f(x)=2x+10 and g(x)=x²-8. Find f(g(9)).
- Let f(x)=2x+11 and g(x)=x²-9. Find f(g(10)).
- A two-step device first maps input x to x²-5, then doubles that output and adds 12. What final output results from input 11? New context
- A two-step device first maps input x to x²-6, then doubles that output and adds 13. What final output results from input 12? New context

