One output becomes the next input
Follow the value through two function machines.
Compositiong ∘ f
First stepf(2) = 2 × 2 + 1 = 5
→Second stepg(5) = 5 + 4 = 9
Order matters
Same functions, different journey
Starting with 2, g(f(x)) gives 9 while f(g(x)) gives 13.
Check your understanding
Predict the final output
Start with x = −2 and apply f, then g. What comes out?