Domain of a Composition
Learning Objectives
- Find the domain of a composite function
- Decompose a composite function
A General Note: Domain of a Composite Function
The domain of a composite function is the set of those inputs in the domain of for which is in the domain of .How To: Given a function composition , determine its domain.
- Find the domain of g.
- Find the domain of f.
- Find those inputs, x, in the domain of g for which g(x) is in the domain of f. That is, exclude those inputs, x, from the domain of g for which g(x) is not in the domain of f. The resulting set is the domain of .
Example: Finding the Domain of a Composite Function
Find the domain of
Answer: The domain of consists of all real numbers except , since that input value would cause us to divide by 0. Likewise, the domain of consists of all real numbers except 1. So we need to exclude from the domain of that value of for which .
So the domain of is the set of all real numbers except and . This means that
We can write this in interval notation as
Example: Finding the Domain of a Composite Function Involving Radicals
Find the domain of
Answer: Because we cannot take the square root of a negative number, the domain of is . Now we check the domain of the composite function
To determine the domain of this function we need to ensure that . As long as we define x values for which is positive, we will still have a positive output when we add , so the domain of the composition is found by solving . The domain of .
Analysis of the Solution
This example shows that the domain of can contain values that are not in the domain of , though they must be in the domain of . You cannot rely on an algorithm to find the domain of a composite function. Rather, you will need to first ask yourself "what is the domain of the inner function", and determine whether this set will comply with the domain restrictions of the outer function. In this case, the set ensures a positive output for the inner function, which will in turn ensure a positive output for the composite function.Try It
Find the domain of
Answer:
Try it now
We can use graphs to visualize the domain that results from a composition of two functions. Graph the two functions below with Desmos.
Decompose a Composite Function
In some cases, it is necessary to decompose a complicated function. In other words, we can write it as a composition of two simpler functions. There may be more than one way to decompose a composite function, so we may choose the decomposition that appears to be most expedient.Example: Decomposing a Function
Write as the composition of two functions.Answer: We are looking for two functions, and , so . To do this, we look for a function inside a function in the formula for . As one possibility, we might notice that the expression is the inside of the square root. We could then decompose the function as
We can check our answer by recomposing the functions.
Try It
Write as the composition of two functions.Answer: Possible answer: