Solving Ax=b with Pivoting Solving Ax=b with Gaussian Elimination - - PowerPoint PPT Presentation

solving ax b with pivoting
SMART_READER_LITE
LIVE PREVIEW

Solving Ax=b with Pivoting Solving Ax=b with Gaussian Elimination - - PowerPoint PPT Presentation

Numerical and Scientific Computing with Applications David F . Gleich CS 314, Purdue September 29, 2016 In this class: Solving Ax=b with Pivoting Solving Ax=b with Gaussian Elimination and LU and partial pivoting Next class


slide-1
SLIDE 1

Operations in solving Ax=b

G&C – Chapter 7 Numerical and Scientific Computing with Applications David F . Gleich CS 314, Purdue September 29, 2016

Solving Ax=b with Pivoting

Next class

QR Factorization & Least Squares

G&C – Chapter 7.6 Next next class In this class:

  • Solving Ax=b with

Gaussian Elimination and LU and partial pivoting

slide-2
SLIDE 2

Solving Ax=b

We use Gaussian Elimination to solve Ax=b We record the steps in a matrix factorization A = LU So that we can “replay” them more efficiently.

slide-3
SLIDE 3

Solving Ax=b

But – there are some issues with this!

  • Pivoting is necessary to make this work on

the computer!

  • Swapping rows to avoid dividing by

(i) zero or (ii) small numbers THEOREM A matrix is non-singular if and

  • nly if the pivoted LU decomposition

succeeds without dividing by zero