Logarithms explained: what they are and how to use them
TutorAura guide · Updated
A logarithm answers the question: what power do I need? because . In general:
The small number is the base. Logs undo powers, in the same way that square roots undo squaring, which is why they're used to solve equations where the unknown is in the power. They're taught in A level Maths, the IB, and US Algebra 2 and Precalculus.
Key takeaways
- log_a x is the power you raise a to, to get x.
- log(ab) = log a + log b; log(a/b) = log a − log b; log(aⁿ) = n log a.
- ln means log base e (about 2.718).
- Use logs to solve equations with the unknown in the power.
Examples to build intuition
| Log | Because | Value |
|---|---|---|
| 3 | ||
| 5 | ||
| 0 | ||
and for any base.
The laws of logarithms
These follow from the laws of indices: multiplying powers means adding the indices, so multiplying numbers means adding their logs. (All the logs must have the same base.) Revise indices with our laws of indices questions.
Solving exponential equations
Example: .
Take logs of both sides: , so , and .
Check: . The same method finds how long an investment takes to double, or how long a radioactive sample takes to decay.
Natural logs and e
is a special base that appears in growth and decay. The log to base is the natural log, written : and . Equations like are solved with ln: , so .
Changing the base
Calculators usually have log (base 10) and ln (base ) buttons. For any other base:
So , matching the example above.
Common mistakes
- Thinking (only products split).
- Dividing logs instead of subtracting: is not .
- Taking the log of a negative number or zero: it's undefined.
Logs connect to compound growth: see our compound interest calculator and exponential growth and decay questions.
Where logarithms are used
Logarithmic scales compress huge ranges into manageable numbers:
- pH: , so each pH unit is a tenfold change in hydrogen ion concentration.
- Sound: decibels are logarithmic: 10 dB more means ten times the sound intensity.
- Earthquakes: each step up on a magnitude scale is about ten times the ground movement.
Logs also solve growth and decay problems, such as how long a population takes to double.
Practice questions
- Find .
- Simplify (base 10).
- Solve , to 3 significant figures.
- Find .
Answers: 1. 4 (because ). 2. . 3. . 4. .
Logs and indices side by side
| Index form | Log form |
|---|---|
Frequently asked questions
What is a logarithm?
The power you need to raise the base to, to get a number: log₂ 8 = 3 because 2³ = 8.
What are the laws of logarithms?
log a + log b = log(ab), log a − log b = log(a/b), and log(aⁿ) = n log a, all with the same base.
What is ln?
The natural logarithm: the log to base e, where e is about 2.718.
Sources
- Cambridge International AS & A Level Mathematics 9709. Cambridge International.
Keep reading
Laws of indices questions and answers
8 GCSE and IGCSE questions with worked answers, checked as you type.
Exponential growth and decay questions and answers
8 GCSE and IGCSE questions with worked answers, checked as you type.
Compound interest calculator with working
Compound interest or depreciation with the multiplier method and a year-by-year table.
Online scientific calculator
Trig, logs, powers, roots, factorials and standard form, with a history you can reuse.