### Learning Objectives

- 1.4.1 Determine the conditions for when a function has an inverse.
- 1.4.2 Use the horizontal line test to recognize when a function is one-to-one.
- 1.4.3 Find the inverse of a given function.
- 1.4.4 Draw the graph of an inverse function.
- 1.4.5 Evaluate inverse trigonometric functions.

An inverse function reverses the operation done by a particular function. In other words, whatever a function does, the inverse function undoes it. In this section, we define an inverse function formally and state the necessary conditions for an inverse function to exist. We examine how to find an inverse function and study the relationship between the graph of a function and the graph of its inverse. Then we apply these ideas to define and discuss properties of the inverse trigonometric functions.

### Existence of an Inverse Function

We begin with an example. Given a function $f$ and an output $y=f(x),$ we are often interested in finding what value or values $x$ were mapped to $y$ by $f.$ For example, consider the function $f\left(x\right)={x}^{3}+4.$ Since any output $y={x}^{3}+4,$ we can solve this equation for $x$ to find that the input is $x=\sqrt[3]{y-4}.$ This equation defines $x$ as a function of $y.$ Denoting this function as ${f}^{\mathrm{-1}},$ and writing $x={f}^{\mathrm{-1}}\left(y\right)=\sqrt[3]{y-4},$ we see that for any $x$ in the domain of $f,{f}^{\mathrm{-1}}\left(f\left(x\right)\right)={f}^{\mathrm{-1}}\left({x}^{3}+4\right)=x.$ Thus, this new function, ${f}^{\mathrm{-1}},$ “undid” what the original function $f$ did. A function with this property is called the inverse function of the original function.

### Definition

Given a function $f$ with domain $D$ and range $R,$ its inverse function (if it exists) is the function ${f}^{\mathrm{-1}}$ with domain $R$ and range $D$ such that ${f}^{\mathrm{-1}}\left(y\right)=x$ if $f\left(x\right)=y.$ In other words, for a function $f$ and its inverse ${f}^{\mathrm{-1}},$

Note that ${f}^{\mathrm{-1}}$ is read as “f inverse.” Here, the $\mathrm{-1}$ is not used as an exponent and ${f}^{\mathrm{-1}}\left(x\right)\ne 1\text{/}f(x).$ Figure 1.37 shows the relationship between the domain and range of *f* and the domain and range of ${f}^{\mathrm{-1}}.$

Recall that a function has exactly one output for each input. Therefore, to define an inverse function, we need to map each input to exactly one output. For example, let’s try to find the inverse function for $f\left(x\right)={x}^{2}.$ Solving the equation $y={x}^{2}$ for $x,$ we arrive at the equation $x=\pm \sqrt{y}.$ This equation does not describe $x$ as a function of $y$ because there are two solutions to this equation for every $y>0.$ The problem with trying to find an inverse function for $f\left(x\right)={x}^{2}$ is that two inputs are sent to the same output for each output $y>0.$ The function $f\left(x\right)={x}^{3}+4$ discussed earlier did not have this problem. For that function, each input was sent to a different output. A function that sends each input to a *different* output is called a one-to-one function.

### Definition

We say a $f$ is a one-to-one function if $f\left({x}_{1}\right)\ne f\left({x}_{2}\right)$ when ${x}_{1}\ne {x}_{2}.$

One way to determine whether a function is one-to-one is by looking at its graph. If a function is one-to-one, then no two inputs can be sent to the same output. Therefore, if we draw a horizontal line anywhere in the $xy$-plane, according to the horizontal line test, it cannot intersect the graph more than once. We note that the horizontal line test is different from the vertical line test. The vertical line test determines whether a graph is the graph of a function. The horizontal line test determines whether a function is one-to-one (Figure 1.38).

### Rule: Horizontal Line Test

A function $f$ is one-to-one if and only if every horizontal line intersects the graph of $f$ no more than once.

### Example 1.28

#### Determining Whether a Function Is One-to-One

For each of the following functions, use the horizontal line test to determine whether it is one-to-one.

### Checkpoint 1.23

Is the function $f$ graphed in the following image one-to-one?

### Finding a Function’s Inverse

We can now consider one-to-one functions and show how to find their inverses. Recall that a function maps elements in the domain of $f$ to elements in the range of $f.$ The inverse function maps each element from the range of $f$ back to its corresponding element from the domain of $f.$ Therefore, to find the inverse function of a one-to-one function $f,$ given any $y$ in the range of $f,$ we need to determine which $x$ in the domain of $f$ satisfies $f(x)=y.$ Since $f$ is one-to-one, there is exactly one such value $x.$ We can find that value $x$ by solving the equation $f(x)=y$ for $x.$ Doing so, we are able to write $x$ as a function of $y$ where the domain of this function is the range of $f$ and the range of this new function is the domain of $f.$ Consequently, this function is the inverse of $f,$ and we write $x={f}^{\mathrm{-1}}(y).$ Since we typically use the variable $x$ to denote the independent variable and $y$ to denote the dependent variable, we often interchange the roles of $x$ and $y,$ and write $y={f}^{\mathrm{-1}}(x).$ Representing the inverse function in this way is also helpful later when we graph a function $f$ and its inverse ${f}^{\mathrm{-1}}$ on the same axes.

### Problem-Solving Strategy

#### Problem-Solving Strategy: Finding an Inverse Function

- Solve the equation $y=f\left(x\right)$ for $x.$
- Interchange the variables $x$ and $y$ and write $y={f}^{\mathrm{-1}}(x).$

### Example 1.29

#### Finding an Inverse Function

Find the inverse for the function $f\left(x\right)=3x-4.$ State the domain and range of the inverse function. Verify that ${f}^{\mathrm{-1}}(f(x))=x.$

### Checkpoint 1.24

Find the inverse of the function $f\left(x\right)=3x\text{/}(x-2).$ State the domain and range of the inverse function.

#### Graphing Inverse Functions

Let’s consider the relationship between the graph of a function $f$ and the graph of its inverse. Consider the graph of $f$ shown in Figure 1.39 and a point $\left(a,b\right)$ on the graph. Since $b=f(a),$ then ${f}^{\mathrm{-1}}\left(b\right)=a.$ Therefore, when we graph ${f}^{\mathrm{-1}},$ the point $(b,a)$ is on the graph. As a result, the graph of ${f}^{\mathrm{-1}}$ is a reflection of the graph of $f$ about the line $y=x.$

### Example 1.30

#### Sketching Graphs of Inverse Functions

For the graph of $f$ in the following image, sketch a graph of ${f}^{\mathrm{-1}}$ by sketching the line $y=x$ and using symmetry. Identify the domain and range of ${f}^{\mathrm{-1}}.$

### Checkpoint 1.25

Sketch the graph of $f\left(x\right)=2x+3$ and the graph of its inverse using the symmetry property of inverse functions.

#### Restricting Domains

As we have seen, $f\left(x\right)={x}^{2}$ does not have an inverse function because it is not one-to-one. However, we can choose a subset of the domain of $f$ such that the function is one-to-one. This subset is called a restricted domain. By restricting the domain of $f,$ we can define a new function $g$ such that the domain of $g$ is the restricted domain of $f$ and $g(x)=f(x)$ for all $x$ in the domain of $g.$ Then we can define an inverse function for $g$ on that domain. For example, since $f(x)={x}^{2}$ is one-to-one on the interval $[0,\infty ),$ we can define a new function $g$ such that the domain of $g$ is $[0,\infty )$ and $g(x)={x}^{2}$ for all $x$ in its domain. Since $g$ is a one-to-one function, it has an inverse function, given by the formula ${g}^{\mathrm{-1}}(x)=\sqrt{x}.$ On the other hand, the function $f(x)={x}^{2}$ is also one-to-one on the domain $(\text{\u2212}\infty ,0].$ Therefore, we could also define a new function $h$ such that the domain of $h$ is $(\text{\u2212}\infty ,0]$ and $h(x)={x}^{2}$ for all $x$ in the domain of $h.$ Then $h$ is a one-to-one function and must also have an inverse. Its inverse is given by the formula ${h}^{\mathrm{-1}}(x)=\text{\u2212}\sqrt{x}$ (Figure 1.40).

### Example 1.31

#### Restricting the Domain

Consider the function $f\left(x\right)={\left(x+1\right)}^{2}.$

- Sketch the graph of $f$ and use the horizontal line test to show that $f$ is not one-to-one.
- Show that $f$ is one-to-one on the restricted domain $[\mathrm{-1},\infty ).$ Determine the domain and range for the inverse of $f$ on this restricted domain and find a formula for ${f}^{\mathrm{-1}}.$

### Checkpoint 1.26

Consider $f\left(x\right)=1\text{/}{x}^{2}$ restricted to the domain $\left(\text{\u2212}\infty ,0\right).$ Verify that $f$ is one-to-one on this domain. Determine the domain and range of the inverse of $f$ and find a formula for ${f}^{\mathrm{-1}}.$

### Inverse Trigonometric Functions

The six basic trigonometric functions are periodic, and therefore they are not one-to-one. However, if we restrict the domain of a trigonometric function to an interval where it is one-to-one, we can define its inverse. Consider the sine function (Figure 1.34). The sine function is one-to-one on an infinite number of intervals, but the standard convention is to restrict the domain to the interval $\left[-\frac{\pi}{2},\frac{\pi}{2}\right].$ By doing so, we define the inverse sine function on the domain $[\mathrm{-1},1]$ such that for any $x$ in the interval $[\mathrm{-1},1],$ the inverse sine function tells us which angle $\theta $ in the interval $\left[-\frac{\pi}{2},\frac{\pi}{2}\right]$ satisfies $\text{sin}\phantom{\rule{0.1em}{0ex}}\theta =x.$ Similarly, we can restrict the domains of the other trigonometric functions to define inverse trigonometric functions, which are functions that tell us which angle in a certain interval has a specified trigonometric value.

### Definition

The inverse sine function, denoted ${\text{sin}}^{\mathrm{-1}}$ or arcsin, and the inverse cosine function, denoted ${\text{cos}}^{\mathrm{-1}}$ or arccos, are defined on the domain $D=\text{{}x|-1\le x\le 1\}$ as follows:

The inverse tangent function, denoted ${\text{tan}}^{\mathrm{-1}}$ or arctan, and inverse cotangent function, denoted ${\text{cot}}^{\mathrm{-1}}$ or arccot, are defined on the domain $D=\left\{x\right|-\infty <x<\infty \}$ as follows:

The inverse cosecant function, denoted ${\text{csc}}^{\mathrm{-1}}$ or arccsc, and inverse secant function, denoted ${\text{sec}}^{\mathrm{-1}}$ or arcsec, are defined on the domain $D=\left\{x\right|\left|x\right|\ge 1\}$ as follows:

To graph the inverse trigonometric functions, we use the graphs of the trigonometric functions restricted to the domains defined earlier and reflect the graphs about the line $y=x$ (Figure 1.41).

### Media

Go to the following site for more comparisons of functions and their inverses.

When evaluating an inverse trigonometric function, the output is an angle. For example, to evaluate ${\text{cos}}^{\mathrm{-1}}\left(\frac{1}{2}\right),$ we need to find an angle $\theta $ such that $\text{cos}\phantom{\rule{0.1em}{0ex}}\theta =\frac{1}{2}.$ Clearly, many angles have this property. However, given the definition of ${\text{cos}}^{\mathrm{-1}},$ we need the angle $\theta $ that not only solves this equation, but also lies in the interval $\left[0,\pi \right].$ We conclude that ${\text{cos}}^{\mathrm{-1}}\left(\frac{1}{2}\right)=\frac{\pi}{3}.$

We now consider a composition of a trigonometric function and its inverse. For example, consider the two expressions $\text{sin}\left({\text{sin}}^{\mathrm{-1}}\left(\frac{\sqrt{2}}{\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}2}\right)\right)$ and ${\text{sin}}^{\mathrm{-1}}(\text{sin}(\pi )).$ For the first one, we simplify as follows:

For the second one, we have

The inverse function is supposed to “undo” the original function, so why isn’t ${\text{sin}}^{\mathrm{-1}}\left(\text{sin}\left(\pi \right)\right)=\pi ?$ Recalling our definition of inverse functions, a function $f$ and its inverse ${f}^{\mathrm{-1}}$ satisfy the conditions $f\left({f}^{\mathrm{-1}}\left(y\right)\right)=y$ for all $y$ in the domain of ${f}^{\mathrm{-1}}$ and ${f}^{\mathrm{-1}}\left(f\left(x\right)\right)=x$ for all $x$ in the domain of $f,$ so what happened here? The issue is that the inverse sine function, ${\text{sin}}^{\mathrm{-1}},$ is the inverse of the *restricted* sine function defined on the domain $\left[-\frac{\pi}{2},\frac{\pi}{2}\right]\text{.}$ Therefore, for $x$ in the interval $\left[-\frac{\pi}{2},\frac{\pi}{2}\right]\text{,}$ it is true that ${\text{sin}}^{\mathrm{-1}}\left(\text{sin}\phantom{\rule{0.1em}{0ex}}x\right)=x.$ However, for values of $x$ outside this interval, the equation does not hold, even though ${\text{sin}}^{\mathrm{-1}}(\text{sin}\phantom{\rule{0.1em}{0ex}}x)$ is defined for all real numbers $x.$

What about $\text{sin}({\text{sin}}^{\mathrm{-1}}y)?$ Does that have a similar issue? The answer is *no*. Since the domain of ${\text{sin}}^{\mathrm{-1}}$ is the interval $\left[\mathrm{-1},1\right],$ we conclude that $\text{sin}({\text{sin}}^{\mathrm{-1}}y)=y$ if $\mathrm{-1}\le y\le 1$ and the expression is not defined for other values of $y.$ To summarize,

and

Similarly, for the cosine function,

and

Similar properties hold for the other trigonometric functions and their inverses.

### Example 1.32

#### Evaluating Expressions Involving Inverse Trigonometric Functions

Evaluate each of the following expressions.

- ${\text{sin}}^{\mathrm{-1}}\left(-\frac{\sqrt{3}}{2}\right)$
- $\text{tan}\left({\text{tan}}^{\mathrm{-1}}\left(-\frac{1}{\sqrt{3}}\right)\right)$
- ${\text{cos}}^{\mathrm{-1}}\left(\text{cos}\left(\frac{5\pi}{4}\right)\right)$
- ${\text{sin}}^{\mathrm{-1}}\left(\text{cos}\left(\frac{2\pi}{3}\right)\right)$

### Student Project

#### The Maximum Value of a Function

In many areas of science, engineering, and mathematics, it is useful to know the maximum value a function can obtain, even if we don’t know its exact value at a given instant. For instance, if we have a function describing the strength of a roof beam, we would want to know the maximum weight the beam can support without breaking. If we have a function that describes the speed of a train, we would want to know its maximum speed before it jumps off the rails. Safe design often depends on knowing maximum values.

This project describes a simple example of a function with a maximum value that depends on two equation coefficients. We will see that maximum values can depend on several factors other than the independent variable *x*.

- Consider the graph in Figure 1.42 of the function $y=\text{sin}\phantom{\rule{0.1em}{0ex}}x+\text{cos}\phantom{\rule{0.1em}{0ex}}x.$ Describe its overall shape. Is it periodic? How do you know?

Using a graphing calculator or other graphing device, estimate the $x$- and $y$-values of the maximum point for the graph (the first such point where*x*> 0). It may be helpful to express the $x$-value as a multiple of π. - Now consider other graphs of the form $y=A\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}x+B\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}x$ for various values of
*A*and*B*. Sketch the graph when*A*= 2 and*B*= 1, and find the $x$- and*y*-values for the maximum point. (Remember to express the*x*-value as a multiple of π, if possible.) Has it moved? - Repeat for
*A*= 1,*B*= 2. Is there any relationship to what you found in part (2)? - Complete the following table, adding a few choices of your own for
*A*and*B*:

*A**B**x**y**A**B**x**y*0 1 $\sqrt{3}$ 1 1 0 1 $\sqrt{3}$ 1 1 12 5 1 2 5 12 2 1 2 2 3 4 4 3 - Try to figure out the formula for the
*y*-values. - The formula for the $x$-values is a little harder. The most helpful points from the table are $\left(1,1\right),\left(1,\sqrt{3}\right),\left(\sqrt{3},1\right).$ (
*Hint*: Consider inverse trigonometric functions.) - If you found formulas for parts (5) and (6), show that they work together. That is, substitute the $x$-value formula you found into $y=A\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}x+B\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}x$ and simplify it to arrive at the $y$-value formula you found.

### Section 1.4 Exercises

For the following exercises, use the horizontal line test to determine whether each of the given graphs is one-to-one.

For the following exercises, a. find the inverse function, and b. find the domain and range of the inverse function.

$f\left(x\right)=\sqrt[3]{x-4}$

$f\left(x\right)={\left(x-1\right)}^{2},x\le 1$

$f\left(x\right)=\frac{1}{x+2}$

For the following exercises, use the graph of $f$ to sketch the graph of its inverse function.

For the following exercises, use composition to determine which pairs of functions are inverses.

$f\left(x\right)=8x+3,g\left(x\right)=\frac{x-3}{8}$

$f\left(x\right)=\frac{2}{3}x+2,g\left(x\right)=\frac{3}{2}x+3$

$f\left(x\right)={x}^{3}+1,g\left(x\right)={\left(x-1\right)}^{1\text{/}3}$

$f(x)={x}^{2}+2x+1,x\ge \mathrm{-1},\phantom{\rule{1em}{0ex}}g(x)=\mathrm{-1}+\sqrt{x},x\ge 0$

$f\left(x\right)=\sqrt{4-{x}^{2}},0\le x\le 2,g\left(x\right)=\sqrt{4-{x}^{2}},0\le x\le 2$

For the following exercises, evaluate the functions. Give the exact value.

${\text{cos}}^{\mathrm{-1}}\left(-\frac{\sqrt{2}}{2}\right)$

${\text{sin}}^{\mathrm{-1}}\left(\mathrm{-1}\right)$

$\text{cos}\left({\text{tan}}^{\mathrm{-1}}\left(\sqrt{3}\right)\right)$

${\text{sin}}^{\mathrm{-1}}\left(\text{sin}\left(\frac{\pi}{3}\right)\right)$

The function $C=T\left(F\right)=(5\text{/}9)\left(F-32\right)$ converts degrees Fahrenheit to degrees Celsius.

- Find the inverse function $F={T}^{\mathrm{-1}}(C)$
- What is the inverse function used for?

**[T]** The velocity *V* (in centimeters per second) of blood in an artery at a distance *x* cm from the center of the artery can be modeled by the function $V=f(x)=500(0.04-{x}^{2})$ for $0\le x\le 0.2.$

- Find $x={f}^{\mathrm{-1}}(V).$
- Interpret what the inverse function is used for.
- Find the distance from the center of an artery with a velocity of 15 cm/sec, 10 cm/sec, and 5 cm/sec.

A function that converts dress sizes in the United States to those in Europe is given by $D\left(x\right)=2x+24.$

- Find the European dress sizes that correspond to sizes 6, 8, 10, and 12 in the United States.
- Find the function that converts European dress sizes to U.S. dress sizes.
- Use part b. to find the dress sizes in the United States that correspond to 46, 52, 62, and 70.

**[T]** The cost to remove a toxin from a lake is modeled by the function

$C(p)=75p\text{/}(85-p),$ where $C$ is the cost (in thousands of dollars) and $p$ is the amount of toxin in a small lake (measured in parts per billion [ppb]). This model is valid only when the amount of toxin is less than 85 ppb.

- Find the cost to remove 25 ppb, 40 ppb, and 50 ppb of the toxin from the lake.
- Find the inverse function. c. Use part b. to determine how much of the toxin is removed for $50,000.

**[T]** A race car is accelerating at a velocity given by

$v(t)=\frac{25}{4}t+54,$
where *v* is the velocity (in feet per second) at time *t*.

- Find the velocity of the car at 10 sec.
- Find the inverse function.
- Use part b. to determine how long it takes for the car to reach a speed of 150 ft/sec.

**[T]** An airplane’s Mach number *M* is the ratio of its speed to the speed of sound. When a plane is flying at a constant altitude, then its Mach angle is given by $\mu =2{\text{sin}}^{\mathrm{-1}}\left(\frac{1}{M}\right).$

Find the Mach angle (to the nearest degree) for the following Mach numbers.

- $M=1.4$
- $M=2.8$
- $M=4.3$

**[T]** Using $\mu =2{\text{sin}}^{\mathrm{-1}}\left(\frac{1}{M}\right),$ find the Mach number *M* for the following angles.

- $\mu =\frac{\pi}{6}$
- $\mu =\frac{2\pi}{7}$
- $\mu =\frac{3\pi}{8}$

**[T]** The average temperature (in degrees Celsius) of a city in the northern United States can be modeled by the function

$T\left(x\right)=5+18\phantom{\rule{0.1em}{0ex}}\text{sin}\left[\frac{\pi}{6}\left(x-4.6\right)\right],$ where $x$ is time in months and $x=1.00$ corresponds to January 1. Determine the day(s) (month and day) when the average temperature is $21\text{\xb0}\text{C}.$ Use the integer portion of your answer(s) as the month and calculate the day of the month from the decimal portion.

**[T]** The depth (in feet) of water at a dock changes with the rise and fall of tides. It is modeled by the function

$D\left(t\right)=5\phantom{\rule{0.1em}{0ex}}\text{sin}\left(\frac{\pi}{6}t-\frac{7\pi}{6}\right)+8,$ where $t$ is the number of hours after midnight. Determine the first time after midnight when the depth is 11.75 ft.

**[T]** An object moving in simple harmonic motion is modeled by the function

$s\left(t\right)=\mathrm{-6}\phantom{\rule{0.1em}{0ex}}\text{cos}\left(\frac{\pi t}{2}\right),$ where $s$ is measured in inches and $t$ is measured in seconds. Determine the first time when the distance moved is 4.5 in.

**[T]** A local art gallery has a portrait 3 ft in height that is hung 2.5 ft above the eye level of an average person. The viewing angle $\theta $ can be modeled by the function

$\theta ={\text{tan}}^{\mathrm{-1}}\frac{5.5}{x}-{\text{tan}}^{\mathrm{-1}}\frac{2.5}{x},$ where $x$ is the distance (in feet) from the portrait. Find the viewing angle when a person is 4 ft from the portrait.

**[T]** Use a calculator to evaluate ${\text{tan}}^{\mathrm{-1}}\left(\text{tan}(2.1)\right)$ and ${\text{cos}}^{\mathrm{-1}}\left(\text{cos}(2.1)\right).$ Explain the results of each.

**[T]** Use a calculator to evaluate $\text{sin}({\text{sin}}^{\mathrm{-1}}(\mathrm{-2}))$ and $\text{tan}({\text{tan}}^{\mathrm{-1}}(\mathrm{-2})).$ Explain the results of each.