Dove's LibraryDove's Library

2.10 - Inverses of Exponential Functions

Overview

Exponential functions are one-to-one, so they have inverses, and those inverses are the logarithmic functions. This topic shows how bxb^x and log⁡bx\log_b x undo each other, why their tables and graphs are mirror images, and how their patterns of change are reversed: exponential outputs multiply when inputs add, and logarithmic outputs add when inputs multiply.

The general form of a logarithmic function

A logarithmic function in general form is
f(x)=alog⁡bx,where b>0, b≠1, and a≠0f(x) = a \log_b x, \quad \text{where } b > 0,\ b \neq 1, \text{ and } a \neq 0
  • bb is the base, with the same rules as in Topic 2.9.
  • aa is a vertical dilation. It can't be 0, or the function would just be the constant 0. If a<0a < 0, the graph is also reflected over the xx-axis.
When a=1a = 1, you have the basic logarithmic function f(x)=log⁡bxf(x) = \log_b x.

Logarithms and exponentials are inverses

An exponential function with an initial value of 1, g(x)=bxg(x) = b^x, is always increasing (when b>1b > 1) or always decreasing (when 0<b<10 < b < 1). So it's one-to-one and has an inverse. That inverse is the logarithm with the same base:
g(x)=bxandf(x)=log⁡bxare inverse functionsg(x) = b^x \quad \text{and} \quad f(x) = \log_b x \quad \text{are inverse functions}
This comes straight from the definition in Topic 2.9. Using the swap method from Topic 2.8:
y=bx  →swap  x=by  ⟺  y=log⁡bxy = b^x \;\xrightarrow{\text{swap}}\; x = b^y \;\Longleftrightarrow\; y = \log_b x
Since they're inverses, composing them in either order gives the identity function:
log⁡b ⁣(bx)=x for all real xblog⁡bx=x for x>0\log_b\!\left(b^x\right) = x \text{ for all real } x \qquad b^{\log_b x} = x \text{ for } x > 0
For example, log⁡3(37)=7\log_3(3^7) = 7, 10log⁡45=4510^{\log 45} = 45, and 2log⁡213=132^{\log_2 13} = 13.

Ordered pairs flip

If (s,t)(s, t) is an ordered pair of g(x)=bxg(x) = b^x, then (t,s)(t, s) is an ordered pair of f(x)=log⁡bxf(x) = \log_b x. Here's base 2:
xx
−2-2
−1-1
0
1
2
3
g(x)=2xg(x) = 2^x
14\frac{1}{4}
12\frac{1}{2}
1
2
4
8
xx
14\frac{1}{4}
12\frac{1}{2}
1
2
4
8
f(x)=log⁡2xf(x) = \log_2 x
−2-2
−1-1
0
1
2
3
The pair (3,8)(3, 8) on gg matches the pair (8,3)(8, 3) on ff, which says log⁡28=3\log_2 8 = 3. Two pairs come free for every base: (0,1)(0, 1) on bxb^x gives (1,0)(1, 0) on log⁡bx\log_b x, and (1,b)(1, b) on bxb^x gives (b,1)(b, 1) on log⁡bx\log_b x.

Graphs: A reflection over y=xy = x

Because they're inverses, the graph of f(x)=log⁡bxf(x) = \log_b x is the reflection of the graph of g(x)=bxg(x) = b^x over the line y=xy = x, the graph of the identity function h(x)=xh(x) = x.
2.10 - Inverses of Exponential Functions
Every feature flips along with the points. The domain and range trade places: 2x2^x accepts every real number and gives only positive outputs, while log⁡2x\log_2 x accepts only positive inputs and gives every real output. The key points (0,1)(0, 1) and (1,2)(1, 2) become (1,0)(1, 0) and (2,1)(2, 1), and the horizontal asymptote y=0y = 0 of the exponential becomes the vertical asymptote x=0x = 0 of the logarithm. Topic 2.11 lists these features for every base.

How inputs and outputs change together

Exponential and logarithmic functions have reversed patterns of change.
  • Exponential, g(x)=abxg(x) = ab^x: as the inputs increase in equal-length steps (add the same amount), the outputs change proportionally (multiply by the same factor). Inputs add, outputs multiply.
  • Logarithmic, f(x)=alog⁡bxf(x) = a\log_b x: as the outputs increase in equal-length steps, the inputs change proportionally. Said the other way, when the inputs multiply by the same factor, the outputs add the same amount. Inputs multiply, outputs add.
For f(x)=log⁡2xf(x) = \log_2 x, each time xx doubles (1, 2, 4, 8, 16), the output goes up by 1 (0, 1, 2, 3, 4). For f(x)=3log⁡2xf(x) = 3\log_2 x, each doubling of xx adds 3 to the output.
This is why logarithms grow so slowly. To raise log⁡2x\log_2 x from 10 to 20, xx has to go from 210=1,0242^{10} = 1{,}024 all the way to 220=1,048,5762^{20} = 1{,}048{,}576.
To spot a logarithmic pattern in a table, check whether the inputs have a constant ratio while the outputs change by a constant amount.

Example 1: The inverse of an exponential function

Let g(x)=5xg(x) = 5^x. (a) Write the inverse of gg. (b) The point (2,25)(2, 25) is on the graph of gg. What point is on the graph of g−1g^{-1}? (c) Find g−1(15)g^{-1}\left(\frac{1}{5}\right) and g−1(5)g^{-1}(\sqrt{5}).
Part (a). g−1(x)=log⁡5xg^{-1}(x) = \log_5 x.
Part (b). Flip the pair: (25,2)(25, 2). This says log⁡525=2\log_5 25 = 2.
Part (c). Since 5−1=155^{-1} = \frac{1}{5}, g−1(15)=log⁡515=−1g^{-1}\left(\frac{1}{5}\right) = \log_5 \frac{1}{5} = -1. Since 51/2=55^{1/2} = \sqrt{5}, g−1(5)=log⁡55=12g^{-1}(\sqrt{5}) = \log_5 \sqrt{5} = \frac{1}{2}.

Example 2: Finding the base from a point

The graph of g(x)=bxg(x) = b^x passes through (3,64)(3, 64). Write the inverse of gg and name the point on its graph that matches (3,64)(3, 64).
Since g(3)=64g(3) = 64, we need b3=64b^3 = 64. Because 43=644^3 = 64, the base is b=4b = 4. So g(x)=4xg(x) = 4^x and
g−1(x)=log⁡4xg^{-1}(x) = \log_4 x
The point (3,64)(3, 64) on gg becomes (64,3)(64, 3) on g−1g^{-1}, which checks out: log⁡464=3\log_4 64 = 3.

Example 3: Recognizing a logarithmic pattern (AP-style)

Values of a function hh are shown in the table.
xx
1
3
9
27
81
h(x)h(x)
0
2
4
6
8
(a) Explain why a logarithmic function is a good model for hh. (b) Write a formula for hh in the form h(x)=alog⁡3xh(x) = a\log_3 x. (c) Find h(13)h\left(\frac{1}{3}\right) and the input xx with h(x)=10h(x) = 10.
Part (a). As the outputs increase in equal steps of 2, the inputs are multiplied by 3 each time (1, 3, 9, 27, 81). The inputs change proportionally over equal-length output intervals, which is the pattern of a logarithmic function.
Part (b). Use the point (3,2)(3, 2):
h(3)=alog⁡33=a(1)=a=2h(3) = a\log_3 3 = a(1) = a = 2
So h(x)=2log⁡3xh(x) = 2\log_3 x. Check another point: h(27)=2log⁡327=2(3)=6h(27) = 2\log_3 27 = 2(3) = 6. It matches.
Part (c). Since 3−1=133^{-1} = \frac{1}{3}:
h(13)=2log⁡313=2(−1)=−2h\left(\tfrac{1}{3}\right) = 2\log_3 \tfrac{1}{3} = 2(-1) = -2
For h(x)=10h(x) = 10:
2log⁡3x=10⇒log⁡3x=5⇒x=35=2432\log_3 x = 10 \quad\Rightarrow\quad \log_3 x = 5 \quad\Rightarrow\quad x = 3^5 = 243
That fits the pattern: one more step after 81 multiplies the input by 3 (to 243) and adds 2 to the output (to 10).

Common mistakes

  • Reflecting over the wrong line. b−xb^{-x}, which equals (1b)x\left(\frac{1}{b}\right)^x, is the reflection of bxb^x over the yy-axis, not its inverse. The inverse is log⁡bx\log_b x, the reflection over y=xy = x.
  • Forgetting the domain flip. log⁡bx\log_b x only accepts x>0x > 0, because bxb^x only outputs positive numbers.
  • Flipping only part of a point. Every point (s,t)(s, t) on bxb^x becomes (t,s)(t, s) on log⁡bx\log_b x. Both coordinates swap.
  • Mixing up the patterns. Exponential: add to the input, multiply the output. Logarithmic: multiply the input, add to the output.
  • Using the identity for nonpositive inputs. blog⁡bx=xb^{\log_b x} = x only holds for x>0x > 0, because the log isn't defined for x≤0x \leq 0.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.