Read: Identify a One-to-One Function
Learning Objectives
- Define one-to-one function
- Use the horizontal line test to determine whether a function is one-to-one
Example
Find the domain and range for the function.
x |
y |
---|---|
|
|
|
|
|
|
|
|
|
|
Answer: The domain is the set of inputs or x-coordinates.
The range is the set of outputs of y-coordinates.
Answer

However, some functions have only one input value for each output value, as well as having only one output for each input. We call these functions one-to-one functions. As an example, consider a school that uses only letter grades and decimal equivalents, as listed in.
Letter grade | Grade point average |
---|---|
A | |
B | |
C | |
D |
This grading system represents a one-to-one function, because each letter input yields one particular grade point average output and each grade point average corresponds to one input letter.
To visualize this concept, let’s look again at the two simple functions sketched in (a)and (b) of Figure 10.
A General Note: One-to-One Function
A one-to-one function is a function in which each output value corresponds to exactly one input value.Example
Which table represents a one-to-one function? a)input | output |
input | output |
Answer: Table a) maps the output value to two different input values, therefore this is NOT a one-to-one function. Table b) maps each output to one unique input, therefore this IS a one-to-one function.
Answer
Table b) is one-to-oneUsing the Horizontal Line Test
An easy way to determine whether a function is a one-to-one function is to use the horizontal line test on the graph of the function. To do this, draw horizontal lines through the graph. If any horizontal line intersects the graph more than once, then the graph does not represent a one-to-one function.
How To: Given a graph of a function, use the horizontal line test to determine if the graph represents a one-to-one function.
- Inspect the graph to see if any horizontal line drawn would intersect the curve more than once.
- If there is any such line, determine that the function is not one-to-one.
Exercises
For the following graphs, determine which represent one-to-one functions.
Answer:
The function in (a) is not one-to-one. Using the horizontal line test, as shown below, it intersects the graph of the function at two points (and we can even find horizontal lines that intersect it at three points.)


