Skip to content
LeetQuant
F1 Mathematical Reasoning and Calculus

F1 · Mathematical Reasoning and Calculus · Lesson 1 of 6

Exponentials, Logarithms and Growth Rates

Log rules, a handful of memorised constants, continuous versus discrete compounding, the rule of 72 and log returns, all done without a calculator.

15 min

Why logs keep coming up

Logarithms turn multiplication into addition. Growth compounds multiplicatively, so anything about returns, doubling times, digit counts or large powers becomes a simple sum once you take logs. The goal of this lesson is to make that move automatic and to be able to evaluate the result in your head to two or three significant figures.

The rules

For positive a,ba, b and any base c>0c > 0, c≠1c \ne 1:

log⁡(ab)=log⁡a+log⁡b,log⁡ab=log⁡a−log⁡b,log⁡(ak)=klog⁡a,log⁡cx=ln⁡xln⁡c.\log(ab) = \log a + \log b, \qquad \log\frac{a}{b} = \log a - \log b, \qquad \log(a^k) = k\log a, \qquad \log_c x = \frac{\ln x}{\ln c} .

The inverse relations are eln⁡x=xe^{\ln x} = x and ln⁡(ex)=x\ln(e^x) = x, and ax=exln⁡aa^x = e^{x\ln a}, which is how you should think of any power with a non-integer exponent. Common errors: log⁡(a+b)\log(a + b) has no rule, and (log⁡a)2≠log⁡(a2)(\log a)^2 \ne \log(a^2).

Constants worth memorising

Natural logValueBase 10Value
ln⁡2\ln 20.69310.6931log⁡102\log_{10} 20.30100.3010
ln⁡3\ln 31.09861.0986log⁡103\log_{10} 30.47710.4771
ln⁡5\ln 51.60941.6094log⁡107\log_{10} 70.84510.8451
ln⁡10\ln 102.30262.3026ee2.71832.7183

Everything else is built from these plus the small-xx approximation ln⁡(1+x)≈x−x22\ln(1 + x) \approx x - \tfrac{x^2}{2} (derived in the next lesson). For example,

ln⁡7=12ln⁡49=12(ln⁡100−ln⁡2+ln⁡0.98)≈12(4.6052−0.6931−0.0202)=1.9459,\ln 7 = \tfrac12\ln 49 = \tfrac12\left(\ln 100 - \ln 2 + \ln 0.98\right) \approx \tfrac12(4.6052 - 0.6931 - 0.0202) = 1.9459,

which matches the true value to four decimal places. The trick is always the same: write the number as a product of known pieces and a factor close to 1.

Worked example

how big is 2^100?

How many digits does 21002^{100} have, and what are its leading digits?

Show solution

A positive integer NN has ⌊log⁡10N⌋+1\lfloor \log_{10} N \rfloor + 1 digits. Here

log⁡102100=100log⁡102=100×0.30103=30.103.\log_{10} 2^{100} = 100 \log_{10} 2 = 100 \times 0.30103 = 30.103 .

So 21002^{100} has 30+1=3130 + 1 = 31 digits. The fractional part gives the leading digits: 100.103≈1.2710^{0.103} \approx 1.27 because log⁡101.27≈0.104\log_{10} 1.27 \approx 0.104. So 2100≈1.27×10302^{100} \approx 1.27 \times 10^{30} (the exact value is 1.2677…×10301.2677\ldots \times 10^{30}).

Precision matters here: using log⁡102≈0.3\log_{10} 2 \approx 0.3 would give 103010^{30} and lose the leading digits entirely, because the error of 0.001030.00103 is multiplied by 100.

Compounding: discrete and continuous

Rate rr per year compounded mm times a year grows 1 to (1+r/m)mt(1 + r/m)^{mt} after tt years. As m→∞m \to \infty,

(1+rm)mt=emtln⁡(1+r/m)→ert,\left(1 + \frac{r}{m}\right)^{mt} = e^{mt\ln(1 + r/m)} \to e^{rt},

because mln⁡(1+r/m)→rm\ln(1 + r/m) \to r. Converting between conventions is just matching growth factors: an annually compounded rate RR corresponds to the continuous rate rc=ln⁡(1+R)r_c = \ln(1 + R), so 10% annual is ln⁡1.1=9.53%\ln 1.1 = 9.53\% continuous. A 12% rate compounded monthly gives 1.0112−1=12.68%1.01^{12} - 1 = 12.68\% effective per year.

Doubling times and the rule of 72

Doubling time solves (1+R)T=2(1 + R)^T = 2, so T=ln⁡2/ln⁡(1+R)T = \ln 2 / \ln(1 + R). With continuous compounding at rate rr it is exactly 0.693/r0.693/r, the rule of 70 (with RR in percent, T≈69.3/RT \approx 69.3/R). With annual compounding, ln⁡(1+R)≈R(1−R/2)\ln(1 + R) \approx R(1 - R/2), so

T≈0.693R(1+R2)=69.3R%+0.35.T \approx \frac{0.693}{R}\left(1 + \frac{R}{2}\right) = \frac{69.3}{R_\%} + 0.35 .

At R=8%R = 8\% that is 9.019.01, exactly what 72/872/8 gives. That is why 72 is the traditional numerator: it is accurate for typical annual rates and divides nicely.

Annual rateExact TT72/R72/R70/R70/R
2%35.036.035.0
6%11.9012.011.67
8%9.019.08.75
12%6.126.05.83

Log returns

The simple return is R=P1/P0−1R = P_1/P_0 - 1; the log return is r=ln⁡(P1/P0)=ln⁡(1+R)r = \ln(P_1/P_0) = \ln(1 + R). Log returns add over time: ln⁡(PT/P0)=∑trt\ln(P_T/P_0) = \sum_t r_t. Simple returns do not, which is why a gain of 50% followed by a loss of 50% leaves you at 1.5×0.5=0.751.5 \times 0.5 = 0.75, a 25% loss. In logs, ln⁡1.5+ln⁡0.5=ln⁡0.75=−0.288\ln 1.5 + \ln 0.5 = \ln 0.75 = -0.288.

Because ln⁡\ln is concave, the average log return is below the average simple return. For small returns, E[ln⁡(1+R)]≈μ−12σ2\mathbb{E}[\ln(1 + R)] \approx \mu - \tfrac12\sigma^2, where μ\mu and σ\sigma are the mean and volatility of RR (ignoring the tiny μ2\mu^2 term). This "volatility drag" is why the compound growth rate of a volatile asset is lower than its average return.

Worked example

one percent a day

Estimate 1.013651.01^{365} without a calculator.

Show solution

Take logs: 1.01365=e365ln⁡1.011.01^{365} = e^{365\ln 1.01}. With ln⁡(1.01)≈0.01−0.00005=0.00995\ln(1.01) \approx 0.01 - 0.00005 = 0.00995,

365×0.00995=3.632.365 \times 0.00995 = 3.632 .

Split the exponent into a known piece and a small piece: e3.632=e3⋅e0.632e^{3.632} = e^{3} \cdot e^{0.632}. We know e3≈20.09e^3 \approx 20.09. For e0.632e^{0.632}, note e0.693=2e^{0.693} = 2, so e0.632=2e−0.061≈2(1−0.061+0.0019)=1.882e^{0.632} = 2e^{-0.061} \approx 2(1 - 0.061 + 0.0019) = 1.882. Hence

1.01365≈20.09×1.882≈37.8.1.01^{365} \approx 20.09 \times 1.882 \approx 37.8 .

The exact value is 37.7837.78. Note that the naive answer e3.65≈38.5e^{3.65} \approx 38.5 (using ln⁡1.01≈0.01\ln 1.01 \approx 0.01) is already within 2%; the second-order correction makes it accurate to three figures.

Knowledge check

Which value is closest to ln⁡8\ln 8?

Knowledge check

How many digits does 5205^{20} have?

Knowledge check

A stock rises 20% and then falls 20%. What is its total log return, to three decimal places?

Knowledge check

Money grows at 3.5% a year, compounded continuously. How long does it take to double?

Key takeaways

  • Logs turn products and powers into sums; ax=exln⁡aa^x = e^{x\ln a}.
  • Memorise ln⁡2,ln⁡3,ln⁡5,ln⁡10\ln 2, \ln 3, \ln 5, \ln 10 and log⁡102,log⁡103,log⁡107\log_{10} 2, \log_{10} 3, \log_{10} 7; build everything else from them and a factor near 1.
  • NN has ⌊log⁡10N⌋+1\lfloor\log_{10} N\rfloor + 1 digits; the fractional part of log⁡10N\log_{10} N gives the leading digits.
  • Continuous compounding is the limit erte^{rt}; convert conventions by matching growth factors, rc=ln⁡(1+R)r_c = \ln(1 + R).
  • Doubling time is 69.3/R69.3/R for continuous rates and about 72/R72/R for annual rates near 8%.
  • Log returns add over time; average log return is roughly μ−12σ2\mu - \tfrac12\sigma^2.

Practice problems

Finished reading?

Answer the 4 knowledge checks to complete this lesson (0 done).