110 likes | 180 Views
Learn about Partial Pivoting to compare values and LU Factorization for solving systems of equations. Discover how to apply P to A and find LU Factorization to ensure all matrices comply.
E N D
Partial Pivoting and the PA=LU Factorization 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 for? Topics at Hand
Used to solve matrix equations • Compare absolute values of entries in and below pivot position • If |ap1|≥|ai1|, switch rows 1 and p • Repeat for each pivot position Partial Pivoting
Writing a matrix A as the product of a lower triangular matrix L and an upper triangular matrix U LU Factorization
Row reduce A into upper triangular U • Keep track of steps in lower triangular L LU Factorization
Not all matrices allow such a factorization… ac Ab LU Factorization aa ad b = 0, ab = 1 ?
Apply permutation matrix P to A • Find LU Factorization of the resulting matrix • Ensures all matrices have LU Factorization PA=LU Factorization
Solving systems of equations: • Matrix form Ax=b • Multiply both sides by P: PAx=PbLUx=Pb • Two-step solution: Ly=Pb, Ux=y • Easy: back substitution Why Is It Useful?