Sign in

Libre University uses your GitHub account. Signing in is only needed to sit a final test, so the score is kept on your profile.

Limits, proved

Calculus rests on the statement that a sequence converges to a limit, and so far that statement has been written down, read as a game and negated, but never proved for a single sequence.

The previous lesson supplied what was missing: the completeness axiom, that every nonempty set of reals bounded above has a least upper bound, and from it the Archimedean property, that for every real x some natural number exceeds x. This lesson puts the whole course to work on one definition. It proves that particular sequences converge and that others do not, proves the general theorems that let limits be computed without returning to the definition every time, and reaches several theorems that are true in ℝ and false in ℚ, which is exactly what completeness buys. It ends by carrying the same ideas from sequences to functions, with the ε and δ definitions of limit and continuity that calculus is built on. Along the way it separates two activities that textbooks tend to blur: finding a proof and writing one.

The tools come from every earlier lesson: quantifiers for the definition, negation for divergence, the triangle inequality and its reverse form from the lesson on direct proof, contradiction for uniqueness, induction for recursive sequences, and the supremum for everything that needs completeness.

The definition, read closely

A sequence of real numbers is a function a:ℕ→ℝ, written a1,a2,a3,… or (an), with ℕ={1,2,3,…} as throughout the course. The sequence converges to the real number L when

∀ε>0∃N∈ℕ∀n≥N(|an−L|<ε)

and then we write an→L, or limn→∞an=L, and call L a limit of the sequence. A sequence that converges to some real number is convergent; one that converges to none is divergent.

The lesson on quantifiers read the definition as a game. A sceptic names a tolerance ε>0, as small as they like. A prover answers with a position N. The sceptic then picks any term from position N on, and the prover wins if that term lies within ε of L. The sequence converges to L when the prover has a winning answer to every tolerance.

Because ∃N comes after ∀ε, the position may depend on the tolerance, and for any interesting sequence it must: a smaller ε usually needs a later N. Because the last quantifier is ∀n≥N, it is not enough for one term to land close; every term from N on must, so the sequence stays close rather than visiting. The first N−1 terms are ignored completely, which is why changing, adding or deleting finitely many terms never changes whether a sequence converges, or to what.

There is a geometric reading too. The inequality |an−L|<ε says L−ε<an<L+ε: the term lies in the open interval of radius ε about L. So an→L says that every open interval around L, however narrow, contains all the terms from some point on, and only finitely many terms lie outside it. A phrase for "for all n from some point on" is eventually: an→L when, for every ε>0, eventually |an−L|<ε.

The quantifiers also dictate the shape of every convergence proof before any arithmetic is done. The universal ∀ε>0 is met by "Let ε>0", assuming nothing about it but positivity. The existential ∃N is met by naming an N, which may be built from ε but from nothing chosen later. The inner universal is met by "Let n≥N". What remains is to show |an−L|<ε using only those facts. An N that works may always be replaced by a larger one, so there is no need to find the smallest; the proof only has to find one.

The first limit: 1n→0

Theorem. The sequence an=1n converges to 0.

Proof. Let ε>0. By the Archimedean property there is a natural number N with N>1ε. Let n≥N. Then

|an−0|=1n≤1N<ε

where the first inequality holds because n≥N>0, and the second follows from N>1ε on multiplying both sides by the positive number εN. Since ε was arbitrary, 1n→0. □

For ε=0.01 the proof asks for N>100, and N=101 is the answer the lesson on quantifiers found by hand. The proof answers every tolerance at once, with a recipe rather than a table.

The one step that is not arithmetic is the existence of N, and it is not a formality. It is the Archimedean property, which the lesson on the real numbers derived from completeness, and which fails in ordered fields that contain infinitesimals: positive elements smaller than every 1n. In such a field the sceptic names an infinitesimal as ε and wins. The most basic limit in analysis is already a fact about the reals, not about algebra.

Why not simply define convergence as "the terms get closer and closer to L"?

Because that phrase is true of limits that are wrong. The terms of 1n get closer and closer to −1: each term is nearer to −1 than the one before, since 1n+1 decreases. They also get closer and closer to −5 and to −1000. "Closer and closer" says the distance decreases, not that it becomes small, and a decreasing distance can level off at any positive value.

A second attempt, "the terms get arbitrarily close to L", fails the other way. The sequence 0,1,0,1,0,1,… has terms arbitrarily close to 0 (in fact equal to it) infinitely often, and it should not converge to 0. What is missing is the word "eventually": every tolerance must be met not by some terms but by all terms from some point on. Each of the three quantifiers in the definition blocks a specific wrong answer, and removing any one of them lets one through.

The definition took a long time to reach this form. Newton and Leibniz worked with limits and infinitesimals without a definition that could settle disputes, and the criticism they drew was fair. Bernard Bolzano in 1817 and Augustin-Louis Cauchy in his Cours d'analyse of 1821 put limits at the centre and described them in terms of quantities that become and remain smaller than any given quantity, which is the idea of the modern definition in words. Karl Weierstrass, lecturing in Berlin from the late 1850s onwards, gave it the fully symbolic form with ε and its companions, in which "becomes and remains" is replaced by an explicit order of quantifiers. That form is the one used today, because it can be checked mechanically, which is what a definition is for.

How a proof is found, and how it is written

For most sequences the right N is not obvious, and the finished proof hides how it was found, because the work happens in two passes. The first is scratch work, done on the side and never handed in: start from the goal |an−L|<ε, simplify |an−L|, and work backwards to a condition on n that guarantees it. The second is the proof, which runs forwards: it starts from ε, names the N the scratch work found, and checks that it wins. This is the pattern the lesson on direct proof called working backwards and writing forwards.

Example. Prove that an=3n+1n+2 converges to 3.

Scratch work. Simplify the distance to the limit:

|an−3|=|3n+1−3(n+2)|n+2=5n+2

The goal 5n+2<ε holds exactly when n>5ε−2. That is the sharpest condition, but a cruder one is easier to write with: since 5n+2<5n, it is enough that 5n<ε, which holds once n>5ε. So take N>5ε.

Proof. Let ε>0. By the Archimedean property there is N∈ℕ with N>5ε. Let n≥N. Then

|an−3|=5n+2<5n≤5N<ε

so |an−3|<ε for every n≥N. Since ε was arbitrary, an→3. □

At ε=0.1 the proof asks for N>50, so N=51, while the sharp condition n>48 shows the smallest working position is 49. Both win, and the proof is shorter for not caring which. What the proof never contains is the backwards reasoning: "suppose |an−3|<ε, then..." would be assuming the conclusion, and a reader would rightly object.

The step that made the scratch work easy was replacing 5n+2 by the larger, simpler 5n. That is the central skill: to show a quantity is small, bound it above by something simpler that is visibly small. A fraction gets larger when its numerator is made larger or its denominator smaller (keeping it positive), so the usual moves are to drop negative terms from the numerator and positive terms from the denominator, or to replace a denominator by a fixed fraction of its leading term. For n2+12n3−n, for instance, n2+1≤2n2 and 2n3−n≥n3 for n≥1, so the expression is at most 2n2n3=2n.

Now you. Prove that an=4n−12n+3 converges to 2, showing the scratch work and the proof separately.

Answer

Scratch work. |an−2|=|4n−1−2(2n+3)|2n+3=72n+3, which is less than 72n. That is below ε once n>72ε.

Proof. Let ε>0. By the Archimedean property there is N∈ℕ with N>72ε. Let n≥N. Then |an−2|=72n+3<72n≤72N<ε. Since ε was arbitrary, an→2. □

A proof is written for a reader who does not trust its writer, and a few habits make it checkable. Name every quantity when it is introduced and say where it comes from: "let ε>0" makes it arbitrary, "there is N∈ℕ with N>5ε" makes it chosen, and a reader can then check that N depends on ε and on nothing chosen later. Justify each step by a definition or an earlier result, by name. Then read the finished proof back as the sceptic, hunting for the move that would lose the game. Writing "take N=5ε" loses it, because that is not a natural number for most ε, and the Archimedean property is what repairs it. Writing "let ε=1n" loses it too, because the sceptic chose ε first and n does not yet exist.

Proving that a sequence diverges

A sequence diverges when it converges to no real number at all. The lesson on quantifiers negated the definition: an fails to converge to L when

∃ε>0∀N∈ℕ∃n≥N(|an−L|≥ε)

The roles swap. Now the prover picks one tolerance, the sceptic picks any starting position, and the prover must find a term beyond it that misses. To prove divergence, this must be done for every candidate L, so the proof starts "Let L be any real number."

Example. Prove that an=(−1)n diverges.

Let L be any real number, and take ε=1. Let N∈ℕ. The terms at positions 2N and 2N+1 are both beyond N, and they are 1 and −1. If both were within 1 of L, the triangle inequality would give

2=|1−(−1)|≤|1−L|+|L−(−1)|<1+1=2

which is impossible. So one of the two positions gives an n≥N with |an−L|≥1. Since N was arbitrary, an does not converge to L, and since L was arbitrary, it converges to nothing. □

Problem 11 of the lesson on quantifiers proved this by splitting on the sign of L; the triangle inequality avoids the cases. The proof never says which of the two terms misses, only that one does, and an existential claim needs no more. The tolerance ε=1 is half the distance between the two values the sequence keeps returning to, and that is what makes it work: no open interval of radius 1 contains both 1 and −1. A tolerance of 2 would fail, since for L=0 every term lies within 2 of L.

Now you. Prove that an=n diverges.

Answer

Let L be any real number, and take ε=1. Let N∈ℕ. By the Archimedean property there is a natural number m>L+1; let n be the larger of N and m. Then n≥N and n>L+1, so |an−L|≥n−L>1. Since N and then L were arbitrary, an diverges. □

The sequence n diverges in a particular way: it grows beyond every bound. A sequence tends to infinity, written an→∞, when

∀M∈ℝ∃N∈ℕ∀n≥N(an>M)

The shape is the same as convergence, with "within ε of L" replaced by "above M", and the proofs have the same shape too. For an=n: let M be real, choose N∈ℕ with N>M2, and let n≥N; then n≥N>M2=|M|≥M, using that square roots preserve order on non-negative numbers. Tending to infinity is a kind of divergence, not a kind of convergence: ∞ is not a real number, and "liman=∞" is a shorthand for the displayed statement, not a limit in the sense of the definition. And not every divergent sequence tends to infinity, as (−1)n shows.

Uniqueness, and bounded sequences

Writing liman=L presumes a sequence has only one limit, and that needs proof.

Theorem. If an→L and an→M, then L=M.

Proof. Suppose not, so L≠M, and let ε=|L−M|2, which is positive. Since an→L there is N1 with |an−L|<ε for all n≥N1, and since an→M there is N2 with |an−M|<ε for all n≥N2. Let n be the larger of N1 and N2. By the triangle inequality,

|L−M|≤|L−an|+|an−M|<ε+ε=|L−M|

a contradiction. So L=M. □

The picture is two intervals of radius |L−M|2 around L and around M. They do not overlap, and a convergent sequence would have to be eventually inside both. Two features of the proof recur throughout the lesson. Each hypothesis "an→L" was used with a tolerance chosen by the prover, since a convergence hypothesis may be applied to any ε>0 we like. And the two guarantees, which start at different positions N1 and N2, were made to hold together by going past both.

A sequence is bounded when some real B has |an|≤B for every n; equivalently, the set of its terms is bounded above and below.

Theorem. Every convergent sequence is bounded.

Proof. Let an→L. The definition with ε=1 gives N with |an−L|<1 for all n≥N, and then, by the triangle inequality, |an|≤|an−L|+|L|<|L|+1 for n≥N. Only the finitely many terms before position N are left. Let B be the largest of the numbers |a1|,|a2|,…,|aN−1| and |L|+1. Then |an|≤B for every n. □

The finitely many early terms can be anything, and they are handled by taking a maximum, which a finite set always has. The contrapositive is a quick test for divergence: an unbounded sequence, such as n or (−2)n, cannot converge. The converse of the theorem fails, as the bounded divergent sequence (−1)n shows. Much of the rest of the lesson is about what can be added to "bounded" to rescue it.

The algebra of limits

Proving every limit from the definition would be exhausting. The theorems of this section let limits be computed from limits already known, and each is proved once, from the definition. The basic tool is the idea of spending the tolerance in parts.

Example. Prove that if an→L and bn→M, then an+bn→L+M.

Let ε>0. Then ε2>0, so, applying the definition to each sequence with tolerance ε2, there are N1 and N2 with |an−L|<ε2 for n≥N1 and |bn−M|<ε2 for n≥N2. Let N be the larger of N1 and N2, and let n≥N. Then

|(an+bn)−(L+M)|≤|an−L|+|bn−M|<ε2+ε2=ε

Since ε was arbitrary, an+bn→L+M. □

The total error is a sum of two errors, so each was given half the budget. Nothing is special about halves. A proof that ends with |(an+bn)−(L+M)|<2ε is also acceptable, once it is observed that 2ε is an arbitrary positive number as ε is; the ε2 version simply arranges in advance for the final line to read ε.

Now you. Prove that if an→L, then |an|→|L|. Is the converse true?

Answer

Let ε>0. There is N with |an−L|<ε for all n≥N. Let n≥N. By the reverse triangle inequality, ||an|−|L||≤|an−L|<ε. Since ε was arbitrary, |an|→|L|. □

The converse is false: |(−1)n|=1→1=|1|, but (−1)n does not converge to 1, or to anything. It does hold when L=0, since |an−0|=||an|−0|, so an→0 exactly when |an|→0.

Products need one more idea, because the error in anbn involves the sizes of the terms, not just their distances from the limits.

Theorem (the algebra of limits). Suppose an→L and bn→M, and let c be a real number. Then

(i) can→cL;

(ii) anbn→LM;

(iii) if M≠0, then bn≠0 for all n from some point on, and 1bn→1M;

(iv) if M≠0, then anbn→LM.

Proof. (i) If c=0 every term is 0 and the claim is clear. Otherwise let ε>0, and choose N with |an−L|<ε|c| for n≥N. Then |can−cL|=|c||an−L|<ε for n≥N.

(ii) The trick is to add and subtract a mixed term:

anbn−LM=an(bn−M)+M(an−L)

Convergent sequences are bounded, so there is B>0 with |an|≤B for every n. Let ε>0. Choose N1 with |bn−M|<ε2B for n≥N1, and N2 with |an−L|<ε2(|M|+1) for n≥N2. For n at least the larger of N1 and N2,

|anbn−LM|≤|an||bn−M|+|M||an−L|<B⋅ε2B+|M|⋅ε2(|M|+1)<ε2+ε2=ε

(The +1 in the second tolerance keeps the denominator positive when M=0.)

(iii) Since |bn|→|M| and |M|>0, the definition with tolerance |M|2 gives N1 with |bn|>|M|−|M|2=|M|2 for n≥N1; in particular bn≠0 there. Let ε>0, and choose N2 with |bn−M|<|M|2ε2 for n≥N2. For n at least the larger of N1 and N2,

|1bn−1M|=|M−bn||bn||M|<|M|2ε/2(|M|/2)|M|=ε

(iv) Write anbn=an⋅1bn and apply (ii) and (iii). □

Part (iii) contains the point everyone forgets: bn→M≠0 does not say bn≠0 for every n, and the sequence 1bn may not exist at the start. It exists eventually, and since early terms do not affect limits, that is enough. The lower bound |bn|>|M|2, keeping the terms away from 0, is what controls the denominator.

With these rules most limits reduce to 1n→0 and constants. Take an=2n2−n+35n2+4. Dividing top and bottom by n2 gives

an=2−1n+3⋅1n⋅1n5+4⋅1n⋅1n

The numerator tends to 2−0+3⋅0⋅0=2 by the rules for sums, constant multiples and products, and the denominator to 5≠0, so an→25 by the rule for quotients. Each step cites a theorem, and the theorems were proved from the definition, so this is a proof.

The hypotheses matter. The rules say that if the parts converge, the combination converges to the combination of the limits. They say nothing when the parts diverge: an=n and bn=−n both diverge while an+bn=0 converges, and (−1)n⋅(−1)n=1 converges although neither factor does. Writing "lim(an+bn)=liman+limbn" before knowing that the limits on the right exist is the commonest misuse. And the quotient rule needs M≠0: the quotient of 1n by 1n2 is n, which diverges, though both parts tend to 0.

Limits also respect weak inequalities.

Theorem (limits preserve order). If an→L, bn→M and an≤bn for every n, then L≤M.

Proof. By the algebra of limits, bn−an→M−L. Suppose, for contradiction, that M−L<0, and take ε=L−M>0. For n large enough, |(bn−an)−(M−L)|<L−M, which gives bn−an<(M−L)+(L−M)=0, contradicting an≤bn. □

Strict inequalities are not preserved: 1n>0 for every n, and the limit is 0, not something positive. This is the same pitfall as for suprema in the previous lesson, and for the same reason.

The squeeze theorem

Some sequences are too awkward to handle directly but can be trapped between two simpler ones.

Theorem (the squeeze theorem). Suppose that an≤bn≤cn for every n≥N0, and that an→L and cn→L. Then bn→L.

Proof. Let ε>0. There are N1 with |an−L|<ε for n≥N1, and N2 with |cn−L|<ε for n≥N2. Let N be the largest of N0, N1, N2, and let n≥N. Then

L−ε<an≤bn≤cn<L+ε

so |bn−L|<ε. Since ε was arbitrary, bn→L. □

Both outer sequences must tend to the same limit. Knowing 0≤bn≤1 says nothing about whether bn converges. The commonest use has an=0 or an=−cn: if |bn−L|≤cn and cn→0, then bn→L.

Example. Prove that rn→0 for every real r with |r|<1.

If r=0 every term is 0. Suppose first that 0<r<1. Then 1r>1, so 1r=1+h for some h>0. By Bernoulli's inequality, proved in the lesson on induction, (1+h)n≥1+nh>nh for every n∈ℕ. Taking reciprocals of positive numbers reverses the inequality, so

0<rn=1(1+h)n<1nh=1h⋅1n

The right-hand side tends to 1h⋅0=0 by the rule for constant multiples, and the left-hand side is the constant 0. By the squeeze theorem, rn→0.

For general r with 0<|r|<1, the first case gives |rn|=|r|n→0, and a sequence tends to 0 exactly when its absolute values do. So rn→0.

The proof turned an unknown, rn, into a known, 1n, at the cost of a constant, and that is the typical shape. For r=0.9, h=19, and the bound says 0.9n<9n; at n=100 it gives 0.9100<0.09, while the truth is about 0.0000266. The bound is crude, and crude bounds are enough. For |r|≥1 the sequence rn does not tend to 0: its terms have |rn|≥1.

Now you. Prove that n2n→0. (First show by induction that 2n≥n2 for n≥4.)

Answer

The inequality. For n=4, 24=16=42. Suppose 2n≥n2 for some n≥4. Then 2n+1=2⋅2n≥2n2, and 2n2≥(n+1)2 because 2n2−(n+1)2=n2−2n−1=(n−1)2−2≥9−2>0 for n≥4. So 2n+1≥(n+1)2, and by induction 2n≥n2 for all n≥4.

The limit. For n≥4, 0<n2n≤nn2=1n. Since 0→0 and 1n→0, the squeeze theorem (with N0=4) gives n2n→0. □

Monotone sequences and what completeness buys

A sequence is increasing when an≤an+1 for every n, and decreasing when an≥an+1 for every n; it is monotone if it is one or the other. By induction, an increasing sequence has an≤am whenever n≤m. Boundedness alone did not force convergence, but boundedness with monotonicity does, and this is the first theorem of the lesson that needs completeness.

Theorem (monotone convergence). A bounded increasing sequence of reals converges to the supremum of its terms. A bounded decreasing sequence converges to the infimum of its terms.

Proof. Let (an) be increasing and bounded. The set A={an:n∈ℕ} is nonempty and bounded above, so by the completeness axiom it has a supremum s. Let ε>0. Since s−ε<s, it is not an upper bound of A (the characterisation of the supremum), so some term has aN>s−ε. Let n≥N. Then

s−ε<aN≤an≤s

the middle step because the sequence increases and the last because s is an upper bound. So |an−s|<ε, and an→s.

If (an) is decreasing and bounded, then (−an) is increasing and bounded, so −an→sup{−an}=−inf{an}, and by the rule for constant multiples an→inf{an}. □

In ℚ the theorem is false. The decimal truncations of 2, namely 1,1.4,1.41,1.414,1.4142,…, are rational, increasing and bounded above by 2. In ℝ the nth truncation is within 10−(n−1) of 2, and 10−(n−1)≤1n, so by the squeeze theorem they converge to 2. If they also converged to some rational q (a real tolerance can always be shrunk to a rational one, so the definition means the same in either setting), uniqueness would force q=2, which is irrational. So the sequence has no limit in ℚ. The proof breaks at its first line, where a supremum is needed and the rationals do not supply one. This is the theorem Dedekind could not prove in 1858, and the reason he went looking for a definition of the real numbers.

The theorem proves that a limit exists without saying what it is. For sequences defined by a rule that produces each term from the previous one, the value can often be found afterwards.

Example. Let a1=2 and an+1=12(an+2an). Prove that an→2.

The first terms are 2, 32, 1712, 577408, and 577408≈1.4142157 already agrees with 2≈1.4142136 to five decimal places. The plan is to show the sequence is decreasing and bounded below, conclude that it converges, and then identify the limit.

Positivity. By induction, every an>0: a1=2, and if an>0 then an+1 is half a sum of two positive numbers.

Squares at least 2. For every n, writing an+1=an2+22an,

an+12−2=(an2+2)2−8an24an2=(an2−2)24an2≥0

and a12=4≥2. Since an>0, this gives an≥2 for every n.

Decreasing. an−an+1=an−an2+22an=an2−22an≥0.

Convergence. The sequence is decreasing and bounded below by 2, so by the monotone convergence theorem it converges to some L, and L≥2 because limits preserve order. In particular L≠0.

The limit. The shifted sequence bn=an+1 also converges to L: given ε, the N that works for (an) works for (bn), since n≥N gives n+1≥N. On the other hand, by the algebra of limits, an+1=an2+22an→L2+22L, using 2L≠0. By uniqueness of limits, L=L2+22L, so 2L2=L2+2 and L2=2. As L>0, L=2. □

This is Newton's method applied to x2−2=0, and the rule is older than Newton: it is the Babylonian method for square roots. Notice that every term is rational, so in ℚ the sequence is decreasing, bounded below, and has no limit. Every step of the proof works in ℚ except the one that invoked monotone convergence.

The order of the steps matters. Solving L=f(L) only identifies the limit once convergence is known. With a1=1 and an+1=2an, the same manipulation gives L=2L, so "L=0", but the sequence is 2n−1, which tends to infinity. The equation found the only possible limit; it did not show there is one.

Why does this sequence close in on 2 so quickly?

Because the error squares at every step. Write en=an−2≥0. Then

an+1−2=an2+2−22an2an=(an−2)22an

so en+1=en22an≤en222<en22. Once the error is below 10−k, the next error is below 12⋅10−2k: the number of correct decimal places roughly doubles with each step. From e3=1712−2≈0.0025 it gives e4<0.0000032, and indeed e4≈0.0000021; the next term, 665857470832, is correct to eleven decimal places.

This is called quadratic convergence, and it is why Newton's method is used inside calculators and computer libraries to compute square roots. Compare the decimal truncations, where each step adds one correct digit, or bisection, where each step adds about a third of a digit (one binary digit). All three sequences converge to 2, and the definition of convergence does not distinguish them; speed is a separate question, and numerical analysis is largely about it.

Now you. Let a1=0 and an+1=an2+12. Prove that (an) converges and find its limit.

Answer

Increasing. an+1−an=an2−2an+12=(an−1)22≥0.

Bounded. By induction, 0≤an≤1 for every n: a1=0, and if 0≤an≤1 then 0≤an2≤1, so 12≤an+1≤1.

Limit. By monotone convergence, an→L for some L. The shifted sequence an+1 also tends to L, and by the algebra of limits an+1=an2+12→L2+12. By uniqueness, L=L2+12, so (L−1)2=0 and L=1.

The first terms are 0, 0.5, 0.625, 0.6953, 0.7417, and the convergence is slow: the error shrinks roughly like 2n.

Subsequences and the theorem of Bolzano and Weierstrass

A bounded sequence need not converge, but it cannot avoid converging entirely: part of it always does. To say which part, pick out infinitely many of its terms in order. If n1<n2<n3<⋯ are natural numbers, the sequence an1,an2,an3,… is a subsequence of (an), and its kth term is ank. The even-numbered terms a2,a4,a6,… form a subsequence with nk=2k; so do the terms at prime positions. The terms must be taken in their original order and without repetition, so a2,a1,a3,… and a1,a1,a2,… are not subsequences.

Since n1≥1 and each nk+1≥nk+1, induction gives nk≥k for every k: the kth term of a subsequence sits at position k or later in the original sequence.

Theorem. If an→L, then every subsequence of (an) also converges to L.

Proof. Let (ank) be a subsequence and let ε>0. There is N with |an−L|<ε for all n≥N. Let k≥N. Then nk≥k≥N, so |ank−L|<ε. □

The contrapositive is the most efficient divergence test there is: a sequence with two subsequences converging to different limits, or with one divergent subsequence, diverges. For (−1)n, the even-numbered terms are all 1 and the odd-numbered terms all −1, so the sequence diverges, in one line. The same test disposes of an=(−1)nnn+1: the even terms 2k2k+1 tend to 1 and the odd terms tend to −1.

The positive result needs one lemma, which has nothing to do with limits.

Lemma. Every sequence of real numbers has a monotone subsequence.

Proof. Call a position m a peak if am≥an for every n>m: the term at m is at least as large as every later term.

Suppose there are infinitely many peaks, at positions m1<m2<m3<⋯. Each mk+1 comes after the peak mk, so amk≥amk+1, and (amk) is a decreasing subsequence.

Suppose instead there are finitely many peaks (perhaps none). Choose a position n1 after all of them. Since n1 is not a peak, some later position n2>n1 has an2>an1. Since n2 is also after every peak, it is not a peak, so some n3>n2 has an3>an2. Continuing in this way (formally, by a recursive definition) gives positions n1<n2<n3<⋯ with (ank) increasing. □

Theorem (Bolzano and Weierstrass). Every bounded sequence of real numbers has a convergent subsequence.

Proof. By the lemma, a bounded sequence has a monotone subsequence. The subsequence is bounded, since its terms are among those of the original, so by the monotone convergence theorem it converges. □

Bolzano used the idea in 1817, and Weierstrass made it a cornerstone of his Berlin lectures half a century later, hence the double name. The theorem is again a fact about ℝ and not about ℚ: the bounded sequence of decimal truncations of 2 has no subsequence converging to a rational, since every subsequence converges in ℝ to 2. It is the tool analysis uses whenever something must be found and no formula is available. A continuous function on a closed interval [a,b] attains a greatest value, for instance, because a sequence of points at which the values approach their least upper bound has, by this theorem, a subsequence of points converging to some point of [a,b], and continuity makes the value there the maximum (the same theorem first shows that the values are bounded, so that the least upper bound exists). The Calculus lesson on continuity states this extreme value theorem and builds on it.

Can a sequence be shown to converge without knowing its limit?

Yes, by looking only at how its terms relate to each other. A sequence is a Cauchy sequence if

∀ε>0∃N∈ℕ∀m,n≥N(|am−an|<ε)

that is, its terms eventually all lie within ε of each other. No limit appears in the definition.

Every convergent sequence is Cauchy. If an→L, choose N with |an−L|<ε2 for n≥N; then for m,n≥N, |am−an|≤|am−L|+|L−an|<ε.

In ℝ the converse holds, and its proof uses everything in this section. Let (an) be Cauchy. It is bounded: with ε=1, every term from position N on lies within 1 of aN, and finitely many earlier terms are bounded by their maximum. By Bolzano and Weierstrass, some subsequence ank converges to a limit L. Now let ε>0. Choose N with |am−an|<ε2 for m,n≥N, and then choose k≥N with |ank−L|<ε2 (possible since the subsequence converges and the positions k can be taken as large as we like). For n≥N, as nk≥k≥N,

|an−L|≤|an−ank|+|ank−L|<ε2+ε2=ε

So a sequence of reals converges exactly when it is Cauchy. This is the Cauchy criterion, and it is how most convergence proofs in analysis go, because most limits worth studying, such as the sums of infinite series, have no closed form to guess.

In ℚ the criterion fails: the Newton sequence for 2 is Cauchy (it converges in ℝ, so it is Cauchy in ℝ, and the condition mentions only its rational terms) but has no rational limit. This is the gap Cantor's construction of the reals fills: a real number is a Cauchy sequence of rationals, with two sequences identified when their difference tends to 0. In the language of the previous lesson, "every Cauchy sequence converges" is yet another equivalent form of completeness, for Archimedean ordered fields.

Limits of functions and continuity

The same game can be played with a function instead of a sequence. Where a sequence is watched as n grows, a function is watched as x approaches a point a, and the position N is replaced by a distance δ.

Let f be a real function whose domain D contains every x with 0<|x−a|<r, for some r>0: the function is defined near a, though perhaps not at a itself. Then f(x) tends to L as x tends to a, written limx→af(x)=L or f(x)→L as x→a, when

∀ε>0∃δ>0∀x∈D(0<|x−a|<δ⇒|f(x)−L|<ε)

The sceptic names a tolerance ε on the output. The prover answers with a tolerance δ on the input. The sceptic picks any x in the domain within δ of a other than a itself, and the prover wins if f(x) is within ε of L. As before, δ may depend on ε, a working δ may be replaced by any smaller positive one, and a proof has the shape: let ε>0; choose δ; let x satisfy 0<|x−a|<δ; show |f(x)−L|<ε.

Why does the definition exclude x=a?

Because the limit is meant to describe what f does near a, not at a, and the most important limits in calculus concern functions that are not defined at the point at all. The derivative of x2 at 3 is the limit as x→3 of x2−9x−3, a quotient that is 00, and so undefined, at x=3. For x≠3 it equals x+3, and the limit is 6. A definition that tested x=3 could not even be applied.

Excluding a also makes the value there irrelevant when it does exist. The function equal to x2 for x≠2 and to 100 at x=2 has limx→2f(x)=4, exactly as x2 does; the one wrong value is simply not examined. Whether the limit agrees with the value is a separate question, and it is precisely the question of continuity, which is defined next with the condition 0<|x−a| dropped.

The Calculus lesson on limits takes this definition as its starting point and uses it for exactly these difference quotients, where the whole content of differentiation lives.

The central technique is new. In a sequence proof, the distance |an−L| was bounded by something depending on n alone. Here |f(x)−L| usually factors as |x−a| times something else, and the something else must be kept under control by first insisting that x stay reasonably near a.

Example. Prove that limx→2x2=4.

Scratch work. |x2−4|=|x−2||x+2|. The first factor is what δ controls. The second is not small, but it is bounded if x stays near 2: if |x−2|<1, then 1<x<3, so |x+2|<5. Then |x2−4|<5|x−2|, which is below ε once |x−2|<ε5. Both restrictions are wanted, so take δ to be the smaller of 1 and ε5.

Proof. Let ε>0, and let δ be the smaller of 1 and ε5, so δ>0. Let x satisfy 0<|x−2|<δ. Since |x−2|<1, we have 1<x<3, so 0<x+2<5. Since |x−2|<ε5,

|x2−4|=|x−2||x+2|<ε5⋅5=ε

Since ε was arbitrary, limx→2x2=4. □

The first restriction, δ≤1, is arbitrary: δ≤12 would bound |x+2| by 4.5 and work as well. What matters is that some fixed restriction comes first, so that the bound on the other factor does not depend on δ itself. Choosing "δ=ε|x+2|" is the classic error: δ must be chosen before x, so it cannot depend on x.

Now you. Prove that limx→3(x2−x)=6.

Answer

Scratch work. x2−x−6=(x−3)(x+2). If |x−3|<1, then 2<x<4, so |x+2|<6. So take δ to be the smaller of 1 and ε6.

Proof. Let ε>0, and let δ be the smaller of 1 and ε6. Let 0<|x−3|<δ. Then 2<x<4, so 0<x+2<6, and

|(x2−x)−6|=|x−3||x+2|<ε6⋅6=ε

Since ε was arbitrary, the limit is 6. □

A function f with domain D is continuous at a point a∈D when

∀ε>0∃δ>0∀x∈D(|x−a|<δ⇒|f(x)−f(a)|<ε)

and continuous when it is continuous at every point of its domain. The condition 0<|x−a| has gone, since at x=a the inequality holds automatically, and the limit L has become the value f(a). So when f is defined near a, continuity at a says exactly that limx→af(x)=f(a): the function's value is what its nearby values predict. The Example shows that x2 is continuous at 2.

Proving continuity function by function would be as tiring as proving limits sequence by sequence. The link between the two kinds of limit makes the algebra of limits available.

Theorem (sequential continuity). If f is continuous at a, and (xn) is a sequence in the domain with xn→a, then f(xn)→f(a).

Proof. Let ε>0. By continuity there is δ>0 such that |f(x)−f(a)|<ε whenever x is in the domain and |x−a|<δ. Since xn→a, applying the definition of convergence with tolerance δ, there is N with |xn−a|<δ for all n≥N. For such n, |f(xn)−f(a)|<ε. So f(xn)→f(a). □

The converse is true as well, and the problem sheet proves it: if f(xn)→f(a) for every sequence xn→a in the domain, then f is continuous at a. With both directions, continuity becomes a statement about sequences, and the algebra of limits transfers. If f and g are continuous at a and xn→a, then f(xn)→f(a) and g(xn)→g(a), so f(xn)+g(xn)→f(a)+g(a), and the same for products, and for quotients when g(a)≠0. So sums, products and quotients of continuous functions are continuous. The constant functions and x itself are plainly continuous (take δ=ε for x), so every polynomial is continuous everywhere, and every rational function wherever its denominator is not zero.

Here are two functions that are not continuous, and how to prove it. The negation of continuity at a reads: there is ε>0 such that for every δ>0 some x in the domain has |x−a|<δ and |f(x)−f(a)|≥ε.

A jump. Let H(x)=0 for x<0 and H(x)=1 for x≥0, the step function of Problem 12 of the lesson on quantifiers. Take ε=12. For any δ>0, the point x=−δ2 has |x−0|<δ and |H(x)−H(0)|=|0−1|=1≥12. So H is not continuous at 0. The sequential form says the same more briefly: −1n→0, but H(−1n)=0 does not tend to H(0)=1. At every other point H is continuous, since it is constant on an interval around the point.

Discontinuous everywhere. Let g(x)=1 if x is rational and g(x)=0 if x is irrational, a function Dirichlet described in 1829. Let a be any real number and take ε=12. For any δ>0, the interval (a−δ,a+δ) contains a rational q and an irrational s, by the density theorems of the previous lesson. Since g(q)=1 and g(s)=0 differ by 1, at least one of them differs from g(a) by at least 12 (if both were within 12 of g(a), the triangle inequality would put them within 1 of each other, strictly). So g is continuous nowhere. No picture of a graph could show this; only the definition can.

What is continuity good for?

For theorems that say something exists. The first is the intermediate value theorem: if f is continuous on [a,b] and f(a)<0<f(b), then f(c)=0 for some c in [a,b]. Here is a proof from completeness.

Let S={x∈[a,b]:f(x)<0}. It contains a and is bounded above by b, so it has a supremum c, and a≤c≤b. We show f(c)=0 by ruling out the other two cases.

Suppose f(c)<0. Then c≠b, since f(b)>0. By continuity at c with ε=−f(c)>0, there is δ>0 with f(x)<f(c)+ε=0 for every x in [a,b] with |x−c|<δ. Some such x is larger than c: take the smaller of c+δ2 and b. It lies in S and exceeds c, contradicting that c is an upper bound of S.

Suppose f(c)>0. Then c≠a, since f(a)<0. By continuity with ε=f(c), there is δ>0 with f(x)>f(c)−ε=0 for every x in [a,b] with |x−c|<δ. So no point of (c−δ,c] lies in S, and every element of S, being at most c, is at most c−δ. Then c−δ is an upper bound of S smaller than c, contradicting that c is the least.

So f(c)=0. The theorem fails over ℚ: the function x2−2 is continuous on the rationals in [0,2], negative at 0 and positive at 2, and never zero at a rational. The proof broke where it took a supremum, as monotone convergence did. So completeness is what makes the graph of a continuous function unable to cross the axis without meeting it, the property that the word "continuous" was chosen to describe.

The second existence theorem is the extreme value theorem mentioned above, whose proof runs through Bolzano and Weierstrass. Between them, these two carry most of the weight in a first course in calculus: the mean value theorem, and through it everything a derivative says about a function, rests on them.

What has been built

The course began with patterns that held for forty cases, or for every number below 906150257, and then failed, and it has built the means to settle such claims instead. Statements and quantifiers say exactly what is claimed and what its negation claims. Direct proof, cases, the contrapositive, contradiction and induction establish it. Sets, functions and relations are the language the claims are written in, bijections measure infinite sets, and completeness says what the real numbers are. This lesson needed nearly all of it: quantifiers for the definition, negation for divergence, the triangle inequality for uniqueness and the algebra of limits, induction for recursive sequences, contradiction for order and uniqueness, density for the Dirichlet function, and the supremum for monotone convergence, for Bolzano and Weierstrass, and for the intermediate value theorem.

A first course in real analysis continues directly from here, with the same ε arguments applied to series, derivatives and integrals. Calculus uses these limits as its foundation: its limit laws are the algebra of limits for functions, and its existence theorems are the ones sketched above. Calculus II carries the definitions into several variables, where the lesson on limits and continuity replaces |x−a| by the distance between points in the plane and finds that a limit can depend on the direction of approach. Each of these assumes a reader who can take a definition, say exactly what it claims, and prove things from it, which is what this course set out to make.

Problems

Work each problem on paper before opening anything; for Core and Challenge problems, try the hint before the solution. Results proved in the lesson (the algebra of limits, the squeeze theorem, monotone convergence) may be quoted.

Warm-up

1. (a) Prove from the definition that 5n→0. (b) For an=1n2, find the smallest N such that |an|<0.001 for every n≥N.

Solution

(a) Scratch work: 5n<ε exactly when n>5ε, that is, n>25ε2.

Proof. Let ε>0. By the Archimedean property there is N∈ℕ with N>25ε2. Let n≥N. Then n>25ε2, and since square roots preserve order on positive numbers, n>5ε, so |5n−0|=5n<ε. Since ε was arbitrary, 5n→0.

(b) 1n2<0.001 exactly when n2>1000. Since 312=961 and 322=1024, this holds exactly when n≥32. The terms decrease, so every n≥32 works, and n=31 does not. The smallest N is 32.

2. Prove from the definition that an=1+1n does not converge to 0.

Solution

The negation of an→0 requires one ε>0 such that every N is followed by some n≥N with |an−0|≥ε. Take ε=1. Let N∈ℕ and take n=N. Then |an−0|=1+1n>1, so |an|≥1. Since N was arbitrary, an does not converge to 0.

In fact every term misses by more than 1. By the algebra of limits the sequence converges to 1+0=1, and uniqueness gives the result again.

3. Find each limit, justifying every step by a result from the lesson. (a) limn3−2n4n3+n2+1. (b) lim3n+(−1)nn+1.

Solution

(a) Divide top and bottom by n3: the nth term is 1−2⋅1n⋅1n4+1n+1n⋅1n⋅1n. Since 1n→0, the rules for products, constant multiples and sums give numerator →1 and denominator →4≠0, and the rule for quotients gives the limit 14.

(b) Divide by n: the term is 3+(−1)nn1+1n. Now −1n≤(−1)nn≤1n, and both outer sequences tend to 0, so (−1)nn→0 by the squeeze theorem. So the numerator tends to 3 and the denominator to 1, and the limit is 3. The divergent sequence (−1)n appears in the formula, but only inside a combination that converges, so the algebra of limits was applied to (−1)nn, never to (−1)n itself.

4. Prove from the definition that f(x)=3x−1 is continuous at every real a. For a=2 and ε=0.3, what is the largest δ that works?

Solution

Let a be real and ε>0, and let δ=ε3. If |x−a|<δ, then |f(x)−f(a)|=|3x−3a|=3|x−a|<3δ=ε. So f is continuous at a, and a was arbitrary.

For ε=0.3, δ=0.1 works. No larger δ does: if δ>0.1, some x with 0.1<|x−2|<δ exists, for instance x=2+0.1+δ2, and then |f(x)−f(2)|=3|x−2|>0.3. So the largest is δ=0.1.

Core

5. Let an≥0 for every n, and an→L. Prove that L≥0 and that an→L.

Hint

For L>0, multiply and divide an−L by an+L. For L=0, work from the definition directly.

Solution

Since 0≤an for every n and limits preserve order, 0≤L.

Case L>0. For every n,

|an−L|=|an−L|an+L≤|an−L|L

since an≥0. Let ε>0, and choose N with |an−L|<Lε for n≥N. Then |an−L|<ε for n≥N.

Case L=0. Let ε>0, and choose N with |an|<ε2 for n≥N. Then 0≤an<ε2, and since square roots preserve order on non-negative numbers, an<ε for n≥N. So an→0.

The first case fails for L=0 because the bound divides by L; the second case repairs it with a different choice of tolerance. Continuity of the square root function follows, by the converse of sequential continuity (Problem 9).

6. Find the flaw in this proof, show that the claim is false, and say which extra hypothesis would make the argument correct.

Claim. Every bounded sequence of real numbers converges.

Proof. Let (an) be bounded. The set of its terms is nonempty and bounded above, so it has a supremum s. Let ε>0. Since s−ε is not an upper bound, some term has aN>s−ε. For n≥N we then have s−ε<aN≤an≤s, so |an−s|<ε. Hence an→s.

Hint

Compare the argument line by line with the proof of the monotone convergence theorem, and test it on (−1)n.

Solution

The flaw is the step aN≤an for n≥N. Nothing in the hypotheses says later terms are at least as large as earlier ones; that is exactly the statement that the sequence is increasing, and it was never assumed.

The claim is false: (−1)n is bounded, since |(−1)n|=1, and the lesson proved it diverges. Following the argument on it: s=1, and for ε=1 the term a2=1 exceeds s−ε=0, but the later term a3=−1 is not at least a2, and |a3−s|=2.

With the extra hypothesis that (an) is increasing, the argument is correct word for word: it is the proof of the monotone convergence theorem. Without monotonicity, the correct conclusion from boundedness is weaker: by Bolzano and Weierstrass, some subsequence converges.

7. Prove or disprove each claim, for sequences of real numbers. (a) If an→L, then an2→L2. (b) If an2→L2, then an→L. (c) If an→L and (bn) diverges, then (an+bn) diverges. (d) If (an) and (bn) both diverge, then (anbn) diverges. (e) If an→0 and (bn) is bounded, then anbn→0.

Hint

Two are false, and (−1)n disproves both. For (c), argue by contradiction with the algebra of limits. For (e), the algebra of limits does not apply, because (bn) need not converge; go back to the definition.

Solution

(a) True, by the rule for products applied with bn=an.

(b) False. Let an=(−1)n and L=1. Then an2=1→1=L2, but (an) does not converge to 1 (or to anything).

(c) True. Suppose, for contradiction, that an+bn→M for some M. Then bn=(an+bn)−an→M−L by the algebra of limits (the rule for sums, with the constant multiple −1), contradicting that (bn) diverges.

(d) False. Let an=bn=(−1)n. Both diverge, and anbn=1 for every n, which converges.

(e) True. Let B>0 with |bn|≤B for every n, and let ε>0. Choose N with |an|<εB for n≥N. Then |anbn−0|=|an||bn|<εB⋅B=ε for n≥N. So anbn→0. For example (−1)nn→0 again, with an=1n and bn=(−1)n.

8. Let x be a real number. Prove that ⌊nx⌋n→x.

Hint

Use the defining inequality of the floor, ⌊y⌋≤y<⌊y⌋+1, with y=nx, and squeeze.

Solution

Let n∈ℕ. By the definition of the floor, ⌊nx⌋≤nx<⌊nx⌋+1, so nx−1<⌊nx⌋≤nx. Dividing by the positive number n,

x−1n<⌊nx⌋n≤x

The left-hand side tends to x−0=x by the algebra of limits, and the right-hand side is the constant x. By the squeeze theorem, ⌊nx⌋n→x.

Each term ⌊nx⌋n is rational, so this gives an explicit sequence of rationals converging to any real number, the sequential form of the density of ℚ. For x=2 and n=10k it is the sequence of decimal truncations.

9. Let f have domain D and let a∈D. Prove that if f(xn)→f(a) for every sequence (xn) in D with xn→a, then f is continuous at a.

Hint

Prove the contrapositive. If f is not continuous at a, the negation of the definition hands you an ε that defeats every δ. Try δ=1n for each n in turn.

Solution

We prove the contrapositive: if f is not continuous at a, then some sequence xn→a in D has f(xn) not tending to f(a).

Suppose f is not continuous at a. By the negation of the definition, there is ε>0 such that for every δ>0 some x∈D has |x−a|<δ and |f(x)−f(a)|≥ε. For each n∈ℕ, apply this with δ=1n, and let xn be such a point: xn∈D, |xn−a|<1n and |f(xn)−f(a)|≥ε.

Then −1n<xn−a<1n, so xn→a by the squeeze theorem. But every term of f(xn) lies at least ε from f(a), so for this ε no N works, and f(xn) does not tend to f(a). □

Together with the theorem on sequential continuity, this shows that f is continuous at a exactly when f carries every sequence converging to a to a sequence converging to f(a). (Choosing one xn for each n at once is a use of the axiom of choice for countably many choices, a principle this course, like most of mathematics, takes for granted.)

10. Prove from the definition that f(x)=1x, with domain the positive reals, is continuous at every a>0.

Hint

|1x−1a|=|x−a|xa. Keep x away from 0 by insisting first that |x−a|<a2.

Solution

Scratch work. |1x−1a|=|a−x|xa. If |x−a|<a2, then x>a2, so xa>a22 and the expression is less than 2|x−a|a2. That is below ε when |x−a|<a2ε2.

Proof. Let a>0 and ε>0, and let δ be the smaller of a2 and a2ε2, which is positive. Let x>0 with |x−a|<δ. Then x>a−a2=a2, so xa>a22>0, and

|1x−1a|=|x−a|xa<a2ε/2a2/2=ε

So f is continuous at a, and a>0 was arbitrary. □

The δ depends on a as well as on ε, and it must: near 0 the graph is steep, and a fixed ε needs ever smaller δ as a decreases. When one δ serves every point of the domain at once, the function is called uniformly continuous; 1x on the positive reals is not.

11. Let g(x)=x if x is rational and g(x)=0 if x is irrational. Prove that g is continuous at 0 and at no other point.

Hint

At 0, note that |g(x)|≤|x| always. At a≠0, use the density of the rationals and of the irrationals, with ε=|a|2.

Solution

At 0. Here g(0)=0, since 0 is rational. For every x, |g(x)−g(0)|=|g(x)| is |x| or 0, so |g(x)|≤|x|. Let ε>0 and δ=ε. If |x|<δ, then |g(x)−g(0)|≤|x|<ε. So g is continuous at 0.

At a≠0. Take ε=|a|2>0 and let δ>0. We find x with |x−a|<δ and |g(x)−g(a)|≥ε. Let δ′ be the smaller of δ and |a|2.

If a is rational, g(a)=a. By the density of the irrationals there is an irrational x with |x−a|<δ, and then |g(x)−g(a)|=|0−a|=|a|≥ε.

If a is irrational, g(a)=0. By the density of the rationals there is a rational x with |x−a|<δ′. Then |x|≥|a|−|x−a|>|a|−|a|2=|a|2 by the reverse triangle inequality, so |g(x)−g(a)|=|x|>ε.

In both cases δ fails, and since δ was arbitrary, g is not continuous at a. □

So a function can be continuous at exactly one point. Continuity is a property of a function at a point, defined by the ε and δ game, and pictures of unbroken curves describe only the most familiar cases.

Challenge

12. Prove that n1/n→1, where n1/n is the positive nth root of n.

Hint

Write n1/n=1+hn with hn≥0. By the binomial theorem, (1+h)n≥n(n−1)2h2 for h≥0 and n≥2. Then use Problem 5.

Solution

The positive nth root exists and is unique, by the lesson on the real numbers.

Step 1: n1/n≥1. If 0<s<1, then sn<1≤n, so s is not the nth root of n. So hn=n1/n−1≥0.

Step 2: a bound on hn. Let n≥2. By the binomial theorem,

n=(1+hn)n=∑k=0n(nk)hnk≥(n2)hn2=n(n−1)2hn2

since every term of the sum is non-negative. Dividing by n(n−1)2>0 gives hn2≤2n−1, and since square roots preserve order on non-negative numbers, 0≤hn≤2n−1.

Step 3: squeeze. The sequence cn=2n−1 (for n≥2) tends to 0: it is 2⋅1m with m=n−1, and shifting the index does not change a limit. By Problem 5, cn→0=0. By the squeeze theorem, hn→0, so n1/n=1+hn→1. □

The terms are not monotone: 11/1=1, 21/2≈1.414, 31/3≈1.442, 41/4≈1.414, and from n=3 on they decrease. Monotone convergence could also be used from n=3, but it would not identify the limit without an argument like this one.

13. Prove that if an→L, then the averages σn=a1+a2+⋯+ann also converge to L. Show by an example that (σn) can converge when (an) does not.

Hint

First reduce to L=0 by considering an−L. Then split the sum at a position N beyond which |an| is small: the early terms contribute a fixed amount divided by n, and the late terms contribute an average of small numbers.

Solution

Reduction. Let bn=an−L, so bn→0, and the averages of (bn) are (a1−L)+⋯+(an−L)n=σn−L. So it is enough to prove: if bn→0, then τn=b1+⋯+bnn→0.

Main step. Let ε>0. Choose N with |bn|<ε2 for all n≥N. Let C=|b1|+|b2|+⋯+|bN−1|, a fixed number (zero if N=1). By the Archimedean property choose N′≥N with N′>2Cε. Let n≥N′. By the triangle inequality,

|τn|≤|b1|+⋯+|bN−1|n+|bN|+⋯+|bn|n<Cn+(n−N+1)n⋅ε2≤CN′+ε2<ε2+ε2=ε

using n−N+1≤n. Since ε was arbitrary, τn→0, and so σn→L. □

The converse fails. Let an=(−1)n, which diverges. The partial sums a1+⋯+an are −1,0,−1,0,…, so |σn|≤1n, and σn→0 by the squeeze theorem.

The averages are called Cesàro means, after Ernesto Cesàro. Averaging smooths out oscillation, which is why it can create convergence, and the theorem says it never destroys it.

14. Let en=(1+1n)n. Prove that (en) is increasing and bounded above by 3, and deduce that it converges.

Hint

Expand by the binomial theorem and write the kth term as 1k!(1−1n)(1−2n)⋯(1−k−1n). Compare term by term with en+1. For the bound, use k!≥2k−1.

Solution

The expansion. By the binomial theorem,

en=∑k=0n(nk)1nk,(nk)1nk=n(n−1)⋯(n−k+1)k!nk=1k!∏j=0k−1(1−jn)

where for k=0 the empty product is 1. Write Tk(n) for this kth term.

Increasing. For 0≤j<n, 1−jn≤1−jn+1, and both are non-negative, so each factor of Tk(n) is at most the corresponding factor of Tk(n+1), and therefore Tk(n)≤Tk(n+1) for 0≤k≤n. Also en+1 has one more term, Tn+1(n+1)≥0. Hence

en=∑k=0nTk(n)≤∑k=0nTk(n+1)≤∑k=0n+1Tk(n+1)=en+1

Bounded. Each factor 1−jn lies in [0,1], so Tk(n)≤1k!. And k!≥2k−1 for k≥1, by induction: 1!=1=20, and (k+1)!=(k+1)k!≥2⋅2k−1=2k. So

en≤1+∑k=1n12k−1=1+2(1−12n)<3

using the finite geometric sum ∑k=1n12k−1=2−12n−1.

Convergence. The sequence is increasing and bounded above, so by the monotone convergence theorem it converges, to a number between e1=2 and 3. That number is e=2.71828…, the base of the natural logarithm. Its first terms show how slowly the sequence approaches it: e1=2, e2=2.25, e10≈2.5937, e100≈2.7048. The theorem produced the number e with no formula for it, which is what completeness is for.