MathCastle
Linear AlgebraSuperchallengeOrthogonality & Least Squares

Orthogonality & Least Squares · Superchallenge problem

Give the space of real 3×33\times 3 matrices the Frobenius inner product ⟨X,Y⟩=tr⁡(XTY)\langle X, Y\rangle = \operatorname{tr}(X^{T}Y) (the sum of products of corresponding entries). Let WW be the subspace of symmetric matrices with trace 00. Find the distance from A=(123456789)A = \begin{pmatrix}1 & 2 & 3\\4 & 5 & 6\\7 & 8 & 9\end{pmatrix} to WW.