I have the following matrix and have to see if it has solutions depending on $a$. My solution:
$M= \left[ {\begin{array}{cc} a & a^2 &| &1 \\ -1 & -1& | & -a \\ 1 & a & | & a \end{array} } \right] $
My attemp was: Changing first with third line
$= \left[ {\begin{array}{cc} 1 & a & | & a \\ -1 & -1& | & -a \\ a & a^2 &| &1 \\ \end{array} } \right] $
Add the first row to the second one
$= \left[ {\begin{array}{cc} 1 & a & | & a \\ 0 & a-1& | & 0 \\ a & a^2 &| &1 \\ \end{array} } \right] $
Add the $-a$ of the first line to the third line
$= \left[ {\begin{array}{cc} 1 & a & | & a \\ 0 & a-1& | & 0 \\ 0 & 0 &| &1-a^2 \\ \end{array} } \right] $
From $0=1-a^2$there we can obtain that the LES has a solution if $a=+/-1$
Is this a valid solution to the problem and is there a free variable?