### Learning Objectives

- Find and evaluate composite functions
- Determine whether a function is one-to-one
- Find the inverse of a function

Before you get started, take this readiness quiz.

If $f\left(x\right)=2x-3$ and $g\left(x\right)={x}^{2}+2x-3,$ find $f\left(4\right).$

If you missed this problem, review Example 3.48.

Solve for $x,$ $3x+2y=12.$

If you missed this problem, review Example 2.31.

Simplify: $5\frac{\left(x+4\right)}{5}-4.$

If you missed this problem, review Example 1.25.

In this chapter, we will introduce two new types of functions, exponential functions and logarithmic functions. These functions are used extensively in business and the sciences as we will see.

### Find and Evaluate Composite Functions

Before we introduce the functions, we need to look at another operation on functions called composition. In composition, the output of one function is the input of a second function. For functions $f$ and $g,$ the composition is written $f\circ g$ and is defined by $\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right).$

We read $f\left(g\left(x\right)\right)$ as $\text{\u201c}f$ of $g$ of $x\text{.\u201d}$

To do a composition, the output of the first function, $g\left(x\right),$ becomes the input of the second function, *f*, and so we must be sure that it is part of the domain of *f*.

### Composition of Functions

The composition of functions *f* and *g* is written $f\circ g$ and is defined by

We read $f\left(g\left(x\right)\right)$ as $f$ of $g$ of *x*.

We have actually used composition without using the notation many times before. When we graphed quadratic functions using translations, we were composing functions. For example, if we first graphed $g\left(x\right)={x}^{2}$ as a parabola and then shifted it down vertically four units, we were using the composition defined by $\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right)$ where $f\left(x\right)=x-4.$

The next example will demonstrate that $\left(f\circ g\right)\left(x\right),$ $\left(g\circ f\right)\left(x\right)$ and $\left(f\xb7g\right)\left(x\right)$ usually result in different outputs.

### Example 10.1

For functions $f\left(x\right)=4x-5$ and $g\left(x\right)=2x+3,$ find: ⓐ $\left(f\circ g\right)\left(x\right),$ ⓑ $\left(g\circ f\right)\left(x\right),$ and ⓒ $\left(f\xb7g\right)\left(x\right).$

For functions $f\left(x\right)=3x-2$ and $g\left(x\right)=5x+1,$ find ⓐ $\left(f\circ g\right)\left(x\right)$ ⓑ $\left(g\circ f\right)\left(x\right)$ ⓒ $\left(f\xb7g\right)\left(x\right)$.

For functions $f\left(x\right)=4x-3,$ and $g\left(x\right)=6x-5,$ find ⓐ $\left(f\circ g\right)\left(x\right),$ ⓑ $\left(g\circ f\right)\left(x\right),$ and ⓒ $\left(f\xb7g\right)\left(x\right).$

In the next example we will evaluate a composition for a specific value.

### Example 10.2

For functions $f\left(x\right)={x}^{2}-4,$ and $g\left(x\right)=3x+2,$ find: ⓐ $\left(f\circ g\right)\left(\mathrm{-3}\right),$ ⓑ $\left(g\circ f\right)\left(\mathrm{-1}\right),$ and ⓒ $\left(f\circ f\right)\left(2\right).$

For functions $f\left(x\right)={x}^{2}-9,$ and $g\left(x\right)=2x+5,$ find ⓐ $\left(f\circ g\right)\left(\mathrm{-2}\right),$ ⓑ $\left(g\circ f\right)\left(\mathrm{-3}\right),$ and ⓒ $\left(f\circ f\right)\left(4\right).$

For functions $f\left(x\right)={x}^{2}+1,$ and $g\left(x\right)=3x-5,$ find ⓐ $\left(f\circ g\right)\left(\mathrm{-1}\right),$ ⓑ $\left(g\circ f\right)\left(2\right),$ and ⓒ $\left(f\circ f\right)\left(\mathrm{-1}\right).$

### Determine Whether a Function is One-to-One

When we first introduced functions, we said a function is a relation that assigns to each element in its domain exactly one element in the range. For each ordered pair in the relation, each *x*-value is matched with only one *y*-value.

We used the birthday example to help us understand the definition. Every person has a birthday, but no one has two birthdays and it is okay for two people to share a birthday. Since each person has exactly one birthday, that relation is a function.

A function is one-to-one if each value in the range has exactly one element in the domain. For each ordered pair in the function, each *y*-value is matched with only one *x*-value.

Our example of the birthday relation is not a one-to-one function. Two people can share the same birthday. The range value August 2 is the birthday of Liz and June, and so one range value has two domain values. Therefore, the function is not one-to-one.

### One-to-One Function

A function is **one-to-one** if each value in the range corresponds to one element in the domain. For each ordered pair in the function, each *y*-value is matched with only one *x*-value. There are no repeated *y*-values.

### Example 10.3

For each set of ordered pairs, determine if it represents a function and, if so, if the function is one-to-one.

ⓐ $\left\{\left(\mathrm{-3},27\right),\left(\mathrm{-2},8\right),\left(\mathrm{-1},1\right),\left(0,0\right),\left(1,1\right),\left(2,8\right),\left(3,27\right)\right\}$ and ⓑ $\left\{\left(0,0\right),\left(1,1\right),\left(4,2\right),\left(9,3\right),\left(16,4\right)\right\}.$

For each set of ordered pairs, determine if it represents a function and if so, is the function one-to-one.

ⓐ $\left\{\left(\mathrm{-3},\mathrm{-6}\right),\left(\mathrm{-2},\mathrm{-4}\right),\left(\mathrm{-1},\mathrm{-2}\right),\left(0,0\right),\left(1,2\right),\left(2,4\right),\left(3,6\right)\right\}$ ⓑ $\left\{\left(\mathrm{-4},8\right),\left(\mathrm{-2},4\right),\left(\mathrm{-1},2\right),\left(0,0\right),\left(1,2\right),\left(2,4\right),\left(4,8\right)\right\}$

For each set of ordered pairs, determine if it represents a function and if so, is the function one-to-one.

ⓐ $\left\{\left(27,\mathrm{-3}\right),\left(8,\mathrm{-2}\right),\left(1,\mathrm{-1}\right),\left(0,0\right),\left(1,1\right),\left(8,2\right),\left(27,3\right)\right\}$ ⓑ $\left\{\left(7,\mathrm{-3}\right),\left(\mathrm{-5},\mathrm{-4}\right),\left(8,0\right),\left(0,0\right),\left(\mathrm{-6},4\right),\left(\mathrm{-2},2\right),\left(\mathrm{-1},3\right)\right\}$

To help us determine whether a relation is a function, we use the vertical line test. A set of points in a rectangular coordinate system is the graph of a function if every vertical line intersects the graph in at most one point. Also, if any vertical line intersects the graph in more than one point, the graph does not represent a function.

The vertical line is representing an *x*-value and we check that it intersects the graph in only one *y*-value. Then it is a function.

To check if a function is one-to-one, we use a similar process. We use a horizontal line and check that each horizontal line intersects the graph in only one point. The horizontal line is representing a *y*-value and we check that it intersects the graph in only one *x*-value. If every horizontal line intersects the graph of a function in at most one point, it is a one-to-one function. This is the horizontal line test.

### Horizontal Line Test

If every horizontal line intersects the graph of a function in at most one point, it is a one-to-one function.

We can test whether a graph of a relation is a function by using the vertical line test. We can then tell if the function is one-to-one by applying the horizontal line test.

### Example 10.4

Determine ⓐ whether each graph is the graph of a function and, if so, ⓑ whether it is one-to-one.

Determine whether each graph is the graph of a function and, if so, whether it is one-to-one.

Determine whether each graph is the graph of a function and, if so, whether it is one-to-one.

### Find the Inverse of a Function

Let’s look at a one-to one function, $f$, represented by the ordered pairs $\left\{\left(0,5\right),\left(1,6\right),\left(2,7\right),\left(3,8\right)\right\}.$ For each $x$-value, $f$ adds 5 to get the $y$-value. To ‘undo’ the addition of 5, we subtract 5 from each $y$-value and get back to the original $x$-value. We can call this “taking the inverse of $f$” and name the function ${f}^{\mathrm{-1}}.$

Notice that that the ordered pairs of $f$ and ${f}^{\mathrm{-1}}$ have their $x$-values and $y$-values reversed. The domain of $f$ is the range of ${f}^{\mathrm{-1}}$ and the domain of ${f}^{\mathrm{-1}}$ is the range of $f.$

### Inverse of a Function Defined by Ordered Pairs

If $f\left(x\right)$ is a one-to-one function whose ordered pairs are of the form $\left(x,y\right),$ then its inverse function ${f}^{\mathrm{-1}}\left(x\right)$ is the set of ordered pairs $\left(y,x\right).$

In the next example we will find the inverse of a function defined by ordered pairs.

### Example 10.5

Find the inverse of the function $\left\{\left(0,3\right),\left(1,5\right),\left(2,7\right),\left(3,9\right)\right\}.$ Determine the domain and range of the inverse function.

Find the inverse of $\left\{\left(0,4\right),\left(1,7\right),\left(2,10\right),\left(3,13\right)\right\}.$ Determine the domain and range of the inverse function.

Find the inverse of $\left\{\left(\mathrm{-1},4\right),\left(\mathrm{-2},1\right),\left(\mathrm{-3},0\right),\left(\mathrm{-4},2\right)\right\}.$ Determine the domain and range of the inverse function.

We just noted that if $f\left(x\right)$ is a one-to-one function whose ordered pairs are of the form $\left(x,y\right),$ then its inverse function ${f}^{\mathrm{-1}}\left(x\right)$ is the set of ordered pairs $\left(y,x\right).$

So if a point $\left(a,b\right)$ is on the graph of a function $f\left(x\right),$ then the ordered pair $\left(b,a\right)$ is on the graph of ${f}^{\mathrm{-1}}\left(x\right).$ See Figure 10.2.

The distance between any two pairs $\left(a,b\right)$ and $\left(b,a\right)$ is cut in half by the line $y=x.$ So we say the points are mirror images of each other through the line $y=x.$

Since every point on the graph of a function $f\left(x\right)$ is a mirror image of a point on the graph of ${f}^{\mathrm{-1}}\left(x\right),$ we say the graphs are mirror images of each other through the line $y=x.$ We will use this concept to graph the inverse of a function in the next example.

### Example 10.6

Graph, on the same coordinate system, the inverse of the one-to one function shown.

Graph, on the same coordinate system, the inverse of the one-to one function.

Graph, on the same coordinate system, the inverse of the one-to one function.

When we began our discussion of an inverse function, we talked about how the inverse function ‘undoes’ what the original function did to a value in its domain in order to get back to the original *x*-value.

### Inverse Functions

We can use this property to verify that two functions are inverses of each other.

### Example 10.7

Verify that $f\left(x\right)=5x-1$ and $g\left(x\right)=\frac{x+1}{5}$ are inverse functions.

Verify that the functions are inverse functions.

$f\left(x\right)=4x-3$ and $g\left(x\right)=\frac{x+3}{4}.$

Verify that the functions are inverse functions.

$f\left(x\right)=2x+6$ and $g\left(x\right)=\frac{x-6}{2}.$

We have found inverses of function defined by ordered pairs and from a graph. We will now look at how to find an inverse using an algebraic equation. The method uses the idea that if $f\left(x\right)$ is a one-to-one function with ordered pairs $\left(x,y\right),$ then its inverse function ${f}^{\mathrm{-1}}\left(x\right)$ is the set of ordered pairs $\left(y,x\right).$

If we reverse the *x* and *y* in the function and then solve for *y*, we get our inverse function.

### Example 10.8 How to Find the inverse of a One-to-One Function

Find the inverse of $f\left(x\right)=4x+7.$

Find the inverse of the function $f\left(x\right)=5x-3.$

Find the inverse of the function $f\left(x\right)=8x+5.$

We summarize the steps below.

### How To

#### How to Find the inverse of a One-to-One Function

- Step 1. Substitute
*y*for $f\left(x\right).$ - Step 2. Interchange the variables
*x*and*y*. - Step 3. Solve for
*y*. - Step 4. Substitute ${f}^{\mathrm{-1}}\left(x\right)$ for
*y*. - Step 5. Verify that the functions are inverses.

### Example 10.9 How to Find the Inverse of a One-to-One Function

Find the inverse of $f\left(x\right)=\sqrt[5]{2x-3}.$

Find the inverse of the function $f\left(x\right)=\sqrt[5]{3x-2}.$

Find the inverse of the function $f\left(x\right)=\sqrt[4]{6x-7}.$

### Section 10.1 Exercises

#### Practice Makes Perfect

**Find and Evaluate Composite Functions**

In the following exercises, find ⓐ (*f* ∘ *g*)(*x*), ⓑ (*g* ∘ *f*)(*x*), and ⓒ (*f* · *g*)(*x*).

$f\left(x\right)=3x-1$ and $g\left(x\right)=5x-3$

$f\left(x\right)=2x+7$ and $g\left(x\right)=3x-4$

$f\left(x\right)=2x$ and $g\left(x\right)=3{x}^{2}-1$

$f\left(x\right)=4x+3$ and $g\left(x\right)={x}^{2}-4$

In the following exercises, find the values described.

For functions $f\left(x\right)=2{x}^{2}+3$ and $g\left(x\right)=5x-1,$ find ⓐ $\left(f\circ g\right)\left(\mathrm{-2}\right)$ ⓑ $\left(g\circ f\right)\left(\mathrm{-3}\right)$ ⓒ $\left(f\circ f\right)\left(\mathrm{-1}\right)$

For functions $f\left(x\right)=5{x}^{2}-1$ and $g\left(x\right)=4x-1,$ find ⓐ $\left(f\circ g\right)\left(1\right)$ ⓑ $\left(g\circ f\right)\left(\mathrm{-1}\right)$ ⓒ $\left(f\circ f\right)\left(2\right)$

For functions $f\left(x\right)=2{x}^{3}$ and $g\left(x\right)=3{x}^{2}+2,$ find ⓐ $\left(f\circ g\right)\left(\mathrm{-1}\right)$ ⓑ $\left(g\circ f\right)\left(1\right)$ ⓒ $\left(g\circ g\right)\left(1\right)$

For functions $f\left(x\right)=3{x}^{3}+1$ and $g\left(x\right)=2{x}^{2}-3,$ find ⓐ $\left(f\circ g\right)\left(\mathrm{-2}\right)$ ⓑ $\left(g\circ f\right)\left(\mathrm{-1}\right)$ ⓒ $\left(g\circ g\right)\left(1\right)$

**Determine Whether a Function is One-to-One**

In the following exercises, determine if the set of ordered pairs represents a function and if so, is the function one-to-one.

$\{\left(\mathrm{-3},9\right),\left(\mathrm{-2},4\right),\left(\mathrm{-1},1\right),\left(0,0\right)$,

$\left(1,1\right),\left(2,4\right),\left(3,9\right)\}$

$\{\left(9,\mathrm{-3}\right),\left(4,\mathrm{-2}\right),\left(1,\mathrm{-1}\right),\left(0,0\right)$,

$\left(1,1\right),\left(4,2\right),\left(9,3\right)\}$

$\{\left(\mathrm{-3},\mathrm{-5}\right),\left(\mathrm{-2},\mathrm{-3}\right),\left(\mathrm{-1},\mathrm{-1}\right)$,

$\left(0,1\right),\left(1,3\right),\left(2,5\right),\left(3,7\right)\}$

$\{\left(5,3\right),\left(4,2\right),\left(3,1\right),\left(2,0\right)$,

$\left(1,\mathrm{-1}\right),\left(0,\mathrm{-2}\right),\left(\mathrm{-1},\mathrm{-3}\right)\}$

In the following exercises, determine whether each graph is the graph of a function and if so, is it one-to-one.

ⓐ

ⓑ

ⓐ

ⓑ

In the following exercises, find the inverse of each function. Determine the domain and range of the inverse function.

$\left\{\left(6,2\right),\left(9,5\right),\left(12,8\right),\left(15,11\right)\right\}$

$\left\{\left(0,0\right),\left(1,1\right),\left(2,4\right),\left(3,9\right)\right\}$

$\left\{\left(\mathrm{-2},\mathrm{-3}\right),\left(\mathrm{-1},\mathrm{-1}\right),\left(0,1\right),\left(1,3\right)\right\}$

$\left\{\left(5,3\right),\left(4,2\right),\left(3,1\right),\left(2,0\right)\right\}$

In the following exercises, graph, on the same coordinate system, the inverse of the one-to-one function shown.

In the following exercises, determine whether or not the given functions are inverses.

$f\left(x\right)=x-9$ and $g\left(x\right)=x+9$

$f\left(x\right)=\frac{x}{11}$ and $g\left(x\right)=11x$

$f\left(x\right)=5x-4$ and $g\left(x\right)=\frac{x-4}{5}$

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

In the following exercises, find the inverse of each function.

$f\left(x\right)=x+17$

$f\left(x\right)=8x$

$f\left(x\right)=\frac{x}{4}$

$f\left(x\right)=7x-1$

$f\left(x\right)=\mathrm{-5}x-4$

$f\left(x\right)={x}^{2}-9,$ $x\ge 0$

$f\left(x\right)={x}^{3}+6$

$f\left(x\right)=\frac{1}{x-6}$

$f\left(x\right)=\sqrt{x+8},$ $x\ge \mathrm{-8}$

$f\left(x\right)=\sqrt[3]{x+5}$

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

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

#### Writing Exercises

Explain how to find the inverse of a function from its equation. Use an example to demonstrate the steps.

#### Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

ⓑ If most of your checks were:

…confidently. Congratulations! You have achieved the objectives in this section. Reflect on the study skills you used so that you can continue to use them. What did you do to become confident of your ability to do these things? Be specific.

…with some help. This must be addressed quickly because topics you do not master become potholes in your road to success. In math every topic builds upon previous work. It is important to make sure you have a strong foundation before you move on. Whom can you ask for help?Your fellow classmates and instructor are good resources. Is there a place on campus where math tutors are available? Can your study skills be improved?

…no—I don’t get it! This is a warning sign and you must not ignore it. You should get help right away or you will quickly be overwhelmed. See your instructor as soon as you can to discuss your situation. Together you can come up with a plan to get you the help you need.