<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Functions and Inverses

## Undo the original function; reflections across y = x.

Estimated8 minsto complete
%
Progress
Practice Functions and Inverses
Progress
Estimated8 minsto complete
%
Functions and Inverses

You may not realize it, but you have dealt with inverse functions for most of your life. Inverse functions are functions which 'undo' each other. For instance, \begin{align*}3t = T\end{align*} is the function to convert teaspoons to tablespoons. The inverse: \begin{align*}t = \frac{T}{3}\end{align*} converts from tablespoons back to teaspoons.

Inverse functions are also used in geometry. Consider the following:

You are asked to design the new box for the iMp3 player that your company makes. You know that the iMp3 is 5.4in tall, 2.3in wide, and .5in thick.

1. What is the volume of a box that will just fit the iMp3?
2. If you knew that the iMp3 2 was soon to be released, and it had 10% less volume without changing height or width, could you prepare a box for it?
3. Can you identify the inverse functions that might be applicable in this scenario?

### Functions and Inverses

Consider the functions \begin{align*}t(x)=\frac{5}{9}(x-32)\end{align*} and \begin{align*}f(x)=\frac{9}{5}x+32\end{align*} together. These two functions are inverses.

Informally, if two functions are inverses, then the input of one function is the output of the other.

Formally, the inverse of a function is defined as follows:

Functions f(x) and g(x) are said to be inverses if f(g(x)) = g(f(x)) = x.

Or, using the composite function notation: f g = g f = x.

The following notation is used to indicate inverse functions: If f(x) and g(x) are inverse functions, then f(x) = g-1(x) and g(x) = f-1(x) The following notation is also used: f = g-1 and g = f-1. Note that f-1(x) does not equal \begin{align*}\frac{1}{f(x)}\end{align*}.

Informally, we can identify the inverse of a function as the relation we obtain by switching the domain and range of the function. Because of this definition, you can find an inverse by switching the roles of x and y in an equation. For example, consider the function g(x) = 2x. This is the line y = 2x. If we switch x and y, we get the equation x = 2y. Dividing both sides by 2, we get y = 1/2 x. Therefore the functions g(x) = 2x and y = 1/2 x are inverses. Using function notation, we can write y = 1/2 x as g-1(x) = 1/2 x.

We can also analyze two functions and determine whether or not they are inverses. Look carefully at the formal definition of inverse functions:

Two functions f(x) and g(x) are inverses if and only if f(g(x)) = g(f(x)) = x.

That means that just as we can find the inverse of a function by identifying one that fits the definition, we can verify a possible inverse by testing it against the definition.

### Examples

#### Example 1

Earlier, you were given a question about designing a box.

You were asked to design the new box for the iMp3 player that your company makes. You know that the iMp3 is 5.4in tall, 2.3in wide, and .5in thick.

1. What is the volume of a box that will just fit the iMp3?

Recall that the volume of a rectangular solid is given by: \begin{align*}V = l \cdot w \cdot h\end{align*}

\begin{align*}\therefore V = 6.21in^{3}\end{align*}

1. If you knew that the iMp3 2 was soon to be released, and it had 10% less volume without changing height or width, could you prepare a box for it?

The missing dimension for the new box is height: \begin{align*}.9(6.21) = 5.4 \cdot 2.3 \cdot h\end{align*}

\begin{align*}\therefore h = .45in\end{align*}

1. Can you identify the inverse functions that might be applicable in this scenario?

Two inverse functions used here are: \begin{align*} V(h) = (l \cdot w) \cdot h\end{align*} and \begin{align*}h(v) = \frac{v}{l \cdot w}\end{align*}.

Verify that the two functions are inverses: Let \begin{align*}h = 2\end{align*} and assume a base area of \begin{align*}6\end{align*}.

\begin{align*}V(2) = 6 \cdot 2\end{align*} ==> \begin{align*}V(2) = 12\end{align*}

\begin{align*}h(12) = 12/6\end{align*} ==> \begin{align*}h(12) = 2\end{align*}

This checks out, as \begin{align*}V(h(2)) = 2 = h(V(2))\end{align*}.

#### Example 2

In the United States, we measure temperature using the Fahrenheit scale. In other countries, people use the Celsius scale. The equation C = 5/9 (F - 32) can be used to find C, the Celsius temperature, given F, the Fahrenheit temperature. If we write this equation using function notation, we have \begin{align*}t(x)=\frac{5}{9}(x-32)\end{align*}. The input of the function is a Fahrenheit temperature, and the output is a Celsius temperature. This function allows us to convert a Fahrenheit temperature into Celsius.

1. Identify the inverse function of the equation above to get one that will convert Celsius to Fahrenheit.

Fahrenheit to Celsius: \begin{align*}C = \frac{5} {9} (F - 32)\end{align*}

Start by isolating F:

\begin{align*}C = \frac{5} {9} (F - 32)\end{align*}
\begin{align*}\frac{9} {5} C = \frac{9} {5} \times \frac{5} {9} (F - 32)\end{align*}
\begin{align*}\frac{9} {5} C = F - 32\end{align*}
\begin{align*}\frac{9} {5} C + 32 = F\end{align*}

If we write this equation using function notation, we get \begin{align*}f(x)=\frac{9}{5}x+32\end{align*}. For this function, the input is the Celsius temperature, and the output is the Fahrenheit temperature.

1. Use the Celsius to Fahrenheit equation to convert 0 degrees Celsius into Fahrenheit.

If it is 0 degrees Celsius, then we have: \begin{align*}x=0,f(0)=\frac{9}{5}(0)+32=0+32=32\end{align*}

0 degrees Celsius = 32 degrees Fahrenheit

#### Example 3

Find the inverse of each function.

1. f(x) = 5x - 8

First write the function using “ y =” notation, then interchange x and y:

f(x) = 5x - 8 → y = 5x - 8 → x = 5y - 8

Then isolate y:

\begin{align*}x = 5y - 8\end{align*}
\begin{align*}x + 8 = 5y\end{align*}
\begin{align*}y = \frac{1} {5}x + \frac{8} {5}\end{align*}
1. f(x) = x3

Follow the same process as part 'a':

First write the function using “ y= ”: f(x) = x3
y = x3
Now interchange x and y x = y3
Now isolate y: \begin{align*}y = \sqrt[3]{x}\end{align*}

Because of the definition of inverse, the graphs of inverses are reflections across the line y = x. The graph below shows \begin{align*}t(x)=\frac{5}{9}(x-32)\end{align*} and \begin{align*}f(x)=\frac{9}{5}x+32\end{align*} on the same graph, along with the reflection line y = x.

* A note about graphing with software or a graphing calculator: if you look at the graph above, you can see that the lines are reflections over the line y = x. However, if you do not view the graph in a window that shows equal scales of the x- and y-axes, the graph may not look like this.

#### Example 4

Use composition of functions to determine if f(x) = 2x + 3 and g(x) = 3x - 2 are inverses.

The functions are not inverses.

We only need to check one of the compositions:

\begin{align*}f(g(x)) = f(3x - 2) \to 2(3x - 2) + 3 \to 6x - 4 + 3 \to 6x - 1 \neq x\end{align*}

#### Example 5

If \begin{align*}f(x) = \sqrt{x + 12} \end{align*}, find \begin{align*}f^{-1}(x)\end{align*} and determine whether f(x) is invertible.

\begin{align*}f(x) = \sqrt{x + 12} \to y =\sqrt{x + 12}\end{align*}

\begin{align*}x = \sqrt{y + 12}\end{align*}

\begin{align*}x^2 = (\sqrt{y+12})^2\end{align*} (square both sides)

\begin{align*}x^2 = y + 12\end{align*} (simplify)

\begin{align*}x^2 - 12 = y\end{align*}

\begin{align*}x^2 - 12 = f(x)\end{align*}

\begin{align*}f^{-1}(x) =x^2 - 12\end{align*}

In order for a function to be invertible, the inverse of the function must also be a function.

The equation \begin{align*}f^{-1}(x) =x^2 - 12\end{align*} is a parabola with vertex (0, -12), it is indeed a function.

Therefore f(x) is invertible.

#### Example 6

If \begin{align*}f(x) = {(6, 4), (8, -12), (-2, 22), (10, -10)}\end{align*}, find \begin{align*}f^{-1}(x)\end{align*} and determine whether f(x) is invertible.

Just as when finding the inverse with an equation, exchange x and y.

The ordered pairs (x, y) become (y, x)

\begin{align*}\therefore f(x) = {(6, 4), (8, -12), (-2, 22), (10, -10)} \to\end{align*}

\begin{align*}\to f^{-1}(x) = {(4, 6), (-12, 8), (22, -2), (-10, 10)}\end{align*}

In order for a function to be invertible, the inverse of the function must also be a function.

The point set: \begin{align*}f^{-1}(x) = {(4, 6), (-12, 8), (22, -2), (-10, 10)}\end{align*} has no x terms with more than 1 associated y value, so it is also a function.

Therefore f(x) is invertible.

### Review

State if the given functions are inverses of each other:

1. \begin{align*}g(x) =4 - \frac {3}{2}x \to f(x) = \frac{1}{2}x + \frac{3}{2}\end{align*}
2. \begin{align*}g(n) = \frac {-12 - 2n}{3} \to f(n) = \frac{-5 + 6n}{5}\end{align*}
3. \begin{align*}f(n) = \frac{-16 + n}{4} \to g(n) = 4n+ 16\end{align*}
4. \begin{align*}f(n) = 29n - 2)^3 \to g(n) = \frac{4 +\sqrt[3]{4n}}{2}\end{align*}
5. \begin{align*}g(x) = -\frac {2}{x} - 1 \to f(x) = -\frac{2}{x + 1}\end{align*}

Find the inverse of each function:

1. \begin{align*}h(x) = \sqrt[3]x - 3\end{align*}
2. \begin{align*}g(x) =\frac{1}{x} - 2x\end{align*}
3. \begin{align*}f(x) = 4x\end{align*}

Find the inverse of each function. Then graph the function and its inverse.

1. \begin{align*}f(x) = -1 - \frac {1}{5}x\end{align*}
2. \begin{align*}g(x) =\frac {1}{x - 1}\end{align*}
3. \begin{align*}f(x) = -2x^3 + 1\end{align*}
4. \begin{align*}g(x) =\frac {-x - 5}{3}x\end{align*}

Find the inverse of each function:

1. \begin{align*}{(-5, 1), (2,- 8), (-3, 5), (0, 1)}\end{align*}
2. \begin{align*}{(6, 1), (3, - 7), (3, -4), (-8, 2)}\end{align*}

Find the error in the following problem/solution:

1. Given \begin{align*}f(x) = \frac{x - 10}{x}\end{align*} find \begin{align*}f^{-1}(x)\end{align*} Step 1: \begin{align*}y = \frac{x - 10}{x}\end{align*} Step 2: \begin{align*}x = \frac{y -10}{x}\end{align*} Step 3: \begin{align*} x (x) = (\frac{y - 10}{x})x\end{align*} Step 4: \begin{align*}x^2 = y - 10\end{align*} Step 5: \begin{align*}x^2 + 10 = y\end{align*} Step 6: \begin{align*}f^{-1}(x) = x^2 + 10\end{align*}

To see the Review answers, open this PDF file and look for section 3.1.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

composite function

A composite function is a function $h(x)$ formed by using the output of one function $g(x)$ as the input of another function $f(x)$. Composite functions are written in the form $h(x)=f(g(x))$ or $h=f \circ g$.

Function

A function is a relation where there is only one output for every input. In other words, for every value of $x$, there is only one value for $y$.

Function composition

Function composition involves 'nested functions' or functions within functions. Function composition is the application of one function to the result of another function.

Horizontal Line Test

The horizontal line test says that if a horizontal line drawn anywhere through the graph of a function intersects the function in more than one location, then the function is not one-to-one and not invertible.

inverse

Inverse functions are functions that 'undo' each other. Formally: $f(x)$ and $g(x)$ are inverse functions if $f(g(x)) = g(f(x)) = x$.

inverse function

Inverse functions are functions that 'undo' each other. Formally $f(x)$ and $g(x)$ are inverse functions if $f(g(x)) = g(f(x)) = x$.

invertible

A function is invertible if it has an inverse.

Relation

A relation is any set of ordered pairs $(x, y)$. A relation can have more than one output for a given input.

Vertical Line Test

The vertical line test says that if a vertical line drawn anywhere through the graph of a relation intersects the relation in more than one location, then the relation is not a function.