Logarithms intimidate students because the notation doesn't intuitively reveal what's happening. The truth is, logarithms are just exponents in disguise. Once you crack that idea, every log rule follows from familiar exponent rules. This guide builds logs from the ground up.
The definition (memorise this one)
In words: " is the exponent you raise to in order to get ." That's it. Everything else is bookkeeping.
Examples:
- because .
- because .
- because .
Common bases
- (no subscript): usually in pre-calculus, but in higher math (calculus, physics, ML). Check your textbook's convention.
- (natural log): , where . The "natural" base because — clean derivative.
- : computer science (binary), information theory.
The four core rules
All four come from exponent rules (, etc.) reversed.
1. Product rule
Multiplication inside the log → addition outside. (Mirror of .)
2. Quotient rule
Division → subtraction.
3. Power rule
Exponent comes outside as a multiplier. Most useful for solving log equations.
4. Change of base
For any reference base . Lets you compute on a calculator that only has or .
Solving log equations
The standard playbook:
If the equation has multiple log terms, condense them into a single log using rules 1–3, then convert to exponential form.
Example: .
- Condense: .
- Exponential form: .
- Quadratic: , factor: , so or .
- Check domain: undefined (logs need positive arg), so reject .
- Answer: .
Always check the domain — squaring or condensing logs can introduce extraneous solutions that violate the positive-argument requirement.
Useful identities
- (anything to the zero is 1).
- (anything to the first is itself).
- (the inverse identity).
- (the inverse identity, the other way).
Why logs matter
- Compress huge ranges: pH, decibels, Richter scale, magnitudes — all logarithmic because the underlying quantities span many orders of magnitude.
- Linearise exponential data: log-axis plots reveal exponential trends as straight lines. Standard in finance, biology, machine learning.
- Calculus: — the cleanest derivative on the planet, worth memorising forever.
- Information theory: log base 2 measures bits; log base measures nats.
Common mistakes
- . The product rule is for , not . There's no "log of a sum" rule.
- Negative arguments: is undefined in the reals.
- Forgetting to check domain when solving equations.
Try it yourself
Drop any log expression into our Equation Solver — it picks the right rule chain and walks you through.
Related: