What the theorem says
- log_a(x · y) = log_a x + log_a y
Holds when a > 0, a ≠ 1, x > 0 and y > 0.
The times sign inside becomes a plus sign outside. The law holds for every base — log, ln or any
other — as long as you use the same base in all three logarithms.
Check it with round numbers: log 4 + log 25 = 0.6021 + 1.3979 = 2. And log(4 · 25) = log 100 = 2. ✓
Why it holds
Because logarithms are exponents, and exponents add when powers are multiplied.
Write x as a power of the base: x = a^m, where m is log_a x. Write y the same way: y = a^n, with n = log_a y. Then
- x · y = a^m · a^n = a^(m+n)
and the exponent on the right is, by definition, log_a(xy). So log_a(xy) = m + n = log_a x + log_a y.
The whole proof is the product rule for powers read in the language of logarithms.
What the law was for
Before calculators, multiplying large numbers was work. The law above turns it into an addition: look up two logarithms in a table, add them, look the answer up backwards. A slide rule is that law in wood — two rulers on a logarithmic scale, where a shift along one is a multiplication.
It is also why pH, decibels and the Richter scale are logarithmic. When a sound gets ten times louder the decibel figure rises by a fixed number of steps, not by a factor of ten. Multiplication in the world becomes addition on the scale.
Common mistakes
- Splitting a sum.
log(x + y)is not log x + log y. The law is about products and nothing else. There is no law that splits the logarithm of a sum into two logarithms; the nearest is log(x + y) = log x + log(1 + y/x), which still has a sum inside. - Mixing bases. ln x + log y cannot be combined into one logarithm. Convert to a common base first, using change of base.
- Forgetting the condition. Both x and y must be positive.
log((−2) · (−8))is log 16, but log(−2) + log(−8) does not exist, so the law may not be used there. - Stopping halfway. The law works as well backwards: log 2 + log 5 is log 10, which is exactly 1. An answer left standing as a sum of two logarithms is usually not finished.
Common questions
Does the law work for more than two factors?
Yes. log(xyz) = log x + log y + log z, and so on. Apply it to two factors at a time and the rest
follows — (xy) · z is a product of two things.
What happens if one factor is 1?
Nothing. log 1 = 0 in every base, so log(x · 1) = log x + 0 = log x.
Is there a matching law for division?
Yes, and it looks the way you would hope: division inside becomes subtraction outside. It is on
logarithm of a quotient.