Exercise 1.5.19. For the following two matrices, specify the values of , , and for which elimination requires row exchanges, and the values for which the matrices in question are singular.
Answer: For the first matrix a row exchange would be necessary if the first step of elimination caused the second entry of the second row, i.e., in the (2,2) position, to become 0. This would occur if we multiplied the first row by 4 and subtracted it from the second row, as we would then have in the (2,2) position. Since the entry in the (1,1) position is 1, multiplying the first row by 4 would be necessary if were 4:
If we had both and then the matrix would be singular:
However, these are not the only values of and for which the matrix is singular. Suppose we proceed with elimination. The first step would be to multiply the first row by and subtract the result from the second row:
Assuming that then the next step of elimination would multiply the second row of the matrix by and subtract the result from the third row:
If the (3,3) entry of the resulting matrix above is zero then the original matrix is singular. In this case we have . Multiplying both sides by we have or .
So the first matrix is singular for all values of and for which . This includes the case mentioned above, the case , the case , and an infinity of others on the line .
For the second matrix a row exchange would be necessary if :
On the other hand, if c = 3 then the first elimination produces zeroes in both entries of the second row, and the matrix is singular:
UPDATE: Prompted by Theodore’s comment, added a section deriving the complete set of and for which the first matrix is singular.
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.