← High school courses

High school Algebra II

Logarithms Explained: What They Are and the Log Rules

A logarithm answers a simple question: what exponent do I need? Logs are the tool for solving equations where the unknown sits in an exponent, and a few rules let you simplify them.

What a logarithm is

The statement log₂ 32 = 5 means 2⁵ = 32. In general, log_b(y) = x means b^x = y. The log is the exponent, and b is the base.

So a logarithm is the reverse of an exponent, in the same way that subtraction reverses addition. The base must be positive and not 1, and you can only take the log of a positive number.

Two special cases always hold: log_b(1) = 0, because b⁰ = 1, and log_b(b) = 1, because b¹ = b. Log with no base written usually means base 10, and ln means base e.

Here is a quick way to think about it. Growth by repeated multiplication, like a population doubling, is an exponent. Asking how many doublings it takes to reach a target is a logarithm. That is why logs turn up in problems about interest, decay, and sound levels.

The three log rules

Because logs are exponents, they follow exponent rules. 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).

These rules let you expand one log into several, or combine several into one. They do not work on sums: log(M + N) is not log(M) + log(N).

A handy check: log₂ 8 + log₂ 4 should equal log₂ 32, because 3 + 2 = 5 and 2⁵ = 32.

Change of base

A calculator usually has only log (base 10) and ln. To compute a log in another base, use log_b(y) = log(y) ÷ log(b). Either log or ln works, as long as you use the same one on top and bottom.

Worked examples

Example 1

Evaluate log₅(1/25).

  1. Ask: 5 to what power gives 1/25?
  2. Since 5² = 25, we have 5⁻² = 1/25.
  3. So the exponent is −2.

Answer: log₅(1/25) = −2.

Example 2

Expand log₂(8x³ ÷ y).

  1. Use the quotient rule: log₂(8x³) − log₂(y).
  2. Use the product rule on the first part: log₂ 8 + log₂(x³) − log₂ y.
  3. Evaluate log₂ 8 = 3 and use the power rule: log₂(x³) = 3 log₂ x.

Answer: 3 + 3 log₂ x − log₂ y.

Example 3

Solve 3^x = 20.

  1. Take the log of both sides: log(3^x) = log 20.
  2. Use the power rule: x × log 3 = log 20.
  3. Divide: x = log 20 ÷ log 3 ≈ 1.3010 ÷ 0.4771 ≈ 2.73.

Answer: x ≈ 2.73.

Common mistakes

Check yourself

  1. Evaluate log₁₀ 1000.
    Show the answer10³ = 1000, so the answer is 3.
  2. Write log₂ 6 + log₂(4/3) as a single number.
    Show the answerProduct rule: log₂(6 × 4/3) = log₂ 8 = 3.
  3. Solve log₂ x + log₂(x − 2) = 3.
    Show the answerx(x − 2) = 2³ = 8, so x² − 2x − 8 = 0, which gives x = 4 or x = −2. Reject −2 because it makes a log input negative. The answer is x = 4.

Practice it

Try ten free Algebra II practice questions, each with a hint and an explanation. No account needed.

Practice Algebra II free →

Written by passvana for high school Algebra II students. passvana is independent and not affiliated with any school, district or test publisher.