Section 7.2 Some Examples and Proofs
Many of us have probably heard in precalculus and calculus courses that a linear function is a bijection. We prove this in the following proposition, but notice how careful we are with stating the domain and codomain of the function.Proposition 7.1.
Let The function
Proof.
We let
To prove that
So we have proved that for all
To prove that
This proves that for each
Since we have proved that
Example 7.2. The Importance of the Domain and Codomain.
Each of the following functions will have the same rule for computing the outputs corresponding to a given input. However, they will have different domains or different codomains.
(a) A Function that Is Neither an Injection nor a Surjection.
Let
This is enough to prove that the function
Since
(b) A Function that Is Not an Injection but Is a Surjection.
Let
Is the function
To see if it is a surjection, we must determine if it is true that for every
One way to proceed is to work backward and solve the last equation (if possible) for
Now, since
This proves that
An Important Lesson. In Task 7.2.a and Task 7.2.b, the same mathematical formula was used to determine the outputs for the functions. However, one function was not a surjection and the other one was a surjection. This illustrates the important fact that whether a function is surjective not only depends on the formula that defines the output of the function but also on the domain and codomain of the function.
(c) A Function that Is an Injection but Is Not a Surjection.
Let
0 | 1 |
1 | 2 |
2 | 5 |
3 | 10 |
4 | 17 |
5 | 26 |
Notice that the codomain is
To prove that
But this is not possible since
The table of values suggests that different inputs produce different outputs, and hence that
Since
An Important Lesson. The functions in the three preceding examples all used the same formula to determine the outputs. The functions in Task 7.2.a and Task 7.2.b are not injections but the function in Task 7.2.c is an injection. This illustrates the important fact that whether a function is injective not only depends on the formula that defines the output of the function but also on the domain of the function.