Docsity

2 Additional Problems on Numerical Analysis | MATH 433, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 433 - Numerical Analysis - Spring 2008
Homework 4
Assigned: Friday, February 1, 2008.
Due: Friday, February 8, 2008.
BOOK PROBLEMS: # 11 pg. 113
# 14, 15 pg. 125 (secant method)
ADDITIONAL PROBLEMS:
1. (Aitken’s Extrapolation). Consider the fixed point iteration xn+1 =g(xn).
Once the iterates are “close” to the root αthen α−xn+1
α−xn≈g0(α)is nearly a
constant, which is independent of n. In this case we can write
α−xn+1
α−xn≈α−xn
α−xn−1
,
or equivalently (α−xn+1)(α−xn−1)≈(α−xn)2. One can then solve this
expression for αto get an improved approximation for the fixed point. If the
assumption g0(xn)≈constant is true, the approximation for αthat is obtained
in this way is usually a big improvement over the last xnin the generated
sequence. This procedure is called Aitken’s extrapolation. Given below is a table
of iterates from a linearly convergent sequence xn+1 =g(xn) = xn−(x2
n−3)/2
used to find √3. Use Aitken’s extrapolation, and the last three iterates below,
to obtain an improved estimate for the fixed point α. (Note that when you solve
for α, the term α2drops out and you have a linear equation for α!)
n xn
0 1.8000000000
1 1.6800000000
2 1.7688000000
3 1.7044732800
4 1.7518586988
5 1.7173542484
6 1.7427014411
7 1.7241972846
8 1.7377691464
9 1.7278483432
Compare the absolute error in x9to that of the new approximate root found
using the Aitken’s extrapolation procedure above.
1
pf2

Partial preview of the text

Download 2 Additional Problems on Numerical Analysis | MATH 433 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 433 - Numerical Analysis - Spring 2008

Homework 4 Assigned: Friday, February 1, 2008. Due: Friday, February 8, 2008.

BOOK PROBLEMS: # 11 pg. 113

14, 15 pg. 125 (secant method)

ADDITIONAL PROBLEMS:

  1. (Aitken’s Extrapolation). Consider the fixed point iteration xn+1 = g(xn). Once the iterates are “close” to the root α then

α − xn+ α − xn

≈ g′(α) is nearly a constant, which is independent of n. In this case we can write

α − xn+ α − xn

α − xn α − xn− 1

or equivalently (α − xn+1)(α − xn− 1 ) ≈ (α − xn)^2. One can then solve this expression for α to get an improved approximation for the fixed point. If the assumption g′(xn) ≈ constant is true, the approximation for α that is obtained in this way is usually a big improvement over the last xn in the generated sequence. This procedure is called Aitken’s extrapolation. Given below is a table of iterates from a linearly convergent sequence xn+1 = g(xn) = xn − (x^2 n − 3)/ 2 used to find

  1. Use Aitken’s extrapolation, and the last three iterates below, to obtain an improved estimate for the fixed point α. (Note that when you solve for α, the term α^2 drops out and you have a linear equation for α!)

n xn 0 1. 8000000000 1 1. 6800000000 2 1. 7688000000 3 1. 7044732800 4 1. 7518586988 5 1. 7173542484 6 1. 7427014411 7 1. 7241972846 8 1. 7377691464 9 1. 7278483432

Compare the absolute error in x 9 to that of the new approximate root found using the Aitken’s extrapolation procedure above.

  1. (Ill-behaved root-finding).

In our analysis of Newton’s method we showed that if f ′(α) 6 = 0 (i.e. α is a simple root), then second order convergence results. However, if α is a multiple root of f (x) of multiplicity p then

f (α) = f ′(α) = f ′′(α) = ... = f (p−1)(α) = 0.

In this case, we can write

f (x) = (x − α)ph(x)

for some function h(x), and h(α) 6 = 0.

(a) Write out the iteration function g(x) for Newton’s method in this case (note: it will involve h(x) and h′(x)).

(b) Show that g′(α) = 1 − 1 /p 6 = 0, implying only linear convergence of New- ton’s method in the case of multiple roots.

(c) Verify the theory developed above by applying Newton’s method to f (x) = (x − 1) 5 cos x, with an initial guess near x = 1 (thus, we are interested in finding the multiple root α = 1). Then use the iterates to determine both the order of convergence (which should be ≈ 1), as well as the linear convergence rate, which should approach that predicted in (b) above.