Iterative Techniques for Solving Ax b -(3.8). Assume that the system has a unique solution. Let x be the solution. Then x A 1 b.

Similar documents
It is often useful to approximate complicated functions using simpler ones. We consider the task of approximating a function by a polynomial.

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n =

IN many scientific and engineering applications, one often

Eigenvalues and Eigenvectors

Lecture 8: October 20, Applications of SVD: least squares approximation

MIDTERM 3 CALCULUS 2. Monday, December 3, :15 PM to 6:45 PM. Name PRACTICE EXAM SOLUTIONS

MATH10212 Linear Algebra B Proof Problems

Stochastic Matrices in a Finite Field

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

Section 5.5. Infinite Series: The Ratio Test

Ma 530 Introduction to Power Series

Math 113, Calculus II Winter 2007 Final Exam Solutions

Are the following series absolutely convergent? n=1. n 3. n=1 n. ( 1) n. n=1 n=1

MATH 10550, EXAM 3 SOLUTIONS

1 Last time: similar and diagonalizable matrices

CHAPTER 1 SEQUENCES AND INFINITE SERIES

LECTURE 8: ORTHOGONALITY (CHAPTER 5 IN THE BOOK)

6.3 Testing Series With Positive Terms

INFINITE SEQUENCES AND SERIES

Please do NOT write in this box. Multiple Choice. Total

Math Solutions to homework 6

SOLUTIONS TO EXAM 3. Solution: Note that this defines two convergent geometric series with respective radii r 1 = 2/5 < 1 and r 2 = 1/5 < 1.

Math 25 Solutions to practice problems

M17 MAT25-21 HOMEWORK 5 SOLUTIONS

Bounds for the Extreme Eigenvalues Using the Trace and Determinant

A) is empty. B) is a finite set. C) can be a countably infinite set. D) can be an uncountable set.

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4.

Convergence of random variables. (telegram style notes) P.J.C. Spreij

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

x x x 2x x N ( ) p NUMERICAL METHODS UNIT-I-SOLUTION OF EQUATIONS AND EIGENVALUE PROBLEMS By Newton-Raphson formula

MATH301 Real Analysis (2008 Fall) Tutorial Note #7. k=1 f k (x) converges pointwise to S(x) on E if and

Section 11.8: Power Series

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

A 2nTH ORDER LINEAR DIFFERENCE EQUATION

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

Applications in Linear Algebra and Uses of Technology

Matrix Algebra 2.3 CHARACTERIZATIONS OF INVERTIBLE MATRICES Pearson Education, Inc.

Math 113 Exam 3 Practice

Theorem: Let A n n. In this case that A does reduce to I, we search for A 1 as the solution matrix X to the matrix equation A X = I i.e.

Sequences I. Chapter Introduction

A Hadamard-type lower bound for symmetric diagonally dominant positive matrices

d) If the sequence of partial sums converges to a limit L, we say that the series converges and its

Sequences and Series of Functions

NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE

Final Solutions. 1. (25pts) Define the following terms. Be as precise as you can.

PROBLEM SET I (Suggested Solutions)

CHAPTER 10 INFINITE SEQUENCES AND SERIES

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences.

1 Convergence in Probability and the Weak Law of Large Numbers

An alternating series is a series where the signs alternate. Generally (but not always) there is a factor of the form ( 1) n + 1

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence

MA131 - Analysis 1. Workbook 9 Series III

The Method of Least Squares. To understand least squares fitting of data.

5.6 Absolute Convergence and The Ratio and Root Tests

ACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory

5.3 Preconditioning. - M is easy to deal with in parallel (reduced approximate direct solver)

Summary and Discussion on Simultaneous Analysis of Lasso and Dantzig Selector

MA131 - Analysis 1. Workbook 2 Sequences I

Seunghee Ye Ma 8: Week 5 Oct 28

1. C only. 3. none of them. 4. B only. 5. B and C. 6. all of them. 7. A and C. 8. A and B correct

Math 210A Homework 1

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 3. (a) (b) (c) (d) (e) 5. (a) (b) (c) (d) (e) 7. (a) (b) (c) (d) (e)

Matrix Algebra 2.2 THE INVERSE OF A MATRIX Pearson Education, Inc.

Løsningsførslag i 4M

18.S096: Homework Problem Set 1 (revised)

Metric Space Properties

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Math 61CM - Solutions to homework 3

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

17. Joint distributions of extreme order statistics Lehmann 5.1; Ferguson 15

PAijpam.eu ON TENSOR PRODUCT DECOMPOSITION

6. Uniform distribution mod 1

Matrix Theory, Math6304 Lecture Notes from November 27, 2012 taken by Charles Mills

Integrable Functions. { f n } is called a determining sequence for f. If f is integrable with respect to, then f d does exist as a finite real number

1 1 2 = show that: over variables x and y. [2 marks] Write down necessary conditions involving first and second-order partial derivatives for ( x0, y

LECTURE 8: ASYMPTOTICS I

Continuous Functions

Zeros of Polynomials

Linearly Independent Sets, Bases. Review. Remarks. A set of vectors,,, in a vector space is said to be linearly independent if the vector equation

5.1. The Rayleigh s quotient. Definition 49. Let A = A be a self-adjoint matrix. quotient is the function. R(x) = x,ax, for x = 0.

MAS111 Convergence and Continuity

Determinants of order 2 and 3 were defined in Chapter 2 by the formulae (5.1)

The Structure of Z p when p is Prime

Math 113 Exam 4 Practice

REVIEW 1, MATH n=1 is convergent. (b) Determine whether a n is convergent.

Section A assesses the Units Numerical Analysis 1 and 2 Section B assesses the Unit Mathematics for Applied Mathematics

MA131 - Analysis 1. Workbook 3 Sequences II

Solutions to Tutorial 5 (Week 6)

You may work in pairs or purely individually for this assignment.

MAT1026 Calculus II Basic Convergence Tests for Series

Slide Set 13 Linear Model with Endogenous Regressors and the GMM estimator

Math 220B Final Exam Solutions March 18, 2002

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f.

Brief Review of Functions of Several Variables

Chapter 4. Fourier Series

Assignment 5: Solutions

Different kinds of Mathematical Induction

Series III. Chapter Alternating Series

State Space Representation

Transcription:

Iterative Techiques for Solvig Ax b -(8) Cosider solvig liear systems of them form: Ax b where A a ij, x x i, b b i Assume that the system has a uique solutio Let x be the solutio The x A b Jacobi ad Gauss-Seidel Methods: Let A D L U where D diag a ii, L l ij, a lower triagular matrix where l ij a ij for i j, adu u ij a upper triagular matrix where u ij a ij for i j 4 5 6 The 7 8 D 5, L 4, U 6 7 8 Assume a ii fori,, Ax b D L U x b a Jacobi s Method: Dx L U x b x D L U x D b x k D L U x k D b b Gauss-Seidel Method: D L x Ux b D L Ux D L b x k D L Ux k D L b c Successive Over-Relaxatio (SOR) Methods: Cosider Ax b Ax b D L U b D D D L U b D L x D U x b x D L D U x D L b Choose so that D L is ivertible ad T is as small as possible Whe, the method is called SOR method; whe, the method is called successive uder-relaxatio method Example Solve the system of liear equatios Ax b where A 4 5 ad b 7 by Jacobi, Gauss-Seidel ad SOR method usig MatLab file: ex_jacobi_gs_sorm

Covergece of Jacobi, Gauss-Seidel ad SOR Methods: Cosider the iterative methods of the form: x k Tx k c where T is a matrix ad c is vector For Jacobi Method: T Jac D L U, c Jac D b; for Gauss-Seidel Method: T GS D L U, c GS D L b ad for SOR methods: T SOR D L D U, c SOR D L b Questios: a Uder what coditio(s), x k x; ad b uder what coditio(s), x k x A b? Lemma If T, the I T exists ad I T I T T j Proof: Sice T, all eigevalues of T are less tha So, zero is ot a eigevalue of I T ad therefore, I T is ivertible ad I T exists Let S m m j T j The S m I T T T m, TS m T T T m S m TS m I T m, I T S m I T m, S m I T I T m Sice T, lim k T k lim S m m m lim I T I T m I T T j Theorem For ay x i R, x k coverges if ad oly if T Proof: Observe that x k Tx k c T Tx k c c T x k Tc c T k x T k T k T I c limx k lim T k x T k T k T I c I T c k k So, if T, x k I T c Is I T c A b? Observe the followig: Jacobi Method: I T Jac c Jac I D L U D b D I D L U b D L U b A b x Gauss-Seidel Method:

I T GS c GS I D L U D L b D L I D L U b D L U b A b x SOR Methods: I T SOR c SOR I D L D U D L b D L D U D L D L b D L U b A b A b Hece, if x k coverges the it coverges to x Uder what coditio(s), T Jac, T GS ad T SOR? Defiitio A matrixa a ij is said to be strictly diagoal domiat if a ii i j a ij for all i,, 4 Example A 4, A 4 A is strictly diagoal domiat but A is ot Theorem If A is strictly diagoal domiat, the for ay choice of x, both the Jacobi ad Gauss-Seidel methods coverge We will show that if A is strictly diagoal domiat, the () T Jac ad () T GS () Show T Jac byshowigthat T Jac Sice A is strictly diagoal domiat, for i, a ii j i a ij a ii j i T Jac D L U, T Jac max i a ij a ii j i a ij T Jac T Jac () Show T GS by showig that all eigevalue i s of T GS are less tha ad the clearly, T GS max i i Recall that T GS D L ULet, x be a eigepair of T GS where x i R, x The T GS x x D L Ux x Ux D L x Suppose that x p for some p First let us assume that p, that is, x ad x i for i,, Observe that the first row of the equatio: Ux D L x: a x a x a x The a x x a a x a x a x a x a x a x a a

ad a a a Now let us assume that p, that is, x ad x i fori,,, Observe that the d row of the equatio: Ux D L x: a x a x a x a x The a x a x a x a x ad a x x a a x a x a x a x a x a x a x a x a x a a a that implies, a a a a From this iequality, we have a a a a For more geeral, assume x p ad x i fori,,p,p,, Observe that the pth row of the equatio: Ux D L x: a p,p x p a p,p x p a p, x a pp x p a p x a p x a p x a pp x p a p,p x p a p,p x p a p, x a p x a p x a p x a pp x p a pp a p,p x p a p,p x p a p, x a p x a p x a p,p x p a p,i a pi i p i p a pp x p i p a pi a pp x p i i p a p,i a pp x p p i a pi a pi i p a p,i 4 4 ad b ad x 4 Eigevalues of T Jac are:, ad ; ad eigevalues of T 4 4 GS are, 59496569 ad 66569 Hece, T Jac ad T GS 66569 Both methods coverge Sice T GS T Jac we expect Gauss-Seidel Method coverges faster Check with the MatLab programs Jacobim ad Gauss_Seidelm [xsol,x,flag,k] Jacobi(A,[;;],,zeros(,),^(-8),); 4

Jacobi Method coverges k 6 [xsol,x,flag,k] Gauss_Seidel(A,[;;],,zeros(,),^(-8),); Gauss-Seidel Method coverges k 5 ad b ad x Note that the coditio i Theorem is a sufficiet coditio, that is, Jacobi or Gauss-Seidel Method could still coverge eve if A is ot positive defiite For this example, clearly A is ot strictly positive defiite However, eigevalues of T Jac are:, ad ; ad eigevalues of T GS are,, ad Hece, T Jac ad T GS Both methods coverge Sice T GS T Jac we expect Gauss-Seidel Method coverges faster Check with the MatLab programs Jacobim ad Gauss_Seidelm [xsol,x,flag,k] Jacobi(A,[;;],,zeros(,),^(-8),); Jacobi Method coverges k 54 [xsol,x,flag,k] Gauss_Seidel(A,[;;],,zeros(,),^(-8),); Gauss-Seidel Method coverges k 9 Theorem If a ij, for each i j, ad a ii for each i,,,, the oe ad oly oe of the followig statemets holds: a T GS T J ; b T J T GS ; c T J T GS ; d T J T GS Therefore, if both methods coverge, the Gauss-Seidel Method is better The previous example has illustrated the results give i Theorem Defiitio A symmetric matrix A is positive defiite if x T Ax for all ozero vector i R Note: A symmetric matrix is positive defiite if ad oly if all its eigevalues are positive 4 4 4 is symmetric Its eigevalues are 5,5, so it is positive defiite Defiitio A matrixa a ij is a tridiagoal matrix if a ij wheever i j or j i 5

4 4 4 4 is a tridiagoal matrix Theorem 4 Let T T SOR for a give The () If a ii, for each i,,,, the T () If A is a positive defiite matrix ad, the the SOR method coverges for ay choice of iitial approximatio vector x () If A is a positive defiite ad tridiagoal matrix, the T GS T Jac, ad the optimal choice of for the SOR method is opt T Jac With this choice of opt, T opt opt () Let i be eigevalue of T det T det D L D U det D L det D U a a a a det T k k k at least for oe k T max k k This implies that the SOR method ca coverge oly if ad b ad x Previously, we have T Jac ad T GS T Jac A is a symmetric positive defiite tridiagoal matrix The opt 757875 ad T opt 757875 757875 Check with the MatLab programs: 6

[xsol,x,flag,k] SOR(A,[;;],,zeros(,),^(-8),, ); SOR Method coverges k k 5 7 7 57 875 4 4 5 5 Rate of Covergece of Jacobi ad Gauss-Seidel Methods: Theorem 5: If T for all atural matrix orm ad c is a give vector, the x k defied by x k Tx k c coverges for ay x to a vector x where x ad x are i R, ad a x x k T k x x ; ad b x x k T k T x x where x A b Proof: a Observe that x Tx c, ad x x k Tx c Tx k c T x x k T x x k T k x x Sice x x k T x x x x k x x k T, by the defiitio of rate of covergece, we kow x k x liearly, ad the asymptotic error costat is less tha T So, the smaller T is, the faster x k x b Because we do t kow x at advace, x x Tx c x x x Tx c x Tx c x T x x x x I T x x x x I T x x x x k T k x x T k I T x x T k I T T x x T k T T x x T k T x x 7