Skip to content
Tutorials Center
My learning

Topics

Lesson 25 of 38 · Exponential and Logarithmic Functions

Properties of Logarithms

Learn the product, quotient and power rules for logarithms, the change of base formula, and how to expand and condense logarithmic expressions.

Because a logarithm is an exponent, the laws of exponents turn directly into laws of logarithms. Where exponents add when you multiply, logarithms of products add. These rules let you expand messy expressions, combine them, and solve equations.

The three main rules

For b > 0, b ≠ 1, and positive M and N:

Text
Product rule:    log_b(MN)   = log_b(M) + log_b(N)
Quotient rule:   log_b(M/N)  = log_b(M) - log_b(N)
Power rule:      log_b(M^k)  = k · log_b(M)

Why the product rule holds. Let log_b(M) = p and log_b(N) = q, so M = bᵖ and N = bᵠ. Then MN = bᵖ·bᵠ = b^(p+q), so log_b(MN) = p + q. The other rules follow in the same way from the exponent laws.

Example 1. log₂(8·4) = log₂(8) + log₂(4) = 3 + 2 = 5, and indeed 32 = 2⁵.

Example 2. log₃(81/9) = 4 - 2 = 2, and 81/9 = 9 = 3².

Example 3. log₅(25³) = 3·log₅(25) = 3·2 = 6.

Example 4. log(√x) = log(x^(1/2)) = (1/2)·log(x).

There are no rules for the log of a sum or difference. In general log(M + N) ≠ log(M) + log(N) and log(M)/log(N) ≠ log(M/N). Test with numbers if you are unsure.

Expanding and condensing

Expand log₂(8x³/y):

Text
log₂(8) + 3·log₂(x) - log₂(y) = 3 + 3·log₂(x) - log₂(y)

Condense 2·log(x) + log(5) - log(y) into a single log:

Text
log(x²) + log(5) - log(y) = log(5x² / y)

Work in order: power rule first, then product and quotient.

Change of base

Calculators typically have only log (base 10) and ln. To evaluate any base, use:

Text
log_b(x) = log(x) / log(b) = ln(x) / ln(b)

Example 5. log₂(20) = ln(20)/ln(2) ≈ 2.9957 / 0.6931 ≈ 4.32. That makes sense, since 2⁴ = 16 and 2⁵ = 32.

Proof sketch: if y = log_b(x) then bʸ = x; take ln of both sides to get y·ln(b) = ln(x).

Useful consequences

Text
log_b(1/x) = -log_b(x)
log_(bᵏ)(x) = (1/k)·log_b(x)
b^(log_b x) = x

For instance log₄(x) = log₂(x) / 2, because 4 = 2².

Test the rules numerically

A numerical check is not a proof, but it quickly exposes a wrong rule. Try the correct rules and a tempting false one.

Python Check the log laws with numbers

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Symbolic expand and condense

Python Expand and condense with SymPy

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which equals log(ab)?

    The product rule: the log of a product is the sum of the logs.
  2. 2. Simplify log₂(x⁵).

    The power rule brings the exponent in front: log₂(x⁵) = 5·log₂(x).
  3. 3. Which expression is a correct use of change of base for log₇(10)?

    log_b(x) = ln(x)/ln(b), so log₇(10) = ln(10)/ln(7).
  4. 4. Condense log(x) + log(y) - log(z).

    Add logs by multiplying and subtract logs by dividing: log(xy/z).

Summary

  • log_b(MN) = log_b M + log_b N; log_b(M/N) = log_b M - log_b N; log_b(M^k) = k·log_b M.
  • Change of base: log_b(x) = ln(x) / ln(b).
  • There is no rule for log(M + N).
  • Expand with powers first; condense by reversing the rules.

Next: Solving Exponential and Logarithmic Equations