Changing the Base — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

The rule

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

Argument on top, old base underneath. The new base bb is yours to choose.

Why

y=log⁡axy = \log_a x means ay=xa^y = x. Take log⁡b\log_b of both sides:

ylog⁡ba=log⁡bx  ⇒  y=log⁡bxlog⁡bay \log_b a = \log_b x \;\Rightarrow\; y = \frac{\log_b x}{\log_b a}

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}, log⁡927=32\log_9 27 = \frac{3}{2}

The upside-down case

Put x=bx = b and use log⁡bb=1\log_b b = 1:

log⁡ab=1log⁡ba\log_a b = \frac{1}{\log_b a} ⟹\Longrightarrow log⁡ab⋅log⁡ba=1\log_a b \cdot \log_b a = 1

So log⁡53⋅log⁡35=1\log_5 3 \cdot \log_3 5 = 1, and if log⁡ab=4\log_a b = 4 then log⁡ba=14\log_b a = \dfrac{1}{4}. Reciprocal, never negative.

Chains collapse

Put every factor over one base and the middles cancel.

log⁡25⋅log⁡58=ln⁡5ln⁡2⋅ln⁡8ln⁡5=log⁡28=3\log_2 5 \cdot \log_5 8 = \frac{\ln 5}{\ln 2} \cdot \frac{\ln 8}{\ln 5} = \log_2 8 = 3 log⁡23⋅log⁡34⋅log⁡45⋅log⁡58=log⁡28=3\log_2 3 \cdot \log_3 4 \cdot \log_4 5 \cdot \log_5 8 = \log_2 8 = 3

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

Traps

  • ln⁡3ln⁡7\dfrac{\ln 3}{\ln 7} is log⁡73\log_7 3, not log⁡37\log_3 7. Check which one is underneath.
  • log⁡axlog⁡ay\dfrac{\log_a x}{\log_a y} is not log⁡axy\log_a \dfrac{x}{y}. That is the quotient rule, a different thing.