Inverse of a function
Inverse of a Function
In mathematics, the concept of an inverse function is fundamental in understanding the relationship between two sets of numbers or variables. An inverse function essentially reverses the effect of the original function. If a function f
takes an element x
from its domain and maps it to an element y
in its codomain, then the inverse function f⁻¹
takes y
and returns the original element x
.
Definition
For a function f: A → B
, where A
and B
are non-empty sets, an inverse function f⁻¹: B → A
exists if f
is bijective (one-to-one and onto). This means:
- One-to-one: For every
x₁
andx₂
inA
, ifx₁ ≠ x₂
, thenf(x₁) ≠ f(x₂)
. - Onto: For every
y
inB
, there exists anx
inA
such thatf(x) = y
.
Properties
When a function f
has an inverse f⁻¹
, the following properties hold:
f(f⁻¹(y)) = y
for everyy
inB
.f⁻¹(f(x)) = x
for everyx
inA
.- The domain of
f
is the codomain off⁻¹
, and vice versa. - The graph of
f⁻¹
is the reflection of the graph off
across the liney = x
.
Finding the Inverse of a Function
To find the inverse of a function f(x)
, follow these steps:
- Write the function as an equation:
y = f(x)
. - Swap
x
andy
:x = f(y)
. - Solve the equation for
y
to gety = f⁻¹(x)
.
Table of Differences and Important Points
Property | Function f |
Inverse Function f⁻¹ |
---|---|---|
Definition | Maps x to y |
Maps y back to x |
Notation | f(x) |
f⁻¹(x) |
Domain | Set A |
Set B |
Codomain | Set B |
Set A |
Bijectivity | Must be bijective | Inverse exists by default |
Graph Reflection | Across the line y = x |
Original graph of f |
Formulas
If f
and f⁻¹
are inverses, then:
$$ f(f⁻¹(x)) = x \quad \text{and} \quad f⁻¹(f(x)) = x $$
Examples
Example 1: Linear Function
Let's find the inverse of the function f(x) = 2x + 3
.
- Write as an equation:
y = 2x + 3
. - Swap
x
andy
:x = 2y + 3
. - Solve for
y
:y = \frac{x - 3}{2}
.
The inverse function is f⁻¹(x) = \frac{x - 3}{2}
.
Example 2: Quadratic Function
Consider the function f(x) = x^2
, where x ≥ 0
. This function is not bijective over all real numbers, but it is bijective when restricted to x ≥ 0
.
- Write as an equation:
y = x^2
. - Swap
x
andy
:x = y^2
. - Solve for
y
:y = \sqrt{x}
(sincex ≥ 0
).
The inverse function is f⁻¹(x) = \sqrt{x}
.
Example 3: Non-Invertible Function
The function f(x) = x^2
without any domain restriction is not invertible because it is not one-to-one (e.g., f(-1) = f(1) = 1
).
Conclusion
Understanding the inverse of a function is crucial for solving equations, understanding symmetry in graphs, and analyzing real-world problems. Not all functions have inverses, but when they do, the inverse provides a powerful tool for 'undoing' the action of the original function.