Exercise 1.5.16. Find a 4 by 4 matrix (preferably a permutation matrix) that is nonsingular and for which elimination requires three row exchanges.
Answer: The following permutation matrix meets the requirement:
For this matrix elimination requires the following row exchanges:
- Exchange row 1 and row 2.
- Exchange row 2 and row 3.
- Exchange row 3 and row 4.
After the row exchanges the matrix is the identity matrix, which is nonsingular:
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
.