We distinguish two special families of functions: one-to-one functions and onto functions. We shall discuss one-to-one functions in this section. Onto functions were introduced in section 5.2 and will be developed more in section 5.4.
Recall that under a function each value in the domain has a unique image in the range. For a one-to-one function, we add the requirement that each image in the range has a unique pre-image in the domain.
For domains with a small number of elements, one can use inspection on the images to determine if the function is one-to-one. This becomes impossible if the domain contains a larger number of elements. In practice, it is easier to use the contrapositive of the definition to test whether a function is one-to-one: \[f(x_1) = f(x_2) \Rightarrow x_1 = x_2\]
Prove the function \( f : <\mathbb
Solution
Assume \(f(x_1)=f(x_2)\), which means \(3x_1+2 = 3x_2+2.\)
Thus \(3x_1=3x_2\)
so \(x_1=x_2\).
We have shown if \(f(x_1)=f(x_2)\) then \(x_1=x_2\). Therefore \(f\) is one-to-one, by definition of one-to-one.
Prove the function \( g : <\mathbb
Determine whether the function \( h : <[2,\infty)>\to<\mathbb
Interestingly, sometimes we can use calculus to determine if a real function is one-to-one. A real function \(f\) is increasing if \[x_1 < x_2 \Rightarrow f(x_1) < f(x_2),\] and decreasing if \[x_1 < x_2 \Rightarrow f(x_1) >f(x_2).\] Obviously, both increasing and decreasing functions are one-to-one. From calculus, we know that
Therefore, if the derivative of a function is always positive, or always negative, then the function must be one-to-one.
The function \(p : <\mathbb>\to<\mathbb>\) defined by \[p(x) = 2x^3-5\] is one-to-one, because \(p'(x)=6x^2>0\) for any \(x\in\mathbb^*\). Likewise, the function \(q:<\big(-\frac<\pi>,\frac<\pi>\big)>\to<\mathbb>\) defined by \[q(x) = \tan x\] is also one-to-one, because \(q'(x) = \sec^2x > 0\) for any \(x\in \big(-\frac<\pi>,\frac<\pi>\big)\).
Use both methods to show that the function \(k:<(0,\infty)>\to<\mathbb
To prove \(f:A \rightarrow B\) is NOT one-to-one:
Prove the function \( h : <\mathbb
Solution
Consider \(a=3\) and \(b=-3\). Clearly \(a \neq b\). However, \(h(3)=9\) and \(h(-3)=9\) so \(h(a)=h(b).\)
we have shown there is a case where \(a \neq b\) and \(h(a)=h(b)\), therefore \(h\) is NOT one-to-one.
The function \( f : <\mathbb
Let \(A\) be the set of all married individuals from a monogamous community who are neither divorced nor widowed. Then the function \(s:\to\) defined by \[s(x) = \mbox < spouse of >x\] is one-to-one. The reason is, it is impossible to have \(x_1\neq x_2\) and yet \(s(x_1)=s(x_2)\).
Which of the following functions are one-to-one? Explain.
Solution
(a) No. For example, \(f(0)=f(2)=1\)
(b) Yes, since \(g'(x)=3x^2-4x=x(3x-4)>0\) for \(x>2\).
Decide if this function is one-to-one or not. Then prove your conclusion.
Decide if this function is one-to-one or not. Then prove your conclusion.
Solution
No. For example, \(2 \neq -2\), but \(q(2)=16\) and \(q(-2)=16\).
We have shown a case where \(x_1 \neq x_2\) and \(q(x_1)=q(x_2)\), so \(q\) is NOT one-to-one.
Decide if this function is one-to-one or not. Then prove your conclusion.
Determine which of the following are one-to-one functions.
(a) One-to-one (b) Not one-to-one (c) One-to-one
Determine which of the following are one-to-one functions and explain your answer.
Determine which of the following functions are one-to-one.
(a) Not one-to-one (b) One-to-one
Determine which of the following functions are one-to-one.
List all the one-to-one functions from \(\\) to \(\\).
Hint
List the images of each function.
Solution
There are twelve one-to-one functions from \(\\) to \(\\). The images of 1 and 2 under them are listed below. \[\begin<|c||*
Is it possible to find a one-to-one function from \(\\) to \(\\)? Explain.
Determine which of the following functions are one-to-one.
(a) One-to-one (b) Not one-to-one (c) Not one-to-one
Decide if this function is one-to-one or not. Then prove your conclusion.
Decide if this function is one-to-one or not. Then prove your conclusion.
Solution
No. For example, \(8 \neq 17\), but \(f(8)=57\) and \(f(17)=57\).
We have shown a case where \(x_1 \neq x_2\) and \(f(x_1)=f(x_2)\), so \(f\) is NOT one-to-one.
Give an example of a one-to-one function \(f\) from \(\mathbb\) to \(\mathbb\) that is not the identity function.
This page titled 5.3: One-to-One Functions is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by Harris Kwong (OpenSUNY) .