When we folded paper, we asked: how many times do you have to fold the paper to get 32 layers? In other words: what power do you have to raise 2 to in order to get 32? The answer is 5, because 2⁵ = 32.
A logarithm answers exactly this kind of question. We write it as log₂ 32 = 5.
logₐ b = c means aᶜ = b.
We read it as "log base a of b equals c".
So a logarithm is an exponent: the number you have to raise the base a to in order to get b.
Contents
- How to work out a logarithm
- When a logarithm exists
- Key values
- Logarithms with fractional answers
- Equations straight from the definition
- The common logarithm and the calculator
- Common mistakes
- Summary
- Try it yourself
- Practice
How to work out a logarithm
Method: turn the logarithm into a question about a power.
| Logarithm | Question | Answer |
|---|---|---|
| log₂ 8 | 2 to what power is 8? | 3, because 2³ = 8 |
| log₃ 81 | 3 to what power is 81? | 4, because 3⁴ = 81 |
| log₁₀ 1,000 | 10 to what power is 1,000? | 3 |
| log₅ 1 | 5 to what power is 1? | 0, because 5⁰ = 1 |
| log₂ ⅛ | 2 to what power is ⅛? | −3, because 2⁻³ = ⅛ |
💡 The logarithm of a fraction less than 1 (with a base greater than 1) is negative. The fraction ⅛ is 2⁻³.
When a logarithm exists
- The base a must be positive and not equal to 1, just as for the exponential function.
- The argument b must be positive. A power with a positive base is always positive, so neither log₂ (−4) nor log₂ 0 exists.
logₐ b makes sense only if a > 0, a ≠ 1 and b > 0.
Key values
For every allowed base a:
- logₐ 1 = 0, because a⁰ = 1,
- logₐ a = 1, because a¹ = a,
- logₐ aᵏ = k: the logarithm "undoes" the power,
- a^(logₐ b) = b: the power "undoes" the logarithm.
For example, 3^(log₃ 7) = 7 and 2^(3 + log₂ 5) = 2³ · 2^(log₂ 5) = 8 · 5 = 40.
Logarithms with fractional answers
The answer does not have to be a whole number. In that case, write both the base and the argument as powers of the same number.
Worked example 1
log₄ 8 = ?
- We are looking for y such that 4ʸ = 8.
- 4 = 2², 8 = 2³, so 2^(2y) = 2³.
- 2y = 3, so log₄ 8 = 3/2.