Function composition chains two functions together: the output of one becomes the input of the other. This operation is central to differential calculus because the chain rule tells you how to differentiate composite functions. Nearly every non-trivial function you will differentiate is a composition of simpler ones.
| Notation | Meaning |
|---|---|
| : apply first, then | |
| Domain of | All in Dom() such that Dom() |
Building a Composition
Let and . We can define a new function by applying first, then :
To obtain , we substituted in place of in the expression for .
The General Definition
Suppose and are two given functions. Starting with in the domain of , we apply to get , then apply to to get .
The new function that takes and assigns is called the composition of and , denoted . The symbol is read " circle ."
This composition is defined only when is in the domain of , otherwise, we cannot use as the input for .
Order Matters
In general, is not the same as . For example, if and :
but
These are clearly different functions with different domains.
If and , find and .
Solution
. . These are different functions.Decomposing Functions
It is equally important to recognize a given function as a composition of simpler pieces. For example, is where and . Identifying the inner and outer functions is the first step in applying the chain rule.