Skip to content

Logarithm

A logarithm finds the exponent behind a growth multiple. Solve a compounding-time problem, choose a base and distinguish log-returns from simple returns.

A logarithm answers “what exponent produces this number?” If a balance grows by multiplying each period, a logarithm can recover how many periods produced an observed growth multiple.
log⁡bx=y⟺by=x,b>0,b≠1,x>0.\log_b x=y\quad\Longleftrightarrow\quad b^y=x, \qquad b>0,\quad b\ne1,\quad x>0.
The base bb specifies the multiplier; the argument xx is the positive number whose exponent we seek. For example, log⁡101000=3\log_{10}1000=3 because 103=100010^3=1000. This makes the logarithm the inverse function of the exponential function with the same base.

The restrictions matter. Base 1 cannot distinguish exponents, since every power is 1. Zero and negative arguments have no real logarithm. Every admissible base gives log⁡b1=0\log_b1=0. Logs increase with the argument when b>1b>1 and decrease when 0<b<10<b<1; the latter bases are valid, even though less common.

Counting periods of compounding

Suppose a hypothetical investment starts at USD 100 and earns exactly 10% each period, reinvested, with no contributions, withdrawals or costs. When does its period-end balance reach USD 121?

100(1.10)t=121⟹(1.10)t=1.21⟹t=log⁡1.10(1.21)=2 periods.100(1.10)^t=121 \quad\Longrightarrow\quad (1.10)^t=1.21 \quad\Longrightarrow\quad t=\log_{1.10}(1.21)=2\text{ periods}.

The direct check is USD 100 → USD 110 → USD 121. The answer counts periods in the stated growth model; it makes no prediction about an actual investment. A fractional-period answer in another example would need an assumption about how growth accrues within each period.

Synthetic wealth is USD 100, USD 110 and USD 121 at periods 0, 1 and 2. Each step multiplies wealth by 1.10. Natural logs of the wealth relative are 0, 0.095310 and 0.190620, equal increments of 0.095310.
Synthetic wealth is USD 100, USD 110 and USD 121 at periods 0, 1 and 2. Each step multiplies wealth by 1.10. Natural logs of the wealth relative are 0, 0.095310 and 0.190620, equal increments of 0.095310.
Original synthetic example. Equal multiplicative growth becomes equal additive increments on the natural-log scale; displayed log values are rounded.

Products become sums

For positive u,vu,v, an admissible base bb and a real exponent aa,

log⁡b(uv)=log⁡bu+log⁡bv,log⁡b(u/v)=log⁡bu−log⁡bv,log⁡b(ua)=alog⁡bu.\begin{aligned} \log_b(uv)&=\log_bu+\log_bv,\\ \log_b(u/v)&=\log_bu-\log_bv,\\ \log_b(u^a)&=a\log_bu. \end{aligned}
These identities follow from exponent laws. If u=bpu=b^p and v=bqv=b^q, then uv=bp+quv=b^{p+q}, so the logarithm returns p+qp+q. There is no corresponding sum rule: in general, log⁡b(u+v)≠log⁡bu+log⁡bv\log_b(u+v)\ne\log_bu+\log_bv.
The natural logarithm, written ln⁡\ln, uses base ee; the common logarithm uses base 10. An unqualified “log” can mean either, depending on context. State the base when ambiguity matters. To calculate the growth-time answer on a standard calculator, use change of logarithm base: t=ln⁡(1.21)/ln⁡(1.10)t=\ln(1.21)/\ln(1.10).

For positive prices with no intervening distributions, the natural-log price return is r=ln⁡(S1/S0)r=\ln(S_1/S_0). In the example, each period has log-return ln⁡(1.10)≈0.095310\ln(1.10)\approx0.095310 and simple return 0.100.10. Over two periods, the log-return is 2ln⁡(1.10)=ln⁡(1.21)≈0.1906202\ln(1.10)=\ln(1.21)\approx0.190620, while the simple return is 1.21−1=0.211.21-1=0.21, or 21%. They describe the same price change under different conventions.

Consecutive log-returns add because consecutive price relatives multiply. This does not justify adding different assets' log-returns to obtain a portfolio return. Use a dimensionless ratio inside the logarithm, and account explicitly for dividends or reinvested distributions when measuring total returns.

Exponentials and Logarithms extends these ideas to discounting and continuously compounded rates (public preview; full lesson requires membership).

Sources

Last updated
  • logarithms
  • compounding
  • returns
  • algebra
← Back to the glossaryBack to top ↑