Skip to content

Mathematics · Ch 1 — Relations and Functions

Inverse of a Function

6

Inverse of a Function

6. Inverse of a Function

A function f:A→Bf : A \to B is said to be invertible if there exists a function g:B→Ag : B \to A such that

g(f(x))=x for every x∈Aandf(g(y))=y for every y∈Bg(f(x)) = x \text{ for every } x \in A \quad \text{and} \quad f(g(y)) = y \text{ for every } y \in B

Such a gg, when it exists, is unique and is called the inverse of ff, written g=f−1g = f^{-1}.

The Key Theorem

A function f:A→Bf : A \to B is invertible if and only if ff is a bijection (one-one and onto).

Why bijectivity is exactly what's needed: to define f−1(y)f^{-1}(y) unambiguously for every y∈By \in B, two things must hold. First, ff must be onto — otherwise some y∈By \in B has no xx with f(x)=yf(x) = y, leaving f−1(y)f^{-1}(y) undefined. Second, ff must be one-one — otherwise some yy would have two different preimages x1≠x2x_1 \neq x_2 with f(x1)=f(x2)=yf(x_1) = f(x_2) = y, and f−1(y)f^{-1}(y) could not be assigned a single value. Bijectivity guarantees each y∈By \in B has exactly one preimage, which is precisely what f−1(y)f^{-1}(y) names.

Method — Finding the Inverse of a Bijective Function

Write y=f(x)y = f(x), solve algebraically for xx in terms of yy, then relabel the variable: this expression is f−1(x)f^{-1}(x).

Illustration. Let f:R→Rf : \mathbb{R} \to \mathbb{R}, f(x)=3x+25f(x) = \dfrac{3x+2}{5} (a bijection, being a linear function with non-zero slope).

y=3x+25  ⟹  5y=3x+2  ⟹  x=5y−23  ⟹  f−1(x)=5x−23y = \frac{3x+2}{5} \implies 5y = 3x + 2 \implies x = \frac{5y - 2}{3} \implies f^{-1}(x) = \frac{5x-2}{3}

Verification:

f(f−1(x))=3(5x−23)+25=(5x−2)+25=5x5=x  ✓f(f^{-1}(x)) = \frac{3\left(\frac{5x-2}{3}\right)+2}{5} = \frac{(5x-2)+2}{5} = \frac{5x}{5} = x \; \checkmark …