Bijective Function
A bijective function, also called a one-to-one correspondence or bijection, is a function that is both injective (one-to-one) and surjective (onto) at the same time. This means that no two distinct elements in the domain share the same output, and every element in the codomain is the image of at least one element in the domain.
In these functions, an exact one-to-one pairing is established between the input and output sets: each element in the domain corresponds to a unique value in the codomain, and conversely, each value in the codomain comes from a unique element in the domain.
Formally, a function f with domain \(D_f\) and codomain \(C_f\) is bijective if it satisfies the following condition:
$$\forall y \in C_f, \; \exists! x \in D_f: y = f(x)$$
This expression reads: for every value y in the codomain \(C_f\), there exists a unique value x in the domain \(D_f\) such that y is the image of x under f.
Conversely, when a function fails injectivity, surjectivity, or both properties at once, it is said to be not bijective. For example, considering real-valued functions with both domain and codomain equal to \(\mathbb{R}\), the quadratic function \(f(x) = x^2\) is not bijective because \(x = 2\) and \(x = -2\) share the output \(y = 4\) (not injective), and its range \(R_f = [0, \infty)\) does not match the codomain \(C_f = \mathbb{R}\) (not surjective).
On the other hand, the cubic function \(g(x) = x^3\) with domain \(\mathbb{R}\) and codomain \(\mathbb{R}\) is bijective, since it never repeats outputs and its range is \(R_g = \mathbb{R}\). Meanwhile, the square root function \(h(x) = \sqrt{x}\), defined with domain \(D_h = [0, \infty)\) and codomain \(C_h = \mathbb{R}\), is injective but not surjective, so it is not bijective either.
In everyday life, several relationships illustrate this exact pairing between two sets:
- Vehicles and license plates: every registered vehicle has a unique license plate, and each plate identifies a single vehicle.
- Products and barcodes: within an inventory, each item is assigned a unique barcode, and each barcode corresponds to a single item.
- Citizens and national ID numbers: in a country, every documented citizen holds a unique identification number, and each number belongs to only one person.
To avoid common confusion among the three classifications of a function, the following table compares the defining conditions of each:
| Type of Function | Condition on Outputs | Relation Between Rf and Cf | Has an Inverse Function? |
|---|---|---|---|
| Injective (One-to-One) | No repeated outputs: if f(a) = f(b), then a = b. | Rf ⊆ Cf (unused elements may remain in Cf). | If the range does not equal the codomain, the codomain must be restricted to Rf. |
| Surjective (Onto) | Every element in Cf is the image of at least one value in Df. | Rf = Cf (covers the entire codomain). | If outputs repeat, the domain must be restricted to prevent repetitions. |
| Bijective | Each element in Cf corresponds to a unique value in Df. | Rf = Cf (covers the entire codomain with no repetitions). | Directly admits an inverse without requiring any restrictions. |
Table of Contents
How to Tell If a Function Is Bijective
To determine whether a function is bijective, you must verify that it is both injective and surjective at the same time; that is, there are no repeated outputs and the range matches the codomain (\(R_f = C_f\)).
The procedure splits into two independent checks. If either condition fails, the function is ruled out as bijective:
- Checking injectivity: graphically, apply the Horizontal Line Test (no horizontal line may intersect the curve at more than one point). Algebraically, set up the equation \(f(a) = f(b)\) and show that it leads strictly to \(a = b\), or provide a counterexample with two distinct inputs producing the same output.
- Checking surjectivity: find the range \(R_f\) of the function and compare it with its codomain \(C_f\). If both sets are equal (\(R_f = C_f\)), the function is surjective. When a problem statement does not specify the codomain of a real function, it is assumed that \(C_f = \mathbb{R}\).
Example 1
Determine whether the absolute value function \(f(x) = |x|\), defined with domain \(D_f = \mathbb{R}\) and codomain \(C_f = \mathbb{R}\), is bijective.
To check this, we analyze both properties separately:
1) Injectivity check: drawing horizontal lines above the x-axis across the graph of the function shows that they intersect the curve at two distinct points.
Algebraically, note that for \(a = -1\) and \(b = 1\), we get \(f(-1) = |-1| = 1\) and \(f(1) = |1| = 1\). Since two distinct domain values share the same output, the function is not injective.
2) Surjectivity check: the absolute value never produces negative outputs, so the range of the function is \(R_f = [0, \infty)\). Comparing this with the codomain \(C_f = \mathbb{R}\), we see that \(R_f \neq C_f\) (negative numbers have no preimage). Therefore, it is not surjective either.
In conclusion, because the absolute value function is neither injective nor surjective, it is not bijective.
Example 2
Analyze whether the linear function \(h(x) = 2x + 1\), with domain \(D_h = \mathbb{R}\) and codomain \(C_h = \mathbb{R}\), is bijective.
We evaluate both required conditions using the algebraic expression and its graph:
1) Injectivity check: assume that two values \(a, b \in \mathbb{R}\) have the same output, meaning \(h(a) = h(b)\):
$$2a + 1 = 2b + 1$$
Subtract 1 from both sides and divide by 2 to solve:
$$2a = 2b \implies a = b$$
Since the only possibility is that both values are equal, the function is injective. Graphically, every horizontal line intersects the line at a single point.
2) Surjectivity check: to find the range, solve for x in terms of y from \(y = 2x + 1\):
$$x = \dfrac{y - 1}{2}$$
This expression is defined for every real number y without restrictions, confirming that the range is \(R_h = \mathbb{R}\). Because it matches the codomain \(C_h = \mathbb{R}\), the function is surjective.
In conclusion, being both injective and surjective at once, the linear function is bijective.
Example 3
Verify whether the cubic function \(g(x) = x^3\), defined with domain \(D_g = \mathbb{R}\) and codomain \(C_g = \mathbb{R}\), is bijective.
We proceed to verify both the uniqueness of outputs and full coverage of the codomain:
1) Injectivity check: assume \(g(a) = g(b)\) for any two real numbers:
$$a^3 = b^3$$
Taking the cube root of both sides of the equation (a valid and unique operation in the real numbers), we obtain:
$$a = b$$
Thus, the function is injective, which aligns with the fact that no horizontal line intersects its curve at more than one point.
2) Surjectivity check: solving for x in \(y = x^3\) gives \(x = \sqrt[3]{y}\). Since the cube root exists for every positive, negative, or zero real number, the range is \(R_g = \mathbb{R}\). Matching the codomain \(C_g = \mathbb{R}\), the function is surjective.
In conclusion, because it satisfies both conditions, the cubic function is bijective.
Practical Criterion Using Monotonicity
For polynomial expressions or algebraic combinations where solving for the variable is difficult—such as \(f(x) = x^3 + 2x\)—there is a direct shortcut to verify bijectivity without solving equations:
- If a function is strictly increasing or strictly decreasing across its entire domain \(D_f\), it never turns back or repeats heights, which guarantees injectivity.
- If the function is also continuous (its graph has no jumps or breaks) and its range spans all real numbers (\(R_f = \mathbb{R}\)), then it is also surjective with respect to the codomain \(C_f = \mathbb{R}\).
When both conditions hold simultaneously, we can immediately state that the function is bijective.
Domain and Codomain Restriction
When a function is not bijective, its input and output sets can be modified so that it satisfies both conditions. This procedure consists of defining a new function with the same rule of correspondence, while narrowing the domain to eliminate repeated outputs and adjusting the codomain to match the range exactly.
Earlier, we saw that the quadratic function \(f(x) = x^2\), defined with domain \(D_f = \mathbb{R}\) and codomain \(C_f = \mathbb{R}\), is neither injective nor surjective. To turn it into a bijective function, we apply two successive adjustments:
1) Domain restriction: we limit input values strictly to non-negative real numbers, setting the new domain to \([0, \infty)\). Keeping only the right branch of the parabola gives the restricted function \(f_R(x) = x^2\), which passes the Horizontal Line Test because no two distinct values share the same output anymore.
2) Codomain restriction: with the domain above, the range of the restricted function is \(R_{f_R} = [0, \infty)\). If we also redefine its codomain as \(C_{f_R} = [0, \infty)\), both sets coincide and the function becomes surjective.
Thus, the function \(f_R(x) = x^2\) with domain \(D_{f_R} = [0, \infty)\) and codomain \(C_{f_R} = [0, \infty)\) is both injective and surjective at the same time, meaning it is bijective.
Relationship Between Bijective and Inverse Functions
The defining property that sets bijective functions apart in mathematical analysis is that they are the only functions that admit an inverse function (\(f^{-1}\)), and this inverse is also bijective. When inverting a function, the original codomain becomes the domain of \(f^{-1}\), and the original domain becomes its new codomain.
For this reversed relation to satisfy the definition of a function, both conditions of bijectivity must hold simultaneously:
- Why it must be injective: if two distinct elements in the original domain shared the same output \(y\), reversing the relation would assign two different outputs to that single value \(y\) in \(f^{-1}\). This would violate the unique-output requirement of any function.
- Why it must be surjective: if elements existed in the original codomain with no preimage, turning that set into the domain of \(f^{-1}\) would leave input values without an assigned output, violating the existence requirement of any function.
Example
Find the inverse function of the quadratic function \(f(x) = x^2\), considering the restricted version from the previous section with domain \(D_f = [0, \infty)\) and codomain \(C_f = [0, \infty)\).
Since we already verified that f is bijective on these sets, we know its inverse exists and will have domain \(D_{f^{-1}} = [0, \infty)\) and codomain \(C_{f^{-1}} = [0, \infty)\). To find its algebraic formula, we follow the standard three-step procedure:
1) Write the function in terms of x and y: replace \(f(x)\) with the variable y to set up the starting equation:
$$y = x^2$$
2) Solve for the variable x: take the square root of both sides of the equation:
$$\sqrt{y} = \sqrt{x^2} \implies |x| = \sqrt{y}$$
Because the restricted domain \(D_f = [0, \infty)\) establishes that \(x \ge 0\), the absolute value equals the number itself (\(|x| = x\)), so we discard the negative root and obtain:
$$x = \sqrt{y}$$
3) Interchange the variables: replace x with \(f^{-1}(x)\) and y with x to express the inverse in terms of the standard independent variable:
$$f^{-1}(x) = \sqrt{x}$$
Therefore, the inverse of \(f(x) = x^2\) (restricted to non-negative values) is the square root function \(f^{-1}(x) = \sqrt{x}\), defined with domain \(D_{f^{-1}} = [0, \infty)\) and codomain \(C_{f^{-1}} = [0, \infty)\).
Furthermore, bijectivity is preserved under function composition: if two functions \(f\) and \(g\) are bijective, their composite function \((g \circ f)\) is also bijective. A special case of this property occurs when composing any bijective function \(f\) with its inverse \(f^{-1}\), which always recovers the original input value:
$$(f^{-1} \circ f)(x) = x \quad \text{and} \quad (f \circ f^{-1})(x) = x$$
Summary of Bijectivity in Elementary Functions
To quickly identify the behavior of the main families of real-valued functions, we assume their codomain is \(C_f = \mathbb{R}\) and their domain \(D_f\) is the largest subset of \(\mathbb{R}\) where the expression is defined. The following table summarizes when each type of function is or is not bijective:
| Type of Function | Bijective? | Example | Condition or Note |
|---|---|---|---|
| Linear (non-constant) | Yes | \(f(x) = 2x + 5\) | Its slope must be nonzero (m ≠ 0). |
| Constant | No | \(f(x) = -3\) | All values of x share the same output, and its range is a single number. |
| Even power | No | \(f(x) = x^2 + 2\) | For y = xn with n even, it repeats outputs and its range does not cover all of \(\mathbb{R}\). |
| Odd power | Yes | \(f(x) = x^5 + 3\) | For y = xn with n odd, it is strictly increasing and its range is \(\mathbb{R}\). |
| Even-index radical | No | \(f(x) = \sqrt{x}\) | Injective on Df = [0, \(\infty\)), but requires restricting Cf = [0, \(\infty\)) to be surjective. |
| Odd-index radical | Yes | \(f(x) = \sqrt[3]{x}\) | Defined for all real numbers, and its range covers all of \(\mathbb{R}\). |
| Exponential | No | \(f(x) = e^x\) | Injective, but only bijective if its codomain is restricted to Cf = (0, \(\infty\)). |
| Logarithmic | Yes | \(f(x) = \ln(x)\) | With its natural domain Df = (0, \(\infty\)) and codomain Cf = \(\mathbb{R}\), it meets all conditions. |
| Trigonometric | No | \(f(x) = \sin(x)\) | Being periodic, they repeat outputs; both \(D_f\) and \(C_f\) must be restricted (except tangent on \(C_f\)). |
In the case of odd-degree polynomial functions with multiple terms, such as \(f(x) = x^3 + 2x^2\), bijectivity is not always preserved: although their range remains \(\mathbb{R}\), local extrema cause the same output height to be reached by more than one domain value, breaking injectivity.
Did you find this useful? Rate it!
Leave a Reply






Related Articles