5.3 Composition of Functions
Objectives:
-
•
Define the composition of two functions
-
•
Connect our understanding of inverse functions with composition of functions
5.3.1 Connection with Inverse Functions
Example 5.3.1.
The function defined by seems like it is an invertible function. Is the function injective? Is it surjective? Explain why.
Given our discoveries from the previous sections, it seems like we need functions to be injective and surjective in order for them to be invertible. Are we missing something? How should we reconcile this with the fact that the inverse of is widely considered to be ?
What we are describing here can be summarized by the following theorem:
Theorem 5.3.2.
Let and let be the range of . Then the function given by for all is a surjective function.
(Theorem 5.3.2, part 2) If is also an injective function, then is a bijective function.
We are now ready to begin proving that every bijective function has an inverse. However, we cannot go too quickly - while we have given some good descriptions of inverse functions, we have not defined an inverse function. We need a solid definition of an inverse function in order to ensure we have made a rigorous connection between bijective and inverse functions.
To do this, we formalize the notion we made in the previous section:
If we know that , then we should be able to plug in for in the equation . This would yield that
Similarly, if we know that , then we should be able to plug in for in the equation and get that
5.3.2 Defining Function Composition
What does it mean to take a function of a function? We have heard of this before: it is called the composition of functions.
Definition 5.3.3.
If and are functions, we define (LaTeX circ) via . The function is called the composition of and .
Example 5.3.4.
For the functions and defined below, determine formulas for the requested compositions of functions.
-
(a)
Blank space for you to write your work.
and ; and
-
(b)
Blank space for you to write your work.
and ; and
Note that the sets for domains and codomains of these functions are not all assumed to be the same. This is crucial, as we saw in the example: a function may not be bijective if we are not careful about our domains and codomains.
However, the codomain of the inside function must line up with the domain of the outside function . We can see why: the outputs of becomes the inputs of when composing with .
Example 5.3.5.
Let and define and via
Draw a function diagram for each of the functions below and identify the range.
(a)
(b)
Example 5.3.6.
Give examples of functions and that satisfy the given conditions.
-
(a)
Blank space for you to write your work.
is surjective, but is not surjective.
-
(b)
Blank space for you to write your work.
is surjective, but is not surjective.
-
(c)
Blank space for you to write your work.
is injective, but is not injective.
-
(d)
Blank space for you to write your work.
is injective, but is not injective.
5.3.3 Proving with Compositions
Now that we have explored compositions with injective and surjective functions, we are ready to prove statements involving these two concepts.
Theorem 5.3.7.
If and are both surjective functions, then is also surjective.
Theorem 5.3.8.
If and are both injective functions, then is also injective.
For a set , the identity function is defined as the function where, for , . That is, this function returns the input value as the output value with no changes.
Example 5.3.9.
Let be a function. Prove that .
Example 5.3.10.
Prove that .