Math Lab
Home/Class XII/Ch 1/Invertible functions

Invertible functions

To invert a function means to undo it: if ff takes xx to yy, then f−1f^{-1} takes yy back to xx. Not every function admits an inverse , only bijections do. The aim of this subtopic is to define f−1f^{-1} precisely, prove it exists when ff is bijective, and give you a recipe for computing it.

Definition

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

g∘f=IAandf∘g=IB.g \circ f = I_A \quad \text{and} \quad f \circ g = I_B.

When it exists, gg is called the inverse of ff and is denoted f−1f^{-1}.

Notice that the two conditions are not redundant. Without the first, gg may merely be a right inverse; without the second, it may merely be a left inverse. Both together force ff and gg to be bijections that exactly cancel.

Theorem: invertible iff bijective

Theorem. A function f:A→Bf : A \to B is invertible if and only if it is bijective. The inverse, when it exists, is unique.

Proof. (⇐\Leftarrow) Suppose ff is bijective. Define g:B→Ag : B \to A by setting g(y)=g(y) = the unique x∈Ax \in A such that f(x)=yf(x) = y. (Uniqueness comes from injectivity; existence from surjectivity.) Then g(f(x))=xg(f(x)) = x for all xx, so g∘f=IAg \circ f = I_A. And f(g(y))=yf(g(y)) = y by construction, so f∘g=IBf \circ g = I_B.

(⇒\Rightarrow) Suppose g∘f=IAg \circ f = I_A and f∘g=IBf \circ g = I_B. From g∘f=IAg \circ f = I_A we see ff is one-one (because g∘fg \circ f is). From f∘g=IBf \circ g = I_B we see ff is onto (because f∘gf \circ g is). So ff is bijective.

Uniqueness. If g1g_1 and g2g_2 both satisfy the inverse conditions, then g1=g1∘IB=g1∘(f∘g2)=(g1∘f)∘g2=IA∘g2=g2g_1 = g_1 \circ I_B = g_1 \circ (f \circ g_2) = (g_1 \circ f) \circ g_2 = I_A \circ g_2 = g_2. ■\blacksquare

The uniqueness justifies the article the in "the inverse". You can speak about f−1f^{-1} unambiguously.

Computing an inverse

For a bijective ff given by a formula y=f(x)y = f(x), the inverse is found by solving for xx in terms of yy:

  1. Write y=f(x)y = f(x).
  2. Solve algebraically for xx to get x=g(y)x = g(y).
  3. Swap symbols (optional): rename yy as xx to write f−1(x)=g(x)f^{-1}(x) = g(x).
  4. State the domain of f−1f^{-1}, which equals the range of ff.

The graphical view: the graph of f−1f^{-1} is the reflection of the graph of ff across the line y=xy = x.

Important: domain restriction

If ff is not one-one on all of its natural domain, you must restrict the domain to make ff one-one before defining the inverse. This is exactly the device used to define the principal branches of arcsin⁡\arcsin, arctan⁡\arctan, etc., in Chapter 2.

The reversal rule for inverses

Theorem. If f:A→Bf : A \to B and g:B→Cg : B \to C are bijective, then g∘fg \circ f is bijective and (g∘f)−1=f−1∘g−1.(g \circ f)^{-1} = f^{-1} \circ g^{-1}.

Proof. Both compositions (f−1∘g−1)∘(g∘f)(f^{-1} \circ g^{-1}) \circ (g \circ f) and (g∘f)∘(f−1∘g−1)(g \circ f) \circ (f^{-1} \circ g^{-1}) reduce to identities by associativity and the inverse relations. ■\blacksquare

The pattern reverse and flip is also true for matrix inverses and group elements, so commit it to long-term memory.

Worked examples

Example 1. f:R→Rf : \mathbb{R} \to \mathbb{R}, f(x)=5x+2f(x) = 5x + 2. Find f−1f^{-1}.

Solve y=5x+2y = 5x + 2 for xx: x=(y−2)/5x = (y - 2)/5. So f−1(y)=(y−2)/5f^{-1}(y) = (y - 2)/5.

Verification: f(f−1(y))=5⋅y−25+2=y−2+2=yf(f^{-1}(y)) = 5 \cdot \tfrac{y - 2}{5} + 2 = y - 2 + 2 = y. And f−1(f(x))=((5x+2)−2)/5=xf^{-1}(f(x)) = ((5x + 2) - 2)/5 = x. ✓\checkmark

Example 2. Find the inverse of f:R∖{2}→R∖{1}f : \mathbb{R} \setminus \{2\} \to \mathbb{R} \setminus \{1\}, f(x)=x+1x−2f(x) = \tfrac{x + 1}{x - 2}.

Solve y=(x+1)/(x−2)y = (x + 1)/(x - 2): y(x−2)=x+1⇒x(y−1)=2y+1⇒x=(2y+1)/(y−1)y(x - 2) = x + 1 \Rightarrow x(y - 1) = 2y + 1 \Rightarrow x = (2y + 1)/(y - 1).

So f−1(y)=(2y+1)/(y−1)f^{-1}(y) = (2y + 1)/(y - 1) for y≠1y \neq 1.

Example 3. Let f:[0,∞)→[0,∞)f : [0, \infty) \to [0, \infty), f(x)=x2f(x) = x^2. Find f−1f^{-1}.

y=x2y = x^2 with x≥0x \ge 0 gives x=yx = \sqrt{y}. So f−1(y)=yf^{-1}(y) = \sqrt{y} on [0,∞)[0, \infty).

Example 4. Show that the function f:R→Rf : \mathbb{R} \to \mathbb{R} defined by f(x)=x3f(x) = x^3 is invertible and find f−1f^{-1}.

ff is strictly increasing (since f′(x)=3x2≥0f'(x) = 3x^2 \ge 0, zero only at one point), so ff is one-one. ff is onto R\mathbb{R} because cube roots exist for all real numbers. So ff is bijective, and f−1(y)=y1/3f^{-1}(y) = y^{1/3}.

Example 5. Let f:N→Nf : \mathbb{N} \to \mathbb{N} be f(n)=n+1f(n) = n + 1. Show ff is not invertible. What if we change codomain?

ff is not onto N\mathbb{N} (taking N={1,2,3,…}\mathbb{N} = \{1, 2, 3, \ldots\}): 11 is not in the range. So ff is not bijective. If we replace the codomain by N∖{1}\mathbb{N} \setminus \{1\}, ff becomes bijective with inverse n↦n−1n \mapsto n - 1.

Example 6. f:[0,π/2]→[0,1]f : [0, \pi/2] \to [0, 1], f(x)=sin⁡xf(x) = \sin x. Find f−1f^{-1}.

ff is strictly increasing and onto on this domain. The inverse is arcsin⁡\arcsin, restricted: f−1(y)=arcsin⁡yf^{-1}(y) = \arcsin y for y∈[0,1]y \in [0, 1]. This launches the next chapter.

Try it yourself

  1. Find the inverse of f:R→Rf : \mathbb{R} \to \mathbb{R}, f(x)=7−3xf(x) = 7 - 3x.
  2. Find the inverse of f:R→Rf : \mathbb{R} \to \mathbb{R}, f(x)=x3+1f(x) = x^3 + 1.
  3. Find the inverse of f:R∖{−1}→R∖{1}f : \mathbb{R} \setminus \{-1\} \to \mathbb{R} \setminus \{1\}, f(x)=x−1x+1f(x) = \tfrac{x - 1}{x + 1}.
  4. Find the inverse of f:[1,∞)→[0,∞)f : [1, \infty) \to [0, \infty), f(x)=x−1f(x) = \sqrt{x - 1}.
  5. Show that f(x)=ax+bcx+df(x) = \tfrac{ax + b}{cx + d} on appropriate domain has inverse f−1(y)=dy−ba−cyf^{-1}(y) = \tfrac{dy - b}{a - cy}, provided ad−bc≠0ad - bc \neq 0.
  6. Let f,g:R→Rf, g : \mathbb{R} \to \mathbb{R} be invertible. Express (f∘g)−1(f \circ g)^{-1} in terms of f−1f^{-1} and g−1g^{-1}.
  7. Given f(x)=log⁡xf(x) = \log x (base ee) on (0,∞)(0, \infty), find f−1f^{-1}.
  8. Given f(x)=2xf(x) = 2^x on R\mathbb{R}, find f−1f^{-1}.
  9. Show that f:R→Rf : \mathbb{R} \to \mathbb{R}, f(x)=x∣x∣f(x) = x|x|, is bijective and find f−1f^{-1}.
  10. If f,gf, g are mutually inverse, show ff is one-one and gg is onto.
  11. If ff is invertible and f∘f=If \circ f = I, what can ff be? (Such functions are called involutions.)
  12. Find the inverse of f:[0,π/2]→[0,1]f : [0, \pi/2] \to [0, 1], f(x)=sin⁡xf(x) = \sin x, and compute f−1(12)f^{-1}(\tfrac{1}{2}).
  13. Prove that if f:A→Bf : A \to B is bijective, then f−1f^{-1} is also bijective and (f−1)−1=f(f^{-1})^{-1} = f.
  14. Compute the inverse of f:(0,∞)→Rf : (0, \infty) \to \mathbb{R}, f(x)=ln⁡(x)+xf(x) = \ln(x) + x. (Hint: this cannot be solved in elementary form; conclude that not every inverse has a closed form, though it exists.)

Pitfalls / Tricks

  • Do not confuse f−1(y)f^{-1}(y) (the inverse map) with 1/f(y)1/f(y) (the reciprocal).
  • A common error is to write f−1f^{-1} before checking ff is one-one and onto. If ff is one-one but not onto, the inverse exists only as a map from the range of ff.
  • When restricting domain to obtain a bijection, you must explicitly state both new domain and new codomain.
  • (f−1)−1=f(f^{-1})^{-1} = f always. (f∘g)−1=g−1∘f−1(f \circ g)^{-1} = g^{-1} \circ f^{-1} , the order reverses.
  • Graphically, f−1f^{-1} is the reflection of ff across y=xy = x. If ff has a horizontal tangent, f−1f^{-1} has a vertical one.

The chapter closes with a tour of binary operations, which generalise composition.

Test Your Knowledge

Quick MCQ check on this chapter

Start Quiz →

AI Summary

Summarize this page in your favorite LLM