JustToThePoint English Website Version
JustToThePoint en español

Inverse functions

Get your facts first, then you can distort them as you please, Mark Twain.

“How are you doing pal?” “Sucking air, pumping blood, and slowly maintaining an undignified, insignificant existence while pretending but fooling nobody, to overcome a life of suppressed rage, unknown biases, dark areas, emotional rollercoaster, and most importantly, blatant denial,” Apocalypse, Anawim, #justtothepoint.

Recall

Definition. A function f is a rule, relationship, or correspondence that assigns to each element x in a set D, x ∈ D (called the domain) exactly one element y in a set E, y ∈ E (called the codomain or range).

  1. If f′(x) > 0 for x just to the left of c and f′(x) < 0 for x just to the right of c, then f(c) is a local maximum.
  2. If f′(x) < 0 for x just to the left of c and f′(x) > 0 for x just to the right of c, then f(c) is a local minimum.
  3. If f′(x) does not change sign at c (stays positive or stays negative), then f(c) is not a local extremum.

Inverse Functions

Loosely speaking, the inverse function of a function f is a function that undoes the operation of the original function. If a function f maps each element x in its domain to a unique element y in its codomain, then the inverse function, denoted by $f^{-1}$, maps each such element y back to its corresponding x.

Formally, if f(x) = y, then $f^{-1}(y) = x$. This relationship can be summarized by the identities $f^{-1}(f(x)) = x, \forall x \in \mathrm{Dom}(f),$ and $f(f^{-1}(y)) = y, \forall y \in \mathrm{Dom}(f^{-1}).$

For a given function f, its inverse g = f-1 is a function that reverses the input and output of the original function.

Some examples

Graphical interpretation

If you want to plot or graph the inverse of a function, simply reflect the graph of f(x) across the line y = x. A point (a, b) on the graph of f corresponds to the point (b, a) on the graph of $f^{-1}$ and the line y = x acts as a mirror.

Image 

When does an inverse function exist?

For an inverse function to exist, the original function must be both one-to-one (injective) and onto (surjective).

Definition. A function $f: A \to B$ is one-to-one (injective) if distinct inputs produce or map to distinct outputs. In other words, each element in the domain maps to a distinct (unique) element in the codomain. Formally, $\forall x_1, x_2 \in A, f(x_1)=f(x_2) \Rightarrow x_1=x_2$. Graphically, this means the function passes the horizontal line test (every horizontal line intersects the graph at most once).

Definition. A function $f: A \to B$ is onto (surjective) if every element in the codomain is the image of at least one element in the domain A or has a pre-image in the domain. In other words, the range of f is equal to the entire codomain B. Formally, $\forall b\in B, \exist a\in A: f(a) = b$.

A function that is both injective and surjective is called a bijection. This establishes a perfect “pairing” between every element of A and every element of B.

How to find the inverse of a function

  1. Write the function as y = f(x).
  2. Switch the roles of x and y.
  3. Solve for y in terms of x.
  4. Identify the domain and range of the inverse.

Examples

$ x = \frac{2y+5}{3y-2} ⇒ 3yx -2x = 2y + 5 ⇒ y(3x-2) = 2x + 5 ⇒ f^{-1}(x) = \frac{2x+5}{3x-2}.$ Notice that this function is its own inverse.

Image 

y = $\sqrt{2x -6}$. To find the inverse of a function, you need to switch the roles of x and y, and then solve for y in terms of x. $x = \sqrt{2x -6} ⇒ x^2 = (\sqrt{2y-6})^2 ⇒ x^2 = 2y -6 ⇒ f^{-1}(x) = \frac{1}{2}x^2 + 3.$ with domain [0, ∞) and range [3, ∞). Notice that the domain of $f^{-1}$ is the range of f.

Always check whether a function is one-to-one before attempting to find its inverse. Furthermore, many functions become invertible after an appropriate domain restriction.

Image 

How to prove two functions are inverses

To prove that two functions f and g are inverses, one needs to show that composing one function with the other gives the identity function. In other words, $f(g(x)) = x, \forall x \in Dom(g), g(f(x)) = x, \forall x \in Dom(f)$.

  1. Let f(x) = 2x +3, g(x) = $\frac{x-3}{2}$. f(g(x)) = $2\frac{x-3}{2}+3 = x -3 + 3 = x.$ This is valid for all real x. g(f(x)) = $\frac{2x +3-3}{2} = \frac{2x}{2} = x$. This is valid for all real x. Thus, f and g are mutual inverses on $\mathbb{R}$.
  2. Let f(x) = $\sqrt{x+5}$, g(x) = x2 -5.

As it was previously stated, these are not inverses on all of $\mathbb{R}$. $f: [-5,\infty) \to [0,\infty)$, domain $[-5, \infty)$, range $[0, \infty), g:\ \mathbb{R} \to [-5,\infty)$, range $[-5, \infty)$.

To make them true inverses,we must restrict the domain of g to $[0, \infty)$ so that g maps $[0,\infty) \to [-5,\infty)$.

For $x \ge 0$, $f(g(x)) = \sqrt{x^2-5+5} = \sqrt{x} = x$ (the final equality holds because x ≥ 0). For $x \ge 5,$ $g(f(x)) = (\sqrt{x+5})^2-5 = x +5 -5 = x$. Thus, with the domain restriction $g: [0,\infty) \to[-5,\infty)$, the two functions are inverses: $f:\ [-5,\infty) \to [0,\infty), g: [0,\infty) \to [-5,\infty).$

A real-world inverse problem

Problem. Martha earns 8 dollars per hour for up to 40 hours per week and receives overtime (any hours beyond 40) pay at a rate of 1.5 times her regular hourly wage. If Martha earned $380 last week, how many hours did she work? (Figure vi)

Model the earnings function E(h), where h is the total hours worked. If h > 40, then $E(h) =[\text{1.5 times her regular hourly wage,} 1.5\cdot 8 = 12] 8\cdot40 + 12\cdot(h-40)=320 + 12(h-40)=12h -160$

$E(h) = \begin{cases} 8h, &0 \le h \le 40 \\\\ 12h -160, &h > 40 \end{cases}$

We are told E(h)=380. Since 380 > 320 = 8×40, she must have worked overtime, so we should use the overtime formula: 12h - 160 = 380.

Solve: $12h = 540 \implies h = \frac{540}{12} = 45$. Answer: Martha worked 45 hours (i.e., 5 overtime or extra hours).

If you view E on the domain $h \ge 40$ with E(h) = 12h - 160, then its inverse is $E^{-1}(x)=\frac{x+160}{12}$, and $E^{-1}(380)=(380+160)/12=45$.

Image 

Trigonometric functions and principal branches

Trigonometric functions are periodic and therefore, they are not one-to-one on $\mathbb{R}$. To obtain inverses we choose principal branches (restricted domains) to make them one-to-one.

Derivate of inverse functions

Theorem. Derivate of the inverse functions. Let f be a bijective function that is differentiable at $x_0$, and assume $f'(x_0)\neq 0$. Then, the inverse function $f^{-1}$ is differentiable at $a = f(x_0)$ and its derivative is given by $\boxed{(f^{-1})'(a)=\frac{1}{f'(f^{-1}(a))}}$.

Equivalently, $(f^{-1})'(f(x_0))=\frac{1}{f'(x_0)}.$

Proof.

Let y = f-1(x) ↭[By definition of the inverse function, this is equivalent to] x = f(y)⇒[Differentiate both sides with respect to x. Chain Rule] $\frac{d}{dx}(x) = f'(y)·\frac{dy}{dx} \implies 1 = f'(y)·\frac{dy}{dx} \implies \frac{dy}{dx} = \frac{1}{f'(y)}$⇒[y = f-1(x)] $(f^{-1})'(x) = \frac{1}{f'(f^{-1}(x))}$ ⇒[Evaluating at x = a] $(f^{-1})'(a) = \frac{1}{f'(f^{-1}(a))}$∎

The condition $f'(x_0) \neq 0$ is essential. If $f'(x_0) = 0$, the inverse may fail to be differentiable at $f(x_0)$. Geometrically, since the graph of $f^{-1}$ is the reflection of the graph of f across the line y = x, the slopes of their tangents at corresponding points are reciprocals.

Examples

Step 1. Verify invertibility. f’(x) = 5x4 +6x2 + 7 > 0 ⇒ f is strictly increasing and therefore, one-to-one.

Step 2. Find $f^{-1}(1)$. f(0) = 1 ⇒[f is one-to-one] f-1(1) = 0 ⇒[Apply the inverse derivative formula] $(f^{-1})'(1) = \frac{1}{f'(f^{-1}(1))} = \frac{1}{f'(f^{-1}(1))} = \frac{1}{f'(0)} = \frac{1}{7}.$

Since $f'(x)=\cos(x)$, the inverse derivative formula gives $(\arcsin(x))'=\frac{1}{\cos(\arcsin x)}$.

Using a right triangle, $\cos(\arcsin x)=\sqrt{1-x^2}$, so $(\arcsin x)'=\frac{1}{\sqrt{1-x^2}}, \forall x, |x| \lt 1.$

The horizontal line test

The horizontal line test is a graphical method used to determine whether a function is one-to-one and whether it is onto.

  1. If every horizontal line intersects the graph of a function at most once, then the function is one-to-one (injective).
  2. If there exists a horizontal line y = c that intersects the graph in more than one point, the function is not injective and therefore has no inverse function on that domain.
  3. The function is onto (surjective) if and only if every horizontal line y = c in the codomain intersects the graph at least once.
  4. A function is bijective if and only if every horizontal line intersects its graph exactly once.

Image 

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. YouTube’s Andrew Misseldine: Calculus. College Algebra and Abstract Algebra.
  8. MIT OpenCourseWare 18.01 Single Variable Calculus, Fall 2007 and 18.02 Multivariable Calculus, Fall 2007.
  9. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2025 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.