Exercise 1.7.9. Given the matrix
compare the pivots in standard elimination with those used in partial pivoting.
Answer: In the standard elimination process we would use a multiplier (1/.001) to multiply the first row and subtract it from the second:
Here the pivots are .001 and 1000, a difference of six orders of magnitude.
With partial pivoting we would first do a row exchange:
and then use the multiplier (.001/1) to multiply the first row and subtract it from the second:
In this case the two pivots are 1 and -1 and are of the same order of magnitude.
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition
and the accompanying free online course, and Dr Strang’s other books
.