Changing the Base

LESSON 14 OF 15See the unit map ↗

Change a logarithm to a convenient base.

Builds on When a Logarithm Is the Exponent

The bigger question: How long does repeated growth take?

On this page

Idea

Every rule so far has needed the bases to match. This one removes that obstacle: any logarithm can be rewritten in any other valid base.

That makes two things possible. A calculator with only log⁡\log and ln⁡\ln keys can find a logarithm in any base, and two logarithms in different bases can finally be compared or combined.

Rule

log⁡ax=log⁡bxlog⁡ba\log_a x = \dfrac{\log_b x}{\log_b a}

log⁡ab=1log⁡ba\log_a b = \dfrac{1}{\log_b a}

How it is used

1. Where it comes from

Let y=log⁡axy = \log_a x, which means ay=xa^y = x. Take log⁡b\log_b of both sides and pull the exponent out.

log⁡b(ay)=log⁡bx  ⇒  ylog⁡ba=log⁡bx\log_b(a^y) = \log_b x \;\Rightarrow\; y \log_b a = \log_b x y=log⁡bxlog⁡bay = \frac{\log_b x}{\log_b a}

The new base bb is yours to choose. Any allowed base gives the same answer.

2. Choosing the new base

GoalChoose
use a calculatorb=10b = 10 or b=eb = e
get an exact valuea base both numbers are powers of
log⁡27=ln⁡7ln⁡2,\log_2 7 = \frac{\ln 7}{\ln 2}, log⁡832=log⁡232log⁡28=53\log_8 32 = \frac{\log_2 32}{\log_2 8} = \frac{5}{3}

The second is exact because 88 and 3232 are both powers of 22. Picking the right new base is the whole skill.

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 2 · Blue: y = 2ˣ · Green: y = log_b(x) · Dashed: y = x. At x = 0.5, y = -1.

3. The upside-down case

Put x=bx = b in the rule. Since log⁡bb=1\log_b b = 1:

log⁡ab=log⁡bblog⁡ba=1log⁡ba\log_a b = \frac{\log_b b}{\log_b a} = \frac{1}{\log_b a}

So log⁡ab\log_a b and log⁡ba\log_b a are reciprocals, and their product is 11.

log⁡53⋅log⁡35=1\log_5 3 \cdot \log_3 5 = 1

4. Chains collapse

Write each factor over a common base and watch the middles cancel.

log⁡25⋅log⁡58=ln⁡5ln⁡2⋅ln⁡8ln⁡5=ln⁡8ln⁡2=log⁡28=3\log_2 5 \cdot \log_5 8 = \frac{\ln 5}{\ln 2} \cdot \frac{\ln 8}{\ln 5} = \frac{\ln 8}{\ln 2} = \log_2 8 = 3

A chain of logarithms keeps only the first base and the last argument.

Worked example

Evaluate log⁡25⋅log⁡58+log⁡927\log_2 5 \cdot \log_5 8 + \log_9 27.

Remember

log⁡ax=log⁡bxlog⁡ba\log_a x = \dfrac{\log_b x}{\log_b a}, with bb any base you like log⁡aan=n\log_a a^n = n log⁡ab⋅log⁡ba=1\log_a b \cdot \log_b a = 1

  1. Rewrite the product over base ee. Any common base works.
log⁡25⋅log⁡58=ln⁡5ln⁡2⋅ln⁡8ln⁡5\log_2 5 \cdot \log_5 8 = \frac{\ln 5}{\ln 2} \cdot \frac{\ln 8}{\ln 5}
  1. The ln⁡5\ln 5 cancels, leaving a single logarithm.
ln⁡8ln⁡2=log⁡28=3\frac{\ln 8}{\ln 2} = \log_2 8 = 3
  1. For the last term choose base 33, since 99 and 2727 are both powers of 33.
log⁡927=log⁡327log⁡39=32\log_9 27 = \frac{\log_3 27}{\log_3 9} = \frac{3}{2}
  1. Add the two values.
3+32=923 + \frac{3}{2} = \frac{9}{2}
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.

Which ratio equals log⁡27\log_2 7?

Hint 1 · Find a starting point

Let x = log₂7, so 2ˣ = 7.

Hint 2 · Take the next step

Take natural logs: x ln 2 = ln 7.

Show the reasoning

Answer: ln⁡7/ln⁡2\ln 7/\ln 2

Dividing by ln 2 gives log₂7 = ln 7 / ln 2.

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

Explore

Drag the base slider and watch the same curve stretch.

Pick a value of xx and read its height. Now move the base from 22 to 44 and read the height above the same xx: it has halved. Try a different xx and it halves too. The rule says why the factor is the same everywhere:

log⁡4x=log⁡2xlog⁡24=log⁡2x2\log_4 x = \frac{\log_2 x}{\log_2 4} = \frac{\log_2 x}{2}

That denominator is a number, not something that depends on xx.

Changing the base never bends the curve into a new shape. It only scales every height by one fixed factor. Which factor depends on the two bases, but (1,0)(1, 0) never moves whichever you pick, because multiplying 00 by anything leaves 00.

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 2 · Blue: y = 2ˣ · Green: y = log_b(x) · Dashed: y = x. At x = 0.5, y = -1.
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 →