I've been searching but I can't find the solution of matrix, only vectors.
What's the dimension space of $2 \times 2$ matrices? Find a base to this space. Then, do the same to $n \times n$ matrices.
The problem is that I can't find without the matrix.
The vector space of $2 \times 2$ matrices under addition over a field $\mathbb{F}$ is 4 dimensional. It's $$\operatorname{span}\left\{ \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix} ,\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix},\begin{pmatrix} 0 & 0 \\ 1 & 0 \end{pmatrix},\begin{pmatrix} 0 & 0 \\ 0 & 1 \end{pmatrix} \right\}.$$ These are clearly independent under addition. Can you generalize?