5.2 Injective and Surjective Functions
Objectives:
-
•
Describe relationships between domains and codomains of functions
-
•
Relate the definitions of injectivity and surjectivity to whether a function has an inverse
5.2.1 Motivation: Inverse Functions
Example 5.2.1.
We investigate: what functions have inverses?
For each of the following functions, do the following:
-
•
Graph the function.
-
•
Reflect the graph of the function across the line .
-
•
Give a formula for the reflected graph of the function.
-
(a)
Blank space for you to write your work.
,
-
(b)
Blank space for you to write your work.
,
-
(c)
Blank space for you to write your work.
,
In grade school we are typically given two ways to express the inverse of a function:
-
1.
If a function rule is given by , then the rule of the inverse function is given by . (For example, for the function , the point is on the function. Similarly, the inverse function has the point since .)
-
2.
If the graph of a function is given, then the graph of the inverse function is the same graph when reflected across the line . This yields the exponential and logarithmic graphs, as you gave in part (a) of the last example.
Notice that parts (b) and (c) are strange when reflected across the line .
-
•
The reflected graph in part (b) has a gap in the domain because the original function has a gap in the codomain. We say that the original function of part (b) is not surjective because its range is not equal to its codomain.
Original function
Reflected function
-
•
The reflected graph in part (b) fails the vertical line test (and hence is not a function) because the original function fails the horizontal line test. We say the original function of part (c) is not injective because there is more than one input corresponding to the same output.
Original function
Reflected function
5.2.2 Powerful Functions
This motivates the following definitions:
Definition 5.2.2.
Let be a function.
-
(a)
The function is said to be injective (or one-to-one) if for all , there is a unique such that .
-
(b)
The function is said to be surjective (or onto) if for all , there exists such that .
-
(c)
If is both injective and surjective, we say that is bijective.
Example 5.2.3.
Let be a function. Fill in the blank with the appropriate word.
-
(a)
The function is if and only if every horizontal line hits the graph of at most once.
-
(b)
The function is if and only if every horizontal line hits the graph of at least once.
Example 5.2.4.
Without using the examples already provided, give an example of a function that is injective but not surjective. Give the formula and sketch its graph.
Without using the examples already provided, give an example of a function that is surjective but not injective. Give the formula and sketch its graph.
Without using the examples already provided, give an example of a function that is neither injective nor surjective. Give the formula and sketch its graph.
5.2.3 Proving with Injective and Surjective Functions
Example 5.2.5.
Using the skeleton version of the proof below, complete the proof of the statement: the function defined by is injective.
A Skeleton Version of a Function Being Injective.
| Guidelines | Example |
|---|---|
| Give the definition of . | Let be defined by the rule . |
| Let and suppose . | Let and be arbitrary real numbers and assume . |
| (Recommended) State what you need to show in order to conclude that . | We want to show that - then at most one value of is mapped to each value in the range of . |
| Connect the two pieces: what you have () and what you need (). | ??? |
| Conclude that is injective. | Since is an arbitrary value in the range of and we have shown that any -value that maps to is equal to , we know that is injective as desired. |
Example 5.2.6.
A student looks at the skeleton proof that a function is injective and asks, “Wait, doesn’t this show that the function is surjective as well?” How would you respond that this proof does not necessarily show that is surjective?
Example 5.2.7.
Using the skeleton version of the proof below, complete the proof of the statement: the function defined by is surjective.
A Skeleton Version of a Function Being Surjective.
| Give the definition of . | Let be defined by the rule . |
|---|---|
| Let . | Let be an arbitrary element of . |
| (Recommended) State that you want to show that there exists some such that . | We want to show that there exists at least one such that - that is, we want to find an such that . |
| Connect the two pieces: what you have () and what you need (). | ??? |
| Conclude that is surjective. | Since is an arbitrary value in the codomain of and we have shown that there exists an -value that maps to , we know that is surjective as desired. |
Example 5.2.8.
Determine whether the function defined by is injective and/or surjective.