Exercise 3.2.13. For a projection matrix show that the sum of the diagonal entries of (the “trace” of ) always equals one.
Answer: For the diagonal entries of are , , through so that the trace of is
UPDATE: Corrected the formulas for the diagonal entries of .
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.