Logarithm
A logarithm asks for the exponent. Given , the logarithm is the exponent such that .
Over the real numbers, the standard assumptions are
Identities
Common bases
- : common logarithm, useful for decimal orders of magnitude.
- : natural logarithm, central in calculus.
- : binary logarithm, common in information theory and algorithms.
Natural logarithm
The natural logarithm uses Euler’s number as its base. It is special because
It also solves exponential equations cleanly:
See Growth and decay.
Why logs are useful
Logarithms turn multiplication into addition and powers into products. That makes them useful for simplifying products, measuring ratios, linearising exponential data, and handling values spread across many orders of magnitude. In physics and astronomy, logarithmic scales appear naturally in magnitude-style measures; see Cosmology distance methods.
Calculus
For base ,
The chain rule gives
This pattern is often the fastest way to spot logarithmic antiderivatives.
Common pitfalls
- Taking logs of dimensional quantities without forming a dimensionless ratio first.
- Splitting sums: .
- Forgetting the base in numerical work; and differ by a factor of .
Log-linear trick
If data follows , then . Plotting against should give a straight line. This is a quick diagnostic for exponential behaviour, but only after checking units and noise.
See also Exponentiation, Root, and Differentiation rules.