Arithly

← All maths topics

Logarithms: laws of logarithms and log equations

A logarithm is a power in disguise. log₂ 32 asks one question: “2 to what power gives 32?” Since 2⁵ = 32, log₂ 32 = 5. Every logarithm works this way: log_b(x) is the power you must raise the base b to, in order to get x. Logs only exist for positive numbers, and two values are worth remembering: log_b(1) = 0 and log_b(b) = 1, whatever the base.

The laws of logarithms turn multiplication, division and powers inside a log into simpler pieces: log(xy) = log x + log y; log(x ÷ y) = log x − log y; and log(xⁿ) = n log x. To solve a log equation, rewrite it in index (power) form — log_b(A) = n means A = bⁿ — and then solve the ordinary equation that is left, as in the worked example.

A logarithm can be negative — and that is fine

Logarithms of numbers above 1 are positive, log of 1 is 0, and logarithms of numbers between 0 and 1 are negative, because a power that shrinks a base below 1 must be negative: 10⁻² = 0.01. Students who expect logs to behave like ordinary positive quantities get stuck here; the power question — “base to what power gives this?” — always resolves it.

Think first

Before reading the solution, try to answer these — they are the hints Arithly itself gives:

Worked example

Solve log₂ (x − 2) = 3

  1. Rewrite the logarithm in index form: log₂ (x − 2) = 3 means (x − 2) = 2³.
  2. 2³ = 8, so (x − 2) = 8.
  3. Add 2 to both sides: x = 8 + 2 = 10.

Answer: x = 10

Worked note — a negative logarithm

Evaluate log₁₀ 0.01

  1. Ask the power question: 10 to what power gives 0.01?
  2. 0.01 = 1/100 = 10⁻².
  3. So log₁₀ 0.01 = −2.

Answer: -2

Practice

Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:

Related topics

Logarithm Calculator

Any base worked out with steps — exact answers where they exist, and the laws, equations and antilogs in the solver.

Logarithmic Functions

Log graphs and the inverse relationship with exponentials.

Exponential Functions

The functions logarithms undo — growth and decay curves.

Laws of Indices

The index laws are where the log laws come from.

Algebra hub

All of Arithly's algebra topics, from linear equations to quadratics.

Exponent Calculator

Powers with whole, negative and fractional indices, worked out in full.

More topics: all maths topics · Next topic: Solving linear inequalities

© 2026 Arithly. Content: CC BY-NC 4.0 · Code & solver: all rights reserved.