Exercise 3.16

Exercise 16: Fix a positive number α . Choose x 1 > α , and define x 2 , x 3 , by the recursion formula

x n + 1 = 1 2 ( x n + α x n ) .

(a) Prove that { x n } decreases monotonically and that lim x n = α .

(b) Put 𝜀 = x n α , and show that

𝜀 n + 1 = 𝜀 n 2 2 x n < 𝜀 n 2 2 α

so that, setting β = 2 α ,

𝜀 < β ( 𝜀 1 β ) 2 n ( n = 1 , 2 , ) .

(c) this is a good algorithm for computing square roots, since the recursion formula is simple and the convergence is extremely rapid. For example, if α = 3 and x 1 = 2 , show that 𝜀 1 β < 0.1 and that therefore 𝜀 5 < 4 1 0 16 , 𝜀 6 < 4 1 0 32 .

Answers

(a) First we show that x n > α for all n 1 by induction. The n = 1 case is obvious since x 1 > α by construction. So then assume that x n > α . We then have

x n > α x n α > 0 ( x n α ) 2 > 0 (since both sides  0 ) x n 2 2 x n α + α > 0 x n 2 + α > 2 x n α x n 2 + α x n > 2 α (since  x n > α > 0 ) x n + α x n > 2 α 1 2 ( x n + α x n ) > α x n + 1 > α

by definition. Therefore x n 2 > α for any n 1 . From this we can easily show that { x n } is decreasing monotonically:

x n + 1 = 1 2 ( x n + α x n ) < 1 2 ( x n + x n 2 x n ) = 1 2 ( x n + x n ) = x n .

Now since { x n } is monotonic and bounded (bounded above by x 1 and bounded below by α ), it converges by Theorem 3.14. So suppose that lim n x n = x . Then clearly it must be that lim n x n + 1 = lim n x n = x also. So we have

lim n x n + 1 = lim n 1 2 ( x n + α x n ) = 1 2 ( lim n x n + α lim n x n ) = 1 2 ( x + α x ) = x ,

where we have used Theorem 3.3. Solving this simple equation for x results in x = lim n x n = α .

(b) We have simply

𝜖 n + 1 = x n + 1 α = 1 2 ( x n + α x n ) α = 1 2 x n ( x n 2 + α ) α = 1 2 x n ( x n 2 + α 2 x n α )
( x n α ) 2 2 x n = 𝜖 n 2 2 x n < 𝜖 n 2 2 α

since x n > α . So then, letting β = 2 α , we claim that

𝜖 n + 1 < β ( 𝜖 1 β ) 2 n

for all n 1 . A simple proof by induction shows that this is indeed the case. For n = 1 we have

𝜖 n + 1 = 𝜖 2 < 𝜖 1 2 β = β 𝜖 1 2 β 2 = β ( 𝜖 1 β ) 2 = β ( 𝜖 1 β ) 2 1 = β ( 𝜖 1 β ) 2 n .

Now assume that

𝜖 n + 1 < β ( 𝜖 1 β ) 2 n .

Then we have

𝜖 n + 2 < 𝜖 n + 1 2 β < 1 β [ β ( 𝜖 1 β ) 2 n ] 2 = 1 β [ β 2 ( 𝜖 1 β ) 2 n 2 ] = β ( 𝜖 1 β ) 2 n + 1 .

(c) For α = 3 and x 1 = 2 we first show that 𝜖 1 β < 1 10 without using decimal approximations for α = 3 , starting with the obvious:

100 < 108 = 36 3
100 < 36 3
10 < 6 3
10 5 3 < 3
20 10 3 < 2 3
10 ( 2 3 ) < 2 3
2 3 2 3 < 1 10
x 1 α 2 α < 1 10
𝜖 1 β < 1 10 .

We also have

12 < 16
4 3 < 16
4 3 < 16
2 3 < 4
β < 4 ,

from which it follows that

𝜖 5 < β ( 𝜖 1 β ) 2 4 < 4 ( 𝜖 1 β ) 16 < 4 ( 1 10 ) 16 = 4 1 0 16 .

Likewise

𝜖 6 < β ( 𝜖 1 β ) 2 5 < 4 ( 𝜖 1 β ) 32 < 4 ( 1 10 ) 32 = 4 1 0 32 .
User profile picture
2023-08-07 00:00
Comments

Proof of ( a ) . First, we show that x n > α for all n by contradiction by assuming x n + 1 = ( x n + α x n ) 2 < α . Then,

x n + α x n < 2 α ( x n α ) 2 < 0 ,

but this is a contradiction since a square of a real number is always greater than or equal to 0. So, x n + 1 > α for all n , and we already know x 1 > α , so x n > α for all n .

Next to show that { x n } decreases monotonically we have to show x n x n + 1 > 0 for all n . So substituting in (??), we get

x n x n + 1 = x n 1 2 ( x n + α x n ) = x n 2 α 2 x n ,

and since x n > α , we have x n x n + 1 > 0 .

Next we know the limit of { x n } exists since it is monotonic and bounded since x n > α . So, we know that lim x n = lim x n + 1 , and let l equal this limit. Then, substituting into (??),

l = 1 2 ( l + α l ) 2 l = l + α l = α l = α .

Proof of ( b ) . Since 𝜖 n = x n α ,

𝜖 n + 1 = x n + 1 α = 1 2 ( x n + α x n ) α = x n 2 2 x n + α 2 x n 2 x n α 2 x n = ( x n α ) 2 2 x n = 𝜖 n 2 2 x n < 𝜖 n 2 2 α .

Next, setting β = 2 α , and when n = 1 ,

𝜖 2 < 𝜖 1 2 β = β ( 𝜖 1 β ) 2 .

Now suppose that 𝜖 n < β ( 𝜖 1 β ) 2 n . Then, for the case n + 1 ,

𝜖 n + 1 < 𝜖 n 2 β = β ( 𝜖 n β ) 2 < β ( 𝜖 1 β ) 2 n + 1 ,

and so our proof follows by induction since the inequality is satisfied for n + 1 . □

Proof of ( c ) . If α = 3 and x 1 = 2 , 𝜖 1 β = ( 2 3 ) 2 3 = 1 3 1 2 . We have to prove this value is less than 1 10 :

1 3 < 9 25 1 3 < 3 5 1 3 1 2 < 1 10 .

Next, since 3 < 4 , 3 < 2 , and so β = 2 3 < 4 . Then, for n = 4 and n = 5 ,

𝜖 5 < β ( 1 10 ) 2 4 < 4 1 0 16 , 𝜖 6 < β ( 1 10 ) 2 5 < 4 1 0 32 .
User profile picture
2023-09-01 19:42
Comments