Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

Inverses of Exponential Functions

Lesson ~11 min read 8 MCQs

In simple terms: In simple terms, logarithmic functions are the "undo" button for exponential functions, helping you find the missing exponent in a growth problem.

Why this matters

Imagine your friend Priya shares a new music video with you. You love it and share it with two friends. An hour later, they each share it with two new friends. This pattern continues, with the number of shares doubling every hour. This is exponential growth! You can model it with f(x) = 2^x, where x is the number of hours.

It's easy to calculate that after 10 hours, there will be 2^10 or 1,024 new shares.

But what about the reverse question? How many hours would it take to reach 1 million shares? Now you have to solve 1,000,000 = 2^x. You're solving for the exponent. How do you get x out of that top-right position? You can't just divide by 2. You need a new kind of function—an inverse. That's exactly what we're going to build today.

Exponential growth of shares over time, illustrating the need for an inverse function.

Concept overview

flowchart TD
    A[Exponential Function: y = b^x] --> B{Want to find the inverse};
    B --> C[Step 1: Swap x and y];
    C --> D[New Equation: x = b^y];
    D --> E{Step 2: Solve for y};
    E --> F[Use Logarithm Definition];
    F --> G[Inverse Function: y = log_b(x)];
This diagram shows a flowchart for finding the inverse of an exponential function. It starts with the exponential function, then moves to swapping x and y, which results in a new equation that is solved for y using the definition of a logarithm to arrive at the final inverse function.

Core explanation

Let's get right to it. You have an exponential function like f(x) = b^x. Its job is to take an input, x, and use it as a power to raise a base, b. The inverse function needs to do the opposite: take the output and tell you what power was needed to get there.

Introducing the Logarithm

We call this inverse a logarithmic function, or "log" for short.

Here is the most important relationship you'll learn in this unit: The exponential equation y = b^x is equivalent to the logarithmic equation x = log_b(y).

Read that log equation out loud like this: "x equals log base b of y." It answers the question, "What exponent x do I need to put on b to get y?"

Think of it as a "rearranging" of the exponential form. A helpful trick is the "base is always the base." In y = b^x, b is the base. In x = log_b(y), b is still the base, just written as a subscript.

The Inverse Relationship in Action

Because f(x) = b^x and g(x) = log_b(x) are inverse functions, they have some special properties.

1. Swapping Coordinates If a point (s, t) is on the graph of an exponential function, then the point (t, s) is on the graph of its inverse logarithmic function. You just swap the x and y coordinates.

For example, let's use f(x) = 2^x.

  • The point (2, 4) is on the graph because 2^2 = 4.
  • The point (3, 8) is on the graph because 2^3 = 8.

Now, for its inverse, g(x) = log₂(x):

  • The point (4, 2) must be on its graph. (Because log₂(4) asks "2 to what power equals 4?" The answer is 2.)
  • The point (8, 3) must be on its graph. (Because log₂(8) asks "2 to what power equals 8?" The answer is 3.)

2. Composition of Inverses When you compose a function with its inverse, they cancel each other out, leaving you with just x. For f(x) = b^x and g(x) = log_b(x), this means:

  • f(g(x)) = b^(log_b(x)) = x
  • g(f(x)) = log_b(b^x) = x

This is a powerful tool for solving equations.

The Visual Connection: Graphs

What happens when you take every point on a curve and swap its (x, y) coordinates? You get a reflection across the diagonal line y = x.

This is exactly what we see with exponential and logarithmic functions. The graph of y = log_b(x) is a perfect mirror image of the graph of y = b^x, reflected over the line y = x.

Take a look at the graph for y = 2^x and y = log₂(x).

(This is where you would see the visual: y=2^x in blue, y=log₂(x) in red, and the dashed line y=x. The point (2, 4) on the blue curve corresponds to (4, 2) on the red curve.)

How Their Growth Patterns are Inverses, Too

This is a subtle but critical point for the AP exam.

  • Exponential functions
    have additive inputs that lead to multiplicative outputs. With f(x) = 2^x, if you increase the input x by 1 (an additive change), the output y gets multiplied by 2 (a multiplicative change).
    • x = 1 -> y = 2
    • x = 2 -> y = 4 (multiplied by 2)
    • x = 3 -> y = 8 (multiplied by 2)
  • Logarithmic functions
    have multiplicative inputs that lead to additive outputs. With g(x) = log₂(x), if you multiply the input x by 2 (a multiplicative change), the output y increases by 1 (an additive change).
    • x = 2 -> y = 1
    • x = 4 -> y = 2 (increased by 1)
    • x = 8 -> y = 3 (increased by 1)

The Formal Definition and Rules

The general form of a logarithmic function is f(x) = a log_b(x).

  • a is a vertical stretch/compression factor.
  • b is the base.

For logs to be well-defined, we have two rules for the base b:

  1. b > 0 (The base must be positive).
  2. b ≠ 1 (The base cannot be 1).

Why? If b were 1, f(x) = 1^x would just be the horizontal line y=1. A horizontal line fails the horizontal line test, meaning it doesn't have a true inverse function. If b were negative, things like (-2)^(1/2) wouldn't be real numbers, creating gaps in the graph. So we stick to positive bases other than 1.

Worked examples

Example 1

Finding the Inverse Function

Problem: Given the exponential function f(x) = 3^x, find its inverse function, f⁻¹(x).

Solution:

  1. Start with the original function. f(x) = 3^x Let's write this as y = 3^x to make the variables easier to track.

  2. Swap x and y to define the inverse. This is the key step for finding any inverse function. x = 3^y

  3. Solve for the new y. This is where we need our new tool, the logarithm. The equation x = 3^y asks, "y is the power I need to raise 3 to in order to get x." That is the exact definition of a logarithm! y = log₃(x)

  4. Write the final answer in function notation. f⁻¹(x) = log₃(x)


Example 2

Using Points and Graphs

Problem: The point (4, 625) is on the graph of g(x) = 5^x. What corresponding point must be on the graph of its inverse, h(x) = log₅(x)?

Solution:

  1. Recall the property of inverse functions. If (s, t) is a point on the original function, then (t, s) is the corresponding point on its inverse.

  2. Identify s and t. In our given point (4, 625), we have s = 4 and t = 625.

  3. Swap the coordinates. The new point will be (t, s), which is (625, 4).

Let's check our work: The point (625, 4) should satisfy the inverse function h(x) = log₅(x).

  • Plug it in: 4 = log₅(625)
  • Ask the question: "Does 5 to the power of 4 equal 625?"
  • 5¹ = 5
  • 5² = 25
  • 5³ = 125
  • 5⁴ = 625
  • Yes, it does. Our answer is correct.

Example 3

Additive vs. Multiplicative Change

Problem: An exponential function f(x) has f(2) = 100 and f(4) = 10,000. Let g(x) be the inverse of f(x). What is g(10,000)?

Solution:

  1. Translate the f(x) points into (x, y) pairs.

    • f(2) = 100 means the point (2, 100) is on the graph of f(x).
    • f(4) = 10,000 means the point (4, 10,000) is on the graph of f(x).
  2. Use the inverse property for points. The function g(x) is the inverse of f(x). This means we can find points on g(x) by swapping the coordinates of the points from f(x).

    • Since (2, 100) is on f(x), the point (100, 2) must be on g(x). This means g(100) = 2.
    • Since (4, 10,000) is on f(x), the point (10,000, 4) must be on g(x).
  3. Answer the question. The problem asks for the value of g(10,000). Based on our work in step 2, g(10,000) = 4.

This example seems simple, but it's testing a deep understanding of the inverse relationship without even needing to know the base of the exponential function (which is 10 in this case, f(x) = 10^x).

Points on an exponential function and its inverse, illustrating coordinate swapping.

Try it yourself

Ready to try it on your own? Grab a pencil and paper.

  1. 1
    Problem
    Let h(x) = 7^x.
    • Find the inverse function, h⁻¹(x).
    • The point (2, 49) is on the graph of h(x). What point must be on the graph of h⁻¹(x)?
  2. 2
    Problem
    You are looking at the graphs of y = 10^x and y = log₁₀(x) on the same coordinate plane.
    • Which function passes through the point (1, 0)?
    • Which function has a vertical asymptote at x=0?