What is a logarithm?
A logarithm answers the question: to what power must a number, called the base, be raised to get another number? For example, the logarithm of 100 with base 10 is 2, because 10² = 100.
This is written as log₁₀(100) = 2.
The opposite of exponents
Logarithms are the inverse of exponents. If 2³ = 8, then log₂(8) = 3.
Common bases
The common logarithm uses base 10 and is often written simply as log.
The natural logarithm uses base e, a special number about equal to 2.718. It is written ln and is widely used in science and finance.
The binary logarithm uses base 2 and is important in computer science.
Useful rules
The logarithm of a product is the sum of the logarithms: log(ab) = log(a) + log(b). This turns multiplication into addition.
History
The Scottish mathematician John Napier introduced logarithms in 1614. They made complex calculations much faster for astronomers and navigators.
Before calculators, people used printed log tables and slide rules, which work using logarithms.
Logarithmic scales
Some scales use logarithms to show huge ranges of values. The decibel scale for sound, the pH scale for acidity and earthquake magnitude scales are logarithmic.
On a base-10 logarithmic scale, each step up means ten times more.