Logarithm (from Greek logos, "proportion, ratio, word," and arithmos, "number") is a mathematical function that represents the exponent to which a fixed value, called the base, must be raised to produce a given number. It is the inverse operation of exponentiation.
Definition
Given a positive real number b (the base) such that b ≠ 1, the logarithm of a positive real number x to base b is the unique real number y satisfying the equation:
b⁽ʸ⁾ = x
This relationship is written as:
y = log*b* x
For example, since 2³ = 8, the logarithm of 8 to base 2 is 3, written log₂ 8 = 3. Similarly, since 10² = 100, log₁₀ 100 = 2.
Common Bases
Three bases are of particular importance:
- Common (or decimal) logarithm: base 10, often written as log x or log₁₀ x. Historically used in logarithm tables, slide rules, and manual calculation.
- Natural logarithm: base e (approximately 2.71828), often written as ln x or log_e_ x. Widely used in mathematics, physics, and calculus because of its simple derivative.
- Binary logarithm: base 2, often written as lb x or log₂ x. Widely used in computer science, information theory, and music theory.
Fundamental Identities
Logarithms satisfy several key algebraic identities for positive real numbers x and y and base b ≠ 1:
- Product: log*b(xy) = logb* x + log*b* y
- Quotient: log*b(x/y) = logb* x − log*b* y
- Power: log*b(xᵖ) = p · logb* x
- Root: log*b(x^(1/p)) = (logb* x)/p
The product identity—by which multiplication can be reduced to addition—was the primary motivation for the historical development of logarithms.
History
Logarithms were introduced by the Scottish mathematician John Napier (1550–1617) in 1614, in his work Mirifici Logarithmorum Canonis Descriptio ("A Description of the Wonderful Canon of Logarithms"). Napier coined the term "logarithmus," meaning "ratio-number." Shortly thereafter, the English mathematician Henry Briggs (1561–1630) developed base-10 (common) logarithms and compiled the first tables of base-10 logarithms in 1617.
The modern formal conception of logarithms as the inverse of the exponential function was developed in the 18th century by Leonhard Euler, who also introduced the constant e as the base of natural logarithms. Prior to the advent of electronic computers, logarithm tables and the slide rule (based on logarithmic scales) were essential computational tools in science, engineering, navigation, and astronomy. The mathematician Pierre-Simon Laplace noted that logarithms, "by reducing to a few days the labour of many months, doubles the life of the astronomer."
Analytic Properties
The natural logarithm function ln x has the derivative 1/x, a property that underlies its importance in calculus. It can also be defined as the definite integral:
ln t = ∫₁ᵗ (1/x) dx
The natural logarithm is the inverse of the exponential function eˣ.
Applications
Logarithms have extensive applications across mathematics and the sciences:
- Logarithmic scales: The decibel (sound and signal intensity), pH (chemical acidity), the Richter and moment magnitude scales (earthquakes), and stellar apparent magnitude all employ logarithmic measures.
- Computer science: The binary logarithm appears in the analysis of algorithms (e.g., binary search and merge sort) and in measures of computational complexity.
- Information theory: Entropy is expressed using logarithms; information is quantified in bits (base 2) or nats (base e).
- Statistics and probability: The log-normal distribution, log-likelihood estimation, and Benford's law all involve logarithms.
- Number theory: The prime number theorem relates the distribution of primes to the natural logarithm.
- Fractal geometry: The Hausdorff dimension of self-similar fractals is expressed as ratios of logarithms.
- Music: Logarithmic scales (cents and semitones) describe frequency ratios in musical intervals.
Generalizations
The logarithm concept extends to complex numbers (the complex logarithm, which is multi-valued), matrices (inverse of the matrix exponential), finite groups (discrete logarithm, used in public-key cryptography such as the Diffie–Hellman key exchange), and other mathematical structures.
Sources
- Encyclopædia Britannica, "Logarithm"
- Wikipedia, "Logarithm" and "History of logarithms"
- Wolfram MathWorld, "Logarithm"
- John Napier, Mirifici Logarithmorum Canonis Descriptio (1614)