Let $a \; \in \; \mathbb{R}$. Find the rank of the matrix
$$\begin{pmatrix} -a&1&2&3&1\\ 1&-a&3&2&1\\ 2&3&-a&1&1\\ 3&2&1&-a&1 \end{pmatrix}$$
This is one of my exercises. I tried to use some elementary operations to transform this matrix to RRE form, but it seems like it is really complicated to complete. Help me, please. Thanks!
Not sure where you are getting stuck. Apply Gaussian elimination to convert to reduced echelon form and constraints on $a$ will be obvious from there.