01 / 21

Inverses of
Exponential Functions

Discover how logarithmic functions arise naturally as the inverses of exponential functions, and master the techniques to move fluently between the two forms.

AP Precalculus

What Is an Inverse Function?

An inverse function "undoes" what the original function does. If \( f \) maps \( x \) to \( y \), then \( f^{-1} \) maps \( y \) back to \( x \). Formally:

Graphically, \( f^{-1} \) is the reflection of \( f \) across the line \( y = x \). A function must be one-to-one (pass the horizontal line test) to have an inverse.

Why Exponentials Have Inverses

The exponential function \( f(x) = b^x \) (with \( b > 0 \) and \( b \neq 1 \)) is strictly monotonic: it is always increasing when \( b > 1 \) and always decreasing when \( 0 < b < 1 \). This guarantees it is one-to-one.

Growth (\( b > 1 \))
Strictly increasing: every horizontal line crosses the graph at most once.
Decay (\( 0 < b < 1 \))
Strictly decreasing: still one-to-one, so the inverse exists.

Visualizing \( y = 2^x \) and \( y = \log_2 x \)

x y 1 2 3 -1 -2 1 2 3
\( y = x \)
\( y = 2^x \)
\( y = \log_2 x \)

The Logarithm: Inverse of the Exponential

The logarithm answers the question: "To what power must I raise \( b \) to get \( x \)?"

Exponential Form
\( 2^3 = 8 \)
Logarithmic Form
\( \log_2 8 = 3 \)

Domain and Range Swap

When we invert a function, the domain and range switch roles. This is a direct consequence of reflecting across \( y = x \).

\( f(x) = b^x \) \( f^{-1}(x) = \log_b x \)
Domain \( (-\infty, \infty) \) \( (0, \infty) \)
Range \( (0, \infty) \) \( (-\infty, \infty) \)
Asymptote Horizontal: \( y = 0 \) Vertical: \( x = 0 \)
Key Point \( (0, 1) \) \( (1, 0) \)

\( \log \) vs \( \ln \): Key Distinction

Two logarithmic bases appear so frequently they have special notation:

Common Logarithm
\( \log x = \log_{10} x \)
Inverse of \( 10^x \)
Used in: pH, decibels, Richter scale
Natural Logarithm
\( \ln x = \log_e x \)
Inverse of \( e^x \)
Used in: calculus, continuous growth

The Inverse Identities

Since \( \log_b x \) and \( b^x \) are inverses, composing them gives back the input. These two identities are essential:

Identity 1
\( \log_b(b^x) = x \)
Identity 2
\( b^{\log_b x} = x \)

How to Find the Inverse: Step by Step

1
Start with the function. Write \( y = b^x \) (or a transformed version).
2
Swap \( x \) and \( y \). Replace every \( x \) with \( y \) and vice versa: \( x = b^y \).
3
Solve for \( y \). Apply \( \log_b \) to both sides: \( \log_b x = y \).
4
Write the inverse. \( f^{-1}(x) = \log_b x \). State the domain: \( x > 0 \).
5
Verify. Check that \( f(f^{-1}(x)) = x \) and \( f^{-1}(f(x)) = x \).

Example 1: Inverse of \( f(x) = 3^x \)

1
Start: \( y = 3^x \)
2
Swap: \( x = 3^y \)
3
Solve: Take \( \log_3 \) of both sides: \( \log_3 x = y \)
4
Result: \( f^{-1}(x) = \log_3 x \), domain \( (0, \infty) \)

Example 2: Inverse of \( f(x) = 2^{x-1} + 3 \)

1
Start: \( y = 2^{x-1} + 3 \)
2
Swap: \( x = 2^{y-1} + 3 \)
3
Isolate the exponential: \( x - 3 = 2^{y-1} \)
4
Apply \( \log_2 \): \( \log_2(x - 3) = y - 1 \)
5
Solve for \( y \): \( y = \log_2(x - 3) + 1 \)

Example 3: Inverse of \( f(x) = 5e^{2x} \)

1
Start: \( y = 5e^{2x} \)
2
Swap: \( x = 5e^{2y} \)
3
Divide by 5: \( \dfrac{x}{5} = e^{2y} \)
4
Take \( \ln \): \( \ln\!\left(\dfrac{x}{5}\right) = 2y \)
5
Solve: \( y = \dfrac{1}{2}\ln\!\left(\dfrac{x}{5}\right) \)

Transformed Exponential-Log Pair

x y 1 2 3 4 5 6 1 2 3 4 y = 3 x = 3
\( f(x) = 2^{x-1} + 3 \)
\( f^{-1}(x) = \log_2(x-3) + 1 \)
\( (1, 4) \)
\( (4, 1) \)

Properties of Logarithmic Functions

As the inverse of the exponential, every property of \( \log_b x \) follows directly from properties of \( b^x \):

\( \log_b 1 = 0 \)
Because \( b^0 = 1 \). The graph always passes through \( (1, 0) \).
\( \log_b b = 1 \)
Because \( b^1 = b \). The graph always passes through \( (b, 1) \).
Monotonic
Increasing if \( b > 1 \), decreasing if \( 0 < b < 1 \): mirrors the exponential.

Common Mistakes to Avoid

✕ Wrong Domain
Forgetting that \( \log_b x \) requires \( x > 0 \). You cannot take the log of zero or a negative number.
✕ Confusing Notation
Thinking \( f^{-1}(x) = \frac{1}{f(x)} \). The superscript \( -1 \) means "inverse function," not "reciprocal."
✕ Base Mismatch
Using \( \ln \) to invert \( 10^x \). The inverse of \( b^x \) is \( \log_b x \): the bases must match.

Summary: Exponential vs Logarithmic

Property Exponential \( b^x \) Logarithm \( \log_b x \)
Domain \( \mathbb{R} \) \( (0, \infty) \)
Range \( (0, \infty) \) \( \mathbb{R} \)
Asymptote \( y = 0 \) (horizontal) \( x = 0 \) (vertical)
Always passes through \( (0, 1) \) \( (1, 0) \)
Growth (\( b > 1 \)) Fast (accelerating) Slow (decelerating)
Composition \( b^{\log_b x} = x \) \( \log_b(b^x) = x \)

Question 1 of 5

What is the inverse of \( f(x) = 5^x \)?

Question 2 of 5

Simplify: \( \log_3(3^7) \)

Question 3 of 5

The function \( g(x) = 4 \cdot 2^x \) has the inverse:

Question 4 of 5

If \( f(x) = e^{x+2} \), what is the domain of \( f^{-1}(x) \)?

Question 5 of 5

The graph of \( y = \log_b x \) has a vertical asymptote at: