In this section, you will:
- Find the inverse of an invertible polynomial function.
- Restrict the domain to find the inverse of a polynomial function.
Park rangers and other trail managers may construct rock piles, stacks, or other arrangements, usually called cairns, to mark trails or other landmarks. (Rangers and environmental scientists discourage hikers from doing the same, in order to avoid confusion and preserve the habitats of plants and animals.) A cairn in the form of a mound of gravel is in the shape of a cone with the height equal to twice the radius.
The volume is found using a formula from elementary geometry.
\[\begin{array}{ccl} V & = & {\frac{1}{3}\pi r^{2}h} \\ & = & {\frac{1}{3}\pi r^{2}(2r)} \\ & = & {\frac{2}{3}\pi r^{3}} \end{array}\]
We have written the volume \(V\) in terms of the radius \(r.\) However, in some cases, we may start out with the volume and want to find the radius. For example: A customer purchases 100 cubic feet of gravel to construct a cone shape mound with a height twice the radius. What are the radius and height of the new cone? To answer this question, we use the formula
\[r = \sqrt[3]{\frac{3V}{2\pi}}\]
This function is the inverse of the formula for \(V\) in terms of \(r.\)
In this section, we will explore the inverses of polynomial and rational functions and in particular the radical functions we encounter in the process.
2.8.1 Finding the Inverse of a Polynomial Function
Two functions \(f\) and \(g\) are inverse functions if for every coordinate pair in \(f,(a,b),\) there exists a corresponding coordinate pair in the inverse function, \(g,(b,\mspace{9mu} a).\) In other words, the coordinate pairs of the inverse functions have the input and output interchanged. Only one-to-one functions have inverses. Recall that a one-to-one function has a unique output value for each input value and passes the horizontal line test.
For example, suppose the Sustainability Club builds a water runoff collector in the shape of a parabolic trough as shown in Figure 2.8.2. We can use the information in the figure to find the surface area of the water in the trough as a function of the depth of the water.
Because it will be helpful to have an equation for the parabolic cross-sectional shape, we will impose a coordinate system at the cross section, with \(x\) measured horizontally and \(y\) measured vertically, with the origin at the vertex of the parabola. See Figure 2.8.3.
From this we find an equation for the parabolic shape. We placed the origin at the vertex of the parabola, so we know the equation will have form \(y(x) = ax^{2}.\) Our equation will need to pass through the point (6, 18), from which we can solve for the stretch factor \(a.\)
\[\begin{array}{ccl} 18 & = & {a6^{2}} \\ a & = & \frac{18}{36} \\ & = & \frac{1}{2} \end{array}\]
Our parabolic cross section has the equation
\[y(x) = \frac{1}{2}x^{2}\]
We are interested in the surface area of the water, so we must determine the width at the top of the water as a function of the water depth. For any depth \(y,\) the width will be given by \(2x,\) so we need to solve the equation above for \(x\) and find the inverse function. However, notice that the original function is not one-to-one, and indeed, given any output there are two inputs that produce the same output, one positive and one negative.
To find an inverse, we can restrict our original function to a limited domain on which it is one-to-one. In this case, it makes sense to restrict ourselves to positive \(x\) values. On this domain, we can find an inverse by solving for the input variable:
\[\begin{array}{rcl} y & = & {\frac{1}{2}x^{2}} \\ {2y} & = & x^{2} \\ x & = & {\pm \sqrt{2y}} \\ {\therefore y} & = & {\pm \sqrt{2x}} \end{array}\]
This is not a function as written. Since we are limiting ourselves to positive \(x\) values in the original function, we can eliminate the negative solution, which gives us the inverse function we’re looking for.
\[y = \sqrt{2x}\]
Because \(x\) is the distance from the center of the parabola to either side, the entire width of the water at the top will be \(2x.\) The trough is 3 feet (36 inches) long, so the surface area will then be:
\[\begin{array}{ccl} \text{Area} & = & {l \cdot w} \\ & = & {36 \cdot 2x} \\ & = & {72x} \\ & = & {72\sqrt{2y}} \end{array}\]
This example illustrates two important points:
- When finding the inverse of a quadratic, we have to limit ourselves to a domain on which the function is one-to-one.
- The inverse of a quadratic function is a square root function. Both are toolkit functions and different types of power functions.
Functions involving roots are often called radical functions. While it is not possible to find an inverse of most polynomial functions, some basic polynomials do have inverses. Such functions are called invertible functions, and we use the notation \(f^{- 1}(x).\)
Warning: \(f^{- 1}(x)\) is not the same as the reciprocal of the function \(f(x).\) This use of “–1” is reserved to denote inverse functions. To denote the reciprocal of a function \(f(x),\) we would need to write \(\left( {f(x)} \right)^{- 1} = \frac{1}{f(x)}.\)
An important relationship between inverse functions is that they “undo” each other. If \(f^{- 1}\) is the inverse of a function \(f,\) then \(f\) is the inverse of the function \(f^{- 1}.\) In other words, whatever the function \(f\) does to \(x,\) \(f^{- 1}\) undoes it—and vice-versa.
\[f^{- 1}\left( {f(x)} \right) = x,\mspace{9mu}\text{for~all~}x\mspace{9mu}\text{in~the~domain~of~}f\]
and
\[f\left( {f^{- 1}(x)} \right) = x,\mspace{9mu}\text{for~all~}x\mspace{9mu}\text{in~the~domain~of~}f^{- 1}\]
Note that the inverse switches the domain and range of the original function.
Two functions, \(f\) and \(g,\) are inverses of one another if for all \(x\) in the domain of \(f\) and \(g.\)
\[g\left( {f(x)} \right) = f\left( {g(x)} \right) = x\]
Given a polynomial function, find the inverse of the function by restricting the domain in such a way that the new function is one-to-one.
- Replace \(f(x)\) with \(y.\)
- Interchange \(x\) and \(y.\)
- Solve for \(y,\) and rename the function \(f^{- 1}(x).\)
Show that \(f(x) = \frac{1}{x + 1}\) and \(f^{- 1}(x) = \frac{1}{x} - 1\) are inverses, for \(x \neq 0,-1\) .
Solution (click to reveal)
We must show that \(f^{- 1}\left( {f(x)} \right) = x\) and \(f\left( {f^{- 1}(x)} \right) = x.\)
\[\begin{matrix} {f^{- 1}(f(x))} & = & {f^{- 1}\left( \frac{1}{x + 1} \right)} \\ & = & {\frac{1}{\frac{1}{x + 1}} - 1} \\ & = & {(x + 1) - 1} \\ & = & x \\ {f(f^{-1}(x))} & = & {f\left( {\frac{1}{x} - 1} \right)} \\ & = & \frac{1}{\left( {\frac{1}{x} - 1} \right) + 1} \\ & = & \frac{1}{\frac{1}{x}} \\ & = & x \end{matrix}\]
Therefore, \(f(x) = \frac{1}{x + 1}\) and \(f^{- 1}(x) = \frac{1}{x} - 1\) are inverses.
Show that \(f(x) = \frac{x + 5}{3}\) and \(f^{- 1}(x) = 3x - 5\) are inverses.
Solution (click to reveal)
\(f^{- 1}\left( {f(x)} \right) = f^{- 1}\left( \frac{x + 5}{3} \right) = 3\left( \frac{x + 5}{3} \right) - 5 = \left( {x - 5} \right) + 5 = x\) and \(f\left( {f^{- 1}(x)} \right) = f\left( {3x - 5} \right) = \frac{\left( {3x - 5} \right) + 5}{3} = \frac{3x}{3} = x\)
Find the inverse of the function \(f(x) = 5x^{3} + 1.\)
Solution (click to reveal)
This is a transformation of the basic cubic toolkit function, and based on our knowledge of that function, we know it is one-to-one. Solving for the inverse by solving for \(x.\)
\[\begin{array}{rcl} y & = & {5x^{3} + 1} \\ x & = & {5y^{3} + 1} \\ {x - 1} & = & {5y^{3}} \\ \frac{x - 1}{5} & = & y^{3} \\ {f^{- 1}(x)} & = & \sqrt[3]{\frac{x - 1}{5}} \end{array}\]
Look at the graph of \(f\) and \(f^{–1}.\) Notice that one graph is the reflection of the other about the line \(y = x.\) This is always the case when graphing a function and its inverse function.
Also, since the method involved interchanging \(x\) and \(y,\) notice corresponding points. If \((a,b)\) is on the graph of \(f,\) then \((b,a)\) is on the graph of \(f^{–1}.\) Since \((0,1)\) is on the graph of \(f,\) then \((1,0)\) is on the graph of \(f^{–1}.\) Similarly, since \((1,6)\) is on the graph of \(f,\) then \((6,1)\) is on the graph of \(f^{–1}.\) See Figure 2.8.9.
Find the inverse function of \(f(x) = \sqrt[3]{x + 4}.\)
Solution (click to reveal)
\(f^{- 1}(x) = x^{3} - 4\)
2.8.2 Restricting the Domain to Find the Inverse of a Polynomial Function
So far, we have been able to find the inverse functions of cubic functions without having to restrict their domains. However, as we know, not all cubic polynomials are one-to-one. Some functions that are not one-to-one may have their domain restricted so that they are one-to-one, but only over that domain. The function over the restricted domain would then have an inverse function. Since quadratic functions are not one-to-one, we must restrict their domain in order to find their inverses.
If a function is not one-to-one, it cannot have an inverse. If we restrict the domain of the function so that it becomes one-to-one, thus creating a new function, this new function will have an inverse.
Given a polynomial function, restrict the domain of a function that is not one-to-one and then find the inverse.
- Restrict the domain by determining a domain on which the original function is one-to-one.
- Replace \(f(x)\) with \(y.\)
- Interchange \(x\) and \(y.\)
- Solve for \(y,\) and rename the function or pair of function \(f^{-1}(x).\)
- Revise the formula for \(f^{-1}(x)\) by ensuring that the outputs of the inverse function correspond to the restricted domain of the original function.
Find the inverse function of \(f\text{:}\)
ⓐ \(f(x) = {(x - 4)}^{2},~x \geq 4\) ⓑ \(f(x) = {(x - 4)}^{2},~x \leq 4\)
Solution (click to reveal)
The original function \(f(x) = {(x - 4)}^{2}\) is not one-to-one, but the function is restricted to a domain of \(x \geq 4\) or \(x \leq 4\) on which it is one-to-one. See Figure 2.8.14.
To find the inverse, start by replacing \(f(x)\) with the simple variable \(y.\)
\[\begin{array}{rclc} y & = & {(x - 4)}^{2} & {\qquad\text{Interchange}\operatorname{}x\operatorname{}\text{and~}y.} \\ x & = & {(y - 4)}^{2} & {\qquad\text{Take~the~square~root}.} \\ {\pm \sqrt{x}} & = & {y - 4} & {\qquad\text{Add}~4~\text{to~both~sides}.} \\ {4 \pm \sqrt{x}} & = & y & \end{array}\]
This is not a function as written. We need to examine the restrictions on the domain of the original function to determine the inverse. Since we reversed the roles of \(x\) and \(y\) for the original \(f(x),\) we looked at the domain: the values \(x\) could assume. When we reversed the roles of \(x\) and \(y,\) this gave us the values \(y\) could assume. For this function, \(x \geq 4,\) so for the inverse, we should have \(y \geq 4,\) which is what our inverse function gives.
ⓐ The domain of the original function was restricted to \(x \geq 4,\) so the outputs of the inverse need to be the same, \(f(x) \geq 4,\) and we must use the + case:
\[f^{- 1}(x) = 4 + \sqrt{x}\]
ⓑ The domain of the original function was restricted to \(x \leq 4,\) so the outputs of the inverse need to be the same, \(f(x) \leq 4,\) and we must use the – case:
\[f^{- 1}(x) = 4 - \sqrt{x}\]
On the graphs in Figure 2.8.14, we see the original function graphed on the same set of axes as its inverse function. Notice that together the graphs show symmetry about the line \(y = x.\) The coordinate pair \((4,~0)\) is on the graph of \(f\) and the coordinate pair \((0,~4)\) is on the graph of \(f^{- 1}.\) For any coordinate pair, if \(\left( {a,\mspace{9mu} b} \right)\) is on the graph of \(f,\) then \(\left( {b,\mspace{9mu} a} \right)\) is on the graph of \(f^{- 1}.\) Finally, observe that the graph of \(f\) intersects the graph of \(f^{- 1}\) on the line \(y = x.\) Points of intersection for the graphs of \(f\) and \(f^{- 1}\) will always lie on the line \(y = x.\)
Restrict the domain and then find the inverse of
\[f(x) = {(x - 2)}^{2} - 3.\]
Solution (click to reveal)
We can see this is a parabola with vertex at \((2,–3)\) that opens upward. Because the graph will be decreasing on one side of the vertex and increasing on the other side, we can restrict this function to a domain on which it will be one-to-one by limiting the domain to \(x \geq 2.\)
To find the inverse, we will use the vertex form of the quadratic. We start by replacing \(f(x)\) with a simple variable, \(y,\) then solve for \(x.\)
\[\begin{array}{rclc} y & = & {{(x - 2)}^{2} - 3} & {\qquad\text{\quad\quad}\text{Interchange~}x\mspace{9mu}\text{and~}y.} \\ x & = & {{(y - 2)}^{2} - 3} & {\qquad\text{\quad\quad}\text{Add~3~to~both~sides}.} \\ {x + 3} & = & {(y - 2)}^{2} & {\qquad\text{\quad\quad}\text{Take~the~square~root}.} \\ {\pm \sqrt{x + 3}} & = & {y - 2} & {\qquad\text{\quad\quad}\text{Add~2~to~both~sides}.} \\ {2 \pm \sqrt{x + 3}} & = & y & {\qquad\text{\quad\quad}\text{Rename~the~function}.} \\ {f^{- 1}(x)} & = & {2 \pm \sqrt{x + 3}} & \end{array}\]
Now we need to determine which case to use. Because we restricted our original function to a domain of \(x \geq 2,\) the outputs of the inverse should be the same, telling us to utilize the + case
\[f^{- 1}(x) = 2 + \sqrt{x + 3}\]
If the quadratic had not been given in vertex form, rewriting it into vertex form would be the first step. This way we may easily observe the coordinates of the vertex to help us restrict the domain.
Notice that we arbitrarily decided to restrict the domain on \(x \geq 2.\) We could just have easily opted to restrict the domain on \(x \leq 2,\) in which case \(f^{- 1}(x) = 2 - \sqrt{x + 3}.\) Observe the original function graphed on the same set of axes as its inverse function in Figure 2.8.16. Notice that both graphs show symmetry about the line \(y = x.\) The coordinate pair \(\left( {2,\mspace{9mu} - 3} \right)\) is on the graph of \(f\) and the coordinate pair \(\left( {- 3,\mspace{9mu} 2} \right)\) is on the graph of \(f^{- 1}.\) Observe from the graph of both functions on the same set of axes that
\[\text{domain~of~}f = \text{range~of}~f^{–1} = \left\lbrack {2,\infty} \right)\]
and
\[\text{domain~of~}f^{–1} = \text{range~of}~f = \left\lbrack {–3,\infty} \right).\]
Finally, observe that the graph of \(f\) intersects the graph of \(f^{- 1}\) along the line \(y = x.\)
Find the inverse of the function \(f(x) = x^{2} + 1,\) on the domain \(x \geq 0.\)
Solution (click to reveal)
\(f^{- 1}(x) = \sqrt{x - 1}\)
Solving Applications of Radical Functions
Notice that the functions from previous examples were all polynomials, and their inverses were radical functions. If we want to find the inverse of a radical function, we will need to restrict the domain of the answer because the range of the original function is limited.
Given a radical function, find the inverse.
- Determine the range of the original function.
- Replace \(f(x)\) with \(y,\) then solve for \(x.\)
- If necessary, restrict the domain of the inverse function to the range of the original function.
Restrict the domain of the function \(f(x) = \sqrt{x - 4}\) and then find the inverse.
Solution (click to reveal)
Note that the original function has range \(f(x) \geq 0.\) Replace \(f(x)\) with \(y,\) then solve for \(x.\)
\[\begin{array}{rclc} y & = & \sqrt{x - 4} & {\qquad\text{Replace~}f(x)\mspace{9mu}\text{with~}y.} \\ x & = & \sqrt{y - 4} & {\qquad\text{Interchange~}x\mspace{9mu}\text{and~}y.} \\ x & = & \sqrt{y - 4} & {\qquad\text{Square~each~side}.} \\ x^{2} & = & {y - 4} & {\qquad\text{Add~4}.} \\ {x^{2} + 4} & = & y & {\qquad\text{Rename~the~function~}f^{- 1}(x).} \\ {f^{- 1}(x)} & = & {x^{2} + 4} & \end{array}\]
Recall that the domain of this function must be limited to the range of the original function.
\[f^{- 1}(x) = x^{2} + 4,x \geq 0\]
Notice in Figure 2.8.20 that the inverse is a reflection of the original function over the line \(y = x.\) Because the original function has only positive outputs, the inverse function has only positive inputs.
Restrict the domain and then find the inverse of the function \(f(x) = \sqrt{2x + 3}.\)
Solution (click to reveal)
\(f^{- 1}(x) = \frac{x^{2} - 3}{2},x \geq 0\)
Solving Applications of Radical Functions
Radical functions are common in physical models, as we saw in the section opener. We now have enough tools to be able to solve the problem posed at the start of the section.
Park rangers construct a mound of gravel in the shape of a cone with the height equal to twice the radius. The volume of the cone in terms of the radius is given by
\[V = \frac{2}{3}\pi r^{3}\]
Find the inverse of the function \(V = \frac{2}{3}\pi r^{3}\) that determines the volume \(V\) of a cone and is a function of the radius \(r.\) Then use the inverse function to calculate the radius of such a mound of gravel measuring 100 cubic feet. Use \(\pi = 3.14.\)
Solution (click to reveal)
Start with the given function for \(V.\) Notice that the meaningful domain for the function is \(r > 0\) since negative radii would not make sense in this context nor would a radius of 0. Also note the range of the function (hence, the domain of the inverse function) is \(V > 0.\) Solve for \(r\) in terms of \(V,\) using the method outlined previously. Note that in real-world applications, we do not swap the variables when finding inverses. Instead, we change which variable is considered to be the independent variable.
\[\begin{array}{rclc} V & = & {\frac{2}{3}\pi r^{3}} & \\ r^{3} & = & \frac{3V}{2\pi} & {\qquad\text{Solve~for~}r^{3}.} \\ r & = & \sqrt[3]{\frac{3V}{2\pi}} & {\qquad\text{Solve~for~}r.} \end{array}\]
This is the result stated in the section opener. Now evaluate this for \(V = 100\) and \(\pi = 3.14.\)
\[\begin{array}{ccl} r & = & \sqrt[3]{\frac{3V}{2\pi}} \\ & = & \sqrt[3]{\frac{3 \cdot 100}{2 \cdot 3.14}} \\ & \approx & \sqrt[3]{47.7707} \\ & \approx & 3.63 \end{array}\]
Therefore, the radius is about 3.63 ft.
Determining the Domain of a Radical Function Composed with Other Functions
When radical functions are composed with other functions, determining domain can become more complicated.
Find the domain of the function \(f(x) = \sqrt{\frac{(x + 2)(x - 3)}{(x - 1)}}.\)
Solution (click to reveal)
Because a square root is only defined when the quantity under the radical is non-negative, we need to determine where \(\frac{(x + 2)(x - 3)}{(x - 1)} \geq 0.\) The output of a rational function can change signs (change from positive to negative or vice versa) at \(x\)-intercepts and at vertical asymptotes. For this equation, the graph could change signs at \(x = –2,~1,~\text{and}~3.\)
To determine the intervals on which the rational expression is positive, we could test some values in the expression or sketch a graph. While both approaches work equally well, for this example we will use a graph as shown in Figure 9.
This function has two \(x\)-intercepts, both of which exhibit linear behavior near the \(x\)-intercepts. There is one vertical asymptote, corresponding to a linear factor; this behavior is similar to the basic reciprocal toolkit function, and there is no horizontal asymptote because the degree of the numerator is larger than the degree of the denominator. There is a \(y\)-intercept at \((0,\sqrt{6}).\)
From the \(y\)-intercept and \(x\)-intercept at \(x = -2,\) we can sketch the left side of the graph. From the behavior at the asymptote, we can sketch the right side of the graph.
From the graph, we can now tell on which intervals the outputs will be non-negative, so that we can be sure that the original function \(f(x)\) will be defined. \(f(x)\) has domain \(-2 \leq x < 1\mspace{9mu}\text{or}\mspace{9mu} x \geq 3,\) or in interval notation, \(\lbrack-2,1) \cup \lbrack 3,\infty).\)
Finding Inverses of Rational Functions
As with finding inverses of quadratic functions, it is sometimes desirable to find the inverse of a rational function, particularly of rational functions that are the ratio of linear functions, such as in concentration applications.
The function \(C = \frac{20 + 0.4n}{100 + n}\) represents the concentration \(C\) of an acid solution after \(n\) mL of 40% solution has been added to 100 mL of a 20% solution. First, find the inverse of the function; that is, find an expression for \(n\) in terms of \(C.\) Then use your result to determine how much of the 40% solution should be added so that the final mixture is a 35% solution.
Solution (click to reveal)
We first want the inverse of the function in order to determine how many mL we need for a given concentration. We will solve for \(n\) in terms of \(C.\)
\[\begin{array}{rcl} C & = & \frac{20 + 0.4n}{100 + n} \\ {C(100 + n)} & = & {20 + 0.4n} \\ {100C + Cn} & = & {20 + 0.4n} \\ {100C - 20} & = & {0.4n - Cn} \\ {100C - 20} & = & {(0.4 - C)n} \\ n & = & \frac{100C - 20}{0.4 - C} \end{array}\]
Now evaluate this function at 35%, which is \(C = 0.35.\)
\[\begin{array}{ccl} n & = & \frac{100(0.35) - 20}{0.4 - 0.35} \\ & = & \frac{15}{0.05} \\ & = & 300 \end{array}\]
We can conclude that 300 mL of the 40% solution should be added.
Find the inverse of the function \(f(x) = \frac{x + 3}{x - 2}.\)
Solution (click to reveal)
\(f^{- 1}(x) = \frac{2x + 3}{x - 1}\)