Find the values of $x$ for which the matrix
\begin{bmatrix} x & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & x \\ \end{bmatrix}
has the lowest rank.
Since the rank is the dimension of the row space of $A$, I should find $x$ for which the dimension of the row space is as low as it can possibly be. I performed Gaussian elimination on $A$ via the following steps:
\begin{bmatrix} x & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & x \\ \end{bmatrix}
\begin{bmatrix} 1 & 0 & \frac{1}{x} \\ 0 & 1 & 0 \\ 1 & 0 & x \\ \end{bmatrix}
\begin{bmatrix} 1 & 0 & \frac{1}{x} \\ 0 & 1 & 0 \\ 0 & 0 & x -\frac{1}{x} \\ \end{bmatrix}
So I should now let $x - \frac{1}{x} = 0 $, more specifically let $x^2 = 1$ and thus $x = \pm 1$. Overall resulting in an overall lowest rank of $2$.
Is this the correct answer? And is it the correct way of thinking about questions such as these? Should I have considered the null space instead? Thanks in advance.