POST · MATHEMATICS

How Do Logarithms Work?

What log really means, the three rules that make it powerful, and how to read its graph — without the confusion.

8 MIN READ · RULES, GRAPHS & WORKED EXAMPLES

Logarithms have a reputation for being confusing — but they're just a different way of writing exponents. Once you see that, everything clicks. Here's the whole picture, from the basic definition to the rules, graphs, and real examples.

A logarithm answers one simple question: what exponent do I need? If you know that 10² = 100, then log₁₀(100) = 2. It's the inverse of raising a number to a power. That's it — the entire idea fits in one sentence.

DEFINITION

What log means

logₐ(x) = y exactly when aʸ = x. The log is the exponent you raise the base to, to get the number.

THREE RULES

Product · Quotient · Power

Logs turn multiplication into addition, division into subtraction, and powers into multiplication.

THE GRAPH

Slow, steady growth

Log graphs rise quickly at first, then flatten out — never touching the y-axis.

What a Logarithm Actually Means

THE CORE IDEA

A logarithm is the inverse of an exponent. If you know how to read 2³ = 8, you already know how to read log₂(8) = 3. They say the same thing from opposite directions.

Here's the formal definition, written both ways so you can see the connection:

logₐ(x) = y  ⟺  aʸ = x a = base (must be positive, not 1)  ·  x = the number you're taking the log of (must be positive)  ·  y = the exponent you get out

Let's make that concrete with a few examples. Each row shows the logarithmic form and its exponential twin side by side:

Logarithmic formExponential formWhat it means in words
log₂(8) = 32³ = 82 raised to the power 3 gives 8
log₁₀(1000) = 310³ = 100010 raised to the power 3 gives 1000
log₅(25) = 25² = 255 raised to the power 2 gives 25
log₃(1) = 03⁰ = 1Any base raised to 0 equals 1 — always
log₇(7) = 17¹ = 7Any base raised to 1 equals itself
Quick check

If you can rewrite a log as an exponent, you understand it. Try saying it out loud: "log base 2 of 8 is 3, because 2 to the 3rd power is 8." That verbal loop is the whole concept.

The Three Rules That Make Logs Useful

PRODUCT · QUOTIENT · POWER

Logarithms aren't just a notation trick — they have three simple rules that turn hard multiplication and division into easy addition and subtraction. These are the rules you'll use in almost every problem.

1. The Product Rule

When you multiply two numbers inside a log, you can split it into the sum of two logs:

log(x · y) = log(x) + log(y) Same base for all three logs. Multiplication inside becomes addition outside.

Example: log₂(4 · 8) = log₂(4) + log₂(8) = 2 + 3 = 5. Check: 4 · 8 = 32, and 2⁵ = 32. ✓

2. The Quotient Rule

When you divide inside a log, it becomes the difference of two logs:

log(x / y) = log(x) − log(y) Division inside becomes subtraction outside. Order matters here — it's not log(y) − log(x).

Example: log₃(81 / 9) = log₃(81) − log₃(9) = 4 − 2 = 2. Check: 81 / 9 = 9, and 3² = 9. ✓

3. The Power Rule

When a number inside a log is raised to a power, that power moves out front as a multiplier:

log(xⁿ) = n · log(x) The exponent inside the log becomes a coefficient outside. This is the rule that makes solving exponential equations possible.

Example: log₂(8³) = 3 · log₂(8) = 3 · 3 = 9. Check: 8³ = 512, and 2⁹ = 512. ✓

Why these rules exist

They're just exponent rules in disguise. Since aˣ · aʸ = aˣ⁺ʸ, the log of a product equals the sum of the logs. The quotient and power rules follow the same pattern from aˣ / aʸ = aˣ⁻ʸ and (aˣ)ⁿ = aˣⁿ.

How to Read a Logarithm Graph

SHAPE & BEHAVIOUR

A logarithm graph has a very distinctive shape: it climbs steeply at first, then flattens out and grows more and more slowly. It never touches the y-axis — that line is what mathematicians call a vertical asymptote.

The curve passes through (1, 0) — because any base to the power 0 equals 1.

Here are the key features to notice:

  • Passes through (1, 0): logₐ(1) = 0 for any base, because a⁰ = 1.
  • Passes through (a, 1): logₐ(a) = 1, because a¹ = a.
  • Domain is x > 0 only: you can't take the log of zero or a negative number.
  • Vertical asymptote at x = 0: as x gets closer to 0 from the right, the curve dives down toward negative infinity.
  • Grows very slowly: to go from y = 1 to y = 2, x has to multiply by the base — that's a big jump for large bases.

Common Bases: Base 10 and Natural Log

Two bases show up more than any others, and each has its own notation and its own natural habitat.

NameNotationBaseWhere you'll see it
Common loglog(x) or log₁₀(x)10Science, engineering, pH, decibels, Richter scale
Natural logln(x)e ≈ 2.718Calculus, physics, population growth, radioactive decay
Binary loglog₂(x)2Computer science, algorithm complexity, information theory

When you see log(x) written with no base, it almost always means base 10. And ln(x) always means natural log — the base is Euler's number, e.

The change-of-base formula

If you ever need to switch bases, this one formula handles it: logₐ(x) = log_b(x) / log_b(a). It works for any valid bases b. Most calculators only have log and ln buttons, so this is how you compute something like log₂(7).

Worked Examples

The best way to get comfortable with logs is to do a few by hand. Here are three that cover the main moves.

Example 1: Simplify a sum of logs

Simplify log₃(6) + log₃(4.5).

  1. Apply the product rule in reverse: log₃(6) + log₃(4.5) = log₃(6 · 4.5)
  2. Multiply inside: log₃(27)
  3. Recognise that 27 = 3³, so log₃(27) = 3

Answer: 3

Example 2: Solve an exponential equation

Solve 5ˣ = 200 for x.

  1. Take the log of both sides: log(5ˣ) = log(200)
  2. Apply the power rule: x · log(5) = log(200)
  3. Divide both sides: x = log(200) / log(5)
  4. Evaluate (using a calculator or change of base): x ≈ 3.29

Answer: x ≈ 3.29

Example 3: Use the power rule with a fractional exponent

Evaluate log₄(√16).

  1. Rewrite the square root as a power: log₄(16^(1/2))
  2. Apply the power rule: (1/2) · log₄(16)
  3. Since 16 = 4², log₄(16) = 2
  4. Multiply: (1/2) · 2 = 1

Answer: 1

Where Logarithms Show Up in Real Life

Logarithms aren't just a classroom exercise — they're hidden inside some of the most familiar measurement scales in daily life.

  • The Richter scale measures earthquake magnitude on a logarithmic scale — each whole number step is ten times more powerful than the last.
  • The pH scale for acidity is logarithmic, which is why a pH of 4 is ten times more acidic than a pH of 5.
  • Decibels for sound intensity work the same way — a 10 dB increase sounds about twice as loud, but represents ten times the energy.
  • Population growth and radioactive decay follow exponential curves, so solving for time requires logarithms.
  • Computer science uses log₂ to describe how many steps a binary search or balanced tree takes as data grows.
FAQ

Questions people actually ask.

The short answers — with the long ones one tap away.

What is a logarithm in simple words?+

A logarithm answers the question: what exponent do I need? For example, log₁₀(1000) = 3 because 10 raised to the power 3 equals 1000. It undoes exponentiation.

What are the three main logarithm rules?+

The product rule says log(xy) = log(x) + log(y). The quotient rule says log(x/y) = log(x) − log(y). The power rule says log(xⁿ) = n · log(x). These let you turn multiplication into addition, division into subtraction, and powers into multiplication.

What is the difference between log base 10 and natural log?+

Log base 10 (written log or log₁₀) uses 10 as its base and is common in science and engineering. Natural log (written ln) uses Euler's number e ≈ 2.718 as its base and appears throughout calculus, physics and growth/decay problems. Both follow the same rules.

Why can't you take the logarithm of a negative number?+

Because a positive base raised to any real exponent always gives a positive result. There is no real exponent that turns a positive base into a negative number, so log of a negative number is undefined in real numbers.

What does a logarithm graph look like?+

A log graph curves upward quickly at first and then flattens out, growing very slowly. It passes through (1, 0) because any base to the power 0 is 1. It never touches the y-axis — the line x = 0 is a vertical asymptote.

What is a real-world use of logarithms?+

Logarithms are used in the Richter scale for earthquakes, the pH scale for acidity, decibels for sound, and measuring population growth or radioactive decay. They compress huge ranges into manageable numbers.