Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Precalculus · Unit 2 · Step-Through Animation

Inverses of Exponential Functions

The Log Is the Exponential in a Mirror

You'll learnto see the logarithm as the exponential reflected across the line y = x.

Draw y = 2ˣ, fold the plane along the diagonal y = x, and the curve that lands on the far side is log₂x with every point’s coordinates swapped. Every fact about the log falls out of that one fold: its domain, its wall at x = 0, its refusal to level off, and the reciprocal 1/2ˣ that fails the test. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · y = 2ˣ  ⇄  y = log2x · v3

fold along y = x · the exponential becomes the log
Before you start
What you're looking at
The curve y = 2^x and the diagonal y = x, with a point like (3, 8) about to become (8, 3).
The question
What happens to each point's coordinates when the plane folds along the diagonal?
Step 1 / 12

Read all 12 steps as text
Step 1

One curve, running only one way

The curve y = 2ˣ takes an exponent in and hands a power of two out, so 3 goes in and 8 comes out — but the curve cannot be asked that question the other way round.

Step 2

That machine is the logarithm

The inverse keeps every pairing and swaps the roles, and for the exponential that reverse reading is written log₂x, which simply asks what power of 2 gives x.

\(y = \log_2 x \quad\text{means}\quad 2^y = x\)
Step 3

Fold the plane along the line y = x

Draw the diagonal y = x and fold the plane along it, and watch each of the three marked points cross the fold at right angles and land the same distance beyond.

Step 4

Every point trades its coordinates

The fold turns (0, 1) into (1, 0), (1, 2) into (2, 1) and (3, 8) into (8, 3), which is the same swap as reading 2³ = 8 as log₂8 = 3.

Step 5

The mirror image is y = log₂x

Join the reflected points and the pink curve that appears is exactly y = log₂x, so the logarithm is the exponential’s own graph seen from the other axis.

Step 6

Domain and range swap jobs

2ˣ accepts every real number and gives back only positives, so after the fold log₂x accepts only positives and gives back every real — which is the whole reason log of 0 or of a negative has no value.

Step 7

The floor stands up into a wall

2ˣ hugs the x-axis far to the left without ever reaching 0, and the fold stands that horizontal floor up into a vertical wall at x = 0, which the log dives down as its inputs shrink toward zero.

Step 8

The two machines cancel each other

Send a number through the log and straight back through the exponential and it comes out unchanged, which is why log₂(2ˣ) = x for every x and 2^(log₂x) = x for every positive x.

Step 9

Is 1/2ˣ the inverse of 2ˣ?

Because f⁻¹ carries a −1, it is tempting to read it as 1/f, so here is 1/2ˣ drawn in dashed red beside the real mirror image — and an inverse has to hand back what went in.

Step 10

The minus one is notation, not division

Test both candidates at 8: log₂8 = 3, which is the number we started from, while 1/2⁸ = 1/256, nowhere near it — so 1/2ˣ is just another exponential, and the −1 in f⁻¹ means inverse the way sin⁻¹ does.

Step 11

The log never levels off

The log flattens so gently that it looks like it is settling under a ceiling, but the mirror says otherwise: 2ˣ climbs forever, so its reflection runs right forever, and every height is reached somewhere.

Step 12

Know 2ˣ and you know log₂x

When a log question stumps you, fold it: restate it about the exponential, answer it there, and mirror the answer back.