Logarithms Explained- A Comprehensive Guide
What Is a Logarithm, Really?
Most people encounter logarithms in high school and immediately forget them. That's a mistake. Logs show up everywhere—in finance, computer science, engineering, and anywhere people deal with exponential growth or decay.
A logarithm answers one simple question: "What exponent produces this number?"
When you see log₂(8) = 3, it means "2 to what power equals 8?" The answer is 3, because 2³ = 8.
That's it. That's the whole concept.
The Anatomy of Logarithm Notation
Every logarithm has three parts. Get these straight and half your confusion disappears.
- Base — the number being raised to a power (the subscript number)
- Argument — the number you're taking the log of
- Result — the exponent you're solving for
For log₁₀(100) = 2:
- Base is 10
- Argument is 100
- Result is 2 (because 10² = 100)
Reading Aloud
Say "log base 10 of 100 equals 2" or "the log of 100 with base 10 is 2." Either works.
Types of Logarithms You Need to Know
Not all logs are created equal. Three types matter:
Common Logarithm (Base 10)
Written as log(x) with no subscript. This is the default in most calculators.
log(1000) = 3 because 10³ = 1000.
Natural Logarithm (Base e)
Written as ln(x) where e ≈ 2.71828. This shows up constantly in calculus, growth models, and probability.
ln(e) = 1. ln(1) = 0.
Binary Logarithm (Base 2)
Written as log₂(x). Used heavily in computer science—information theory, algorithm analysis, data structures.
log₂(1024) = 10 because 2¹⁰ = 1024.
Logarithm Rules You Must Memorize
These four rules let you manipulate logs in any equation. Memorize them now.
Product Rule
log(MN) = log(M) + log(N)
The log of a product equals the sum of the logs.
Quotient Rule
log(M/N) = log(M) - log(N)
The log of a quotient equals the difference of the logs.
Power Rule
log(Mᵖ) = p · log(M)
The exponent comes down as a multiplier.
Change of Base Formula
When you need a log in a base your calculator doesn't have:
logₐ(x) = log(x) / log(a)
Or equivalently: logₐ(x) = ln(x) / ln(a)
How to Solve Logarithm Problems
Here's a step-by-step process that works for most problems.
Step 1: Identify the Form
Are you solving for the exponent, evaluating an expression, or simplifying using rules?
Step 2: Apply the Rules
Use the product, quotient, or power rule to break down complex expressions.
Step 3: Convert If Needed
Use change of base if you need a decimal approximation.
Step 4: Check Your Work
Take your answer and raise the base to that power. Does it match the argument?
Example Problem
Solve for x: log₂(x) + log₂(x-2) = 3
Combine using the product rule: log₂[x(x-2)] = 3
Convert to exponential form: x(x-2) = 2³
Simplify: x² - 2x = 8
Rearrange: x² - 2x - 8 = 0
Factor: (x-4)(x+2) = 0
Solutions: x = 4 or x = -2
Check: log₂(4) + log₂(2) = 2 + 1 = 3 ✓
Check: log₂(-2) is undefined. Reject x = -2.
Answer: x = 4
Logarithm vs. Exponential: The Connection
Logs and exponentials are inverses. They undo each other.
- If y = aˣ, then x = logₐ(y)
- If x = logₐ(y), then y = aˣ
This relationship is why logs exist—to solve equations where the variable is in the exponent.
Where Logs Actually Show Up
You need logs for more than passing exams.
- Richter scale — earthquake magnitude uses log₁₀
- pH in chemistry — negative log of hydrogen ion concentration
- Decibel measurements — sound intensity uses log ratios
- Compound interest — continuous interest formulas use ln
- Algorithm analysis — binary search and merge sort complexity involve log₂
- Information theory — bits and entropy use log₂
Quick Reference: Logarithm Types Compared
| Type | Notation | Base | Common Use |
|---|---|---|---|
| Common | log(x) | 10 | General math, calculators |
| Natural | ln(x) | e ≈ 2.718 | Calculus, growth/decay models |
| Binary | log₂(x) | 2 | Computer science, information theory |
Common Mistakes That Cost Points
- Confusing log(MN) with log(M) · log(N) — it's addition, not multiplication
- Forgetting domain restrictions — arguments must be positive
- Misapplying the power rule — the exponent multiplies the whole log, not just the argument
- Ignoring the inverse relationship — always verify by converting back to exponential form
Getting Started: Your First Logarithm Practice
Try these without a calculator first, then verify:
- log₂(8) = ?
- ln(e³) = ?
- log(0.001) = ?
- Solve: 3ˣ = 81
- Solve: log₃(x) = 4
Check your answers: 3, 3, -3, 4, 81.
If you got those, you understand the basics. The rest is practice.