This site is a work in progress. New lessons are added regularly. Contact us

The Natural Base e

Learning goals

  • Watch (1+1n)n\left(1 + \tfrac{1}{n}\right)^n climb toward a ceiling
  • Name that ceiling ee, an irrational number
  • Model continuous growth with A=PertA = Pe^{rt}
  • Define lnx\ln x as logex\log_e x, with every property carried over
  • Solve for time by taking ln\ln of both sides
  • Acknowledge the two facts algebra borrows from calculus

Compounding faster and faster

You already have the discrete compounding formula. An amount PP, growing at annual rate rr and compounded nn times a year for tt years, becomes

A=P(1+rn)nt.A = P\left(1 + \frac{r}{n}\right)^{nt}.

Strip it down to the simplest possible case so nothing distracts from the one question we care about. Take one dollar of principal, P=1P = 1; take an absurdly generous rate of 100%100\%, so r=1r = 1; and take one year, t=1t = 1. Everything collapses:

A=(1+1n)n.A = \left(1 + \frac{1}{n}\right)^{n}.

Only nn is left, the number of times a year the interest is added. Each extra compounding cuts the interest into smaller pieces but puts every piece to work sooner, so it should be worth something. The question is how much. Compute the balance for a few values of nn:

Compoundednn(1+1n)n\left(1 + \tfrac{1}{n}\right)^{n}
yearly112.0000002.000000
twice a year222.2500002.250000
quarterly442.4414062.441406
monthly12122.6130352.613035
daily3653652.7145672.714567
hourly8,7608{,}7602.7181272.718127
every second31,536,00031{,}536{,}0002.7182822.718282

Two things jump out. Every row does beat the row above it, so compounding more often really does pay more. But look at the size of the gain. Going from yearly to twice a year adds 0.250.25 dollars, a quarter on the dollar. Going from daily to hourly adds only 0.0035590.003559 dollars, about a third of a cent. Going from hourly to every single second adds 0.0001550.000155 dollars, under two hundredths of a cent, even though the number of compoundings grew by a factor of over three thousand. The column is not marching upward without end. It is pressing against a ceiling somewhere just past 2.7182.718.

The number the column is pressing against

Two facts decide the story.

The values increase. Every row of the table beats the row above it, and that continues for every nn, not just the seven values shown.

The values never reach 3. However large you make nn, the balance stays below 33 dollars.

A column of numbers that keeps rising and never gets past 33 cannot run off to infinity, and it cannot jump around. Such a column has to close in on one single value, and it has to approach that value from below. That value is the number we want.

Now be clear about what has and has not been shown, because this is the honest part. The table is evidence, not proof. The first fact is at least believable, since every piece of interest starts earning sooner when you compound more often, so finer compounding cannot pay less. The second fact is not obvious at all, and neither one is proved here, because neither can be proved with the algebra you have. Even the claim before this paragraph is a loan: that a rising, bounded column of numbers must close in on something is a theorem about the real numbers themselves. That theorem is the first serious result of a calculus course. We are borrowing all three, out in the open. What follows is the definition they earn us.

The number that (1+1n)n\left(1 + \frac{1}{n}\right)^{n} closes in on, as nn grows without end, is called ee:

e=2.718281828459045e = 2.718281828459045\ldots

Like π\pi, it is irrational: it is not a ratio of whole numbers, and its decimal expansion never ends and never repeats. So 2.718282.71828 is a rounding, not the number. (The block 18281828 appearing twice in a row is a coincidence that makes ee easy to memorize; the pattern breaks apart immediately afterward at 459045459045.) That ee is irrational was proved in the 1730s, and that proof, like the convergence itself, waits for calculus.

The punchline of the table is worth stating on its own: compounding more often does not pay unboundedly more. Split the year into a thousand pieces, or a billion, and your dollar still comes back as 2.718282.71828\ldots dollars. The infinitely greedy bank and the merely hourly bank owe you almost exactly the same money.

The values of (1 + 1/n)^n climbing toward eSix plotted points at heights 2.000000, 2.250000, 2.441406, 2.613035, 2.714567 and 2.718127, joined by a rising curve that flattens against a dashed horizontal line at e, about 2.71828.2.02.22.42.62.8e = 2.71828…124123658760n = compoundings per year
The first six rows of the table, plotted. The balance climbs steeply at first, then flattens against the dashed line at e. The six values of n are spaced evenly across the axis for readability, so the horizontal scale is not a linear one.

Check your understanding

A bank offers 100%100\% interest for one year on a deposit of 1 dollar, compounded every minute (that is n=525,600n = 525{,}600). The year-end balance is closest to which amount?

Answer choices

Where e enters the general formula

The table used a 100%100\% rate over one year because it made the algebra vanish. Real rates are not 100%100\%, so we have to put rr and tt back. The surprise is that no new constant appears: the same ee does all the work.

Compounding ever more finely turns P(1+rn)ntP\left(1 + \frac{r}{n}\right)^{nt} into PertPe^{rt}#

Start from the discrete formula, with PP, rr and tt fixed and nn free to grow:

A=P(1+rn)nt.A = P\left(1 + \frac{r}{n}\right)^{nt}.

The only expression we know anything about is (1+1m)m\left(1 + \frac{1}{m}\right)^{m}, whose distinguishing feature is that the same letter appears under the 11 and up in the exponent. So force the formula into that shape. Define

m=nr,so thatn=mr.m = \frac{n}{r}, \qquad \text{so that} \qquad n = mr.

Since rr is a fixed positive number, mm grows exactly when nn does, so letting the compounding get finer is the same as letting mm get large.

Substitute. The fraction inside the parentheses becomes

rn=rmr=1m,\frac{r}{n} = \frac{r}{mr} = \frac{1}{m},

and the exponent becomes nt=(mr)t=mrtnt = (mr)t = mrt. The formula is now

A=P(1+1m)mrt.A = P\left(1 + \frac{1}{m}\right)^{mrt}.

Read the power-of-a-power law (xm)rt=xmrt\left(x^{m}\right)^{rt} = x^{mrt} from right to left to split that exponent, which peels the rtrt away from the part we recognize:

A=P[(1+1m)m]rt.A = P\left[\left(1 + \frac{1}{m}\right)^{m}\right]^{rt}.

The bracket is the table’s expression, and as mm grows it closes in on ee. Since rr and tt are fixed, raising the bracket to the fixed power rtrt carries that behavior along with it, and the balance closes in on

A=Pert.A = Pe^{rt}.

One honest footnote. m=n/rm = n/r usually is not a whole number. So strictly speaking we have leaned on the fact that (1+1m)m\left(1 + \frac{1}{m}\right)^{m} closes in on ee as mm grows through any values, not just whole ones. That is true, and it is proved with the same calculus we borrowed a moment ago.

The formula A=PertA = Pe^{rt} is called continuous compounding, or, away from money, the continuous growth model. There is no nn in it at all: the interest is credited so often that the question “how often” has stopped mattering. Two notes on using it. The rate rr goes in as a decimal (6%6\% means r=0.06r = 0.06, never 66). Also, rr and tt must use the same unit of time, so a yearly rate demands tt in years.

When the quantity shrinks instead of grows, the same formula is written N=N0ektN = N_{0}e^{kt} with kk negative. Be precise about what that is. The proof above assumed r>0r > 0, since it divides by rr to build mm, so it does not derive the decay case at all. There, ekte^{kt} with k<0k < 0 is adopted as the model of a quantity that continuously loses a fixed fraction of itself, rather than derived from compounding. Every method in the rest of this lesson still applies to it unchanged.

Worked example 1 One dollar at 100%100\% for a year, compounded weekly

Weekly compounding means n=52n = 52, and the rate and time are the stripped-down ones from the table, so

A=(1+152)52.A = \left(1 + \frac{1}{52}\right)^{52}.

Evaluate the base first, then the power:

(1.019231)522.692597.\left(1.019231\right)^{52} \approx 2.692597.

The dollar becomes about 2.69262.6926 dollars. Notice where that lands: above the monthly row (2.6130352.613035) and below the daily row (2.7145672.714567), exactly as it must, since 12<52<36512 < 52 < 365 and the values increase with nn. A wrong answer here would show up instantly as a value outside that bracket, which makes the table a free error check.

Worked example 2 Quarterly against continuous on 2000 dollars

Invest 20002000 dollars for 88 years at an annual rate of 5%5\%. Compare quarterly compounding with continuous compounding.

Quarterly means n=4n = 4, so use the discrete formula with r=0.05r = 0.05 and t=8t = 8:

A=2000(1+0.054)48=2000(1.0125)322000(1.488131)=2976.26.A = 2000\left(1 + \frac{0.05}{4}\right)^{4 \cdot 8} = 2000(1.0125)^{32} \approx 2000(1.488131) = 2976.26.

Continuous compounding uses A=PertA = Pe^{rt} with the same rr and tt, and rt=0.058=0.4rt = 0.05 \cdot 8 = 0.4:

A=2000e0.42000(1.491825)=2983.65.A = 2000e^{0.4} \approx 2000(1.491825) = 2983.65.

The continuous account ends with 2983.652983.65 dollars against 2976.262976.26 dollars, a difference of 7.397.39 dollars over eight years. The gap is real, but small: continuous compounding is a ceiling, not a windfall.

The natural logarithm

Every exponential function has an inverse, and you already know what it is called: a logarithm. Apply that to base ee and you get the logarithm this chapter has been building toward.

For x>0x > 0, the natural logarithm of xx is the logarithm with base ee:

lnx=logex.\ln x = \log_{e} x.

It is read “ell en of xx”. Unpacking the definition of a logarithm at this base gives the statement you will use constantly, for x>0x > 0:

lnx=yexactly wheney=x.\ln x = y \quad \text{exactly when} \quad e^{y} = x.

Both directions hold, and both are just the definition of loge\log_e read aloud. If lnx=y\ln x = y, then yy is the exponent that turns ee into xx, so ey=xe^{y} = x. And if ey=xe^{y} = x, then yy is that same exponent, so lnx=y\ln x = y. Feeding one statement into the other gives the two undoing rules:

elnx=x    (x>0),ln(ex)=x    for every x.e^{\ln x} = x \;\; (x > 0), \qquad \ln\left(e^{x}\right) = x \;\; \text{for every } x.

Now the important structural point, and the reason this section is short: ln\ln is not a new kind of object. It is the same logarithm you met two lessons ago, with the base pinned at ee. Nothing about the properties depended on which base was used, so every one of them survives the substitution untouched. For positive xx and yy and any real kk:

ln(xy)=lnx+lny,ln ⁣(xy)=lnxlny,ln(xk)=klnx.\ln(xy) = \ln x + \ln y, \qquad \ln\!\left(\frac{x}{y}\right) = \ln x - \ln y, \qquad \ln\left(x^{k}\right) = k\ln x. ln1=0,lne=1,logbx=lnxlnb.\ln 1 = 0, \qquad \ln e = 1, \qquad \log_{b} x = \frac{\ln x}{\ln b}.

The third of those is the change-of-base rule with ln\ln as the common base. That rule holds for any valid base bb, meaning b>0b > 0 and b1b \neq 1, so that lnb\ln b is defined and is not zero. It is the reason a calculator needs only two logarithm keys to compute a logarithm in any base at all.

Why “natural”? For now, because it is the logarithm that the growth constant hands you. Any question about continuous growth reaches into the exponent of erte^{rt}, and ln\ln is the tool that reaches there. There is a deeper reason the name is deserved, and you will meet it in calculus.

Check your understanding

Which expression is equal to ln12\ln 12?

Answer choices

Worked example 3 How long does continuous growth take to double the money?

An account grows continuously at an annual rate of 4%4\%. How long until any deposit has doubled?

Doubling means the final amount is 2P2P, so set A=2PA = 2P in the continuous model with r=0.04r = 0.04:

Pe0.04t=2P.Pe^{0.04t} = 2P.

Divide both sides by PP, which is positive, so the answer will not depend on how much was deposited:

e0.04t=2.e^{0.04t} = 2.

The unknown sits in the exponent, which is precisely what a logarithm is for. Take ln\ln of both sides and use ln(ex)=x\ln\left(e^{x}\right) = x to strip the base away:

0.04t=ln20.693147.0.04t = \ln 2 \approx 0.693147.t=ln20.0417.33 years.t = \frac{\ln 2}{0.04} \approx 17.33 \text{ years}.

So the money doubles in about 17.3317.33 years, whether the deposit was 100100 dollars or 100100 million. Notice that ln\ln was the step that pulled tt out of the exponent, and that the base ee made it painless: no change-of-base was needed anywhere.

Worked example 4 Is 5%5\% continuous better than 5.1%5.1\% once a year?

Two banks compete. Bank A pays 5%5\% compounded continuously; bank B pays 5.1%5.1\% compounded once a year. Bank B advertises the bigger number. Which is actually better?

Compare what one dollar becomes after one year under each offer. For bank A, use A=PertA = Pe^{rt} with P=1P = 1, r=0.05r = 0.05 and t=1t = 1:

e0.051.051271.e^{0.05} \approx 1.051271.

For bank B, one compounding at 5.1%5.1\% simply multiplies by 1+0.0511 + 0.051:

(1+0.051)1=1.051.(1 + 0.051)^{1} = 1.051.

Bank A multiplies your money by 1.0512711.051271 and bank B by 1.0511.051, so bank A wins, though only just: about 2727 cents more per 10001000 dollars in the first year. Continuous compounding at 5%5\% behaves like an effective annual rate of about 5.13%5.13\%, which is what the advertised 5.1%5.1\% was competing against, and quietly losing to.

How big is the gap, really?

Continuous compounding sounds like a different world from the discrete kind. Put the two models side by side on the same money and see. Deposit 10001000 dollars for 1010 years at 6%6\%:

How the interest is compoundedFormulaBalance after 10 years
yearly1000(1.06)101000(1.06)^{10}1790.851790.85
monthly1000(1+0.0612)1201000\left(1 + \tfrac{0.06}{12}\right)^{120}1819.401819.40
daily1000(1+0.06365)36501000\left(1 + \tfrac{0.06}{365}\right)^{3650}1822.031822.03
continuously1000e0.61000e^{0.6}1822.121822.12

Daily compounding and continuous compounding differ by nine cents on a thousand dollars across a decade. The continuous figure is the ceiling: no compounding schedule, however fine, reaches it, and none exceeds it. That is exactly the statement the table at the top of this lesson made, now written with real numbers instead of a bare dollar. The reason to use erte^{rt} is not that it pays noticeably more. It is that erte^{rt} is a cleaner object to work with, since it has no nn in it. It is also that most real-world growth (populations, radioactive decay, cooling, charging capacitors) does not happen in scheduled jumps at all.

Check your understanding

A colony starts at 500500 cells and grows continuously at 8%8\% per hour. About how many cells are there after 33 hours?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (Optional)

The constant arrived long before anyone could say what it was. In 1683 Jacob Bernoulli, a Swiss mathematician, asked the greedy question that opens this lesson. Can a lender grow endlessly rich by compounding his interest more and more finely?

He proved that the answer is no. Whatever the bank agrees to, one unit lent for a year at full interest comes back as somewhere between two units and three. That is the ceiling your table is pressing against. It was fixed more than three centuries ago by a man who could put no name to it, and no decimal either. Nor did he connect it to logarithms, though their tables had been in print all his life.

Leonhard Euler is the one who turned a banking curiosity into an object. He wrote the letter ee for it in a manuscript of the late 1720s. He put it into print in 1736, and by 1748 he had computed it to eighteen decimal places.

Why that letter? Nobody knows. He was certainly not naming it after himself, whatever you may hear, because such vanity was foreign to him. The likelier answers are dull ones: the letter aa was already busy elsewhere in his notation, or ee simply stood for exponential.

Euler also proved, in the 1730s, that ee is irrational. That is the borrowed fact behind the warning in this lesson: 2.718282.71828 is a rounding, not the number. It is why your column of balances closes in forever without arriving.