The term one to one relationship actually refers to relationships between any two items in which one can only belong with only one other item. In a mathematical sense, these relationships can be referred to as one to one functions, in which there are equal numbers of items, or one item can only be paired with only one other item. The name of a person and the reserved seat number of that person in a train is a simple daily life example of one to one function.
If you are curious about what makes one to one functions special, then this article will help you learn about their properties and appreciate these functions. Using solved examples, let us explore how to identify these functions based on expressions and graphs.
1. | What is a One to One Function? |
2. | Horizontal Line Test |
3. | Properties of One to One Function |
4. | How to Determine if a Function is One to One? |
5 . | One to One Function Graph |
6. | Inverse of One to One Function |
7. | Steps to Find the Inverse of One to Function |
8. | FAQs on One to One Function |
A normal function can actually have two different input values that can produce the same answer, whereas a one to one function does not. Let’s go ahead and start with the definition and properties of one to one functions.
One to one function is a special function that maps every element of the range to exactly one element of its domain i.e, the outputs never repeat. As an example, the function g(x) = x - 4 is a one to one function since it produces a different answer for every input. Also, the function g(x) = x 2 is NOT a one to one function since it produces 4 as the answer when the inputs are 2 and -2. A function that is not one-to-one is called a many-to-one function.
Algebraically, we can define one to one function as:
function g: D -> F is said to be one-to-one if
for all elements x1 and x2 ∈ D. A one to one function is also considered as an injection, i.e., a function is injective only if it is one-to-one. The contrapositive of this definition is a function g: D -> F is one-to-one if x1 ≠ x2 ⇒ g(x1) ≠ g(x2). Let us visualize this by mapping two pairs of values to compare functions that are and that are not one to one.
In the Fig (a) (which is one to one), x is the domain and f(x) is the codomain, likewise in Fig (b) (which is not one to one), x is a domain and g(x) is a codomain.
In Fig(a), for each x value, there is only one unique value of f(x) and thus, f(x) is one to one function.
In Fig (b), different values of x, 2, and -2 are mapped with a common g(x) value 4 and (also, the different x values -4 and 4 are mapped to a common value 16). Thus, g(x) is a function that is not a one to one function.
The horizontal line test is used to determine whether a function is one-one when its graph is given. We have already seen the condition (g(x1) = g(x2) ⇒ x1 = x2) to determine whether a function g(x) is one-one algebraically. On the other hand, to test whether the function is one-one from its graph,
Example: Consider the graph below.
In the above graph,
A one-to-one function i.e an injective function that maps the distinct elements of its domain to the distinct elements of its co-domain. Here are some properties that help us to understand the various characteristics of one to one functions:
Vertical line test are used to determine if a given relation is a function or not. Further, we can determine if a function is one to one by using two methods:
Any function can be represented in the form of a graph. This function is represented by drawing a line/a curve on a plane as per the cartesian sytem. The domain is marked horizontally with reference to the x-axis and the range is marked vertically in the direction of the y-axis. If a function g is one to one function then no two points (x1, y1) and (x2, y2) have the same y-value. Therefore no horizontal line cuts the graph of the equation y = g(x) more than once. The following figure (the graph of the straight line y = x + 1) shows a one-one function. Note that no two points on it have the same y-coordinate (or) it passes the horizontal line test.
It is essential for one to understand the concept of one-to-one functions in order to understand the concept of inverse functions and to solve certain types of equations. Firstly, a function g has an inverse function, g -1 , if and only if g is one to one. In the below-given image, the inverse of a one-to-one function g is denoted by g −1 , where the ordered pairs of g -1 are obtained by interchanging the coordinates in each ordered pair of g. Here the domain of g becomes the range of g -1 , and the range of g becomes the domain of g -1 .
The inverse of one to one function undoes what the original function did to a value in its domain in order to get back to the original y-value. Here are the properties of the inverse of one to one function:
The step-by-step procedure to derive the inverse function g -1 (x) for a one to one function g(x) is as follows:
Example: Find the inverse function g -1 (x) of the function g(x) = 2 x + 5.
Now, let us follow the 4 steps:
Set g(x) = y | y = 2x + 5 |
---|---|
Switch x with y | x = 2y + 5 |
Solve for y | y = (x - 5)/2 |
Rename y as g -1 (x). This is the inverse. | g -1 (x) = (x - 5)/2 |
Important Notes on One to One Function:
Here is a list of a few points that should be remembered while studying one to one function:
☛ Related Topics:
Answer: Thus, <(4, w), (3, x), (10, z), (8, y)>represents a one to one function.
Example 2: Determine if g(x) = -3x 3 – 1 is a one-to-one function using the algebraic approach. Solution: In order for function to be a one to one function, g( x1 ) = g( x2 ) if and only if x1 = x2 . Let us start solving now: g( x1 ) = -3 x1 3 – 1 g( x2 ) = -3 x2 3 – 1 We will start with g( x1 ) = g( x2 ). Then -3 x1 3 – 1 = -3 x2 3 – 1 -3 x1 3 = -3 x2 3 ( x1 ) 3 = ( x2 ) 3 Taking the cube root on both sides of the equation will lead us to x1 = x2. Answer: Hence, g(x) = -3x 3 – 1 is a one to one function.
Example 3: If the function in Example 2 is one to one, find its inverse. Also, determine whether the inverse function is one to one. Solution: Let g(x) = y. Then y = -3x 3 – 1. Interchange x and y: x = -3y 3 – 1 x + 1 = -3y 3 (-x - 1) / 3 = y 3 y = ∛[(-x - 1) / 3] = g -1 (x) To determine whether it is one to one, let us assume that g -1 ( x1 ) = g -1 ( x2 ). ∛[(-x1 - 1) / 3] = ∛[(-x2 - 1) / 3] Cubing on both sides, (-x1 - 1) / 3 = (-x2 - 1) / 3 Multiplying by 3 on both sides, -x1 - 1 = -x2 - 1 Adding 1 on both sides, -x1 = -x2 Multiplying both sides by -1, x1 = x2 Hence g -1 (x) is one to one. Answer: Inverse of g(x) is found and it is proved to be one-one.
Show Solution > Great learning in high school using simple cuesIndulging in rote learning, you are likely to forget concepts. With Cuemath, you will learn visually and be surprised by the outcomes.