What the theorem says
- log_a x = log_b x / log_b a
Holds when a and b are positive and different from 1, and x > 0.
Pick whatever new base b you like. Take the logarithm of the number, take the logarithm of the old base, divide. The quotient is the logarithm you were after.
Check it with round numbers: log₈ 64 = 2, because 8² = 64. And log₂ 64 / log₂ 8 = 6 / 3 = 2. ✓
Why it holds
Call the answer y, so that log_a x = y. That means a^y = x. Take logarithms in the new base on both sides and use the power law:
- a^y = x
- y · log_b a = log_b x
- y = log_b x / log_b a
and y was log_a x. The proof is three lines, and all that happens is that the exponent moves out.
Which new base you pick makes no difference
Your calculator has log and ln. Either will do, and they give the same answer:
| Worked with | log₂ 1000 | Answer |
|---|---|---|
| log | 3 / 0.30103 | 9.9658 |
| ln | 6.9078 / 0.69315 | 9.9658 |
That is not a coincidence. A change of base multiplies every logarithm by the same constant, and in a quotient that constant stands in both the numerator and the denominator, where it cancels. The only requirement is that you use the same key top and bottom.
Common mistakes
- Turning the fraction upside down. The number goes on top, the old base underneath. log₂ 1000 is log 1000 / log 2 ≈ 9.97, not log 2 / log 1000 ≈ 0.1. A quick size check catches it: 2¹⁰ = 1024, so the answer has to sit just under 10.
- Mixing keys. log on top and ln underneath gives a number that means nothing. Pick one and keep it for the whole calculation.
- Rewriting it as a difference. log_b x / log_b a is a quotient, not log_b x − log_b a. That difference belongs to the logarithm of a quotient and is a different number.
- Changing to base 1. log_1 of anything does not exist, so a one as the new base puts a zero in the denominator. The base has to be positive and different from 1 — the old one and the new one alike.
Common questions
Is there a quicker way to remember the formula?
“New over new, the number on top.” Or check it against a case you know: log₁₀ 100 has to come out as 2,
and ln 100 / ln 10 = 4.605 / 2.303 = 2.
What is log_a a?
One, in every base, and the formula agrees: log_b a / log_b a = 1. It is one of two checks worth
keeping in your head — the other is that log_a 1 = 0.