12  Cauchy Sequences

Highlights of this Chapter: We define the notion of a Cauchy sequence, and we prove that being Cauchy is equivalent to being convergent.

One reasonably ambitious sounding goal in the study of sequences is to find a nice criterion to determine exactly when a sequence converges or not. We made partial progress towards this in the previous two chapters, and our goal in this chapter is to provide an alternative complete characterization, by a single simple property. But what could such a property be? One (good!) thought is the following

When a sequence converges, terms eventually get close to some limit L. Thus the terms of the sequence eventually get close to one another.

This condition is certainly necessary: if the terms of a sequence do not get close together, then they cannot get close to any limit! But is it sufficiently precise to actually work? For that we need to turn it into a mathematical definition: perhaps

For all ϵ>0 there is an N where if n>N then |anan+1|<ϵ

Unfortunately this doesn’t quite seem to work: perhaps surprisingly, it is possible for consecutive terms of a sequence to all get within ϵ of one another, but for the overall sequence to diverge.

Example 12.1 (|anan+1| small but an diverges!) Consider the sequence an=n. Then for all ϵ>0 there is an N where n>N implies |nn+1|<ϵ, but nonetheless an diverges (to infinity).

Proof. We can estimate the difference between consecutive terms with some algebra: n+1n=(n+1n)n+1+nn+1+n=(n+1)nn+1+n=1n+1+n<1n Thus for any ϵ>0 we can just take N=1ϵ2 and see that if n>N we have |an+1an|<1n<1N=11ϵ2=ϵ

Nowever, an is not converging to any finite number, as for any M>0, if n>M2 then an=n>M, so an by

Example 12.2 (|anan+1| small but an diverges, again!) Perhaps the most famous example with this property is the harmonic series an=1+12+13++1n Here it is clear that anan+1=1n+1 and we know this can be made smaller than any ϵ>0. However, as we will prove in CITE, this sequence nonetheless diverges to infinity.

So, we need to ask for a stronger condition. What went wrong? Well, even though we forced an to be close to an+1 for all n, the small differences between consecutive terms could still manage to add up to big differences between terms: even if an was within 0.01 of an+1 for all n, its totally possible that an+100,000 could differ from an by (0.01)(10,000)=100! So, to strengthen our definition we might try to impose that all terms of the sequence eventually stay close together:

Definition 12.1 (Cauchy Sequence) A sequence sn is Cauchy if for all ϵ>0 there is a threshold past which any two terms of the sequence differ from one another by at most ϵ. As a logic sentence, ϵ>0Nm,n>N|snsm|<ϵ

Example 12.3 (Cauchy Sequences: An Example) The sequence sn=1n is cauchy: we can see this because for any n,m |1n1m|<|1n0|=1n And we already know that for any ϵ we can choose N with n>N implying 1/n<ϵ.

Example 12.4 (Cauchy Sequences: A Nonexample) The sequence sn=1,0,1,0,1,0 is not Cauchy, as the difference between any two consecutive terms is 1. Thus for ϵ=1/2 there is no N where past that N, every sn is within 1/2 of each other.

Exercise 12.1 Is the sequence sn=1(1)nn cauchy nor not? Prove your claim.

Exercise 12.2 Let sn be a periodic sequence (meaning after some period P we have sn=sP+n for all n). Prove that if sn is Cauchy then it is constant. Hint: what’s the contrapositive?

12.1 Properties of Cauchy Sequences

A good way to get used to a new definition is to use it. This definition looks very similar to the limit definition, which means we can often formulate analogous theorems and proofs to things we’ve seen before:

Note the proofs in this section are not logically required as the next section will render them superfluous: once we know Cauchy and convergent are equivalent, these all follow as immediate corollaries of the limit laws! Nonetheless it is instructive to see their direct proofs:

Proposition 12.1 (Cauchy Implies Bounded) If sn is Cauchy then its bounded: there exists a B such that |sn|<B for all nN.

Very similar to proof for convergent seqs in style, where we show after some N all the terms are bounded by some particular number, and then take the max of this and the (finitely many!) previous terms to get a bound on the entire sequence. :::{.proof} Set ϵ=1. Since an is Cauchy we know there is some N beyond which |anam|<1 for all n,m>N. In particular, this means every |a_n-a_{N+1}|<1$ so aN+11<an<aN+1+1 Thus for the (infinitely many terms!) after aN, we can bound all of them above by aN+1+1 and below by aN+11. To extend these to bounds for the whole sequence, we just take the max or min with the (finitely many!) previous terms: L=min{a1,a2,,aN,aN+11} U=max{a1,a2,,aN,aN+1+1}

Now we have for all n, LanU so {an} is bounded. :::

Proposition 12.2 (Sums of Cauchy Sequences) If an and bn are Cauchy sequences, so is an+bn.

Proof. Let ϵ>0. Then choose Na and Nb such that for all n,m greater than Na,Nb respectively, we have |anam|<ϵ/2 and |bnbm|<ϵ/2. Set N=max{Na,Nb} and let n,m>N. Then each of the above two inequalities hold, and so by the triangle inequality |(an+bn)(ambm)|=|(anam)+(bnbm)| |anam|+|bnbm|<ϵ2+ϵ2=ϵ

Thus, an+bn is Cauchy as well.

Exercise 12.3 (Constant Multiples of Cauchy Sequences) Let an be Cauchy, and kR be constant. Then kan is Cauchy.

Proposition 12.3 (Products of Cauchy Sequences) Let an,bn be Cauchy. Then sn=anbn is a cauchy sequence.

First, some scratch work: we are going to want to work with the condition |snsm|=|anbnambm|. But we only know things about the quantities |anam| and |bnbm|. So, we need to do some algebra, involving adding zero in a clever way and applying the triangle inequality:

|anbnambm|=|anbn+(anbmanbm)ambm|=|(anbnanbm)+(anbmambm)|=|an(bnbm)+bm(anam)||an(bnbm)|+|bm(anam)|=|an||bnbm|+|bm||anam|

Because we know Cauchy sequences are bounded, we can get upper estimates for both |an| and |bn|. And then as we know that the sequences are Cauchy, we can make |anam| and |bnbm| as small as we need, so that this overall term is small. We carry this idea out precisely in the proof below.

Proof. Let an and bn be Cauchy, and choose an ϵ>0. Then each are bounded, so we can choose some Ma with |an|<Ma and Mb where |bn|<Mb for all n. To make notation easier, set M=max{Ma,Mb} so that we know both an and bn are bounded by the same constant M.

Using that each is Cauchy, we can also get an Na and Nb where if n,m are greater than these respectively, we know that |anam|<ϵ2M|bnbm|<ϵ2M Then set N=max{Na,Nb}, and choose arbitrary n,m>N. Since in this case both of the above hypotheses are satisfied, we know that |an||bnbm|Mϵ2M=ϵ2|bm||anam|Mϵ2M=ϵ2 Together, this means their sum is less than ϵ, and from our scratch work we see their sum is already an upper bound for the quantity we are actually interested in: |anbnambm||an||bnbm|+|bm||anam|ϵ

Exercise 12.4 (Reciprocals of Cauchy Sequences) Let an be a Cauchy sequence with an0 for all n, which does not converge to zero. Then the sequence of reciprocals sn=1an is Cauchy.

Just like for convergence, once we know the results products and reciprocals, quotients follow as an immediate corollary:

Corollary 12.1 (Quotients of Cauchy Sequences) If an and bn are Cauchy with bn0 and limbn0 then the quotients an/bn form a Cauchy sequence.

Exercise 12.5 Show the hypothesis bn0 is necessary in by giving an example of two Cauchy sequences an,bn where bn0 for all n, yet anbn is not a Cauchy sequence.

12.2 Cauchy Convergent

Now we move on to the main act, where we prove convergence is equivalent to Cauchy by showing an implication in both directions.

Exercise 12.6 (Convergent Implies Cauchy) If sn is a convergent sequence, then sn is Cauchy. Hint: The triangle inequality and |anam| for a sequence converging to L can tell you….what?

More difficult, and more interesting, is the converse:

Proposition 12.4 (Cauchy Implies Convergent) If sn is a Cauchy sequence, then sn is convergent.

Proof. Let sn be a Cauchy sequence. Then it is bounded, by , so by the Bolzano Weierstrass theorem (?thm-thm-bolzano-weierstrass) we can extract a subsequence snk which converges to some real number L.

Now we have something to work with, and all we need to show is that the rest of the sequence also converges to L. So, let’s fix an ϵ>0. Since snkL there exists an N1 where if nk>N1 we know |snkL|<ϵ/2. And, since sn is Cauchy, we know there is an N2 where for any n,m>N2 we know |snsm|<ϵ/2.

Let N=max{N1,N2}, and choose any n>N. If sn is in the subsequence, we are good because n>N1 and we know for such elements of the subsequence |snL|<ϵ/2<ϵ. But if sn is not in the subsequence, choose any m such that m>N and sm is in the subsequence, and apply the triangle inequality:

|snL|=|snsm+s+mL||snsm|+|smL|ϵ2+ϵ2=ϵ

Where the first inequality is because of the Cauchy condition, and the second is the convergence of the subsequence.

Together these imply the main theorem we advertised.

Theorem 12.1 (Cauchy Convergent) The conditions of being a Cauchy sequence and a convergent sequence are logically equivalent.

If a sequence converges, then every subsequence converges to the same limit (). This has a nice application: if you can find any subsequence where it’s easier to compute the values, you can use that subsequence to compute the limit.

Exercise 12.7 Prove directly from the definition of Cauchy: if sn is Cauchy and snk is a subsequence whose limit is L then snL.