lecture11 - Lecture 11 Accuracy, Condition Numbers and...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Lecture 11 Accuracy, Condition Numbers and Pivoting In this lecture we will discuss two separate issues of accuracy in solving linear systems. The first, pivoting , is a method that ensures that Gaussian elimination proceeds as accurately as possible. The second, condition number , is a measure of how bad a matrix is. We will see that if a matrix has a bad condition number, the solutions are unstable with respect to small changes in data. The effect of rounding All computers store numbers as finite strings of binary floating point digits. This limits numbers to a fixed number of significant digits and implies that after even the most basic calculations, rounding must happen. Consider the following exaggerated example. Suppose that our computer can only store 2 significant digits and it is asked to do Gaussian elimination on: parenleftbigg . 001 1 3 1 2 5 parenrightbigg . Doing the elimination exactly would produce: parenleftbigg . 001 1 3 − 998 − 2995 parenrightbigg , but rounding to 2 digits, our computer would store this as: parenleftbigg . 001 1 3 − 1000 − 3000 parenrightbigg . Backsolving this reduced system gives: x 1 = 0 , x 2 = 3 . This seems fine until you realize that backsolving the unrounded system gives: x 1 = − 1 , x 2 = 3 . 001 . Row Pivoting A way to fix the problem is to use pivoting, which means to switch rows of the matrix. Since switching rows of the augmented matrix just corresponds to switching the order of the equations, 39 40 LECTURE 11. ACCURACY, CONDITION NUMBERS AND PIVOTING no harm is done:...
View Full Document

This note was uploaded on 02/09/2012 for the course MATH 344 taught by Professor Young,t during the Fall '08 term at Ohio University- Athens.

Page1 / 4

lecture11 - Lecture 11 Accuracy, Condition Numbers and...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online