The Inverse of a Logarithmic Function

LESSON 5 OF 15See the unit map ↗

Recover an exponential function from a logarithm.

Builds on The Inverse of an Exponential Function

The bigger question: How long does repeated growth take?

On this page

Idea

This is the previous lesson run backwards. There, xx was trapped in a power and a logarithm freed it. Here xx is trapped inside a logarithm, and it takes an exponential to free it.

Students reverse these two. Which function you reach for depends on where xx is stuck, not on what the question is about.

Rule

y=log⁡ax  ⟺  x=ayy = \log_a x \iff x = a^y

alog⁡ax=xa^{\log_a x} = x

How it is used

1. Where is x stuck

xx appearsapplyleaves
inside a power, a□=ka^{\square} = klog⁡a\log_a□=log⁡ak\square = \log_a k
inside a logarithm, log⁡a□=k\log_a \square = kaa to the power□=ak\square = a^k

Both rows say the same thing: use the function that undoes the one holding xx.

2. Make the logarithm stand alone first

The exponential step only works on a bare logarithm. Clear everything around it before raising the base.

3log⁡2x−4=y  ⇒  log⁡2x=y+43  ⇒  x=2(y+4)/33\log_2 x - 4 = y \;\Rightarrow\; \log_2 x = \frac{y + 4}{3} \;\Rightarrow\; x = 2^{(y + 4)/3}

Raising the base while a coefficient is still attached is the mistake here. 23log⁡2x2^{3\log_2 x} is not xx.

3. It releases the whole argument

Whatever sits inside the logarithm comes out in one piece.

log⁡a(x+k)=y  ⇒  x+k=ay\log_a(x + k) = y \;\Rightarrow\; x + k = a^y

The kk then comes off by ordinary algebra, as a separate step.

4. Domain and range change places again

domainrange
f(x)=log⁡axf(x) = \log_a xx>0x > 0every real yy
f−1(x)=axf^{-1}(x) = a^xevery real xxy>0y > 0

A logarithm accepts only positive numbers and returns anything. Its inverse accepts anything and returns only positive numbers.

Exponential and logarithm

Try this. Compare bases 2 and 0.5: growth becomes decay. Move the input to 1; the logarithm is zero for either base.

Exponential and logarithm-6-6-4-4-2-2224466xy
Base 3 · Blue: y = 3ˣ · Green: y = log_b(x) · Dashed: y = x. At x = 0.5, y = -0.631.

Worked example

Find the inverse of f(x)=3log⁡2(x+1)−4f(x) = 3\log_2(x + 1) - 4.

Remember

alog⁡ax=xa^{\log_a x} = x, so raising the base undoes a logarithm clear everything around the logarithm before raising the base an inverse is written in xx, so swap the letters at the end

  1. Write yy for f(x)f(x).
y=3log⁡2(x+1)−4y = 3\log_2(x + 1) - 4
  1. Add the constant, then divide by the coefficient. Only now is the logarithm alone.
y+43=log⁡2(x+1)\frac{y + 4}{3} = \log_2(x + 1)
  1. Raise 22 to both sides. It releases the whole bracket, not xx alone.
x+1=2(y+4)/3x + 1 = 2^{(y + 4)/3}
  1. Subtract 11, then swap the letters.
f−1(x)=2(x+4)/3−1f^{-1}(x) = 2^{(x + 4)/3} - 1
PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

What is the inverse of f(x)=log⁡5xf(x)=\log_5 x?

Hint 1 · Find a starting point

An inverse function is not a reciprocal.

Hint 2 · Take the next step

Swap x and y and translate x = log₅y into exponential form.

Show the reasoning

Answer: f−1(x)=5xf^{-1}(x)=5^x

x = log₅y means y = 5ˣ.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Explore

Drag the probe along the green logarithm curve and watch its partner on the blue exponential.

Notice where each curve lives. The logarithm exists only to the right of the yy-axis, because its argument must be positive. Its inverse exists everywhere but stays above the xx-axis. That is the same restriction, seen from the other side.

Exponential and logarithm

Try this. Compare bases 2 and 0.5: growth becomes decay. Move the input to 1; the logarithm is zero for either base.

Exponential and logarithm-6-6-4-4-2-2224466xy
Base 4 · Blue: y = 4ˣ · Green: y = log_b(x) · Dashed: y = x. At x = 0.5, y = -0.5.
MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →