One-to-One Functions:
A one-to-one function is a function in which each element from the domain is mapped to exactly one element in the range. In other words, if a=b, then f(a)=f(b).
Examples of one-to-one functions:
- f(x)=3x+2
- f(x)=x+6
- f(x)=x3+1
Many-to-One Functions:
This is a function where two or more elements from the domain can have the same image (i.e., they map to the same value in the range).
Examples of many-to-one functions:
- f(x)=x2+1
- f(x)=x4−2
Note:
- All functions with odd degrees (such as x3+1) are one-to-one functions.
- All functions with even degrees (such as x2+1) are many-to-one functions.
Example 3
Let A={−2,−1,0,1,2} and B={0,1,4} and the function f mapping each element from set A to those of B is defined as f(x)=x2. Is f one to one function?
i.e f(a)=f(b) but a=b
Example 4
Let P={−2,−1,0,1,2} and
Q={−1,0,1,2,3}
g(x)=x+1, is g one to one function?
Solution:
g(x) is one to one function because every element in P has only one image in Q.
NB: In example 1, f(x) is not a one to one function because −2 and 2 in A have the same image in B, that is 4 is the image of both 2 and −2. Also 1 is the image of both 1 and −1.
Example 5
State whether or not if the following graphs represent a one to one function:
Solution:
Draw a line parallel to the x axis and see if it crosses the graph at more than one points. If it does, then, the function is many to one and if it crosses at only one point then the graph represents a one to one function.
