Logarithms and Exponentials
Why compounding is multiplication in disguise, and why the tool that turns multiplication into addition — the logarithm — shows up in every return calculation, every likelihood function, and every Kelly bet.
A stock that goes up 50% and then down 50% does not end back where it started — it ends down 25%, because the second move applies to a bigger number than the first. Percentage changes do not add; they multiply. That single fact makes ordinary arithmetic clumsy for anything involving growth, and it is the reason quants work with logarithms almost everywhere returns, growth rates, or likelihoods appear.
The analogy: a machine that turns multiplying into adding
Imagine a machine with two settings. In "multiply mode," combining two numbers means multiplying them — which is hard to do by eye for messy numbers and impossible to average sensibly. Flip the machine to "add mode" and the same combination becomes ordinary addition, which is easy and behaves nicely under averaging. The logarithm is exactly that switch: it converts a world of multiplication into a world of addition, does the easy addition there, and the exponential switches back. Compounding, which is inherently multiplicative — grow, then grow again, then grow again — becomes additive once you take logs, which is why "log returns" are the natural currency of return calculations.
Writing it down
The exponential function ( is the base) asks: "multiply by itself, times." The logarithm undoes it — it asks the reverse question. means " raised to what power gives ?" so that by definition
Read the first as "exponentiating a log gets you back where you started," and the second as "logging an exponent gets you back where you started" — they are inverse operations, like squaring and square-rooting.
The property that does all the work in finance is
In words: the log of a product is the sum of the logs. This is exactly why compounding two growth factors — multiply them — becomes adding two log-returns. The base gives the natural logarithm, written , and it is the default in continuous compounding because is the unique growth function whose instantaneous growth rate is exactly .
Worked example 1: two 50% moves, computed the "hard" way and the log way
A $100 stock goes up 50%, then down 50%. Direct arithmetic: , then . Final value $75 — a 25% loss, not back to zero net change, because the down-move applied to $150, not $100.
Now with logs. The first move's log factor is . The second move's log factor is . Add them: . Exponentiate to get back the overall multiplier: . That confirms the same $75 ending value, but notice what addition bought you: to combine ten moves you'd just add ten numbers instead of multiplying ten factors together — far less error-prone, and it makes average growth rates well-defined by simple averaging of the log terms.
Worked example 2: solving for years to double your money
At 7% annual compounding, how many years to double $1? You need . Take the natural log of both sides: . Using — a direct consequence of — the left side becomes . So , giving years. Sanity-check the mental-math shortcut traders use, the "Rule of 72": years — matches, because is close to , rounded for divisibility.
What this means in practice
Log returns are additive across time and across independent bets, which is why cumulative performance is tracked as a sum of log returns rather than a product of gross returns. Log-likelihoods turn products of probabilities (which underflow to zero in floating point for large samples) into sums that are numerically stable — every maximum-likelihood fit in quant finance works in log space for exactly this reason. The Kelly criterion maximises expected log wealth, not expected wealth, because log is the transform under which repeated multiplicative bets add up correctly.
The logarithm converts multiplication into addition: . That single property is why compounding, likelihoods, and repeated bets are analysed in log space — sequences of multiplicative moves become sums, which are easy to average and numerically stable.
The classic confusion is treating a simple percentage return and a log return as interchangeable, especially over multi-period horizons. They agree only approximately for small moves — a 5% simple return has a log return of , close enough — but diverge badly for large moves: a 50% simple gain is only a 40.5% log gain, and a simple loss is a log loss. Averaging simple returns across periods overstates growth (it ignores compounding), while log returns average correctly but must be exponentiated back before being read as a percentage.
Related concepts
Practice in interviews
Further reading
- Strang, Calculus (ch. 6)
- Hull, Options, Futures and Other Derivatives (ch. 15, on log returns)