Skip to main content
Mathematics LibreTexts

10.2: Finding Composite and Inverse Functions

  • Page ID
    114255
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    By the end of this section, you will be able to:

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

    Before you get started, take this readiness quiz.

    If f(x)=2x3f(x)=2x3 and g(x)=x2+2x3,g(x)=x2+2x3, find f(4).f(4).
    If you missed this problem, review Example 3.48.

    Be Prepared 10.2

    Solve for x,x, 3x+2y=12.3x+2y=12.
    If you missed this problem, review Example 2.31.

    Be Prepared 10.3

    Simplify: 5(x+4)54.5(x+4)54.
    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 ff and g,g, the composition is written fgfg and is defined by (fg)(x)=f(g(x)).(fg)(x)=f(g(x)).

    We read f(g(x))f(g(x)) as ff of gg of x.”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),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.

    Composition of Functions

    The composition of functions f and g is written fgfg and is defined by

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

    We read f(g(x))f(g(x)) as ff of gg 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(x)=x2g(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))(fg)(x)=f(g(x)) where f(x)=x4.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),(fg)(x), (gf)(x)(gf)(x) and (f·g)(x)(f·g)(x) usually result in different outputs.

    Example 10.1

    For functions f(x)=4x5f(x)=4x5 and g(x)=2x+3,g(x)=2x+3, find: (fg)(x),(fg)(x), (gf)(x),(gf)(x), and (f·g)(x).(f·g)(x).

    Answer

    Use the definition of (fg)(x).(fg)(x). .
    . .
    . .
    Distribute. .
    Simplify. .



    Use the definition of (fg)(x).(fg)(x). .
    . .
    . .
    Distribute. .
    Simplify. .

    Notice the difference in the result in part and part .

    Notice that (f·g)(x)(f·g)(x) is different than (fg)(x).(fg)(x). In part we did the composition of the functions. Now in part we are not composing them, we are multiplying them.

    Use the definition of(f·g)(x).(f·g)(x)=f(x)·g(x)Substitutef(x)=4x5andg(x)=2x+3.(f·g)(x)=(4x5)·(2x+3)Multiply.(f·g)(x)=8x2+2x15Use the definition of(f·g)(x).(f·g)(x)=f(x)·g(x)Substitutef(x)=4x5andg(x)=2x+3.(f·g)(x)=(4x5)·(2x+3)Multiply.(f·g)(x)=8x2+2x15

    Try It 10.1

    For functions f(x)=3x2f(x)=3x2 and g(x)=5x+1,g(x)=5x+1, find (fg)(x)(fg)(x) (gf)(x)(gf)(x) (f·g)(x)(f·g)(x).

    Try It 10.2

    For functions f(x)=4x3,f(x)=4x3, and g(x)=6x5,g(x)=6x5, find (fg)(x),(fg)(x), (gf)(x),(gf)(x), and (f·g)(x).(f·g)(x).

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

    Example 10.2

    For functions f(x)=x24,f(x)=x24, and g(x)=3x+2,g(x)=3x+2, find: (fg)(−3),(fg)(−3), (gf)(−1),(gf)(−1), and (ff)(2).(ff)(2).

    Answer

    Use the definition of (fg)(−3).(fg)(−3). .
    . .
    Simplify. .
    . .
    Simplify. .



    Use the definition of (gf)(−1).(gf)(−1). .
    . .
    Simplify. .
    . .
    Simplify. .



    Use the definition of (ff)(2).(ff)(2). .
    . .
    Simplify. .
    . .
    Simplify. .
    Try It 10.3

    For functions f(x)=x29,f(x)=x29, and g(x)=2x+5,g(x)=2x+5, find (fg)(−2),(fg)(−2), (gf)(−3),(gf)(−3), and (ff)(4).(ff)(4).

    Try It 10.4

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

    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.

    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.

    {(−3,27),(−2,8),(−1,1),(0,0),(1,1),(2,8),(3,27)}{(−3,27),(−2,8),(−1,1),(0,0),(1,1),(2,8),(3,27)} and {(0,0),(1,1),(4,2),(9,3),(16,4)}.{(0,0),(1,1),(4,2),(9,3),(16,4)}.

    Answer


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

    Each x-value is matched with only one y-value. So this relation is a function.

    But each y-value is not paired with only one x-value, (−3,27)(−3,27) and (3,27),(3,27), for example. So this function is not one-to-one.


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

    Each x-value is matched with only one y-value. So this relation is a function.

    Since each y-value is paired with only one x-value, this function is one-to-one.

    Try It 10.5

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

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

    Try It 10.6

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

    {(27,−3),(8,−2),(1,−1),(0,0),(1,1),(8,2),(27,3)}{(27,−3),(8,−2),(1,−1),(0,0),(1,1),(8,2),(27,3)} {(7,−3),(−5,−4),(8,0),(0,0),(−6,4),(−2,2),(−1,3)}{(7,−3),(−5,−4),(8,0),(0,0),(−6,4),(−2,2),(−1,3)}

    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.

    This first graph shows a straight line passing through (0, 2) and (3, 0). This second shows a parabola opening up with vertex at (0, negative 1).
    Answer

    This figure shows a straight line passing through (0, 2) and (3, 0), with a red vertical line that only passes through one point and a blue horizontal line that only passes through one point.

    Since any vertical line intersects the graph in at most one point, the graph is the graph of a function. Since any horizontal line intersects the graph in at most one point, the graph is the graph of a one-to-one function.

    This figure shows a parabola opening up with vertex at (0, negative 1), with a red vertical line that only passes through one point and a blue horizontal line that passes through two points.

    Since any vertical line intersects the graph in at most one point, the graph is the graph of a function. The horizontal line shown on the graph intersects it in two points. This graph does not represent a one-to-one function.

    Try It 10.7

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

    Graph a shows a parabola opening to the right with vertex at (negative 1, 0). Graph b shows an exponential function that does not cross the x axis and that passes through (0, 1) before increasing rapidly.
    Try It 10.8

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

    Graph a shows a parabola opening up with vertex at (0, 3). Graph b shows a straight line passing through (0, negative 2) and (2, 0).

    Find the Inverse of a Function

    Let’s look at a one-to one function, ff, represented by the ordered pairs {(0,5),(1,6),(2,7),(3,8)}.{(0,5),(1,6),(2,7),(3,8)}. For each xx-value, ff adds 5 to get the yy-value. To ‘undo’ the addition of 5, we subtract 5 from each yy-value and get back to the original xx-value. We can call this “taking the inverse of ff” and name the function f−1.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 ff and f−1f−1 have their xx-values and yy-values reversed. The domain of ff is the range of f−1f−1 and the domain of f−1f−1 is the range of f.f.

    Inverse of a Function Defined by Ordered Pairs

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

    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 {(0,3),(1,5),(2,7),(3,9)}.{(0,3),(1,5),(2,7),(3,9)}. Determine the domain and range of the inverse function.

    Answer

    This function is one-to-one since every xx-value is paired with exactly one yy-value.

    To find the inverse we reverse the xx-values and yy-values in the ordered pairs of the function.

    Function {(0,3),(1,5),(2,7),(3,9)}{(0,3),(1,5),(2,7),(3,9)}
    Inverse Function {(3,0),(5,1),(7,2),(9,3)}{(3,0),(5,1),(7,2),(9,3)}
    Domain of Inverse Function {3,5,7,9}{3,5,7,9}
    Range of Inverse Function {0,1,2,3}{0,1,2,3}
    Try It 10.9

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

    Try It 10.10

    Find the inverse of {(−1,4),(−2,1),(−3,0),(−4,2)}.{(−1,4),(−2,1),(−3,0),(−4,2)}. Determine the domain and range of the inverse function.

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

    So if a point (a,b)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)(a,b) and (b,a)(b,a) is cut in half by the line y=x.y=x. So we say the points are mirror images of each other through the line y=x.y=x.

    Since every point on the graph of a function f(x)f(x) is a mirror image of a point on the graph of f−1(x),f−1(x), we say the graphs are mirror images of each other through the line y=x.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.

    This figure shows a line from (negative 5, negative 3) to (negative 3, negative 1) then to (negative 1,0) then to (0,2) and then to (3, 4).
    Answer

    We can use points on the graph to find points on the inverse graph. Some points on the graph are: (−5,−3),(−3,−1),(−1,0),(0,2),(3,4)(−5,−3),(−3,−1),(−1,0),(0,2),(3,4).

    So, the inverse function will contain the points: (−3,−5),(−1,−3),(0,−1),(2,0),(4,3)(−3,−5),(−1,−3),(0,−1),(2,0),(4,3).

    This figure shows a line from (negative 5, negative 3) to (negative 3, negative 1) then to (negative 1, 0) then to (0,2) and then to (3, 4). Then there is a dashed line to denote y equals x. There is also a line from (negative 3, negative 5) to (negative 1, negative 3) then to (0, negative 1), then to (2, 0) and then to (4, 3).

    Notice how the graph of the original function and the graph of the inverse functions are mirror images through the line y=x.y=x.

    Try It 10.11

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

    The graph shows a line from (negative 3, negative 4) to (negative 2, negative 2) then to (0, negative 1), then to (1, 2) and then to (4, 3). The graph shows a line from (negative 3, 4) to (0, 3) then to (1, 2) and then to (4, 1).
    Try It 10.12

    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.

    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.

    Inverse Functions

    f−1(f(x))=x,for allxin the domain offf(f−1(x))=x,for allxin the domain off−1f−1(f(x))=x,for allxin the domain offf(f−1(x))=x,for allxin the domain off−1

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

    Example 10.7

    Verify that f(x)=5x1f(x)=5x1 and g(x)=x+15g(x)=x+15 are inverse functions.

    Answer

    The functions are inverses of each other if g(f(x))=xg(f(x))=x and f(g(x))=x.f(g(x))=x.

      .
    Substitute 5x15x1 for f(x).f(x). .
    . .
    Simplify. .
    Simplify. .
       
      .
    Substitute x+15x+15 for g(x).g(x). .
    . .
    Simplify. .
    Simplify. .

    Since both g(f(x))=xg(f(x))=x and f(g(x))=xf(g(x))=x are true, the functions f(x)=5x1f(x)=5x1 and g(x)=x+15g(x)=x+15 are inverse functions. That is, they are inverses of each other.

    Try It 10.13

    Verify that the functions are inverse functions.

    f(x)=4x3f(x)=4x3 and g(x)=x+34.g(x)=x+34.

    Try It 10.14

    Verify that the functions are inverse functions.

    f(x)=2x+6f(x)=2x+6 and g(x)=x62.g(x)=x62.

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

    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(x)=4x+7.f(x)=4x+7.

    Answer
    Step 1 is to substitute y for f of x. To do so, we replace f of x with y. Hence, f of x equals 4 x plus 7 becomes y equals 4 x plus 7. Step 2 is to interchange the variables x and y. To do so, we replace x with y and then y with x. Hence, we obtain x equals 4y plus 7. Step 3 is to solve for y. To do so, we subtract 7 from each side and then divide by 4. Hence, we have x minus 7 equals 4y and then the quantity x minus 7 divided by 4 equals y. Step 4 is to substitute f superscript negative 1 of x for y. To do so, we replace y with f superscript negative 1 of x. Hence, the quantity x minus 7 divided by 4 equals f superscript negative 1 of x. Step 5 is to verify that the functions are inverses. To do so, we show that f superscript negative 1 of f of x equals x and that f of f superscript negative 1of x equals x. Hence, we ask whether f inverse of 4x plus 7 equals x. This becomes a question of whether 4 x plus 7 minus 7 all divided by 4 equals x. This becomes a question of whether 4x divided by 4 equals x. This is true. To show the other side, we examine whether f of f inverse of x equals x. This becomes a question of whether f of the quantity x minus 7 divided by 4 equals x. This becomes a question of whether 4 times the quantity x minus 7 divided by 4 equals x. This becomes a question of whether x minus 7 plus 7 equals x. This is true.
    Try It 10.15

    Find the inverse of the function f(x)=5x3.f(x)=5x3.

    Try It 10.16

    Find the inverse of the function f(x)=8x+5.f(x)=8x+5.

    We summarize the steps below.

    How To

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

    1. Step 1. Substitute y for f(x).f(x).
    2. Step 2. Interchange the variables x and y.
    3. Step 3. Solve for y.
    4. Step 4. Substitute f−1(x)f−1(x) for y.
    5. 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(x)=2x35.f(x)=2x35.

    Answer
      f(x)=2x35f(x)=2x35
    Substitute yy for f(x)f(x). y=2x35y=2x35
    Interchange the variables xx and yy. x=2y35x=2y35
    Solve for yy. (x)5=(2y35)5(x)5=(2y35)5
      x5=2y3x5=2y3
      x5+3=2yx5+3=2y
      x5+32=yx5+32=y
    Substitute f1(x)f1(x) for yy. f1(x)=x5+32f1(x)=x5+32
    Verify that the functions are inverses.  
    f1(f(x))=?xf1(f(x))=?x f(f1(x))=?xf(f1(x))=?x
    f1(2x35)=?xf1(2x35)=?x f(x5+32)=?xf(x5+32)=?x
    (2x35)5+32=?x(2x35)5+32=?x 2(x5+32)35=?x2(x5+32)35=?x
    2x3+32=?x2x3+32=?x x5+335=?xx5+335=?x
    2x2=?x2x2=?x x55=?xx55=?x
    x=xx=x x=xx=x
    Try It 10.17

    Find the inverse of the function f(x)=3x25.f(x)=3x25.

    Try It 10.18

    Find the inverse of the function f(x)=6x74.f(x)=6x74.

    Section 10.1 Exercises

    Practice Makes Perfect

    Find and Evaluate Composite Functions

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

    1.

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

    2.

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

    3.

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

    4.

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

    5.

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

    6.

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

    7.

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

    8.

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

    In the following exercises, find the values described.

    9.

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

    10.

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

    11.

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

    12.

    For functions f(x)=3x3+1f(x)=3x3+1 and g(x)=2x23,g(x)=2x23, find (fg)(−2)(fg)(−2) (gf)(−1)(gf)(−1) (gg)(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.

    13.

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

    14.

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

    15.

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

    16.

    {(5,3),(4,2),(3,1),(2,0){(5,3),(4,2),(3,1),(2,0),
    (1,−1),(0,−2),(−1,−3)}(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.

    17.

    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).
    18.

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

    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).
    20.

    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.

    21.

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

    22.

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

    23.

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

    24.

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

    25.

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

    26.

    { ( 5 , 3 ) , ( 4 , 2 ) , ( 3 , 1 ) , ( 2 , 0 ) } { ( 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.

    27. 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).
    28. 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).
    29. 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).
    30. 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.

    31.

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

    32.

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

    33.

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

    34.

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

    35.

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

    36.

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

    37.

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

    38.

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

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

    39.

    f ( x ) = x 12 f ( x ) = x 12

    40.

    f ( x ) = x + 17 f ( x ) = x + 17

    41.

    f ( x ) = 9 x f ( x ) = 9 x

    42.

    f ( x ) = 8 x f ( x ) = 8 x

    43.

    f ( x ) = x 6 f ( x ) = x 6

    44.

    f ( x ) = x 4 f ( x ) = x 4

    45.

    f ( x ) = 6 x 7 f ( x ) = 6 x 7

    46.

    f ( x ) = 7 x 1 f ( x ) = 7 x 1

    47.

    f ( x ) = −2 x + 5 f ( x ) = −2 x + 5

    48.

    f ( x ) = −5 x 4 f ( x ) = −5 x 4

    49.

    f(x)=x2+6,f(x)=x2+6, x0x0

    50.

    f(x)=x29,f(x)=x29, x0x0

    51.

    f ( x ) = x 3 4 f ( x ) = x 3 4

    52.

    f ( x ) = x 3 + 6 f ( x ) = x 3 + 6

    53.

    f ( x ) = 1 x + 2 f ( x ) = 1 x + 2

    54.

    f ( x ) = 1 x 6 f ( x ) = 1 x 6

    55.

    f(x)=x2,f(x)=x2, x2x2

    56.

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

    57.

    f ( x ) = x 3 3 f ( x ) = x 3 3

    58.

    f ( x ) = x + 5 3 f ( x ) = x + 5 3

    59.

    f(x)=9x54,f(x)=9x54, x59x59

    60.

    f(x)=8x34,f(x)=8x34, x38x38

    61.

    f ( x ) = −3 x + 5 5 f ( x ) = −3 x + 5 5

    62.

    f ( x ) = −4 x 3 5 f ( x ) = −4 x 3 5

    Writing Exercises

    63.

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

    64.

    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.


    This page titled 10.2: Finding Composite and Inverse Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.