Assignment 7

Exercise 1 (Contraction Maps to Calculate a) The babylonian procedure for approximating 2 defined the recursive sequence wn+1=12(wn+2wn). Following analogous reasoning (but for a rectangle of area a) one might propose the recursive sequence wn+1=12(wn+awn) as a means of computing a. This sequence is generated by iterating the function f(x)=12(x+ax)

In this problem we will use the contraction mapping theorem to confirm this sequence does in fact converge to a for any a>1.

  • Show that if xa then f(x)a, so f maps the interval [a,) into [a,).
  • Show that on this domain, f is a contraction map. Hint: factor out a copy of 12|xy| from |f(x)f(y)| and show the remaining term is <1 for all x,y[a,).
  • Show that if f(x)=x then x2=a.
  • Now apply the contraction mapping theorem to conclude that iterating f from any point in the domain converges to a.

Finally, do a small example of your procedure (so you can see the benefit of what you’ve done!) and compute a rational approximation to 3 by doing a couple iterates.

Solution.

  • This step is due to Jerry, whose solution was better than mine! Proceed with contradiction. Suppose that xa but 12(x+ax)<a. So x+ax<2a, so x2+a<2ax given that x>a>0 as a>1. Rearranging, we have x2+a2ax<0, but x2+a2ax=(xa)20 as it is a square, so we have a contradiction. Thus, f(x)a.

  • To show f is a contraction, we compute |f(x)f(y)| for x,y in [a,) and then seek to bound above by a fixed multiple of |xy|. We begin with some algebra |f(x)f(y)|=|12(x+ax)12(y+ay)|=|12(xy+axay)|.

    =|12(xy+a(yx)xy)|=|12(xy)(1axy)|=12|xy||1axy|.

    Thus we need only show the terms multiplying |xy| are uniformly less than some constant k<1. To do so, note that x,ya, so xya which imples 1axy so |1axy|<1, so 12|1axy||xy|<12|xy|,for all x,y[a,). Thus we can take k=1/2 and as 1/2<1 this shows f is a contraction.

  • Suppose f(x)=x, so 12(x+ax)=x, so x+ax=2x, then x2+a=2x2, thus a=x2.

  • Given that f is a contraction map, by the contraction mapping theorem, f has a unique fixed point that satisfies f(x)=x. We showed that when such equality holds, a=x2, so x=a (as our entire domain is positive). Thus, any sequence generated by applying iterations of f on x0[a,) is convergent with the limit of a.

Example: approximate 3 using f(x)=12(x+3x).

Start with w0=2:

w1=12(2+32)=1272=74=1.75w2=12(1.75+31.75)12(1.75+1.71429)=12(3.46429)1.73214w3=12(1.73214+31.73214)12(1.73214+1.73196)=12(3.4641)1.73205

Thus, after only three iterations, we obtain the approximation: 31.73205, accurate to five decimal places.

We can combine the contracting mapping theorem with other techniques to continue re-proving known results in easier ways. Here we take another look at our argument for the basic limit a1/n1.

Exercise 2 (Proving a1/n1 by Contraction Mapping) Fill in the following outline to prove a1/n1 for all a>0:

The sequence a1/n is not generated by iterating a function, but it has many subsequences that are. For example the subsequence a,a1/2,a1/4,a1/8, Is generated by iterating f(x)=x.

  • Prove that this map is a contraction map on the domain [1,), which guarantees this subsequence converges for every a1. Find the limiting value.

  • Now, for a>1 prove the full sequence a1/n is monotone decreasing and bounded below by 1. This ensures it converges (by monotone convergence).

  • Putting these two facts together, we see the entire sequence converges to 1, as if we have a convergent sequences, all subsequences have the same limit!

  • Finally, use the limit laws to argue the same holds even when a<1.

Exercise 3 (Multiplying Infinite Products) Let k1ak=α and k1bk=β be convergent infinite products. Prove that k=1akbk converges, with limit αβ.

Solution. Proof. By definition, the infinite products are limits of finite partial products. That is, our assumption unpacks to k=1nak=Anαandk=1nbk=Bnβ as n.

To study the infinite product k1akbk we also need to treat it as a limit of finite products: Cn=k=1n(akbk).

Since multiplication is associative and commutative, we can regroup the finite product as follows: Cn=k=1n(akbk)=(k=1nak)(k=1nbk)=AnBn.

We are given that Anα and Bnβ, so by the limit law for the product of convergent sequences, we have: limCn=limAnBn=(limAn)(limBn)=αβ.

Therefore k1(akbk)=αβ as desired.

Exercise 4 (Telescopes) Find the value of the following infinite product and series by showing they’re telescoping and computing an exact formula for their partial sums: n114n21 n5(11n2)

Solution (Sum). We begin by factoring the denominator of each term as a difference of squares, so we can use partial fractions: 14n21=1(2n1)(2n+1)=A2n1+B2n+1. Combining fractions gives the condition 1=A(2n+1)+B(2n1) for all n, which we can solve various ways (getting equations for the constant and coefficient of n terms, or plugging in various values of n to get a system of equations: whatever precalc method you like!) In the end, we get A=12 and B=12 so: 1(2n1)(2n+1)=12(12n112n+1). Thus, n=1N14n21=12n=1N(12n112n+1). This is a telescoping sum:

n=1N(12n112n+1)=(1113)+(1315)+(1517)++(12N112N+1)=1+(13+13)+(15+15)++(12N1+12N1)12N+1=112N+1.

This gives an exact formula for the partial sums: n=1N14n21=12(112N+1), and taking the limit: n114n21=limN12(112N+1)=12.

Solution (Product). We begin by factoring each term in the product 11n2=n21n2=(n1)(n+1)n2. So: n=5N(11n2)=n=5N(n1)(n+1)n2.

This is already a telescoping product, as we notice by writing out some terms. But we can perhaps see it even more transparently by using breaking into two products for each finite partial product n=5Nn1nn+1n=(n=5Nn1n)(n=5Nn+1n).

Each one of these has the numerator differing by one from the denominator, so immediately telescopes: n=5Nn1n=455667N1N=4N. n=5Nn+1n=657687N+1N=N+15.

We cannot take the limits separately here as one of them does not converge, but we are not asking about them separately! Putting back together n=5N(11n2)=4NN+15=4(N+1)5N.

Now its easy to take the limit as N: limN4(N+1)5N=45.

Exercise 5 (The Divergence of the Harmonic Series) Give an alternate proof that the harmonic series 1n diverges, by comparing it with the partial sums of 1,1/2,1/4,1/4,1/8,1/8,1/8,1/8,1/16,...

Hint: show that for each N the partial sum of the harmonic series is greater than the partial sums of this series. But then show the partial sums of this series are unbounded: for any integer k we can find a point where the sum surpasses k. This means the partial sums of the harmonic series are unbounded: but we know all convergent series are bounded! Thus the harmonic series cannot be convergent.

Solution. Starting with out term comparison, we can let bn=1n and an be the partial sums shown. So we have, an=1,12,14,14,18,18,18,bn=1,12,13,14,15,16,17, We can see that for all of the terms 0anbn. Then just looking at an, we can see an=1+12+14+14+18+18+18+18+=1+12+14+14=12+18+18+18+18=12+

This means we have the following partial sums:

1n1an=11n2an=1+121n4an=1+12+12 1n8an=1+12+12+121n16an=1+12+12+12+12

This pattern continues to add up to a new 1/2 forever, as there are 2n1 terms of 1/2n. Thus,

1n2Nan=1+N2

This diverges, so the entire series must diverge (the series is a limit of partial sums, and the sequence of partial sums has a divergent subsequence). And because we know that 0anbn and an diverges, that means that bn must also diverge.

Exercise 6 (Multiplying by a Bounded Sequence) Let ak be an absolutely convergent series, and bk a bounded sequence. Prove that the series of pairwise products converges: akbk

Hint: Show this is Cauchy, using that ak is.

Solution. Since ak is absolutely convergent, we know that: |ak| converges. Because bk is bounded, we may choose an B>0 with |bk|B for all k. We will use these facts to prove that the series akbk satisfies the Cauchy criterion for convergence.

Choose an ϵ>0. Since |ak| conveges it is Cauchy, which means we may select an N such that for any n>m>N we have mn|ak|<ϵ/B. Then, for all n>mN, we estimate:

|k=mnakbk|k=mn|akbk|k=mn|ak||bk|k=mn|ak|B=Bk=mn|ak|<BϵB=ϵ

Therefore, akbk satisfies the Cauchy criterion and hence converges.

Exercise 7 (Raising to a Power) Let ak be a sequence of positive terms such that ak converges. Prove that if p>1 is a positive integer, then the following series also converges k(ak)p

Hint: if 0<x<1, then raising x to the pth power makes it smaller. Can you show that eventually ak is less than 1 and then use comparison + dealing with the first finitely many terms to reach the required conclusion?

Proof. Since ak converges and each ak>0, we know that ak0. Therefore, using the definition of convergence with ϵ=1, there exists some integer N such that for all kN, we have 0<ak<1.

Now fix any integer p>1. If 0<x<1 then xn<1n=1 for all n, and thus for any integer p>2, we have xp=xxp1<x1=x

Thus, for kN, we have 0<akp<ak. This sets us up to apply comparison: since ak converges, so does the sum kNak we get by deleting the first finitely many terms. Now since akp<ak for kN, it follows that k=Nakp also converges.

As for the first N1 terms, there are only finitely many of them, so the sum k=1N1akp is finite. Therefore, the full series k=1akp=k=1N1akp+k=Nakp is the sum of two convergent series, and thus converges.

Exercise 8 (The Root Test with Limsup) Prove that if an is a series and L=lim sup|an|n, the series converges if L<1 and diverges for L>1.

Proof. We consider the two cases separately.

Case 1: L<1

Let L=lim supn|an|n and assume L<1. Choose a number r such that L<r<1. We will now use the definition of limsup: lim sup|an|n=limnsupkn|ak|k. Since the sequence of suprema converges to L and L<r, there exists an integer N such that for all nN: supkn|ak|k<r. (Just using the limit definition, setting ϵ to anything less than rL.)

In particular, for all kN, |ak|ksupjk|aj|j<r. So for all kN, we have: |ak|k<r|ak|<rk.

We now compare the tail of the series |an| with the geometric series rn. Since 0<r<1, the geometric series converges, and so the comparison test implies: kN|ak|<kNrk. And kNrk converges, so so does our series. The finitely many terms k=0N1|ak| form a finite sum, and so we conclude: k=0|ak| converges as well. Hence the series ak converges absolutely, and therefore converges.

Case 2: L>1

Now assume L=lim supn|an|n>1.

Let r be a number such that 1<r<L. Again, use the definition of limsup as the limit of the sequence of suprema. Since this limit equals L>r, and the sequence of suprema is a monotone decreasing sequence, r is a lower bound and so for every n, supkn|ak|k>r.

For the supremum to be greater than r, there must be at least one element of the sequence greater than r. But this must hold for each n! So, there are infinitely many values where |ak|k>r|ak|>rk. Since r>1, we know that rk>1 for large k, so |ak|>1 infinitely often. Therefore: limk|ak|0. Hence ak0, and by the Divergence Test, the series ak diverges.