Skip to main content

Inverse Functions

There are various instances where we have functions that we want to use but we have information about the output and we want to find the input. This is where inverse functions come in. They allow us to rewrite a function in terms of its output rather than its input.

Inverse Functions

Given the functions ff and gg, they are inverses of each other if every coordinate (a,b)(a, b) on the graph of ff cooresponds to the coordinate (b,a)(b, a) on the graph of gg. Note that not all functions have inverses because only functions that are one-to-one have inverses. If the function ff is not one-to-one, then the function gg would not be a function as it would have multiple outputs for a single input.

We can find the inverse of any one-to-one function by following these steps...

  1. Replace f(x)f(x) with yy
  2. Interchange xx and yy
  3. Solve for yy, and rename the function f1(x)f^{-1}(x)

Example\underline{Example}

Find the inverse of the function f(x)=2x+3f(x) = 2x + 3

Replacing f(x)f(x) with yy and interchanging xx and yy gives us x=2y+3x = 2y + 3. We can now solve for yy...

2x=2y+32y=x32y=12x32\begin{array}{l} \phantom{2}x = 2y + 3 \\ 2y = x - 3 \\ \phantom{2}y = \frac{1}{2}x - \frac{3}{2} \end{array}

The inverse of f(x)f(x) is f1(x)=12x32f^{-1}(x) = \frac{1}{2}x - \frac{3}{2}.

Domain

The domain of a function is the set of all possible inputs that the function can take. The domain of the inverse function is the range of the original function. This fact gives us the following properties...

  1. f1(f(x))=xf^-1(f(x)) = x for all xx in the domain of ff.
  2. f(f1(x))=xf(f^{-1}(x)) = x for all xx in the domain of f1f^{-1}.

We can use these properties to verify if two functions are inverses of each other because if these properties hold true for any two functions, then they are inverses of each other.

Example\underline{Example}

Show that $f(x) = \frac{x + 5}{3} and f^{-1}(x) = 3x - 5 are inverses.

To verify this fact, we need to show that f(f1(x))=xf(f^{-1}(x)) = x and f1(f(x))=xf^{-1}(f(x)) = x.

Starting with f(f1(x))f(f^{-1}(x))...

f(f1(x))=f(3x5)f(f1(x))=(3x5)+53f(f1(x))=3x3f(f1(x))=x\begin{array}{l} f(f^{-1}(x)) = f(3x - 5) \\ \phantom{f(f^{-1}(x))} = \frac{(3x - 5) + 5}{3} \\ \phantom{f(f^{-1}(x))} = \frac{3x}{3} \\ \phantom{f(f^{-1}(x))} = x \end{array}

Next, lets find f1(f(x))f^{-1}(f(x))...

f1(f(x))=f1(x+53)f1(f(x))=3(x+53)5f1(f(x))=x+55f1(f(x))=x\begin{array}{l} f^{-1}(f(x)) = f^{-1}(\frac{x + 5}{3}) \\ \phantom{f^{-1}(f(x))} = 3(\frac{x + 5}{3}) - 5 \\ \phantom{f^{-1}(f(x))} = x + 5 - 5 \\ \phantom{f^{-1}(f(x))} = x \end{array}

Both f(f1(x))f(f^{-1}(x)) and f1(f(x))f^{-1}(f(x)) are equal to xx, so f(x)f(x) and f1(x)f^{-1}(x) are inverses.

Domain Restrictions

As previously stated, for a function to have an inverse, it must be one-to-one. A function that has an inverse is called an invertible function.

There are functions like f(x)=x2f(x) = x^2 that are not invertible but can be made invertible by restricting the domain. For the case of f(x)=x2f(x) = x^2, we can restrict the domain to x0x \geq 0 or x0x \leq 0 to make the function invertible.

Example\underline{Example}

Find the inverse of the function f(x)=(x4)2f(x) = (x - 4)^2 where x4x \geq 4.

The domain of f(x)f(x) makes it invertible because it restricts the quadratic function to only the right side of the axis of symmetry.

Replacing f(x)f(x) with yy and interchanging xx and yy gives us x=(y4)2x = (y - 4)^2. We can now solve for yy...

x=(y4)2x=y4y=x+4x = (y - 4)^2 \to \sqrt{x} = y - 4 \to y = \sqrt{x} + 4

Note that we ignored x+4-\sqrt{x} + 4 because of our domain restriction. So the inverse of f(x)f(x) is f1(x)=x+4f^{-1}(x) = \sqrt{x} + 4.

Radical Functions

Often times, the function we want to find the inverse of is a radical function. To find the inverse of a radical function, we can follow the same steps as before. However, after solving for yy, we need to restrict the domain of the inverse function to the range of the original function.

Example\underline{Example}

Restrict the domain and then find the inverse of the function f(x)=2x+3f(x) = \sqrt{2x + 3}.

The domain of f(x)f(x) is x32x \geq -\frac{3}{2} because the xx-intercept of the function is 32-\frac{3}{2} and the graph of x\sqrt{x} tends towards positive infinity.

Replacing f(x)f(x) with yy and interchanging xx and yy gives us x=2y+3x = \sqrt{2y + 3}. We can now solve for yy...

x=2y+3x2=2y+32y=x23y=12x232x = \sqrt{2y + 3} \to x^2 = 2y + 3 \to 2y = x^2 - 3 \to y = \frac{1}{2}x^2 - \frac{3}{2}

For y=12x232y = \frac{1}{2}x^2 - \frac{3}{2} to be the inverse of f(x)f(x), we need to restrict the domain. The domain of f1(x)f^{-1}(x) is the range of f(x)f(x). The range of f(x)f(x) is y0y \geq 0 because the graph of x\sqrt{x} is always positive. So the domain of f1(x)f^{-1}(x) is x0x \geq 0.

The inverse of f(x)f(x) is f1(x)=12x232f^{-1}(x) = \frac{1}{2}x^2 - \frac{3}{2} where x0x \geq 0.

Rational Functions

When finding the inverse of rational functions, we often have multiple instances of xx variables in the equation which we interchange with yy. To solve for yy in these situations, we need to use the distributive property to isolate yy...

Example\underline{Example}

Find the inverse of the function f(x)=x+3x2f(x) = \frac{x + 3}{x - 2}.

Replacing f(x)f(x) with yy and interchanging xx and yy gives us x=y+3y2x = \frac{y + 3}{y - 2}. We can now solve for yy...

x=y+3y2x(y2)=y+3xy2x=y+3x = \frac{y + 3}{y - 2} \to x(y - 2) = y + 3 \to xy - 2x = y + 3

From here, we want to isolate yy so we can use the distributive property...

xy2x=y+3xyy=2x+3y(x1)=2x+3y=2x+3x1xy - 2x = y + 3 \to xy - y = 2x + 3 \to y(x - 1) = 2x + 3 \to y = \frac{2x + 3}{x - 1}

The inverse of f(x)f(x) is f1(x)=2x+3x1f^{-1}(x) = \frac{2x + 3}{x - 1}.