Section 2.9 Inverse Functions

Objective 1: Inverses

Before defining inverse functions, it is essential to understand a special type of function known as a one-to-one function.

One-to-One Function

  • Definition: A function ff is one-to-one if different elements in its domain are assigned to different values in its range.

    • That is, if x<em>1x</em>2x<em>1 \neq x</em>2, then f(x<em>1)f(x</em>2)f(x<em>1) \neq f(x</em>2).

    • Equivalently, if f(x<em>1)=f(x</em>2)f(x<em>1) = f(x</em>2), then x<em>1=x</em>2x<em>1 = x</em>2.

    • In simpler terms: Each distinct x-value corresponds to a distinct y-value.

  • Conditions for not being one-to-one: If there are two distinct elements in the domain of ff that are assigned the same value in the range, then the function ff is not one-to-one.

  • **Conceptual Representation (similar to Figure 2.100):

    • A one-to-one function:** Each y-value in the range corresponds to only one x-value in the domain.

    • A function that is not one-to-one: At least one y-value in the range corresponds to multiple x-values from the domain.

    • A relation that is not a function: At least one x-value in the domain maps to more than one y-value in the range.

Inverse Function

Let ff represent a one-to-one function. If yy is in the range of ff, there is only one value of xx in the domain of ff such that f(x)=yf(x)=y. We define the inverse of ff, called the inverse function of ff, denoted f1f^{-1}, by f1(y)=xf^{-1}(y)=x if and only if y=f(x)y=f(x).

From this definition, we have the following:

  • Domain of ff = Range of f1f^{-1}

  • Range of ff = Domain of f1f^{-1}

Side Note: The reason only a one-to-one function can have an inverse function is that if x<em>1x</em>2x<em>1 \neq x</em>2 but f(x<em>1)=yf(x<em>1)=y and f(x</em>2)=yf(x</em>2)=y, then f1(y)f^{-1}(y) would have to be both x<em>1x<em>1 and x</em>2x</em>2. This is not possible because x<em>1x</em>2x<em>1 \neq x</em>2, which violates the definition of a function (one input, one output).

One interpretation of the equation f1(f(x))=xf^{-1}(f(x))=x (and also f(f1(x))=xf(f^{-1}(x))=x) is that f1f^{-1} reverses the effect that ff has on xx. For example, let f(x)=x+2f(x)=x+2. ff adds 2 to any input xx. To undo what ff does to xx, we should subtract 2 from xx. That is, the inverse of ff should be g(x)=x2g(x)=x-2. gg subtracts 2 from xx.

Let's verify that g(x)=x2g(x)=x-2 is indeed the inverse function of f(x)=x+2f(x)=x+2:

f(g(x))=f(x2)f(g(x)) = f(x-2)

=(x2)+2= (x-2)+2

=x= x

We leave it for you to check that g(f(x))=xg(f(x))=x.

Example 3: Verifying Inverse Functions

Verify that the following pairs of functions are inverses of each other:

f(x)=2x+3f(x) = 2x+3

g(x)=x32g(x) = \frac{x-3}{2}

Solution:

First, evaluate f(g(x))f(g(x)):

f(g(x))=f(x32)f(g(x)) = f\left(\frac{x-3}{2}\right)

=2(x32)+3= 2\left(\frac{x-3}{2}\right) + 3

=(x3)+3= (x-3) + 3

=x= x

Thus, f(g(x))=xf(g(x)) = x.

Next, evaluate g(f(x))g(f(x)):

g(f(x))=g(2x+3)g(f(x)) = g(2x+3)

=(2x+3)32= \frac{(2x+3)-3}{2}

=2x2= \frac{2x}{2}

=x= x

Thus, g(f(x))=xg(f(x)) = x. Because f(g(x))=xf(g(x))=x and g(f(x))=xg(f(x))=x, ff and gg are inverses of each other.

Practice Problem 3

Verify that f(x)=3x1f(x) = 3x-1 and g(x)=x+13g(x) = \frac{x+1}{3} are inverses of each other.

In Example 3, notice how the functions ff and gg reverse (undo) the effect of each other. The function ff takes an input xx, multiplies it by 2, and adds 3; gg reverses (or undoes) this effect by subtracting 3 and dividing by 2. This process is illustrated in Figure 2.104. Notice that gg reverses the operations performed by ff and the order in which they are done.

Important Note: The notation f1(x)f^{-1}(x) does not mean 1f(x)\frac{1}{f(x)}. The expression 1f(x)\frac{1}{f(x)} represents the reciprocal of f(x)f(x) and is sometimes written as (f(x))1(f(x))^{-1}.

Example 2: Relating the Values of a Function and Its Inverse

Assume that ff is a one-to-one function.

  • If f(3)=5f(3)=5, find f1(5)f^{-1}(5).

  • If f1(1)=7f^{-1}(-1)=7, find f(7)f(7).

Solution:

By definition, f1(y)=xf^{-1}(y)=x if and only if y=f(x)y=f(x).

  • Let x=3x=3 and y=5y=5. Reading the definition from right to left, 5=f(3)5=f(3) if and only if f1(5)=3f^{-1}(5)=3. So, f1(5)=3f^{-1}(5)=3.

  • Let y=1y=-1 and x=7x=7. We are given f1(1)=7f^{-1}(-1)=7. From the definition, this means f(7)=1f(7)=-1. So, f(7)=1f(7)=-1.

Practice Problem 2

Assume that ff is a one-to-one function.

  • If f(3)=12f(-3)=12, find f1(12)f^{-1}(12).

  • If f1(4)=9f^{-1}(4)=9, find f(9)f(9).

Objective 2: Finding the Inverse Function

Let y=f(x)y=f(x) be a one-to-one function; then ff has an inverse function. Suppose (a,b)(a, b) is a point on the graph of ff. Then b=f(a)b=f(a). This means that a=f1(b)a=f^{-1}(b); so (b,a)(b,a) is a point on the graph of f1f^{-1}. The points (a,b)(a, b) and (b,a)(b, a) are symmetric about the line y=xy=x, as shown in Figure 2.105. That is, if the graph paper is folded along the line y=xy=x, the points (a,b)(a, b) and (b,a)(b,a) will coincide. Therefore, we have the following property.

Symmetry Property of the Graphs of ff and f1f^{-1}:

The graph of a one-to-one function ff and the graph of f1f^{-1} are symmetric about the line y=xy=x.

Example 4: Finding the Graph of f1f^{-1} from the Graph of ff

The graph of a function ff is shown in Figure 2.106. Sketch the graph of f1f^{-1}. Figure 2.106 is a 'Graph of f'. The symmetry between the graphs of ff and f1f^{-1} about the line y=xy=x tells us that we can find an equation for the inverse function y=f1(x)y=f^{-1}(x) from the equation of a one-to-one function y=f(x)y=f(x) by interchanging the roles of xx and yy in the equation y=f(x)y=f(x). This results in the equation x=f(y)x=f(y). Then we solve the equation x=f(y)x=f(y) for yy in terms of xx to get y=f1(x)y=f^{-1}(x).

Procedure in Action: Example 5 Finding an Equation for f1f^{-1}

OBJECTIVE

Find the inverse of a one-to-one function ff.

EXAMPLE

Find the inverse of f(x)=3x4f(x) = 3x-4.

  • Step 1: Replace f(x)f(x) with yy in the equation defining f(x)f(x).:

    y=3x4y=3x-4 (Replace f(x)f(x) with yy)

  • Step 2: Interchange xx and yy.

    x=3y4x=3y-4 (Interchange xx and yy)

  • Step 3: Solve the equation in Step 2 for yy.

    x+4=3yx+4=3y (Add 4 to both sides.)

    x+43=y\frac{x+4}{3}=y (Divide both sides by 3.)

  • Step 4: Write f1(x)f^{-1}(x) for yy.

    f1(x)=x+43f^{-1}(x) = \frac{x+4}{3} (We usually end with f1(x)f^{-1}(x) on the left.)

Practice Problem 5

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

Example 6: Finding the Inverse Function

Find the inverse of the one-to-one function f(x)=x+1x2f(x) = \frac{x+1}{x-2}, x2x \neq 2.

Solution:

  • Step 1:

    y=x+1x2y=\frac{x+1}{x-2} (Replace f(x)f(x) with yy)

  • Step 2:

    x=y+1y2x=\frac{y+1}{y-2} (Interchange xx and yy)

  • Step 3: Solve x=y+1y2x=\frac{y+1}{y-2} for yy. This is the most challenging step.

    x(y2)=y+1x(y-2)=y+1 (Multiply both sides by y2y-2)

    xy2x=y+1xy-2x=y+1 (Distributive property)

    xy2x+2xy=y+1+2xyxy-2x+2x-y=y+1+2x-y (Add 2xy2x-y to both sides.)

    xyy=2x+1xy-y=2x+1 (Simplify.)

    y(x1)=2x+1y(x-1)=2x+1 (Factor out yy.)

    y=2x+1x1y=\frac{2x+1}{x-1} (Divide both sides by x1x-1, assuming that x1x \neq 1.)

Objective 3: Finding the Range of a One-to-One Function

It is not always easy to determine the range of a function that is defined by an equation. However, for a one-to-one function, we can find the range of ff by finding the domain of f1f^{-1}. Recall that the domain of a function given by a formula is the largest set of real numbers for which the outputs are real numbers.

Example 7: Finding the Domain and Range of a One-to-One Function

Find the domain and the range of the function f(x)=x+1x2f(x) = \frac{x+1}{x-2} of Example 6.

Solution:

The domain of f(x)=x+1x2f(x) = \frac{x+1}{x-2} is the set of all real numbers xx such that x2x \neq 2.

In interval notation, the domain of ff is (,2)(2,)(-\infty, 2) \cup (2, \infty).

From Example 6, f1(x)=2x+1x1f^{-1}(x) = \frac{2x+1}{x-1}, x1x \neq 1; therefore,

range of ff = domain of f1f^{-1} = \left{x \mid x \neq 1\right}.

In interval notation, the range of ff is (,1)(1,)(-\infty, 1) \cup (1, \infty).

Practice Problem 7

Find the domain and the range of the function f(x)=xx+3f(x)=\frac{x}{x+3}.

If a function ff is not one-to-one, then it does not have an inverse function. Sometimes by changing its domain, we can produce an interesting function that does have an inverse. (This technique is frequently used in trigonometry.) We saw in Example 1(b) that g(x)=x21g(x) = x^2-1 is not a one-to-one function; so gg does not have an inverse function. However, the horizontal-line test shows that the function

G(x)=x21G(x) = x^2-1, x0x \geq 0

with domain [0,)[0, \infty) is one-to-one. See Figure 2.109. Therefore, GG has an inverse function G1G^{-1}. Figure 2.109 is titled 'The function G has an inverse'. The horizontal axis is