We know that a function is a set of ordered pairs such that given any x value,
there is only one y that can be paired with that x.

The following diagrams depict functions:

one1
Function f:
(m,3), (a,2), (t,9), (h,4)

one2Function g:
(m,3), (a,4), (t,9), (h,4)

In these diagrams, set A is the domain of the function, and
the elements from set B that are used is the range of the function.

With the definition of a function in mind, let's take a look at some special "types" of functions.


One to One
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.
Such functions are also referred to as an injective function.

A one-to-one function is a function where every unique input maps to a strictly unique output.
In a one-to-one function, given any y value, there is only one x that can be paired with the given y.

You can think of 1:1 functions as an input value being
"married" to an output value. The input can only be legally "married" to one output value at a time, and that output value cannot be legally "married" to any other input value.

one1
Function f:
One-to-One

Each y value that is used, is used only once.
one2Function g:
NOT One-to-One

The y-value of 4 is used more than once.



In the coordinate plane,
mappings occur with Real Numbers, stated as fff.

bullet When working on the coordinate plane, a function is a one-to-one function
when it will pass the
vertical line test (to make it a function)
and also pass a
horizontal line test (to make it one-to-one).


EXAMPLE 1: Is f (x) =  a one-to-one function where fff?
ffff
ff

This function is One-to-One.

This cubic function is indeed a "function" as it passes the vertical line test. In addition, this 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 a 1-1 function.

Notice that this function passes BOTH the vertical line test and a horizontal line test, where any horizontal line intersects the graph only once.




EXAMPLE 2: Is g (x) = | x - 2 | a one-to-one function where gg?

This function is
NOT One-to-One.

g

This absolute value function passes the vertical line test to be a function. In addition, this 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.

This function passes a vertical line test
but not a horizontal line test.

ggg



EXAMPLE 3:  Is g(x) = | x - 2 |, as seen in the graph for Example 2, a one-to-one function where ffs?

beware This question is changing the RANGE, not the DOMAIN.

It may be possible to adjust a function in some manner so that the function becomes a one-to-one function. In this case, with set range, redefined to be ffss, function g(x) will still be NOT one-to-one since we still have (0,2) and (4,2).

There are restrictions on the DOMAIN that will create a one-to-one function in this example. For example, restricting the domain, to be only values from -∞ to 2 would work, or restricting the domain, to be only elements from 2 to ∞ would work. Notice that restriction the domain, to be ffss would NOT create a one-to-one function as we would still have (0,2) and (4,2).


dividerdash

This is another type of function that is often seen when working with 1:1 functions.


Onto
An onto function is a mathematical function where every possible output is mapped to by at least one input element of the domain.. All available output elements are used.
Such functions are also referred to as an surjective function.

Keep in mind that in an onto function, all possible y-values are used.

one2
Function f:
Onto

All elements in B are used.
Not one-to-one,
but it is onto.

one1
Function f:
NOT Onto

The 6 in B is not used.
It is one-to-one,
but it is not onto..

To determine if a function is onto, you need to know information about both set A and set B.


In the coordinate plane,
mappings occur with Real Numbers, stated as fff.

EXAMPLE 1:  Is f (x) = 3x - 4 an onto function where hhhh?
hhhhh
 
h

This function 
(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 function is also one-to-one.

 



EXAMPLE 2:  Is g (x) = x² - 2 an onto function where hhh?
 

This function
(a parabola)
is NOT ONTO.

hh

Values less than -2 on the y-axis are never used. Since only certain y-values belonging to the set of ALL Real numbers are used, we see that not ALL possible y-values are used.

Note that in addition, this parabola also 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.

hhhhhh



EXAMPLE 3:  Is g (x) = x² - 2, as graphed in Example 2, an onto function where fd?
If set the range is redefined to be fdd, ALL of the possible y-values are now used, and  function g (x), under these conditions, is ONTO. Note that this function is still NOT one-to-one.

To make this function both onto and one-to-one, we would also need to restrict the domain to ensure that the horizontal line test would intersect only once..


dividerdash


It is common to refer to both types of functions: 1:1 and Onto.

BOTH
1-1 & Onto Functions
A function f from A (the domain) to B (the range) is BOTH one-to-one and onto when no element of B is the image of more than one element in A, AND all elements in B are used.
Functions that are both one-to-one and onto are referred to as bijective.
Bijections are functions that are both injective and surjective.



oNew
Function f:
BOTH
One-to-one and Onto
Each used element of B is used only once, and All elements in B are used.
one1 Function f:
NOT BOTH
One-to-one, NOT onto

Each used element of B is used only once, but the 6 in B is not used.

divider


NOTE: The re-posting of materials (in part or whole) from this site to the Internet is copyright violation
and is not considered "fair use" for educators. Please read the "Terms of Use".