One-to-One Functions Overview

What is a One-to-One Function?

We say that a function f(x) is one-to-one if for all x-values, there are unique y-values, or equivalently, there are unique f(x)-values. An easy way to visualize this concept is in the case of continuous functions, where they must be strictly increasing or strictly decreasing to be considered one-to-one.

How to Determine if a Function is One-to-One

The formal method we use to show that a function is one-to-one is as follows:

Select two values, a and b, on the x-axis, and determine the y-values f(a) and f(b) that the function gives us at those two points. If the two outputs f(a), f(b) are different from each other (that is, not equal to each other) for all pairs a and b, then the function is one-to-one.

Sometimes we use illustrations to describe how one set maps to another in order to see if it is one-to-one. Consider the following sets of numbers: A={1,2,3}, B={1, 2, 3, 4, 5, 6}. Suppose we have a function that maps from Set A into Set B in the following way:

This function essentially gives us the ordered pairs (1,2), (2,4), and (3,6). Clearly, all of these have unique y-values, and in the illustration, we see that no two arrows point to the same number in B. For those reasons, we know that the function described is one-to-one.

Another method for determining if a function is one-to-one is the horizontal line test, which you may recognize as very similar to the vertical line test we used in Algebra to validate functions. When viewing the graph of a function, draw or imagine a straight horizontal line passing over the coordinate plane. If at any point, that line intersects the function in more than one place, the function fails the test and it is not one-to-one.

For example, it is easy to see that the functions f(x)=x2 and f(x)=x3+x2 are not one-to-one by using the horizontal line test. For both functions, we can find at least one place where a horizontal line intersects the function more than once.

graph of f(x)equals x squaredgraph of f(x) equals x cubed plus x squared

Some functions that do pass the horizontal line test include f(x)=x and f(x)=frac1x. It may seem pretty obvious by looking that f(x)=x is one-to-one. But what about f(x)=frac1x? Even though this function has asymptotes that get closer and closer to y=0, each x still gives a unique y-value, and the horizontal line never intersects the function more than once, no matter where we put it.

graph of f(x)equalsx

graph of f(x) equals 1 over x
 
Click here for 20% off of Mometrix Math College Readiness Online Course. Use code: IMCR20

One-to-one Function Sample Questions

Here are a few sample questions going over one-to-one functions.

Question #1:

 
Using the horizontal line test, determine whether the function f(x)=x3 is one-to-one.

The function is one-to-one
The function is not one-to-one
Question #2:

 
Determine whether the following function is one-to-one:

The function is one-to-one
The function is not one-to-one
Question #3:

 
Use the horizontal line test to determine whether the function f(x)=1 is one-to-one.

The function is one-to-one
The function is not one-to-one
Question #4:

 
Determine whether the following function is one-to-one:

The function is one-to-one
The function is not one-to-one
Question #5:

 
Observe the following plot of function f(x) and use the horizontal line test to determine whether or not it is one-to-one.

non linear graph

The function is one-to-one
The function is not one-to-one

 

by Mometrix Test Preparation | Last Updated: December 2, 2024