Motivating example
Consider the functions
In trying to set up the composite function , we run into a problem if we try to substitute .
The first step in getting works as intended but trying to substitute into does not work as is not within the domain of .
This example gives us an insight into the condition for the existence of the composite function : that the range of must be a subset of the domain of .
The composite function exists if .
Visualization
Examples
Consider the functions
Step 1:
Find
Step 1:
Find