Review exercise 1.6. (a) For each of the each of the 2 by 2 matrices containing only 0 or 1 as entries, determine whether the matrix is invertible or not. (b) Of the 10 by 10 matrices containing only 0 or 1 as entries, is a particular matrix chosen at random more likely to be invertible or not?

Answer: (a) A 2 by 2 matrix has four entries. If each entry can be either 0 or 1 then there are 16 possible matrices of this type:

Of these matrices, the following ten matrices are singular:

This can be most easily shown by computing the value , which is zero for all these matrices.

The remaining six matrices are nonsingular and have inverses as follows:

(b) The 10 by 10 matrices have 100 entries, and if each can be 0 or 1 that means there are possible matrices of this type. At present I don’t know of a good method to determine whether the majority of those matrices are invertible or not. I’ll update this post later if and when I have time to work on this some more.

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.