A logarithm answers the question "what power?": log₂ 8 = 3 because 2³ = 8. Logs let you solve equations where the unknown is in the power.
Key ideas
- Definition: y = aˣ ⟺ x = logₐ y (a > 0, a ≠ 1).
- Laws: logₐ(MN) = logₐM + logₐN; logₐ(M/N) = logₐM − logₐN; logₐ(Mⁿ) = n logₐM.
- logₐ a = 1 and logₐ 1 = 0.
- Change of base: logₐ b = log b / log a.
- Natural log: ln x = logₑ x, where e ≈ 2.718.
- You can only take logs of positive numbers.
Worked example 1
Solve 3ˣ = 20.
x = log 20 / log 3 = 2.73 (3 s.f.).
Worked example 2: a log equation
Solve log₂ x + log₂(x − 2) = 3.
log₂[x(x − 2)] = 3 → x² − 2x = 8 → (x − 4)(x + 2) = 0.
x = −2 is rejected (log of a negative), so x = 4.
Worked example 3: a "hidden quadratic"
Solve 2²ˣ − 5(2ˣ) + 4 = 0.
Let u = 2ˣ: u² − 5u + 4 = 0 → u = 1 or 4 → 2ˣ = 1 or 2ˣ = 4 → x = 0 or x = 2.
Graphs
- y = eˣ passes through (0, 1), stays above the x-axis, and increases.
- y = ln x passes through (1, 0), exists only for x > 0, and is the reflection of y = eˣ in the line y = x.
Common mistakes
- Writing log(M + N) = log M + log N (false).
- Not rejecting solutions that make a log argument negative or zero.
- Forgetting to bring down the power: log(xⁿ) = n log x.
Try these
- Evaluate log₃ 81 without a calculator.
- Solve lg(x + 3) − lg x = 1.
- Solve eˣ = 7.
Show answers
- 4
- (x + 3)/x = 10, so x + 3 = 10x and x = 1/3
- x = ln 7 = 1.95 (3 s.f.)