How can I find the domain of a composition of functions?
Quick answer
For a composition (f∘g)(x), check two things: x must be allowed in the inner function g, and g(x) must be an allowed input to the outer function f. Find each restriction, then combine them and exclude any input that fails either check. Keep restrictions from the original functions even if they disappear when you simplify the composition. [S1]
The question, the details, the next step.
A practical checklist
Identify which function is inner and which is outer.
List the x-values that make the inner function undefined.
Find which outputs the outer function does not accept.
Solve for x-values where the inner output equals a forbidden outer input.
Combine exclusions and verify them against the original composition.
Write the final domain clearly, such as ℝ\{a, b} when appropriate.
A few more useful answers
Do I check the outer function’s domain using x or g(x)?
Use g(x), because that is the input passed to the outer function. Solve for x-values where g(x) equals an input the outer function does not allow.
Can simplifying a composition change its domain?
The simplified expression may look defined at an input where the original composition was not. Keep all restrictions found from the original inner and outer functions, even if simplification hides one.
What if neither function has any restrictions?
Then every real x passes both checks, so the composition’s domain is all real numbers. The two-stage check still provides a way to justify that result.
Sources
References used for this guide.
- [S1] OpenStax Precalculus 2e: Composition of Functions openstax.org · Checked
