Composing means using the output of one function as the input of another. In the inner function acts first, and its whole formula goes in wherever has an .
| Step | On , , find | |
|---|---|---|
| 1 | Identify the inner function. In the function on the right acts first. | inner , outer |
| 2 | Substitute the whole inner formula into the outer one. Replace every in with , keeping the brackets.Substitution ↗ | |
| 3 | Expand and simplify. Expand the brackets only after the substitution. | |
| 4 | Find the domain. Use the domain of a composition: must be in the domain of , and in the domain of . | both are polynomials: |
| 5 | Check at one point. Compare the formula with the inside-out value at an easy input. | , ; ✓ |