Section 6.3 Injections, Surjections, and Bijections
Beginning Activity Beginning Activity 1: Functions with Finite Domains
LetFor every
That is, every element of is an input for the function This could also be stated as follows: For each there exists a such thatFor a given
there is exactly one such that
|
|
|
1.
Which of these functions satisfy the following property for a function
For allif then
2.
Which of these functions satisfy the following property for a function
For allif then
3.
Determine the range of each of these functions.
4.
Which of these functions have their range equal to their codomain?
5.
Which of the these functions satisfy the following property for a function
For allin the codomain of there exists an such that
Beginning Activity Beginning Activity 2: Statements Involving Functions
Let1.
Consider the following statement:
For allif then
(a)
Write the contrapositive of this conditional statement.
(b)
Write the negation of this conditional statement.
2.
Now consider the statement:
For allWrite the negation of this statement.there exists an such that
3.
Let
- Propostion 1
For all
if then- Proof
-
We let
and we assume that and will prove that Since we know that(Now prove that in this situation,
)
- Proposition 2
For all
there exists an such that- Proof
-
We let
We will prove that there exists an such that by constructing such an in In order for this to happen, we need(Now solve the equation for
and then show that for this real number )
Subsection Injections
In previous sections and in Beginning Activity 1, we have seen examples of functions for which there exist different inputs that produce the same output. Using more formal notation, this means that there are functionsDefinition.
Let
for allWhenif then
Let .
“The function
For all
if then orFor all
if then
“The function
There exist
such that and
Progress Check 6.16. Working with the Definition of an Injection.
Now that we have defined what it means for a function to be an injection, we can see that in Exercise 3 of Beginning Actiivty 2, we proved that the function
(a)
(b)
(c)
(d)
(e)
The functions
Subsection Surjections
In previous sections and in Beginning Activity 1, we have seen that there exist functionsDefinition.
Let
for everyWhenthere exists an such that
Let .
“The function
orFor every
there exists an such that
“The function
orThere exists a
such that for all
Definition.
A bijection is a function that is both an injection and a surjection. If the function
Progress Check 6.17. Working with the Definition of a Surjection.
Now that we have defined what it means for a function to be a surjection, we can see that in Exercise 3 of Beginning Activity 2, we proved that the function
(a)
(b)
(c)
(d)
The functions
Subsection The Importance of the Domain and Codomain
The functions in the next two examples will illustrate why the domain and the codomain of a function are just as important as the rule defining the outputs of a function when we need to determine if the function is a surjection.Example 6.18. A Function that Is Neither an Injection nor a Surjection.
Let
This is enough to prove that the function
Since
Example 6.19. 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 Example 6.18 and Example 6.19, 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 depends not only on the formula that defines the output of the function but also on the domain and codomain of the function.Example 6.20. 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 Example 6.18 and Example 6.19 are not injections but the function in Example 6.20 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.Progress Check 6.21. The Importance of the Domain and Codomain.
Let
by for each and
Determine if each of these functions is an injection or a surjection. Justify your conclusions.by for each
Note: Before writing proofs, it might be helpful to draw the graph of
The function
The function
Subsection Working with a Function of Two Variables
It takes time and practice to become efficient at working with the formal definitions of injection and surjection. As we have seen, all parts of a function are important (the domain, the codomain, and the rule for determining outputs). This is especially true for functions of two variables. For example, we defineProgress Check 6.22. A Function of Two Variables.
Let
Note: Be careful! One major difference between this function and the previous example is that for the function
(a)
Notice that the ordered pair
There are several ordered pairs
(b)
Let
For each
(c)
Is the function
Part (1) implies that the function
Exercises Exercises
1.
Draw an arrow diagram that
(a)
represents a function that is an injection but is not a surjection.
(b)
represents a function that is an injection and is a surjection.
(c)
represents a function that is not an injection and is not a surjection.
(d)
represents a function that is not an injection but is a surjection.
(e)
represents a function that is not a bijection.
2.
We know
(a)
Notice that
(b)
(c)
Notice that
3.
For each of the following functions, determine if the function is an injection and determine if the function is a surjection. Justify all conclusions.
(a)
The function
Hence,
(b)
The proof that
(c)
(d)
(e)
(f)
Note:
(g)
(h)
Since
This can be used to prove that
(i)
4.
For each of the following functions, determine if the function is a bijection. Justify all conclusions.
(a)
Let
(b)
The proof that
(c)
(d)
5.
Let
6.
Let
7.
In Beginning Activity 2 from Section 6.1, we introduced the birthday function. Is the birthday function an injection? Is it a surjection? Justify your conclusions.
The birthday function is not an injection since there are two different people with the same birthday. The birthday function is a surjection since for each day of the year, there is a person that was born on that day.
8.
Complete the following. Justify your conclusions.
(a)
Let
(b)
Let
9.
Complete the following. Justify your conclusions.
(a)
Let
The function
Since this equation is an equality of ordered pairs, we see that
The first equation implies that
and we have shown that if
Now, to determine if
That is, we need
Solving this system for
Since
This proves that for all
(b)
Let
The proof that the function
10.
Let
11.
Let
12.
Let
13.
Let
for every
(a)
Is the function
(b)
If
(c)
Under what condition(s) is the function
14.
Define
Is the function
Suggestions: Start by calculating several outputs for the function before you attempt to write a proof. In exploring whether or not the function is an injection, it might be a good idea to use cases based on whether the inputs are even or odd. In exploring whether
15.
Let
Is the function
16.
Let
For each
(a)
Is the function
(b)
Is the function
17. Evaluation of Proofs.
See the instructions for Exercise 19 from Section 3.1.
(a)
- Proposition
Propostion: The function
defined by is an injection.- Proof
-
For each
and in if thenWe will use systems of equations to prove that
andSince
we see thatSo
Therefore, we have proved that the function is an injection.
(b)
- Proposition
The function
defined by is a surjection.- Proof
-
We need to find an ordered pair such that
for each in That is, we need orTreating these two equations as a system of equations and solving for
and we find thatHence,
and are real numbers, andTherefore, we have proved that for every
there exists an such that This proves that the function is a surjection.
Activity 36. Piecewise Defined Functions.
We often say that a function is a piecewise defined function if it has different rules for determining the output for different parts of its domain. For example, we can define a function
(a)
Sketch a graph of the function
(b)
For each of the following functions, determine if the function is an injection and determine if the function is a surjection. Justify all conclusions.
(i)
(ii)
Activity 37. Functions Whose Domain is .
Let
(a)
Define
This is the determinant function introduced in Exercise 9 from Section 6.2. Is the determinant function an injection? Is the determinant function a surjection? Justify your conclusions.
(b)
Define
This is the transpose function introduced in Exercise 10 from Section 6.2. Is the transpose function an injection? Is the transpose function a surjection? Justify your conclusions.
(c)
Define
Is the function