Grayson Ishihara Math 480 April 15, 2013. What is Partial Pivoting? What is the PA=LU...

9
Partial Pivoting and the PA=LU Factorization Grayson Ishihara Math 480 April 15, 2013

Transcript of Grayson Ishihara Math 480 April 15, 2013. What is Partial Pivoting? What is the PA=LU...

Page 1: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

Partial Pivoting and

the PA=LU

Factorization

Grayson Ishihara

Math 480

April 15, 2013

Page 2: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

Topic

s at

Hand What is Partial

Pivoting? What is the PA=LU Factorization? What kinds of things

can we use these tools

for?

Page 3: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

Partia

l

Piv

otin

g Used to solve matrix

equations

Compare absolute

values of entries in and

below pivot position

If |ap1|≥|a i1

|, switch rows

1 and p

Repeat for each pivot

position

Page 4: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

LU

Fact

ori

zati

on Writing a matrix A as

the product of a lower

triangular matrix L and

an upper triangular matrix U

Page 5: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

LU

Fact

ori

zati

on

Page 6: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

LU

Fact

ori

zati

on

Row reduce A into upper triangular U

Keep track of steps in

lower triangular L

Page 7: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

LU

Fact

ori

zati

on

Not all matrices allow

such a factorization…

aa Ab adacb = 0, ab = 1 ?

Page 8: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

PA

=LU

Facto

rizatio

n Apply permutation

matrix P to A

Find LU Factorization of

the resulting matrix

Ensures all matrices

have LU Factorization

Page 9: Grayson Ishihara Math 480 April 15, 2013.  What is Partial Pivoting?  What is the PA=LU Factorization?  What kinds of things can we use these tools.

Why I

s It

U

sefu

l?

Solving systems of equations: Matrix form Ax=b

Multiply both sides by

P: PAx=Pb LUx=Pb Two-step solution:

Ly=Pb, Ux=y Easy: back substitution