Jump to content

How to prove convergence for recursive sequences – "Math for Non-Geeks"

From Wikibooks, open books for an open world

This article shows you how to prove convergence for recursively defined sequences, i.e. if only a recurrence an+1=f(an) and an initial value are given, and it is not known what an explicitly looks like. The monotonicity criterion will turn out very useful for this.

Problem setting

[edit | edit source]

We want to solve problems of the following kind:

Let (an)n∈ℕ0 be a sequence defined by a0=0 and an+1=12an+12 for n∈ℕ0 . Does it converge? If yes, what is its limit value?

Applying the epsilon-criterion is complicated, here: it is not a priori known what elements with large indices look like (e.g. a1000), which makes it hard to guess a limit a. It is even harder to give a bound for |a−an|, as the explicit form of an is often not known.

Problem-solving strategies

[edit | edit source]

The article will cover two strategies for proving convergence of a recursively defined sequence:

  1. Finding the explicit form: You may try to find the explicit form of the sequence elements an. Then it can be easier to determine a limit a and prove convergence.
  2. Using the monotonicity criterion: If you can not find an explicit form, but you are convinced that the sequence should converge, you may try to use this criterion. It works without knowing an explicit form.

Finding the explicit form

[edit | edit source]

One way to prove convergence is to try to find an explicit form for the sequence elements an . It is useful to compute the first sequence elements in order to get a feeling of how the sequence behaves. In the above example:

a0=0a1=12a0+12=12⋅0+12=12a2=12a1+12=12⋅12+12=34a3=12a2+12=12⋅34+12=78a4=12a3+12=12⋅78+12=1516⋮

These elements are all smaller than 1, while slowly approaching it. We therefore conjecture that an converges to 1. Let us try to find an explicit form, i.e. a map n↦an. That means, we are looking for a term f(x) with:

f(0)=0f(1)=12f(2)=34f(3)=78⋮

The denominator suspiciously looks like a power of 2 . The numerator seems to be always one less than the denominator: f(0)=0=20−120f(1)=12=21−121f(2)=34=22−122f(3)=78=23−123⋮

That would mean, f(n)=2n−12n . So we assert that

an=f(n)=2n−12n=1−12n=1−(12)n

Now, we should try to prove or disprove this assertion. Induction is a suitable way to do this, as the recursion relation an+1=12an+12 may perfectly serve as an induction step. The induction starts with a0=0=1−1=1−(12)0

The induction step from n to n+1 is done using the recursion relation:

an+1=12an+12↓ induction assumption=12⋅(1−(12)n)+12=12−(12)n+1+12=1−(12)n+1

So we indeed proved an=1−(12)n . This explicit form allows us to use the usual tools (from the previous articles) for proving convergence. For instance, we know limn→∞(12)n=0 and we can use the limit theorems:

limn→∞an=limn→∞1−(12)n↓ Limit theorems: limn→∞(an+bn)=limn→∞an+limn→∞bn=limn→∞1−limn→∞(12)n=1−0=1

Alternative way: using a telescoping sum

[edit | edit source]

Sometimes, finding a simple explicit form may be enormously hard or even impossible. In any case, one can write the elements an using telescoping sums. To illustrate this, we consider:

a0=0, a1=1, an=12an−1+12an−2(n≥2)

The difference between two sequence elements an and an−1 is

an−an−1=12an−1+12an−2−an−1=12an−2−12an−1=12(an−2−an−1)=−12(an−1−an−2)

For n≥3, applying this step again yields

an−an−1=−12(an−1−an−2)=−12(12an−2+12an−3−an−2)=−12(12an−3−12an−2)=(−12)2(an−2−an−3)

So each time, we get an additional factor of −12 . After n−1 steps, there will be

an−an−1=(−12)n−1(a1−a0)⏟=1=(−12)n−1

This is not yet an explicit form for an, but for the differences an−an−1. However, we can express an using telescoping sums:

∑k=1n(ak−ak−1)=an−a0=an

Substituting the formula for the differences gives a geometric sum

∑k=1n(−12)k−1=∑k=0n−1(−12)k=1−(−12)n1−(−12)=1−(−12)n32=23(1−(−12)n)

This allows for an explicit expression

an=23(1−(−12)n)

Using limn→∞(−12)n=0 and the limit theorems, we get

limn→∞an=limn→∞23(1−(−12)n)=23(1−0)=23

Using the monotonicity criterion

[edit | edit source]

Step 1: Proving convergence

[edit | edit source]

What if we cannot find an explicit form of the sequence elements? If the sequence is monotonically increasing or decreasing, the monotonicity criterion can be useful. We recall this criterion:

All bounded and monotone real sequences converge.

Hence, it suffices to show boundedness and monotonicity of the sequence. For instance, returning to the initial example a0=0 and an+1=12an+12:

a0=0a1=12a0+12=12⋅0+12=12a2=12a1+12=12⋅12+12=34a3=12a2+12=12⋅34+12=78a4=12a3+12=12⋅78+12=1516⋮

This seems to be monotonically increasing and bounded by 1.

Monotonicity is proven inductively. Clearly a1≥a0, as

a1=12a0+12=12⋅0+12=12≥0=a0

The induction step from n to n+1 consists of showing that the sequence element gets bigger within that step:

an+1=12an+12↓ induction assumption: an≥an−1≥12an−1+12=an

This establishes monotonicity of the sequence. Boundedness by 1 can also be shown inductively. Of course, a0=0 which is smaller than 1. In the induction step, we need to show that if an≤1 , then also an+1≤1:

an+1=12an+12↓ induction assumption: an≤1≤121+12=1

Hence, (an)n∈ℕ0 is bounded from above by 1 . Now, the monotonicity criterion can be applied: The sequence is monotonically increasing and bounded from above, so it must converge.

Step 2: finding the limit

[edit | edit source]

The convergence above can be used for finding the limit. By step 1, we already know that there must be a limit a∈ℝ with limn→∞an=a and it can be at most the upper bound, namely 1. As the sequence elements approach 1 closer and closer, we assert that it is exactly 1.

To verify this, we take a look at a=limn→∞an+1:

a=limn→∞an+1↓ recursion relation: an+1=12an+12=limn→∞12an+12↓ limit theorems=(limn→∞12)⋅(limn→∞an)+limn→∞12=12a+12

So if there is any a , it must fulfil a=12a+12 . We resolve the equation for a and get

a=12a+12⟺12a=12⟺a=1

So a=1 is indeed the limit of the sequence (an)n∈ℕ0.

Question: Above, we used that if limn→∞an=a is known, then there is also limn→∞an+1=a . Why is this the case?

limn→∞an+1 is the limit of the sequence (an+1)n∈ℕ0. This is just a subsequence of (an)n∈ℕ0, which contains all but the first element. Since each subsequence converges to the same limit as the original one, we have limn→∞an+1=limn→∞an=a.

Exercises

[edit | edit source]

Exercise 1

[edit | edit source]
Exercise (Finding the limit of a recursively defined sequence)

Let an be recursively defined by:

a0=2, an+1=2−1an

Prove that this sequence converges and compute the limit by

  1. finding an explicit form of the sequence
  2. using the monotonicity criterion
Solution (Finding the limit of a recursively defined sequence)

Solution sub-exercise 1:

There is

a0=2a1=2−12=32a2=2−132=2−23=43a3=2−143=2−34=54⋮

So we assert that an=n+2n+1 for all n∈ℕ0. The proof goes by induction on n:

Theorem whose validity shall be proven for n∈ℕ0 bewiesen werden soll:

an=n+2n+1

1. Base case:

For n=0 we have a0=0+20+1=2.

2. Inductive step:

2a. Inductive hypothesis:

an=n+2n+1

2b. Induction theorem:

an+1=n+3n+2

2c. Proof of induction step:

an+1=2−1an=IH2−1n+2n+1=2−n+1n+2=2n+4n+2−n+1n+2=n+3n+2

So we have an explicit form. The limit theorems now directly yield the solution

limn→∞an=limn→∞n+2n+1=limn→∞1+2n1+1n=11=1

Solution sub-exercise 2:

The lower-bound induction below proves an≥1 for all n∈ℕ0, using only the recurrence and the initial value. This also shows that the recurrence is well-defined and all its denominators are positive. Using this fact, we show that (an)n∈ℕ0 is monotonically decreasing, i.e. an+1≤an for all n∈ℕ0. This is done by induction over n:

Theorem whose validity shall be proven for n∈ℕ0 bewiesen werden soll:

an+1≤an

1. Base case:

a1=2−1a0=2−12=32≤2=a0

2. Inductive step:

2a. Inductive hypothesis:

an+1≤an

2b. Induction theorem:

an+2≤an+1

2c. Proof of induction step:

an+2=2−1an+1≤IH2−1an=an+1

In addition, (an)n∈ℕ0 is bounded from below by 1 , i.e. an≥1 for all n∈ℕ0. This is also shown using induction:

Theorem whose validity shall be proven for n∈ℕ0 bewiesen werden soll:

an≥1

1. Base case:

a0=2≥1

2. Inductive step:

2a. Inductive hypothesis:

an≥1

2b. Induction theorem:

an+1≥1

2c. Proof of induction step:

an+1=2−1an≥IH2−11=2−1=1

The monotonicity criterion then yields convergence of (an)n∈ℕ0 and there is limn→∞an=a=limn→∞an+1. The lower bound implies a≥1, so the quotient rule applies. We can get the limit by taking the recursion relation and resolving it for a:

limn→∞an⏟=a=limn→∞2−1an=2−1limn→∞an=2−1a⟺a2=2a−1⟺a2−2a+1⏟=(a−1)2=0⟺a=1

Hence, (an)n∈ℕ0 converges to a=1.

Exercise 2

[edit | edit source]
Exercise (Proving convergence of a recursively defined sequence)

We consider the following recursive sequence

a0=0a1=2an=13an−1+23an−2(n≥2)

  1. Prove that this sequence converges and determine the limit.
  2. What happens with a0=a1=1, concerning convergence?
Solution (Proving convergence of a recursively defined sequence)

Solution sub-exercise 1:

There is

an−an−1=13an−1+23an−2−an−1=23an−2−23an−1=23(an−2−an−1)=−23(an−1−an−2)

Applying this step n−1 times, we get

an−an−1=−23(an−1−an−2)=(−23)2(an−2−an−3)=…=(−23)n−1(a1−a0)⏟=2=2⋅(−23)n−1

We use telescoping sums

∑k=1n(ak−ak−1)=an−a0⏟=0=an

and obtain

an=∑k=1n(ak−ak−1)=2⋅∑k=1n(−23)k−1=2⋅∑k=0n−1(−23)k=2⋅1−(−23)n1−(−23)=2⋅1−(−23)n53=2⋅35(1−(−23)n)=65⋅(1−(−23)n)

So we have an explicit form. With limn→∞(−23)n=0 and the limit theorems, we get the limit

limn→∞an=limn→∞65(1−(−23)n)=65(1−0)=65

Solution sub-exercise 2:

For a0=1 and a1=1 we can plug in

a2=13⋅1+23⋅1=1

The next plugging-ins would exactly look the same, and we always get 1. So we assert that the sequence is constantly 1 and therefore converges to 1. We prove this assertion by induction on the pair of consecutive terms:

Theorem whose validity shall be proven for n∈ℕ0 bewiesen werden soll:

an=an+1=1

1. Base case:

We start with n=0. The initial values give a0=a1=1.

2. Inductive step:

2a. Inductive hypothesis:

an=an+1=1

2b. Induction theorem:

an+1=an+2=1

2c. Proof of induction step:

an+2=13⋅an+1+23an=IH13⋅1+23⋅1=1 Together with an+1=1, this proves the induction claim.

Hence, the sequence is constantly 1 and its limit is limn→∞an=limn→∞1=1.

Application: computing roots by Heron's method

[edit | edit source]
The first sequence elements when computing 2 starting at x0=2, x0=4 or x0=8.
The sequence elements of Heron's method for 2 when starting at a0=14.

We will now come to an application, where convergence of a recursively defined sequence can be shown using the monotonicity criterion: Heron's method can be used to compute roots of positive integers, positive rational numbers or even positive real numbers a. It recursively constructs a sequence of approximations for the root a. From the first iterate x1 onwards, these approximations get increasingly better, as shown by the following theorem:

Theorem (Heron's method)

Let a be a real number with a>0. Let the sequence (xn)n∈ℕ0 be recursively defined by

x0=axn+1=12(xn+axn)

Then, (xn)n∈ℕ0 converges to a.

Sequence elements of (xn)n∈ℕ yield an increasingly precise approximation for a, where we can get to an arbitrary precision ϵ>0 . One can, for instance, use a computer to approximate a up to an arbitrary precision, which is done by performing a sufficiently large number of recursion steps.

Proof (Heron's method)

In order to show that (xn)n∈ℕ really converges to a , we will show that:

  1. (xn)n∈ℕ converges by the monotonicity criterion.
  2. The limit of (xn)n∈ℕ is a .

We can not leave out the first step, as in step 2, we use that the sequence converges. A direct proof of convergence using the Epsilon-criterion (in one step) would be way more complicated.

Proof step: The sequence (xn)n∈ℕ converges.

Since x0=a>0, induction gives xn>0 for all n≥0, so the recurrence is well-defined. We prove that the tail (xn)n∈ℕ, starting at x1, is monotonically decreasing and bounded from below.

Proof step: The sequence (xn)n∈ℕ is bounded from below.

A bound is established using the inequality between arithmetic and geometric means: For a,b≥0 there is a+b2≥ab. Hence,

xn+1=12(xn+axn)=xn+axn2 ↓ a+b2≥ab≥xn⋅axn=a.

So xn≥a for all n≥1. The full sequence is bounded from below by min⁡{x0,a}.

Proof step: The tail (xn)n∈ℕ, starting at x1, is monotonically decreasing.

This means, we need to show xn+1≤xn for n≥1, or equivalently, xn−xn+1≥0:

xn−xn+1=xn−12(xn+axn)=12(xn−axn)=12xn(xn2−a) ↓ xn≥a>0⇒12xn>0=12xn⏟≥0(xn2−a) ↓ xn≥a⇒xn2≥a⇒xn2−a≥0=12xn⏟≥0(xn2−a)⏟≥0≥0.

So the tail (xn)n∈ℕ, starting at x1, is bounded from below and monotonically decreasing. Hence, it converges by means of the monotonicity criterion. Adding the initial term x0 does not change convergence.

Proof step: The limit of (xn)n∈ℕ is a.

We will make use of a trick, here: As (xn)n∈ℕ converges, there must be a limit x , i.e. a real number with x=limn→∞xn. Then, there is also limn→∞xn+1=x, since (xn+1)n∈ℕ is a subsequence of (xn)n∈ℕ . The bound xn≥a for n≥1 implies x≥a>0, so the quotient rule applies. The recursion relation and the limit theorems yield:

x=limn→∞xn+1=limn→∞12(xn+axn)↓ limit theorems=12(limn→∞xn+alimn→∞xn)=12(x+ax)

This can be resolved for x and we get the limit:

x=12(x+ax)⟺x=x2+a2x⟺2x2=x2+a⟺x2=a⟺x=±a

At this point, there are two candidates for the limit. But since xn≥0 , we also have x≥0 so the convergence must be towards the positive limit candidate

limn→∞xn=a

Hint

The initial value x0 can be chosen to be any (strictly) positive real number. The proof of convergence works exactly the same way, since x1≥a for every such initial value.

Exercise

[edit | edit source]
Exercise (Recursion for the third root)

Let x0∈ℝ with x03>a∈ℝ+. Show that the sequence defined recursively for n∈ℕ0 via

xn+1=xn−xn3−a3xn2=13⋅(2xn+axn2)

converges to a3. Proceed as follows:


  1. Use Bernoulli's inequality: For every x∈ℝ with x3>a there is (x−x3−a3x2)3>a and use this to show by induction that xn3>a for all n∈ℕ0
  2. Use step 1 to show: (xn)n∈ℕ0 is monotonically decreasing and bounded from below.
  3. Determine the limit of (xn).
Solution (Recursion for the third root)
  1. First inequality: At first,

    (x−x3−a3x2)3=(x(1−x3−a3x3))3=x3(1−x3−a3x3)3

    Bernoulli's inequality can be applied to the last factor, as

    −x3−a3x3>−1⟺−(x3−a)>−3x3⟺−x3+a>−3x3⟺a⏟>0>−2x3⏟<−2a<0

    Set t=−(x3−a)/(3x3). Since −1/3<t<0, (1+t)3−(1+3t)=t2(3+t)>0, so Bernoulli's inequality is strict here. Thus, with x3>a>0 we get:

    x3(1−x3−a3x3)3>x3(1−3⋅x3−a3x3)=x3−(x3−a)=a

    Second inequality: Induction on n:

    Induction basis: n=0. x03>a holds by assumption.

    Induction step: n→n+1. xn+13=(xn−xn3−a3xn2)3>a by the first inequality, since there is xn3>a by the induction assumption.
  2. (xn) is monotonically decreasing: There is xn+1−xn=xn−xn3−a3xn2−xn=−xn3−a⏞>03xn2⏟>0<0 (xn) is bounded from below: Since xn3≥a we directly obtain xn≥a3
  3. As (xn) is monotonically decreasing and bounded from below, the monotonicity criterion implies its convergence. We denote the limit by limn→∞xn=limn→∞xn+1=x. Since x≥a3>0, the quotient rule applies. We plug this into the recursive relation and resolve for x: x−x3−a3x2=x⟺x3−a3x2=0⟺x3−a=0⟺x3=a⟺x=a3
Hint

We can even compute roots of higher order: For any natural number k≥2 , as well as for real numbers x0>0 and a>0 we can recursively construct a sequence (xn)n∈ℕ0 with

xn+1=1k((k−1)xn+axnk−1)

and show that it converges to ak .