Composition of continuous functions theorem
If two functions f:X→Y and g:Y→Z are continuous, then their composition g∘f:X→Z is also continuous.
This theorem states that if you have two continuous functions, f and g, where:
- f:X→Y
- g:Y→Z
then the composite function, which is the result of applying f followed by g, i.e., g∘f, will also be continuous.
In simpler terms, applying f first and then g produces a new function that is still continuous.
A practical example
Let's look at an example where we compose the functions g∘f(x), with f being the inner function and g the outer one.
f(x)=x2 on R
g(y)=y2 on R
Both functions are continuous on R.
We want to determine if the composition g∘f(x) is continuous over all of R.
Let’s consider the open interval (−2,2)⊂R as an example.
The image of the interval (−2,2) under f is the interval (0,4).
The output of f becomes the input for g, meaning the codomain of f serves as the domain of g.
The image of (0,4) under g is (0,2), another open interval.
Therefore, the preimage of the open interval (−2,2) under the composition g∘f(x)=x22 is the open interval (0,2).
Since the preimage of an open set is open, the composition g∘f(x)=x22 meets the condition for continuity on the interval (−2,2).
By applying this reasoning to any open set in R, the preimage of the composition g∘f(x) is always open.
This shows that the composition of these functions is continuous.
Proof
Now, let’s formally prove the continuity of the composition g∘f(x).
- f:X→Y
- g:Y→Z
Take an open set U in Z (which is the range of g). The preimage of U under g∘f (i.e., (g∘f)−1(U)) must be open in X.
By the continuity of g, the preimage of U under g is open in Y.
Then, by the continuity of f, the preimage of this open set under f is open in X.
As a result, (g∘f)−1(U) is open in X, which proves that g∘f is continuous.
This concludes the proof, as a function is continuous if the preimage of any open set is also open.