<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Functions and Inverses

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

0%
Progress
Practice Functions and Inverses
Progress
0%
Inverses of Functions

Functions are commonly known as rules that take inputs and produce outputs. An inverse function does exactly the reverse, undoing what the original function does. How can you tell if two functions are inverses?

#### Watch This

http://www.youtube.com/watch?v=qgezKpQYH2w James Sousa: Inverse Functions

#### Guidance

A function is written as f(x)\begin{align*}f(x)\end{align*} and its inverse is written as f1(x)\begin{align*}f^{-1} (x)\end{align*}. A common misconception is to see the -1 and interpret it as an exponent and write 1f(x)\begin{align*}\frac{1}{f(x)}\end{align*}, but this is not correct. Instead, f1(x)\begin{align*}f^{-1} (x)\end{align*} should be viewed as a new function from the range of f(x)\begin{align*}f(x)\end{align*} back to the domain.

It is important to see the cycle that starts with x\begin{align*}x\end{align*}, becomes y\begin{align*}y\end{align*} and then goes back to x\begin{align*}x\end{align*}. In order for two functions to truly be inverses of each other, this cycle must hold algebraically.

f(f1(x))=x\begin{align*}f(f^{-1} (x) )=x\end{align*} and f1(f(x))=x\begin{align*}f^{-1} (f(x) )=x\end{align*}

When given a function there are two steps to take to find its inverse. In the original function, first switch the variables x\begin{align*}x\end{align*} and y\begin{align*}y\end{align*}. Next, solve the function for y\begin{align*}y\end{align*}. This will give you the inverse function. After finding the inverse, it is important to check both directions of compositions to make sure that together the function and its inverse produce the value x\begin{align*}x\end{align*}. In other words, verify that f(f1(x))=x\begin{align*}f(f^{-1} (x) )=x\end{align*} and f1(f(x))=x\begin{align*}f^{-1} (f(x) )=x\end{align*}.

Graphically, inverses are reflections across the line y=x\begin{align*}y=x\end{align*}. Below you see inverses y=ex\begin{align*}y =e^x\end{align*} and y=lnx\begin{align*}y= \ln x\end{align*}.  Notice how the (x,y)\begin{align*}(x, y)\end{align*} coordinates in one graph become (y,x)\begin{align*}(y, x)\end{align*} coordinates in the other graph.

In order to decide whether an inverse function is also actually a function you can use the vertical line test on the inverse function like usual. You can also use the horizontal line test on the original function. The horizontal line test is exactly like the vertical line test except the lines simply travel horizontally.

Example A

Find the inverse, then verify the inverse algebraically. f(x)=y=(x+1)2+4\begin{align*}f(x)=y=(x+1)^2+4\end{align*}

Solution: To find the inverse, switch x\begin{align*}x\end{align*} and y\begin{align*}y\end{align*} then solve for y\begin{align*}y\end{align*}

xx4±x41±x4=(y+1)2+4=(y+1)2=y+1=y=f1(x)

To verify algebraically, you must show x=f(f1(x))=f1(f(x))\begin{align*}x= f(f^{-1} (x) )=f^{-1} (f(x) )\end{align*}:

f(f1(x))=f(1±x4 )=((1±x4 )+1)2+4=(±x4 )2+4=x4+4=x

As you can see from the graph, the \begin{align*}\pm\end{align*} causes the inverse to be a relation instead of a function. This can be observed in the graph because the original function does not pass the horizontal line test and the inverse does not pass the vertical line test

Example B

Find the inverse of the function and then verify that \begin{align*}x= f(f^{-1} (x) )=f^{-1} (f(x) )\end{align*}.

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

Solution: Sometimes it is quite challenging to switch \begin{align*}x\end{align*} and \begin{align*}y\end{align*} and then solve for \begin{align*}y\end{align*}. You must be careful with your algebra.

This function turns out to be its own inverse. Since they are identical, you only need to show that \begin{align*}x= f(f^{-1} (x) )\end{align*}.

\begin{align*}f\left(\frac{x+1}{x-1}\right)=\frac{\left(\frac{x+1}{x-1}\right)+1}{\left(\frac{x+1}{x-1}\right)-1}=\frac{x+1+x-1}{x+1-(x-1)}=\frac{2x}{2}=x\end{align*}

Example C

What is the inverse of \begin{align*}f(x)=y=\sin ⁡x\end{align*}?

Solution: The sine function does not pass the horizontal line test and so its true inverse is not a function.

However, if you restrict the domain to just the part of the \begin{align*}x\end{align*}-axis between \begin{align*}- \frac{\pi}{2}\end{align*} and \begin{align*}\frac{\pi}{2}\end{align*} then it will pass the horizontal line test and the inverse will be a function.

The inverse of the sine function is called the arcsine function, \begin{align*}f(x)=\sin^{-1}⁡(x)\end{align*}, and is shown in black. It is truncated so that it only inverts a part of the whole sine wave. You will study periodic functions and their inverses in more detail later.

Concept Problem Revisited

You can tell that two functions are inverses if each undoes the other, always leaving the original \begin{align*}x\end{align*}

#### Vocabulary

A relation is a general term for functions and non-functions that relate two variables and may or may not pass the vertical line test

Two relations are inverses of each other if they are reflections across the line \begin{align*}y=x\end{align*}.

The horizontal line test is a means of discovering whether the inverse of a function is also a function.

#### Guided Practice

1. Determine the inverse of \begin{align*}f(x)=5+\frac{x}{2}\end{align*}. Verify that the inverse is actually the inverse.

2. Determine if \begin{align*}f(x)=\frac{3}{7}x-21\end{align*} and \begin{align*}g(x)=\frac{7}{3}x+21\end{align*} are inverses of one another.

3. Determine the inverse of \begin{align*}f(x)=\frac{x}{x+4}\end{align*}.

1. To find the inverse,

Verification:

\begin{align*}2\left(5+\frac{x}{2}-5\right)=2\left(\frac{x}{2}\right)=x\end{align*}

\begin{align*}5+\frac{2(x-5)}{2}=5+x-5=x\end{align*}

They are truly inverses of each other.

2. Even though \begin{align*}f(x)=\frac{3}{7}x-21\end{align*} and \begin{align*}g(x)=\frac{7}{3}x+21\end{align*} have some inverted pieces, they are not inverses of each other. In order to show this, you must show that the composition does not simplify to \begin{align*}x\end{align*}. \begin{align*}\frac{3}{7}\left(\frac{7}{3}x+21\right) -21=x+9-21=x-12 \ne x\end{align*}

3. To find the inverse, switch x and y.

#### Practice

Consider \begin{align*}f(x)=x^3\end{align*}.

1. Sketch \begin{align*}f(x)\end{align*} and \begin{align*}f^{-1}(x)\end{align*}.

2. Find \begin{align*}f^{-1}(x)\end{align*} algebraically. It is actually a function?

3. Verify algebraically that \begin{align*}f(x)\end{align*} and \begin{align*}f^{-1}(x)\end{align*} are inverses.

Consider \begin{align*}g(x)=\sqrt{x}\end{align*}.

4. Sketch \begin{align*}g(x)\end{align*} and \begin{align*}g^{-1}(x)\end{align*}.

5. Find \begin{align*}g^{-1}(x)\end{align*} algebraically. It is actually a function?

6. Verify algebraically that \begin{align*}g(x)\end{align*} and \begin{align*}g^{-1}(x)\end{align*} are inverses.

Consider \begin{align*}h(x)=|x|\end{align*}.

7. Sketch \begin{align*}h(x)\end{align*} and \begin{align*}h^{-1}(x)\end{align*}.

8. Find \begin{align*}h^{-1}(x)\end{align*} algebraically. It is actually a function?

9. Verify graphically that \begin{align*}h(x)\end{align*} and \begin{align*}h^{-1}(x)\end{align*} are inverses.

Consider \begin{align*}j(x)=2x-5\end{align*}.

10. Sketch \begin{align*}j(x)\end{align*} and \begin{align*}j^{-1}(x)\end{align*}.

11. Find \begin{align*}j^{-1}(x)\end{align*} algebraically. It is actually a function?

12. Verify algebraically that \begin{align*}j(x)\end{align*} and \begin{align*}j^{-1}(x)\end{align*} are inverses.

13. Use the horizontal line test to determine whether or not the inverse of \begin{align*}f(x)=x^3-2x^2+1\end{align*} is also a function.

14. Are \begin{align*}g(x)=\ln ⁡(x+1)\end{align*} and \begin{align*}h(x)=e^{x-1}\end{align*} inverses? Explain.

15. If you were given a table of values for a function, how could you create a table of values for the inverse of the function?

### Vocabulary Language: English

composite function

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

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$.
Horizontal Line Test

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

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$.
Relation

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

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.