Module 4 – Topic 5

Homework Solutions

Try each problem on your own before you open its solution. When a problem gives you trouble, go back to your notes for this topic.

Problem 1

The function \(f(x)=5x-2\) is one-to-one. Find its inverse.

Show all of your work.

To find the inverse: replace \(f(x)\) with \(y\), swap \(x\) and \(y\), then solve for \(y\). The result is \(f^{-1}(x)\).

Write \(y=5x-2\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=5y-2 \end{aligned} \]

Solve for \(y\): add \(2\), then divide by \(5\).

\[ \begin{aligned} x+2&=5y \\ y&=\dfrac{x+2}{5} \end{aligned} \]

\(f^{-1}(x)=\dfrac{x+2}{5}\)

Check: \(f\big(f^{-1}(x)\big)=5\left(\dfrac{x+2}{5}\right)-2=x+2-2=x\). It works.

Problem 2

The function \(f(x)=\dfrac{x+1}{4}\) is one-to-one. Find its inverse.

Show all of your work.

Write \(y=\dfrac{x+1}{4}\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=\dfrac{y+1}{4} \end{aligned} \]

Solve for \(y\): multiply both sides by \(4\), then subtract \(1\).

\[ \begin{aligned} 4x&=y+1 \\ y&=4x-1 \end{aligned} \]

\(f^{-1}(x)=4x-1\)

Check: \(f\big(f^{-1}(x)\big)=\dfrac{(4x-1)+1}{4}=\dfrac{4x}{4}=x\). It works.

Problem 3

The function \(f(x)=x^3+6\) is one-to-one. Find its inverse.

Show all of your work.

Write \(y=x^3+6\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=y^3+6 \end{aligned} \]

Solve for \(y\): subtract \(6\), then take the cube root of both sides. The cube root undoes the cube.

\[ \begin{aligned} x-6&=y^3 \\ y&=\sqrt[3]{x-6} \end{aligned} \]

\(f^{-1}(x)=\sqrt[3]{x-6}\)

Problem 4

The function \(f(x)=\dfrac{4}{x+1}\) is one-to-one. Find its inverse.

Show all of your work.

Write \(y=\dfrac{4}{x+1}\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=\dfrac{4}{y+1} \end{aligned} \]

Solve for \(y\): multiply both sides by \(y+1\) to clear the fraction, divide by \(x\), then subtract \(1\).

\[ \begin{aligned} x(y+1)&=4 \\ y+1&=\dfrac{4}{x} \\ y&=\dfrac{4}{x}-1 \end{aligned} \]

To write this as one fraction, write \(1\) as \(\dfrac{x}{x}\).

\[ \begin{aligned} y&=\dfrac{4}{x}-\dfrac{x}{x}=\dfrac{4-x}{x} \end{aligned} \]

\(f^{-1}(x)=\dfrac{4-x}{x}\)

Problem 5

The function \(f(x)=e^{x-2}\) is one-to-one. Find its inverse.

Show all of your work.

Write \(y=e^{x-2}\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=e^{y-2} \end{aligned} \]

The variable \(y\) is in the exponent, so rewrite in logarithmic form (or take the natural log of both sides). Since \(\ln e^{y-2}=y-2\):

\[ \begin{aligned} \ln x&=y-2 \\ y&=\ln x+2 \end{aligned} \]

\(f^{-1}(x)=\ln x+2\)

Problem 6

The function \(f(x)=\ln x+3\) is one-to-one. Find its inverse.

Show all of your work.

Write \(y=\ln x+3\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=\ln y+3 \end{aligned} \]

Get the log by itself by subtracting \(3\). Then rewrite in exponential form: \(\ln y=x-3\) means \(y=e^{x-3}\).

\[ \begin{aligned} x-3&=\ln y \\ y&=e^{x-3} \end{aligned} \]

\(f^{-1}(x)=e^{x-3}\)

Problem 7

Let \(f(x)=\dfrac{2x+3}{x-1}\).

  1. Find the domain of \(f\).
  2. Find the inverse function.
  3. Use the inverse to find the range of \(f\).
  4. State the domain and range of \(f^{-1}\).

a. The denominator is \(0\) when \(x-1=0\), so \(x=1\) is excluded.

Domain of \(f\): \((-\infty,\,1)\cup(1,\,\infty)\)

b. Write \(y=\dfrac{2x+3}{x-1}\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=\dfrac{2y+3}{y-1} \end{aligned} \]

Multiply both sides by \(y-1\) to clear the fraction. Then get every term with \(y\) on one side, factor out \(y\), and divide.

\[ \begin{aligned} x(y-1)&=2y+3 \\ xy-x&=2y+3 \\ xy-2y&=x+3 \\ y(x-2)&=x+3 \\ y&=\dfrac{x+3}{x-2} \end{aligned} \]

\(f^{-1}(x)=\dfrac{x+3}{x-2}\)

c. The range of \(f\) is the domain of \(f^{-1}\). The inverse has a zero denominator at \(x=2\), so \(2\) is the only value left out.

Range of \(f\): \((-\infty,\,2)\cup(2,\,\infty)\)

d. The domain and range trade places between \(f\) and \(f^{-1}\).

Domain of \(f^{-1}\): \((-\infty,\,2)\cup(2,\,\infty)\) (the range of \(f\))

Range of \(f^{-1}\): \((-\infty,\,1)\cup(1,\,\infty)\) (the domain of \(f\))

Problem 8

Let \(f(x)=\dfrac{x-4}{2x+1}\). Find the domain of \(f\), the inverse, and the range of \(f\).

Show all of your work.

Domain of \(f\): the denominator is \(0\) when \(2x+1=0\), so \(x=-\tfrac12\) is excluded.

Domain of \(f\): \(\left(-\infty,\,-\tfrac12\right)\cup\left(-\tfrac12,\,\infty\right)\)

Inverse: write \(y=\dfrac{x-4}{2x+1}\), then swap \(x\) and \(y\).

\[ \begin{aligned} x&=\dfrac{y-4}{2y+1} \end{aligned} \]

Multiply both sides by \(2y+1\). Move the \(y\) terms to the left and everything else to the right, factor out \(y\), and divide.

\[ \begin{aligned} x(2y+1)&=y-4 \\ 2xy+x&=y-4 \\ 2xy-y&=-x-4 \\ y(2x-1)&=-x-4 \\ y&=\dfrac{-x-4}{2x-1} \end{aligned} \]

Multiplying the top and bottom by \(-1\) gives a neater form.

\[ \begin{aligned} y&=\dfrac{x+4}{1-2x} \end{aligned} \]

\(f^{-1}(x)=\dfrac{x+4}{1-2x}\)

Range of \(f\): the range of \(f\) is the domain of \(f^{-1}\). The inverse has a zero denominator when \(1-2x=0\), so \(x=\tfrac12\) is excluded.

Range of \(f\): \(\left(-\infty,\,\tfrac12\right)\cup\left(\tfrac12,\,\infty\right)\)

Problem 9

If \(f(2)=7\), what is \(f^{-1}(7)\)? What point on the graph of \(f^{-1}\) goes with the point \((2,\,7)\) on the graph of \(f\)?

The inverse undoes \(f\). Since \(f\) sends \(2\) to \(7\), \(f^{-1}\) sends \(7\) back to \(2\).

\(f^{-1}(7)=2\)

On a graph, the inverse switches the coordinates of every point. The point \((2,\,7)\) on \(f\) becomes \((7,\,2)\) on \(f^{-1}\).

Problem 10

Let \(f(x)=x+4\) and \(g(x)=3x\). Find \((f\circ g)(x)\) and \((g\circ f)(x)\).

\((f\circ g)(x)\): put \(3x\) in for \(x\) in \(f\).

\[ \begin{aligned} (f\circ g)(x)&=3x+4 \end{aligned} \]

\((g\circ f)(x)\): put \(x+4\) in for \(x\) in \(g\). Use parentheses so the \(3\) multiplies the whole expression.

\[ \begin{aligned} (g\circ f)(x)&=3(x+4) \\ &=3x+12 \end{aligned} \]

Problem 11

Find any holes and vertical asymptotes of \(f(x)=\dfrac{x+1}{x^2-1}\).

Show all of your work.

Factor the bottom as a difference of squares.

\[ \begin{aligned} f(x)&=\dfrac{x+1}{(x-1)(x+1)} \end{aligned} \]

The factor \(x+1\) cancels, so the simplified function is

\[ \begin{aligned} f(x)&=\dfrac{1}{x-1},\quad x\ne-1 \end{aligned} \]

Hole: at \(x=-1\), where the factor canceled. The simplified function gives \(\dfrac{1}{-1-1}=-\dfrac12\), so the hole is \(\left(-1,\,-\tfrac12\right)\).

Vertical asymptote: the simplified denominator is \(0\) at \(x=1\), so \(x=1\)

Problem 12

Determine whether \(f(x)=x^3-5x\) is even, odd, or neither.

Show all of your work.

Find \(f(-x)\) by putting \(-x\) in for every \(x\). An odd power keeps the negative sign: \((-x)^3=-x^3\).

\[ \begin{aligned} f(-x)&=(-x)^3-5(-x) \\ &=-x^3+5x \end{aligned} \]

This is not equal to \(f(x)=x^3-5x\), so \(f\) is not even. Factor out \(-1\) to compare it with \(-f(x)\).

\[ \begin{aligned} f(-x)&=-(x^3-5x)=-f(x) \end{aligned} \]

Since \(f(-x)=-f(x)\), the function is odd.