algebra

Logarithm

A logarithm is the inverse of exponentiation: log_a(b) = c means a^c = b. It answers "what power of a gives b?"

A logarithm is the inverse operation of exponentiation. The expression logab=c\log_a b = c means exactly ac=ba^c = b — the logarithm answers "to what power must I raise aa to get bb?"

Common bases:

  • log10\log_{10} (common log) — used in pH, decibels, Richter scale.
  • ln=loge\ln = \log_e (natural log) — calculus and continuous-growth models.
  • log2\log_2 — computer science, information theory.

Key properties:

  • log(xy)=logx+logy\log(xy) = \log x + \log y (turns product into sum)
  • log(xn)=nlogx\log(x^n) = n \log x (turns power into product)
  • Change of base: logab=logbloga\log_a b = \frac{\log b}{\log a} for any reference base.

Logarithms compress huge ranges (Earth-Moon distance vs atom width) into tractable scales, and they linearise exponential data — that's why log-axis plots are so common in science.