Math Log Explained- Understanding Logarithmic Functions
What Is a Logarithm, Anyway?
A logarithm answers a simple question: what exponent produces a given number?
That's it. If you have 2³ = 8, the logarithm is log₂(8) = 3. The base is 2, the result is 8, and the logarithm tells you the exponent.
Most people freeze up when they see "log" on a page. That's because textbooks explain this badly. Here's the real definition:
If bˣ = y, then log_b(y) = x
These two statements say the exact same thing. They are two ways of writing the same relationship.
The Three Parts You Must Know
- Base — the number being raised to a power
- Argument — the result you want to analyze
- Exponent — what the logarithm outputs
For log₁₀(1000) = 3, the base is 10, the argument is 1000, and the result is 3.
Common Logarithm Bases
Not all logs are created equal. Different bases show up in different contexts.
Common Log (Base 10)
Written as log(x) or log₁₀(x). This is the log most people encounter first. Engineers and scientists use it for measuring sound (decibels) and earthquake intensity (Richter scale).
log₁₀(100) = 2 because 10² = 100.
Natural Log (Base e)
Written as ln(x) where e ≈ 2.71828. This shows up constantly in calculus, growth/decay problems, and probability. Mathematicians love it because it simplifies derivatives.
ln(e³) = 3
Binary Log (Base 2)
Written as log₂(x). Computer scientists live in this world. It measures things in powers of 2 — bits, algorithms, data structures.
log₂(1024) = 10 because 2¹⁰ = 1024.
Logarithm Properties You Actually Need
These rules let you simplify and solve logarithmic equations. Memorize them or you'll be stuck doing everything the hard way.
- Product rule: log_b(xy) = log_b(x) + log_b(y)
- Quotient rule: log_b(x/y) = log_b(x) - log_b(y)
- Power rule: log_b(xᵏ) = k · log_b(x)
- Change of base: log_b(x) = log(x) / log(b) or ln(x) / ln(b)
The change of base formula is your escape hatch. When you need to calculate a log in any base but only have a calculator that does base 10 or natural log, this is what you use.
Comparing Logarithm Types at a Glance
| Type | Notation | Base | Common Use |
|---|---|---|---|
| Common Log | log(x) | 10 | Science, engineering, pH scale |
| Natural Log | ln(x) | e ≈ 2.718 | Calculus, growth models, probability |
| Binary Log | log₂(x) | 2 | Computer science, information theory |
| Any Base | log_b(x) | Any positive number | General mathematics |
How to Solve Logarithmic Equations
Solving logs comes down to one principle: convert between exponential and logarithmic form.
Example 1: Solve log₂(x) = 5
Convert: 2⁵ = x
Answer: x = 32
Example 2: Solve log₃(x + 1) = 4
Convert: 3⁴ = x + 1
81 = x + 1
Answer: x = 80
Example 3: Solve log₂(x) + log₂(x-2) = 3
Use the product rule: log₂[x(x-2)] = 3
Convert: 2³ = x(x-2)
8 = x² - 2x
Rearrange: x² - 2x - 8 = 0
Factor: (x-4)(x+2) = 0
Solutions: x = 4 or x = -2
Check your work. Logarithms can't have negative arguments. x = -2 makes log₂(x) undefined, so it's rejected. Only x = 4 works.
Where Logs Show Up in the Real World
Logs aren't just abstract torture devices. They describe real phenomena:
- Sound intensity — Decibels use log₁₀. A 70 dB sound is 10⁷ times more intense than the threshold of hearing.
- Earthquake magnitude — The Richter scale is logarithmic. A magnitude 6 quake has 10 times the ground motion of a magnitude 5.
- Radioactive decay — Half-life problems use natural logs. The formula N(t) = N₀e^(-λt) is pure logarithm territory.
- Compound interest — When interest compounds continuously, you get e^(rt). Banks love hiding logs in fine print.
- Information entropy — Binary logs measure bits. "How many bits to represent this?" is a log₂ question.
Getting Started: Your First Logarithm Calculations
You don't need a scientific calculator to start. Here's what to practice:
Step 1: Identify the base and argument
In log₁₀(1000), the base is 10 and the argument is 1000.
Step 2: Ask "what exponent gives this?"
10 to what power equals 1000? That's 3, because 10³ = 1000.
Step 3: Use change of base when stuck
If you need log₅(20) but only have ln on your calculator:
log₅(20) = ln(20) / ln(5) ≈ 2.9957 / 1.6094 ≈ 1.86
Step 4: Check your domain
You cannot take a log of zero or a negative number. If your solution makes the argument negative or zero, it's invalid. Always check.
The Honest Take
Logs are not complicated. They are just inverted exponentials. Once you see that the logarithm tells you the exponent in a power equation, everything clicks.
The properties look like a lot to memorize. But they all follow from one idea: logs turn multiplication into addition, and division into subtraction. That's why they were invented — to make hard arithmetic easier before calculators existed.
You don't need to understand every application. You need to understand the conversion between log and exponential form. Everything else follows from that.