Exercise 2.3.16. What is the dimension of the vector space consisting of all 3 by 3 symmetric matrices? What is a basis for it?
Answer: There are nine possible entries that can be set in a 3 b 3 matrix, but if the matrix is symmetric then only six of them can be set independently, since we must have , , and . Any symmetric matrix
can be represented as a linear combination of six linearly independent matrices as follows:
Since the above set of six linearly independent matrices spans the space of 3 by 3 symmetric matrices it is a basis for the space, and the dimension of the space is therefore six.
UPDATE: Corrected a typo in the definition of the matrix . Thanks go to James Teow for finding this error.
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.