[Math] What values of $a$ make this matrix not invertible

linear algebra

So I'm given this matrix:

$$\left(\begin{array}{c} a & 1 & 1 \\ 1 & a & 1 \\ 1 & 1 & a\end{array}\right)$$

and am told to find the values of a which make it not invertible.

I know that $a = 0$ means our matrix is invertible (since the column vectors span $\mathbb{R}^3$) but I'm not sure how to go about finding all values of $a$ which make the matrix not invertible.

My thought was to row reduce it and find values of $a$ for which rref isn't the identity. The row reduction with $a$ instead of numbers is tripping me up.

Any help?

Thanks,
Mariogs

Best Answer

Calculate the determinant of A $$\det(A)=a(a^2-1)-1(a-1)+1(1-a)=a^3-a-a+1+1-a=a^3-3a+2$$ The matrix is not invertible when det(A) is equal to zero.

You can solve or guess the solution the obvious solutions which are $a=1$ (double root) and $a=-2$. As stated in the comments, the value $a=1$ is obvious already before that point, since it is the value that makes all columns of the matrix equal (and thus linearly dependent).

So, for every other value of $a$, i.e for $a\in \mathbb{R}-\{1,-2\}$ the matrix is invertible, which means that in this case the column vectors are linearly independent and therefore they span $\mathbb{R}^3$.