- A logarithm answers “what power?”: \(\log_a b = c\) means \(a^c = b\).
- Three laws: \(\log(xy) = \log x + \log y\), \(\log\left(\tfrac{x}{y}\right) = \log x – \log y\), \(\log(x^k) = k\log x\).
- Change of base: \(\log_a b = \dfrac{\ln b}{\ln a}\).
- When solving log equations, combine into a single log, convert to exponential form, then check every answer: logs of zero or negative numbers are undefined.
- There is no law for \(\log(x + y)\).
The problem: powers you cannot see
How long does money take to double at 6% interest? How many times louder is 90 decibels than 60? Why do economists plot GDP on a log scale? All of these questions are about exponents, and logarithms are the tool that brings exponents down to earth. The laws of logarithms appear in Cambridge 9709 Pure Mathematics 2 and 3, IB Mathematics AA and AI, and AP Precalculus, and you need them constantly in calculus, statistics and econometrics.
Key ideas
| Law | Rule | Example |
|---|---|---|
| Product | \(\log_a(xy) = \log_a x + \log_a y\) | \(\log 2 + \log 5 = \log 10 = 1\) |
| Quotient | \(\log_a\left(\tfrac{x}{y}\right) = \log_a x – \log_a y\) | \(\log_3 54 – \log_3 2 = \log_3 27 = 3\) |
| Power | \(\log_a(x^k) = k\log_a x\) | \(\log_2 8^5 = 5\log_2 8 = 15\) |
| Change of base | \(\log_a b = \dfrac{\log_c b}{\log_c a}\) | \(\log_5 20 = \dfrac{\ln 20}{\ln 5} = 1.861\) |
| Inverse | \(a^{\log_a x} = x\), \(\log_a(a^x) = x\) | \(e^{\ln 7} = 7\) |
Each law comes from a law of indices. For instance, if \(x = a^m\) and \(y = a^n\), then \(xy = a^{m+n}\), so \(\log_a(xy) = m + n = \log_a x + \log_a y\)[1].
Worked examples
(a) Write \(2\log 3 + \log 4 – \log 6\) as a single logarithm and simplify. (b) Express \(\ln\left(\dfrac{x^3\sqrt{y}}{z^2}\right)\) in terms of \(\ln x\), \(\ln y\) and \(\ln z\).
Conclusion: apply the power law first when combining, and last when expanding.
Solve \(\log_2 x + \log_2(x – 2) = 3\).
Conclusion: \(x = 4\) only. Examiners routinely include a root that must be rejected, and give a mark for rejecting it with a reason.
Why economists love logs
- Growth rates: for small changes, \(\ln(x_2) – \ln(x_1) \approx\) the percentage change. That is why econometricians regress on \(\ln(\text{wage})\); see how to interpret log coefficients.
- Log scales: a series growing at a constant percentage rate is a straight line on a log scale, so changes in the growth rate stand out.
- Doubling times: solving \(e^{rt} = 2\) gives \(t = \ln 2 / r \approx 0.69/r\), the source of the “rule of 70”. See solving exponential equations.
- Elasticities: in \(\ln Q = a + b\ln P\), the coefficient \(b\) is the price elasticity of demand.
Free help or the books
Our free mathematics guide walks through indices, logs and exponentials in order, and the post on differentiating exponentials and logarithms takes the next step. The Mathematics Made Simple textbook covers the whole algebra-to-calculus route with 282 worked examples.
Practice questions
EasyQ1. Evaluate \(\log_4 64\) and \(\log_9 3\). Show worked answer
\(9^{1/2} = 3\), so \(\log_9 3 = \tfrac12\).
EasyQ2. Write \(3\log x – \log y + \log 5\) as a single logarithm. Show worked answer
MediumQ3. Solve \(\log_3(x + 6) – \log_3 x = 2\). Show worked answer
Check: both logs defined for \(x = 0.75\). ✓
MediumQ4. Given \(\log_a 2 = p\) and \(\log_a 3 = q\), express \(\log_a 72\) in terms of \(p\) and \(q\). Show worked answer
ExamQ5. (a) Solve \(2\ln x = \ln(3x + 10)\). (b) Hence solve \(2\ln(y – 1) = \ln(3y + 7)\). [6 marks] Show worked answer
(b) Let \(x = y – 1\): then \(3x + 10 = 3y + 7\), so the equation is the same as (a). [2] \(y – 1 = 5 \Rightarrow y = 6\). [1]
Frequently asked questions
What is the difference between log and ln?
ln is the logarithm to base e. “log” usually means base 10 on calculators and in school maths, but many university texts use log to mean ln. Check the convention in your course.
Can a logarithm be negative?
Yes. \(\log_{10} 0.01 = -2\). What cannot be negative or zero is the number you take the log of.
How do I solve an equation like 3x = 20?
Take logs of both sides: \(x\ln 3 = \ln 20\), so \(x = \ln 20/\ln 3 \approx 2.727\).
References
- Abramson, J. (2021) Algebra and Trigonometry 2e, Section 6.5 “Logarithmic Properties”. Houston, TX: OpenStax. https://openstax.org/books/algebra-and-trigonometry-2e/pages/6-5-logarithmic-properties
- Cambridge International (2023) Cambridge International AS & A Level Mathematics 9709: Syllabus for 2026 and 2027. Cambridge: Cambridge University Press & Assessment. https://www.cambridgeinternational.org/Images/697427-2026-2027-syllabus.pdf

