Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

2.4: Inverse Functions

( \newcommand{\kernel}{\mathrm{null}\,}\)

Two real functions f and g are called inverse functions if the two equations y=f(x),x=g(y)

have the same graphs in the (x,y) plane. That is, a point (x,y) is on the curve y=f(x) if, and only if, it is on the curve x=g(y). (In general, the graph of the equation x=g(y) is different from the graph of y=g(x), but is the same as the graph of y=f(x); see Figure 2.4.1.)

One graph shows y as a function f of x, and x as a function g of y. The inverse of this graph shows y as the function g of x, and x as the function f of y.
Figure 2.4.1: Inverse functions.

For example, the function y=x2, x0 has the inverse function x=y; the function y=x3 has the inverse function x=3y.

If we think off as a black box operating on an input x to produce an output f(x), the inverse function g is a black box operating on the output f(x) to undo the
work of f and produce the original input x (see Figure 2.4.2).

Given the input x, the output of a function f is f(x). f(x) can be input into g, the inverse function of f, to obtain x as the output.
Figure 2.4.2: The inverse function applied to a function produces the original function input.

Many functions, such as y=x2, do not have inverse functions: In Figure 2.4.3, we see that x is not a function of y because at y=1, x has the two values x=1 and x=1.

Often one can tell whether a function f has an inverse by looking at its graph. If there is a horizontal line y=c which cuts the graph at more than one point, the function f has no inverse. (See Figure 2.4.3.) If no horizontal line cuts the graph at more than one point, then f has an inverse function g. Using this rule, we can see in Figure 2.4.4 that the functions y=|x| and y=1x2 do not have inverses.

Graph of the parabola y = x^2. A horizontal line at y = 1 cuts through two points on this curve.
Figure 2.4.3: Horizontal line test for inverse function.
Graphs of the absolute value function and the portion of the unit circle with y greater than or equal to 0. A horizontal line of y = 1 and y = 1/2, respectively, will cut through two points on these curves.
Figure 2.4.4: No inverse functions.

Table 2.4.1shows some familiar functions which do have inverses. Note that in each case, dxdy=1dy/dx.

Table 2.4.1. Inverses of some common functions.
function y=f(x) dydx inverse function x=g(y) dxdy=1dy/dx
y=x+c 1 x=yc 1
y=kx k x=y/k 1/k
y=x2,x0 2x x=y 12y=12x
y=x2,x0 2x x=y 12y=12x
y=1/x 1x2 x=1/y 1y2=x2

Suppose the (x,y) plane is flipped over about the diagonal line y=x. This will make the x- and y-axes change places, forming the (y,x) plane. If f has an inverse function g, the graph of the function y=f(x) will become the graph of the inverse function x=g(y) in the (y,x) plane, as shown in Figure 2.4.5.

Graphs of the original function and the inverse function for y = kx, y = x + c, y = x^2 for x-values greater than or equal to 0, and y = x^2 for x-values less than or equal to 0.
Figure 2.4.5: Graphs of some common functions and their inverses.

The following rule shows that the derivatives of inverse functions are always reciprocals of each other.

Inverse Function Rule

Suppose f and g are inverse functions, so that the two equations y=f(x) and x=g(y)have the same graphs. If both derivatives f(x) and g(y) exist and are nonzero, then f(x)=1g(y).

That is, dydx=1dx/dy.

Proof

Let Δx be a nonzero infinitesimal and let Δy be the corresponding change in y. Then Δy is also infinitesimal because f(x) exists and is nonzero because f(x) has an inverse function. By the rules for standard parts, f(x)g(y)=st(ΔyΔx)st(ΔxΔy)=st(ΔyΔxΔxΔy)=st(1)=1.

Therefore, f(x)=1g(y).

The formula dydx=1dx/dy.in the Inverse Function Rule is not as trivial as it looks. A more complete statement is dydx computed with x the independent variable=1dx/dy computed with y the independent variable.

Sometimes it is easier to compute dx/dy than dy/dx, and in such cases the Inverse Function Rule is a useful method.

Example 2.4.1

Find dy/dx where x=1+y3.

Before solving the problem we note that \[y = \frac{1}{\sqrt[3]{x-1}, \nonumber\]

so x and y are inverse functions of each other. We want to find dydx=d(1/3x1)dx

with x the independent variable. This looks hard, but it is easy to compute dxdy=d(1+y3)dywith y the independent variable.

Solution

dxdy=3y4,

dydx=13y4=13y4.

We can write dy/dx in terms of x by substituting, dydx=13(x1)4/3.

Example 2.4.2

Find dy/dx where x=y5+y3+y. Compute dy/dx at the point (1,3).

Solution

Although we cannot solve the equation explicitly for y as a function of x, we can see from the graph in Figure 2.4.6 that there is an inverse function y=f(x)

Graph of the given function of x in terms of y, and its inverse function of y in terms of x.
Figure 2.4.6: Copy and Paste Caption here. (Copyright; author via source)

By the Inverse Function Rule, dxdy=5y4+3y2+1,dydx=15y4+3y2+1.

This time we must leave the answer in terms of y. At the point (1,3), we substitute 3 for y and get dy/dx=1/9.

For y0, the function x=yn has the inverse function y=x1/n. In the next theorem, we use the Inverse Function Rule to find a new derivative, that of y=x1/n.

Theorem 2.4.1

If n is a positive integer and y=x1/n, then dydx=1nx(1/n)1.

Remember that y=x1/n is defined for all x if n is odd and for x>0 if n is even. The derivative 1nx(1/n)1 is defined for x0 if n is odd and for x>0 if n is even. 

If we are willing to assume that dy/dx exists, then we can quickly find dy/dx by the Inverse Function Rule. x=yn,dxdy=nyn1,dydx=1dx/dy=1nyn1=1ny1n=1n(x1/n)1n=1nx(1n)/n=1nx(1/n)1.

Here is a longer but complete proof which shows that dy/dx exists and computes its value.

Proof

Let x0 and let Δx be nonzero infinitesimal. We first show that Δy=(x+Δx)1/nx1/nis a nonzero infinitesimal. Δy0 because x+Δxx. The standard part of Δy is st(Δy)=st((x+Δx)1/n)st(x1/n)=x1/nx1/n=0.Therefore Δy is nonzero infinitesimal.

Now x=yn,dxdy=nyn1,ΔxΔynyn1.

Therefore ΔyΔx1nyn1=1nx(1/n)1,dydx=1nx(1/n)1. 

Graphs of x^(1/3) and x^(1/4).
Figure 2.4.7: Graphs of y=x1/3 and y=x1/4.

Figure 2.4.7 shows the graphs of y=x1/3 and y=x1/4. At x=0, the curves are vertical and have no slope.

Example 2.4.3

Find the derivatives of y=x1/n for n=2,3,4.

Solution

d(x1/2)dx=12x1/2,x>0,d(x1/3)dx=13x2/3,x0,d(x1/4)dx=14x3/4,x>0.

Using Theorem 2.4.1 we can show that the Power Rule holds when the exponent is any rational number.

Power Rule for Rational Exponents

Let y=xr where r is a rational number. Then whenever x>0, dydx=rxr1.

Proof

Let r=m/n where m and n are integers, n>0. Let u=x1/n,y=um.

Then dudx=1nx(1/n)1

and dydx=mum1dudx=m(x1/n)m1(1nx(1/n)1)=mnx(m/n)1=rxr1.

Example 2.4.4

Find \(dy/dx) where y=x3/7.

Solution

dydx=37x(3/7)1=37x10/7.

Example 2.4.5

Find \(dy/dx) where y=12+x3/2.

Solution

Let u=2+x3/2,y=u1.

Then dudx=32x1/2,dydx=u2dudxu2(32x1/2)=32x1/2(2+x3/2)2.

Problems for Section 2.4

In Problems 1-16, find dy/dx.

1. x=3y3+2y 2. x=y2+1
3. x=12y2,y>0 4. x=2y5+y3+4
5. x=(y2+2)1,y>0 6. y=1+x
7. y=x4/3 8. y=2x
9. y=(x+1)(x1) 10. y=(2x1/3+1)3
11. y=1+2x1/3+4x2/3+6x 12. y=x1/4+3x3/4
13. y=(x5/3x)2 14. x=y+2y
15. x=3y1/3+2y,y>0 16. x=1/(1+y)

In Problems 17-25, find the inverse function y and its derivative dy/dx as functions of x.

17. x=ky+c,k0 18. x=y3+1
19. x=2y2+1,y0 20. x=2y2+1,y0
21. x=y43,y0 22. x=y2+3y1,y32
23. x=y4+y2+1,y0 24. x=1/y2+1/y1,y>0
25. x=y+2y,y>0    
26. Show that no second degree polynomial x=ay2+by+c has an inverse function.
 27. Show that x=ay2+by+c,yb/2a, has an inverse function. What does its graph look like?
28. Prove that a function y=f(x) has an inverse function if and only if whenever x1x2, f(x1)f(x2).

This page titled 2.4: Inverse Functions is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by H. Jerome Keisler.

  • Was this article helpful?

Support Center

How can we help?