e as a limit, and why it is irrational
P83.irrationals.03 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: The real line: sequences, limits and completeness
Where next?
This module unlocks
P83.irrationals.03 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: The real line: sequences, limits and completeness
This module unlocks
The number e ≈ 2.71828 has already appeared once in this course, as the sum 1 + 1/1! + 1/2! + 1/3! + …, stated to be transcendental. The goal of this lesson is to see where e comes from and to prove what can be proved here: that two quite different recipes, one from compound interest and one from that sum, close in on the same number; that this number makes the curve y = eˣ climb at a slope of exactly 1, one unit up for each unit across, where it crosses x = 0; and that e is not a fraction. You need the previous lesson's limits of sequences and the completeness of the real numbers, and the factorials 1! = 1, 2! = 2, 3! = 6, 4! = 24 (and 0! = 1).
Put 1 coin in a bank that pays 100 % interest a year. Paid once, at the end of the year, you have 2. Paid twice, 50 % each half-year, the second payment earns interest on the first: 1.5 × 1.5 = (1 + 1/2)² = 2.25. Paid n times, each time 1/n of the balance, you end the year with (1 + 1/n)ⁿ.
| Payments a year, n | (1 + 1/n)ⁿ, to 6 decimals |
|---|---|
| 1 | 2 |
| 2 | 2.25 |
| 12 (monthly) | 2.613035 |
| 365 (daily) | 2.714567 |
| 1000 | 2.716924 |
| 1 000 000 | 2.718280 |
Paying more often always helps, but less and less: the balance seems to close in on a number near 2.71828. That number is Euler's number, written e:
e = the limit of (1 + 1/n)ⁿ as n grows without end.
The table only suggests a limit. Completeness turns the suggestion into a fact, once two things are shown: the sequence only goes up, and it stays below a fixed number.
Multiply out (1 + 1/n)ⁿ and it becomes a sum of n + 1 terms. For n = 3:
(1 + 1/3)³ = 1 + 1 + 1/3 + 1/27 = 64/27 ≈ 2.370370
In general the term number k (counting from 0) is
(1/k!) × (1 − 1/n) × (1 − 2/n) × … × (1 − (k − 1)/n)
For n = 3 and k = 2 that is (1/2) × (2/3) = 1/3, and for k = 3 it is (1/6) × (2/3) × (1/3) = 1/27: the terms above. (That general formula comes from multiplying out the n brackets of (1 + 1/n)ⁿ and counting how many ways each term can arise; it is stated here without proof.) Two facts follow from that shape.
(1 + 1/n)ⁿ ≤ 1 + 1 + 1/2! + 1/3! + … + 1/n! < 1 + 1 + 1/2 + 1/4 + 1/8 + …
An endless sum like that last one is a series, and its value is the limit of its partial sums, the sums of its first few terms. This one is a geometric series: each term is the one before multiplied by the same fraction r, here 1/2. For a geometric series with 0 < r < 1 there is a short way to find that value, the same cancelling trick as for repeating decimals:
S = 1 + r + r² + r³ + …
rS = r + r² + r³ + …
so S − rS = 1, and S = 1/(1 − r).
(The trick takes for granted that S exists. It does: the partial sums only go up, and the same subtraction on the first k terms shows that each one is (1 − rᵏ)/(1 − r), below 1/(1 − r).)
With r = 1/2, 1 + 1/2 + 1/4 + … = 2, so every (1 + 1/n)ⁿ is less than 1 + 2 = 3. A sequence that only goes up and stays below 3 has a limit, by completeness. That limit is e. Since (1 + 1/6)⁶ ≈ 2.52 is already more than 2.5, e lies between 2.5 and 3.
The same argument gives a second road. The sums
1, 1 + 1, 1 + 1 + 1/2!, 1 + 1 + 1/2! + 1/3!, …
are 1, 2, 2.5, 2.666667, 2.708333, 2.716667, 2.718056, …: they only go up, and the geometric series keeps each one below 3. So the series 1/0! + 1/1! + 1/2! + … converges too. It converges to the same number e.
Write sₙ for the sum 1/0! + 1/1! + … + 1/n!, and s for its limit. The first fact above is (1 + 1/n)ⁿ ≤ sₙ < s for every n, so the limit e is at most s.
For the other direction, fix any m and take n bigger than m. Keep only the first m + 1 terms of the expansion of (1 + 1/n)ⁿ: since the rest are positive,
(1 + 1/n)ⁿ ≥ 1 + 1 + (1/2!)(1 − 1/n) + … + (1/m!)(1 − 1/n)⋯(1 − (m − 1)/n)
Now let n grow: every bracket closes in on 1, so the right side closes in on sₘ, and the left side on e. So e ≥ sₘ for every m, and therefore e ≥ s. Both inequalities together say e = s.
The two roads close in at very different speeds. The series is within a thousandth of e after its term 1/6! (it reaches 2.718056, short by 0.000226). The compound-interest road needs n = 1359 to come that close: its error is about 1.36/n (e/(2n), a fact stated here without proof), so it shrinks only as fast as 1/n does. The first rung below has you find both numbers.
Powers of e make sense between the whole numbers too. Here the sign ^ means "to the power", so e^(1/n) is e to the power 1/n: the positive number whose n-th power is e. Draw the curve y = eˣ. It passes through (0, 1), since e⁰ = 1, and climbs.
How steeply does it climb at that point? The straight line from (0, 1) to a nearby point (h, eʰ) of the curve has a slope, its rise over its run: how far it climbs divided by how far it goes across, here (eʰ − 1)/h. As h shrinks, that line swings towards the line that just touches the curve at (0, 1), and its slope closes in on the slope of the curve there. The limit we already have pins that slope down to exactly 1.
So for h = 1/2, 1/3, 1/4, … the slope is squeezed:
1 < (eʰ − 1)/h < 1/(1 − h)
| h | slope (eʰ − 1)/h | 1/(1 − h) |
|---|---|---|
| 0.1 | 1.051709 | 1.111111 |
| 0.01 | 1.005017 | 1.010101 |
| 0.001 | 1.000500 | 1.001001 |
As h shrinks, 1/(1 − h) closes in on 1, and the slope, caught between 1 and 1/(1 − h), has nowhere else to go. (The squeeze is shown here for h = 1/2, 1/3, 1/4, …; that every small h between those values behaves the same, because the slope (eʰ − 1)/h only grows with h, is stated without proof.) No other base does this, also stated here without proof: it is the property that makes e the natural base for growth. The derivatives lesson of calculus (P85) relies on it to show that eˣ is its own slope everywhere, and Physics meets eˣ in every process whose rate is proportional to its amount, such as radioactive decay.
Write bₙ = (1 + 1/n)ⁿ⁺¹ = ((n + 1)/n)ⁿ⁺¹. Dividing one term by the next,
bₙ₋₁ ÷ bₙ = (1 + 1/(n² − 1))ⁿ × n/(n + 1)
Multiplying out (1 + x)ⁿ for a positive x gives 1 + nx plus more positive terms, so (1 + x)ⁿ ≥ 1 + nx. With x = 1/(n² − 1), and since n/(n² − 1) is more than 1/n,
bₙ₋₁ ÷ bₙ ≥ (1 + n/(n² − 1)) × n/(n + 1) > (1 + 1/n) × n/(n + 1) = 1
So each bₙ is smaller than the one before. And bₙ = (1 + 1/n)ⁿ × (1 + 1/n) closes in on e × 1 = e, so a sequence going down towards e stays above it.
The proof is short, and it uses the series. It is a proof by contradiction, like the one for √2, but the clash is a different one: a whole number that would have to lie strictly between 0 and 1. In it, x is the name of one number, not the x of the curve y = eˣ.
Suppose e = p/q, with p and q positive whole numbers.
Joseph Fourier gave this proof around 1815, long after Euler had shown that e is irrational in 1737. It proves less than Hermite's theorem from the transcendental-numbers lesson, which says e is the root of no polynomial with integer coefficients at all, but it fits in five steps, and every step can be checked with school algebra and one geometric series.
Loading the exercise...
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
A coding rung that races the two roads to e, then the steps of the proof that e is irrational to put in order, both in a little Python (Beginner Python teaches it).
Loading exercise…
Loading exercise…
Loading your notes...