Logarithmic and Exponential Functions · 0606 Topic 6

Change of Base

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

8 years teaching IGCSE & SPM maths · Updated 16 August 2026

The change-of-base rule lets you rewrite a logarithm to any base log⁡ax\log_a x in terms of logs your calculator has (ln⁡\ln or lg⁡\lg). It’s what makes exponentials with awkward bases solvable.

The rule

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

In practice, use ln⁡\ln (or lg⁡\lg), since those are the calculator buttons: log⁡ax=ln⁡xln⁡a\log_a x = \frac{\ln x}{\ln a}

So log⁡27=ln⁡7ln⁡2≈2.81\log_2 7 = \dfrac{\ln 7}{\ln 2} \approx 2.81.

Solving exponentials with it

The rule is really the same move as solving bx=cb^x = c with logs. To solve 2x=72^x = 7, take logs and divide: x=log⁡27=ln⁡7ln⁡2≈2.81x = \log_2 7 = \frac{\ln 7}{\ln 2} \approx 2.81

Whether you call it “change of base” or “take logs and use the power law”, the arithmetic is identical: a division of two logs.

The key warning

ln⁡7ln⁡2\dfrac{\ln 7}{\ln 2} is a division, not ln⁡7−ln⁡2\ln 7 - \ln 2. The subtraction law would give ln⁡72\ln\frac{7}{2}, a completely different value. This mix-up is the most common error with change of base: ln⁡7ln⁡2≈2.81butln⁡7−ln⁡2=ln⁡3.5≈1.25\frac{\ln 7}{\ln 2} \approx 2.81 \qquad \text{but} \qquad \ln 7 - \ln 2 = \ln 3.5 \approx 1.25

They’re not the same. The change-of-base ratio divides the logs; it does not subtract them.

Why the base doesn’t matter

You can use ln⁡\ln or lg⁡\lg (or any base) in the ratio and get the same answer, because the base cancels. ln⁡7ln⁡2=lg⁡7lg⁡2\dfrac{\ln 7}{\ln 2} = \dfrac{\lg 7}{\lg 2}. Use whichever your calculator offers.

Common mistakes

  • Subtracting the logs instead of dividing them.
  • Inverting the ratio (ln⁡2ln⁡7\frac{\ln 2}{\ln 7}).
  • Rounding the two logs before dividing, losing accuracy.

Full topic context: Logs & Exponentials notes, and Laws of Logarithms.

Keep going

See the teaching work on your own child. Then decide.

Every student starts with a 1-hour trial class taught by the vetted tutor your child would actually have. Real teaching, a diagnostic on real exam questions, and a straight answer on the gap to target. One hour at your tutor's rate (RM80–90/hr), no package and no deposit, and you decide afterwards whether to book a weekly slot. Online anywhere in Malaysia.