Find a basis for the space of all $2$ by $3$ matrices whose rows and columns sum to zero.
I'm having trouble doing these kinds of questions methodically. I can 'guess' at the answer but I'm not sure of a clear method to get the result. Can anyone offer a step by step method or at least express clearly the process of reasoning to get the result?
This is a basis $$\begin{pmatrix} 1&0&-1\\-1&0&1 \end{pmatrix}$$ $$\begin{pmatrix} 0&1&-1\\0&-1&1 \end{pmatrix}$$Proof: The requested matrices are of form:$$\begin{pmatrix} a&b&c\\d&e&f \end{pmatrix}$$where$$a+d=0\\b+e=0\\c+f=0$$therefore $$a=-d\\b=-e\\c=-f$$and the matrix gets as following$$\begin{pmatrix} a&b&c\\-a&-b&-c \end{pmatrix}$$and $$a+b+c=0$$which gives us the most general form of such matrices:$$\begin{pmatrix} a&b&-a-b\\-a&-b&a+b \end{pmatrix}$$. Since we have two degree of freedom we one basis can be obtained using $a=0,b=1$ and one other using $a=1,b=0$