Login
📚 Intermediate Algebra 2e
Chapters ▾
⇩ Download ▾

10.1 Finding Composite and Inverse Functions

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 fg and is defined by (fg)(x)=f(g(x)).

We read f(g(x)) as f of g of x.”

This figure shows x as the input to a box denoted as function g with g of x as the output of the box. Then, g of x is the input to a box denoted as function f with f of g of x as the output of the box.

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

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(x)=x2 as a parabola and then shifted it down vertically four units, we were using the composition defined by (fg)(x)=f(g(x)) where f(x)=x4.

This figure shows x as the input to a box denoted as g of x equals x squared with x squared as the output of the box. Then, x squared is the input to a box denoted as f of x equals x minus 4 with f of g of x equals x squared minus 4 as the output of the box.

The next example will demonstrate that (fg)(x), (gf)(x) and (f·g)(x) usually result in different outputs.

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

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.

This figure shows two tables. To the left is the table labeled Name, which from top to bottom reads Alison, Penelope, June, Gregory, Geoffrey, Lauren, Stephen, Alice, Liz, and Danny. The table on the right is labeled Birthday, which from top to bottom reads January 12, February 3, April 25, May 10, May 23, July 24, August 2, and September 15. There are arrows going from Alison to April 25, Penelope to May 23, June to August 2, Gregory to September 15, Geoffrey to January 12, Lauren to May 10, Stephen to July 24, Alice to February 3, Liz to July 24, and Danny to no birthday.

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.

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.

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.

Find the Inverse of a Function

Let’s look at a one-to one function, f, represented by the ordered pairs {(0,5),(1,6),(2,7),(3,8)}. 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−1.

This figure shows the set (0, 5), (1, 6), (2, 7) and (3, 8) on the left side of an oval. The oval contains the numbers 0, 1, 2, and 3. There are black arrows from these numbers that point to the numbers 5, 6, 7, and 8, respectively in a second oval to the right of the first. Above this, there is a black arrow labeled “f add 5” coming from the left oval to the right oval. There are red arrows from the numbers 5, 6, 7, and 8 in the right oval to the numbers 0, 1, 2, and 3, respectively, in the left oval. Below this, we have a red arrow labeled “f with a superscript negative 1” and “subtract 5”. To the right of this, we have the set (5, 0), (6, 1), (7, 2) and (8, 3).

Notice that that the ordered pairs of f and f−1 have their x-values and y-values reversed. The domain of f is the range of f−1 and the domain of f−1 is the range of f.

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

We just noted that if f(x) is a one-to-one function whose ordered pairs are of the form (x,y), then its inverse function f−1(x) is the set of ordered pairs (y,x).

So if a point (a,b) is on the graph of a function f(x), then the ordered pair (b,a) is on the graph of f−1(x). See Figure 10.2.

This figure shows the line y equals x with points (3,1) and (1,3) on either side of the line. These two points are connected by a dashed blue line segment.
Figure 10.2

The distance between any two pairs (a,b) and (b,a) 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(x) is a mirror image of a point on the graph of f−1(x), 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.

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.

This figure shows x as the input to a box denoted as function f with f of x as the output of the box. Then, f of x is the input to a box denoted as function f superscript negative 1 with f superscript negative 1 of f of x equals x as the output of the box.

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

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(x) is a one-to-one function with ordered pairs (x,y), then its inverse function f−1(x) is the set of ordered pairs (y,x).

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

We summarize the steps below.

Key Concepts

  • Composition of Functions: The composition of functions f and g, is written fg and is defined by

    (fg)(x)=f(g(x))


    We read f(g(x)) as f of g of x.
  • 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.
  • Inverse of a Function Defined by Ordered Pairs: If f(x) is a one-to-one function whose ordered pairs are of the form (x,y), then its inverse function f−1(x) is the set of ordered pairs (y,x).
  • Inverse Functions: For every x in the domain of one-to-one function f and f−1,

    f−1(f(x))=xf(f−1(x))=x

  • How to Find the Inverse of a One-to-One Function:
    1. Substitute y for f(x).
    2. Interchange the variables x and y.
    3. Solve for y.
    4. Substitute f−1(x) for y.
    5. Verify that the functions are inverses.

Practice Makes Perfect

Find and Evaluate Composite Functions

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

f(x)=4x+3 and g(x)=2x+5

8x+238x+11
8x2+26x+15

f(x)=3x1 and g(x)=5x3

f(x)=6x5 and g(x)=4x+1

24x+124x19
24x214x5

f(x)=2x+7 and g(x)=3x4

f(x)=3x and g(x)=2x23x

6x29x18x29x
6x39x2

f(x)=2x and g(x)=3x21

f(x)=2x1 and g(x)=x2+2

2x2+34x24x+3
2x3x2+4x2

f(x)=4x+3 and g(x)=x24

In the following exercises, find the values described.

For functions f(x)=2x2+3 and g(x)=5x1, find ⓐ (fg)(−2)(gf)(−3)(ff)(−1)

ⓐ 245 ⓑ 104 ⓒ 53

For functions f(x)=5x21 and g(x)=4x1, find ⓐ (fg)(1)(gf)(−1)(ff)(2)

For functions f(x)=2x3 and g(x)=3x2+2, find ⓐ (fg)(−1)(gf)(1)(gg)(1)

ⓐ 250 ⓑ 14 ⓒ 77

For functions f(x)=3x3+1 and g(x)=2x23, find ⓐ (fg)(−2)(gf)(−1)(gg)(1)

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.

{(−3,9),(−2,4),(−1,1),(0,0),
(1,1),(2,4),(3,9)}

Function; not one-to-one

{(9,−3),(4,−2),(1,−1),(0,0),
(1,1),(4,2),(9,3)}

{(−3,−5),(−2,−3),(−1,−1),
(0,1),(1,3),(2,5),(3,7)}

One-to-one function

{(5,3),(4,2),(3,1),(2,0),
(1,−1),(0,−2),(−1,−3)}

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


This figure shows a graph of a circle with center at the origin and radius 3.


This figure shows a graph of a parabola opening upward with vertex at (0k, 2).

ⓐ Not a function ⓑ Function; not one-to-one


This figure shows a parabola opening to the right with vertex at (negative 2, 0).


This figure shows a graph of a polynomial with odd order, so that it starts in the third quadrant, increases to the origin and then continues increasing through the first quadrant.


This figure shows a graph of a curve that starts at (negative 6 negative 2) increases to the origin and then continues increasing slowly to (6, 2).


This figure shows a parabola opening upward with vertex at (0, negative 4).

ⓐ One-to-one function
ⓑ Function; not one-to-one


This figure shows a straight line segment decreasing from (negative 4, 6) to (2, 0), after which it increases from (2, 0) to (6, 4).


This figure shows a circle with radius 4 and center at the origin.

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

{(2,1),(4,2),(6,3),(8,4)}

Inverse function: {(1,2),(2,4),(3,6),(4,8)}. Domain: {1,2,3,4}. Range: {2,4,6,8}.

{(6,2),(9,5),(12,8),(15,11)}

{(0,−2),(1,3),(2,7),(3,12)}

Inverse function: {(−2,0),(3,1),(7,2),(12,3)}. Domain: {−2,3,7,12}. Range: {0,1,2,3}.

{(0,0),(1,1),(2,4),(3,9)}

{(−2,−3),(−1,−1),(0,1),(1,3)}

Inverse function: {(−3,2),(−1,−1),(1,0),(3,1)}. Domain: {−3,1,1,3}. Range: {−2,−1,0,1}.

{(5,3),(4,2),(3,1),(2,0)}

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

This figure shows a series of line segments from (negative 4, negative 3) to (negative 3, 0) then to (negative 1, 2) and then to (3, 4).

This figure shows a series of line segments from (negative 3, negative 4) to (0, negative 3) then to (2, negative 1), and then to (4, 3).

This figure shows a series of line segments from (negative 4, negative 4) to (negative 3, 1) then to (0, 2) and then to (2, 4).

This figure shows a series of line segments from (negative 4, 4) to (0, 3) then to (3, 2) and then to (4, negative 1).

This figure shows a series of line segments from (negative 1, 4) to (2, 3) then to (3, 0), and then to (4, negative 4).

This figure shows a series of line segments from (negative 4, negative 4) to (negative 1, negative 3) then to (0, 1), then to (1, 3), and then to (4, 4).

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

f(x)=x+8 and g(x)=x8

g(f(x))=x, and f(g(x))=x, so they are inverses.

f(x)=x9 and g(x)=x+9

f(x)=7x and g(x)=x7

g(f(x))=x, and f(g(x))=x, so they are inverses.

f(x)=x11 and g(x)=11x

f(x)=7x+3 and g(x)=x37

g(f(x))=x, and f(g(x))=x, so they are inverses.

f(x)=5x4 and g(x)=x45

f(x)=x+2 and g(x)=x22(x>0)

g(f(x))=x, and f(g(x))=x, so they are inverses (for nonnegative x).

f(x)=x43 and g(x)=x3+4

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

f(x)=x12

f−1(x)=x+12

f(x)=x+17

f(x)=9x

f−1(x)=x9

f(x)=8x

f(x)=x6

f−1(x)=6x

f(x)=x4

f(x)=6x7

f−1(x)=x+76

f(x)=7x1

f(x)=−2x+5

f−1(x)=x5−2

f(x)=−5x4

f(x)=x2+6, x0

f−1(x)=x6

f(x)=x29, x0

f(x)=x34

f−1(x)=x+43

f(x)=x3+6

f(x)=1x+2

f−1(x)=1x2

f(x)=1x6

f(x)=x2, x2

f−1(x)=x2+2, x0

f(x)=x+8, x−8

f(x)=x33

f−1(x)=x3+3

f(x)=x+53

f(x)=9x54, x59

f−1(x)=x4+59, x0

f(x)=8x34, x38

f(x)=−3x+55

f−1(x)=x55−3

f(x)=−4x35

Writing Exercises

Explain how the graph of the inverse of a function is related to the graph of the function.

Answers will vary.

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.

This table has four rows and four columns. The first row, which serves as a header, reads I can…, Confidently, With some help, and No—I don’t get it. The first column below the header row reads Find and evaluate composite functions, determine whether a function is one-to-one, and find the inverse of a function. The rest of the cells are blank.

ⓑ 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.