Let $W$ be the space of $n\times n$ matrices whose trace is zero. Find a subspace $W'$ so that $\mathbb{R}^{n\times n}=W\oplus W'$ (Here $\oplus$ is direct sum notation.)
So, I have to find $W'$ such that $W\cap W'=0$. But no clue how to find such set $W'$. It is certainly NOT matrices whose trace is non-zero (then we can not get $W\cap W'=0$).
Any help appreciated.
Hint The subspace $W$ is precisely the kernel of the nontrivial linear map $\operatorname{tr} : \Bbb R^{n \times n} \to \Bbb R$, so it has codimension $1$.