How to read Function composition
The left and right sides describe the same mathematical situation in different forms. Identify the unknown, attach each known value to the correct symbol, and preserve restrictions. Rebuild missing background in the precalculus subject guide, then use precalculus practice to retrieve the relationship without being told its name.
How to apply Function composition
- Name the unknown, and the unit the answer has to come out in.
- Match the symbols to your values. $g$ is applied first and $f$ second.
- Check the conditions before substituting. $x$ must lie in the domain of $g$ and $g(x)$ in the domain of $f$.
- Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate - The check that catches most precalculus slips.
Worked Function composition example
Use this mathematical example as a pattern, then rebuild it with different values:
How to verify a Function composition result
After using Function composition, repeat the calculation with units attached and test the result against a boundary case or a quick numerical estimate.
A common Function composition mistake
What goes wrong: Students run the functions in the order they are written and compute g(f(x)) by accident.
Why it fails: Composition is read from the inside out, and the two orders usually disagree. With f(x) = x² and g(x) = x + 1 at x = 2, f(g(2)) is 9 while g(f(2)) is 5.
Repair: Evaluate the inner function first, then feed its output to the outer one. Writing the inner value down as its own number before the second step makes the order impossible to confuse.
When Function composition applies
The chain breaks if g produces something f cannot accept. With f(x) = √x and g(x) = x − 5, the composition f(g(3)) asks for the square root of −2, so 3 is excluded from the domain even though both functions handle it fine on their own.
Questions about Function composition
Is f∘g the same as f times g?
No, and the small circle is what keeps them apart. The product multiplies two outputs, while the composition feeds one output into the other function, and they rarely agree on anything.
Is composition ever commutative?
Occasionally, but do not count on it. It holds when one function is the other's inverse, or in a case like f(x) = x + 1 and g(x) = x + 2, where both orders give x + 3.
How do I find the domain of a composition?
Keep only the inputs g accepts, then throw out any whose output f cannot take. Both restrictions apply, so the domain of the composition is usually smaller than the domain of g.
Where does this show up in calculus?
In the chain rule, which is the derivative of a composition. Spotting the inner and outer functions is exactly the skill that makes differentiating something like sin(3x² + 1) routine.
Change one input, predict whether the output should rise, fall, or stay fixed, and only then recalculate.