Logarithms answer the question: "what exponent makes this equation true?" If 10^x = 1,000, then x = log₁₀(1,000) = 3. From earthquake magnitudes to sound levels to compound interest, logarithms compress vast ranges of numbers into manageable scales and power the most important equations in science and finance.
The Three Main Bases
Three bases dominate practical use. Base 10 (common log, written log x) underpins the Richter scale, pH, and decibels — all measurement scales where each whole-number step represents a 10-fold change in the underlying quantity, compressing enormous ranges into manageable single-digit values. Base e ≈ 2.71828 (natural log, written ln x) appears throughout calculus and differential equations because the derivative of eˣ is eˣ itself — a uniquely self-referential property that makes it the natural base for modeling continuous change. The natural log appears in continuous compound interest, radioactive decay half-life calculations, and population growth models across ecology and epidemiology. Base 2 (binary log, written log₂ x) is the language of computing: log₂(1,024) = 10, directly matching the ten bits of a 10-bit binary counter; log₂(n) also measures the number of yes/no questions needed to identify one item from n equally likely choices. Information entropy, data compression ratios, and binary search algorithm complexity are all expressed using base-2 logarithms. When no base is explicitly stated, convention typically means base 10 in engineering and chemistry, but base e in pure mathematics and physics.
Logarithm Laws — Simplifying Complex Expressions
Three fundamental laws govern logarithm algebra. The product rule: log(ab) = log(a) + log(b) — multiplication inside the log becomes addition of two logs. This was historically transformative before digital computers: slide rules and printed logarithm tables let scientists reduce complex multiplication of 10-digit numbers to simpler addition, enabling the astronomical calculations of Newton's era and the engineering of the Industrial Revolution. The quotient rule: log(a/b) = log(a) − log(b) — division inside the log becomes subtraction. The power rule: log(aⁿ) = n × log(a) — an exponent inside the log moves in front as a multiplier. Together, these three rules let you manipulate any exponential equation algebraically. For example, solving 5ˣ = 200: take log of both sides, giving x × log(5) = log(200), so x = log(200)/log(5) = 2.301/0.699 ≈ 3.292 — this is the change-of-base formula in action. These laws also underpin the derivation of the natural logarithm's key properties in calculus and appear directly in the continuously compounded interest formula A = Pe^(rt), where isolating t requires applying the natural log to both sides.
Logarithmic Scales in Science
Many natural phenomena span enormous ranges of magnitude, making linear scales impractical for display or comparison. Logarithmic scales compress these ranges into readable form while preserving proportional relationships. The Richter scale measures earthquake ground motion amplitude: each unit increase represents 10× more amplitude and approximately 31.6× more energy released. An M9 earthquake releases one million times more amplitude than an M3 — impossible to show on a linear y-axis graph. Sound intensity uses the decibel scale: dB = 10 × log₁₀(I/I₀), where I₀ = 10⁻¹² W/m² is the threshold of hearing. A 60 dB conversation is 10⁶ times more intense than that threshold; 120 dB at a rock concert is 10¹² times more intense — a ratio a linear scale would struggle to depict. pH measures hydrogen ion concentration: pH = −log₁₀([H⁺]). Pure water at pH 7 has [H⁺] = 10⁻⁷ mol/L; stomach acid at pH 1–2 has [H⁺] = 10⁻¹ to 10⁻² mol/L — up to 10 million times more acidic. Logarithmic scales appear wherever physical quantities naturally span more than three or four orders of magnitude, which is most of the interesting phenomena in science.
Logarithms in Finance and Growth
Continuous compound interest uses the natural log in a key practical formula: if an investment grows at annual rate r, the time to double is t = ln(2)/r ≈ 0.693/r — approximated in finance as the Rule of 70 (doubling time ≈ 70/r%). At 7% annual growth, doubling time is approximately 70/7 = 10 years. At 3% annual inflation, purchasing power halves in approximately 23 years. The natural log also appears in present value under continuous discounting: PV = FV × e^(−rt), used in derivatives pricing and actuarial science. In financial economics, log returns (continuously compounded returns) are preferred over simple percentage returns because they are additive across time periods and symmetric: a 50% gain followed by a 33% loss returns to the starting price, but percentage arithmetic does not show this cleanly. Log returns (+0.405 and −0.405 in this example) sum to zero, correctly representing no net change. Logarithmic transformations are also widely applied to financial data distributions — stock returns, GDP, and asset prices all tend to be log-normally distributed — to normalize skewed data before statistical modeling and regression analysis.
The Change-of-Base Formula
Most calculators provide only log₁₀ and ln buttons, which is sufficient for any logarithm base thanks to the change-of-base formula: log_b(x) = ln(x)/ln(b) = log₁₀(x)/log₁₀(b). For example, log₅(200) = ln(200)/ln(5) = 5.298/1.609 ≈ 3.292. Verify: 5^3.292 ≈ 200, confirming the result. This formula is essential when working with non-standard bases such as base 2 (computing and information theory), base 3 (some combinatorics problems), or base 1.05 (annual compound interest at 5%). It also reveals a fundamental mathematical insight: all logarithms are proportional to each other, differing only by a constant scaling factor of 1/ln(b). This means that log₁₀ and ln carry exactly the same structural information — one is simply a constant multiple of the other. In programming, many languages provide only ln (Math.log in JavaScript, math.log in Python) or only log₁₀, so the change-of-base formula is needed to compute log₂ or other bases accurately. It is one of the most practically useful identities in applied mathematics, converting an unfamiliar base into a routine computation.