Exercise 2.1.9. Consider the set of all nonsingular 2 by 2 matrices. Is it a vector space? How about the set of singular 2 by 2 matrices?
Answer: The set of all nonsingular 2 by 2 matrices is not closed under addition; for example, the matrices
are both nonsingular (and in fact are their own inverses), but the sum
is singular. Since the set of nonsingular 2 by 2 matrices is not closed under addition it is not a vector space.
Next, consider the two singular matrices
Their sum is nonsingular:
So the set of singular 2 by 2 matrices is also not closed under addition, and thus is also not a vector space.
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.