A function f: X → Y is said to be invertible if there exists another function g: Y → X such that for every element y ∈ Y, g(y) = x where x ∈ X.
In this case, g is called the inverse of f and is denoted by f−1. The following properties must hold:
Here, IX and IY represent the identity functions on sets X and Y respectively.
A function f is invertible if and only if:
Therefore, only bijective functions (both injective and surjective) have inverses.
Let f: ℝ → ℝ be defined by f(x) = x + 3.
To find the inverse:
y = f(x) = x + 3 => x = y - 3 So, f⁻¹(y) = y - 3
Let f(x) = 2x, where f: ℝ → ℝ
y = f(x) = 2x => x = y / 2 So, f⁻¹(y) = y / 2
If you graph a function and its inverse, they are mirror images across the line y = x.