03.03.2014 Views

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

42 CHAPTER 3. SOLVING LINEAR SYSTEMS<br />

Example Problem 3.9. Find conditions on ω which guarantee convergence of Richardson’s Iteration<br />

for finding approximate iterative solutions to the system Ax = b, where<br />

⎡<br />

A = ⎣<br />

6 1 1<br />

2 4 0<br />

1 2 6<br />

⎤<br />

⎡<br />

⎦ , b = ⎣<br />

12<br />

0<br />

6<br />

⎤<br />

⎦ .<br />

Solution:<br />

By Theorem 3.8, with Q the identity matrix, we have convergence if and only if<br />

‖I − ωA‖ 2<br />

< 1<br />

We now use the fact that “eigenvalues commute with polynomials;” that is if f(x) is a polynomial<br />

and λ is an eigenvalue of a matrix A, then f(λ) is an eigenvalue of the matrix f(A). In this case the<br />

polynomial we consider is f(x) = x 0 −ωx 1 . Using octave or Matlab you will find that the eigenvalues<br />

of A are approximately 7.7321, 4.2679, and 4. Thus the eigenvalues of I − ωA are approximately<br />

1 − 7.7321ω, 1 − 4.2679ω, 1 − 4ω.<br />

With some work it can be shown that all three of these values will be less than one in absolute<br />

value if and only if<br />

0 < ω < 3<br />

7.7321 ≈ 0.388<br />

(See also Exercise (3.10).)<br />

Compare this to the results of Example Problem 3.4, where for this system, ω = 1 apparently did<br />

not lead to convergence, while for Example Problem 3.5, with ω = 1/6, convergence was observed.<br />

⊣<br />

3.4.8 A Free Lunch?<br />

The analysis leading to Theorem 3.8 leads to an interesting possible variant of the iterative scheme.<br />

For simplicity we will only consider an alteration of Richardson’s Iteration. In the altered algorithm<br />

we presuppose the existence, via some oracle, of a sequence of weightings, ω i , which we use in each<br />

iterative update. Thus our algorithm becomes:<br />

1. Select some initial iterate x (0) .<br />

2. Given iterate x (k−1) , define<br />

x (k) = (I − ω k A) x (k−1) + ω k b.<br />

Following the analysis for Theorem 3.8, it can be shown that<br />

e (k) = (I − ω k A) e (k−1)<br />

where, again, e (k) = x (k) − x, with x the actual solution to the linear system. Expanding e (k−1)<br />

similarly gives<br />

e (k) = (I − ω k A) (Iω k−1 A) e (k−2)<br />

( k∏<br />

)<br />

= I − ω i A e (0) .<br />

i=1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!