What is the maximmal dimension of a vector subspace of $\mathcal{M}_n(\Bbb{R})$ formed by diagonalisable matrices $\mathcal{D}_n(\Bbb{R})$?
Attempt :
Let $\mathcal{S}_n(\Bbb{R})$ the set of symmetric matrices, wich is a subspace of $\mathcal{D}_n(\Bbb{R})$ of dimension $\frac{n(n+1)}{2}$ and denote $\mathcal{T}_n(\Bbb{R})$ the set of upper triangular matrice with zero diagonal , wich is a subspace of $\mathcal{D}_n(\Bbb{R})$ of dimension $\frac{n(n-1)}{2}$. Then $\mathcal{S}_n(\Bbb{R})$ and $\mathcal{M}_n(\Bbb{R})$ are in direct sum.
How can I continue ?
NB: I am also curious if we replace $\Bbb{R}$ by $\Bbb{C}$ ?