Home/Guides/Logarithm rules
Algebra

Logarithm Rules Explained (+ Solving Log Equations)

A logarithm answers one question: "what power do I raise the base to, to get this number?" Every rule below follows from that, which is why they look so much like the rules for exponents.

What a log actually means

These two statements say exactly the same thing:

logb(x) = y   ⇔   by = x

So log2(8) = 3, because 2³ = 8. Reading a log aloud as "what power of the base gives me this?" makes most problems noticeably easier.

Two shorthands you'll meet constantly: ln x means logex (base e ≈ 2.718), and a bare log x usually means base 10 — though in some higher-level texts it means base e, so check the convention.

Two constraints follow directly from the definition and matter enormously later: you can only take a log of a positive number, and the base must be positive and not 1.

The four rules you need

Product rule

logb(xy) = logbx + logby

Multiplication inside becomes addition outside. Example: log2(8×4) = log28 + log24 = 3 + 2 = 5. Check: 8×4 = 32, and 25 = 32 ✓

Quotient rule

logb(xy) = logbx − logby

Division inside becomes subtraction outside. Example: log2(32/8) = 5 − 3 = 2, and indeed 32/8 = 4 = 2² ✓

Power rule

logb(xn) = n logbx

An exponent inside comes out to the front as a multiplier. This is the rule that makes logs useful for solving equations where the unknown is an exponent — it's the only standard tool that brings x down from upstairs.

Example: log(x²) = 2 log x, and ln(e5) = 5 ln e = 5, since ln e = 1.

The two values worth memorising

logb(1) = 0      logb(b) = 1

Because b0 = 1 and b1 = b. These turn up constantly as simplification shortcuts.

Change of base

Calculators usually only offer log (base 10) and ln (base e). To evaluate any other base:

logb(x) = log xlog b = ln xln b

Either base works on the right, as long as you use the same one top and bottom. So log2(50) = ln 50 / ln 2 ≈ 5.644.

Solving log equations

The strategy is always the same: use the rules to combine everything into a single log, then convert to exponential form.

log2(x) + log2(x − 2) = 3
  1. Combine using the product rule. log2[x(x − 2)] = 3
  2. Convert to exponential form. x(x − 2) = 2³ = 8
  3. Solve the resulting equation. x² − 2x − 8 = 0, which factors as (x − 4)(x + 2) = 0, giving x = 4 or x = −2.
  4. Check both against the domain. x = 4: log24 + log22 = 2 + 1 = 3 ✓. But x = −2 would require log2(−2), and logs of negative numbers are undefined — so that root is extraneous and gets discarded.
x = 4
Always check the domain

Log equations produce extraneous roots routinely, because combining logs quietly widens the domain. Every candidate root must go back into the original equation, and any that makes you take a log of zero or a negative number is rejected. Skipping this step is the most common way to lose marks on an otherwise perfect solution.

When the unknown is an exponent

3x = 20

Take ln of both sides, then use the power rule to bring x down:

x ln 3 = ln 20  →  x = ln 20ln 3 ≈ 2.727

Sanity-check the size: 3² = 9 and 3³ = 27, so x must sit between 2 and 3. It does.

Rules that don't exist

These are the inventions that cost the most marks. None of them are true:

Quick test whenever you're unsure: substitute real numbers. With x = 10 and y = 10, log(x+y) = log 20 ≈ 1.301, while log x + log y = 1 + 1 = 2. Not equal — rule disproved in ten seconds. That technique generalises; more of it in how to check if your answer is right.

Log equations giving you trouble?

Scan one with Aheadia for the full working — including the domain checks that decide which roots survive.

Download free on iOS