Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

8
Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods

Transcript of Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

Page 1: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

Introduction to Numerical Analysis I

MATH/CMPSC 455

Conjugate Gradient Methods

Page 2: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

A-ORTHOGONAL BASIS

form a basis of ,

where

is the i-th row of the identity matrix. They

are orthogonal in the following sense:

They are linearly independent, and form a basis.

Introduce a set of nonzero vectors ,

They satisfy the following condition:

We say they are A-orthogonal, or conjugate w.r.t A.

Page 3: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

CONJUGATE DIRECTION METHOD

Theorem: For any initial guess, the sequence

generated by the above iterative method,

converges to the solution of the linear system

in at most n iterations. Question: How to find the A-orthogonal bases?

Page 4: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

CONJUGATE GRADIENT METHOD

Answer:

Each conjugate direction is chosen to be a linear

combination of the residual and the previous

direction

Conjugate Gradient Method: Conjugate direction method on this particular basis.

Page 5: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

CG (ORIGINAL VERSION)

While

End While

Page 6: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

Theorem: Let A be a symmetric positive-

definite matrix. In the Conjugate Gradient

Method, we have

Page 7: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

CG (PRACTICAL VERSION)

While

End While

Page 8: Introduction to Numerical Analysis I MATH/CMPSC 455 Conjugate Gradient Methods.

Example: