How to find the domain of a composite function
When we plug one function into another, the input has to make it through both steps. Sometimes the expression simplifies enough to hide a restriction, so we’ll keep track of the inputs as we go.
Check both functions in order
In , start with an input for the inside function . Then check that the output is an allowed input for the outside function . The composite includes only the inputs that pass both checks.
Example with a square root inside
Let and . The inside function requires , so . The outside function is a polynomial, so it accepts every real output from .
The rule is the simplified expression on the allowed domain. At , the square root is zero and the composite is . Values below still cannot enter , so the domain is .
Example with restrictions in both denominators
Let and . The inside denominator requires . The outside denominator requires , so find the input that would make .
We can also see both restrictions by writing out the composite. Multiply the numerator and denominator of the complex fraction by . That step uses the condition .
| Input | Why it’s excluded |
|---|---|
| The inside denominator is zero. | |
| The inside output makes the outside denominator zero. |
The composite has all real inputs except and . The simplified formula would give zero at , but there is no value of to put into .
Try it yourself
Let the inside function be 1/x and the outside function be 1/x as well. What is their composition, and is zero in its domain?
Show solutionHide solution
For any nonzero input, taking the reciprocal twice gives back x. At zero, the very first reciprocal is undefined. The composition equals x for every real x except zero.
If you’re deciding which expression goes inside the other, review how to build a composite function.