One-to-one and Onto Functions
Topic Index | Algebra2/Trig Index | Regents Exam Prep Center


Remember that a function is a set of ordered pairs in which no two ordered pairs that have the same first component have different second components.  This means that given any x, there is only one y that can be paired with that x.

Onto Function

A function f from A to B is called onto if for all b in B there is an a in A such that f (a) = b.   All elements in B are used.

Such functions are referred to as surjective.


"Onto"
(all elements in B are used)


NOT "Onto"
(the 8 and 1 in Set B are not used)

When working in the coordinate plane, the sets A and B become the Real numbers,
stated as .

The function  f (x) = 3x - 4
(a straight line) is ONTO.

As you progress along the line,
every possible y-value is used. 

In addition, this straight line also possesses the property that each x-value has one unique y-value that is not used by any other x-element.  This characteristic is referred to as being one-to-one.

The function  g (x) = - 2
(a parabola) is NOT ONTO.

Values less than -2 on the y-axis are never used. 

In addition, this parabola has y-values that are paired with more than one x-value, such as (3, 7) and (-3, 7).
This function will not be one-to-one.

 


One-to-One Function

 A function f from A to B is called one-to-one (or 1-1) if whenever
 f (a) = f (b) then a = b.   No element of B is the image of more than one element in A.

In a one-to-one function, given any y there is only one x that can be paired with the given y.  Such functions are referred to as injective.


"One-to-One"


NOT "One-to-One"

 Remember, when working in the coordinate plane, the sets A and B become the Real numbers,
stated as .

The function  f (x) =
is One-to-One.

This cubic function possesses the property that each x-value has one unique y-value that is not used by any other x-element.  This characteristic is referred to as being 1-1.

Also, in this function, as you progress along the graph, every possible y-value is used, making the function onto. 

 

The function  g (x) = | x - 2 |
NOT One-to-One.

This absolute value function has y-values that are paired with more than one x-value, such as (4, 2) and (0, 2).
This function is not one-to-one.

In addition, values less than 0 on the y-axis are never used, making the function NOT onto. 

 

BOTH

Functions can be both one-to-one and onto.

 
Such functions are called bijective.
Bijections are functions that are both injective and surjective.


"Both"


NOT "Both" - not Onto

Examples of functions that are BOTH onto and one-to-one
can be seen in each of the categories above.