I have this matrix: $$A = \begin{pmatrix} 1 & -\alpha & \alpha \\ \alpha & \alpha -1 & 2 \\ \alpha & -2 & \alpha +3\end{pmatrix}$$
And I want to know for which values of $\alpha$ it is diagonalisable, but I have been having a hard time trying to solve the exercise. My initial guess has been that, since the trace of $A$ is $2\alpha + 3$, then the sum of the eigenvalues of $A$ must equal that, and therefore two eigenvalues are $\alpha$ (algebraic multiplicity of $2$) and the other eigenvalue is $3$ (algebraic multiplicity of 1). Since the geometric and the algebraic multiplicities have to be the same of $A$ to be diagonalisable, I have started trying to calculate the geometric multiplicities, but I have not been able to follow the discussion of the system. For example, the geometric multiplicity of $\alpha$, $d_\alpha$, would be given by: $$d_\alpha = 3 - \operatorname{rank}\begin{pmatrix} 1-\alpha & -\alpha & \alpha \\ \alpha & -1 & 2 \\ \alpha & -2 & 3\end{pmatrix}$$ But I don't see anything useful there, besides the fact that I can't think of a value of $\alpha$ that would make the rank of the matrix $1$. How could I solve this? Thanks.
The eigenvalues of $A$ are $1$ (it's a simple root of the characteristic polynomial of $A$) and $1+\alpha$ (it's a double root). So, your matrix is diagonalizable if and only if the eigenspace corresponding to the eigenvalue $1+\alpha$ is $2$-dimensional. Bue\begin{align}A.\begin{bmatrix}x\\y\\z\end{bmatrix}=(1+\alpha)\begin{bmatrix}x\\y\\z\end{bmatrix}&\iff\left\{\begin{array}{l}-\alpha x-\alpha y+\alpha z=0\\\alpha x-2y+2z=0\\\alpha x-2y+2z=0\end{array}\right.\\&\iff\left\{\begin{array}{l}-\alpha x-\alpha y+\alpha z=0\\\alpha x-2y+2z=0.\end{array}\right.\end{align}So, if $\alpha=0$ you just have the space $\bigl\{(x,y,z)\in\mathbb R^3\mid-y+z=0\bigr\}$, which is indeed $2$-dimensional. If $\alpha=-2$, you just have the space $\bigl\{(x,y,z)\in\mathbb R^3\mid x+y-z=0\bigr\}$, which is also $2$-dimensional. In all other cases, the equations are linearly independent and the eigenspace corresponding to the eigenvalue $1+\alpha$ is $1$-dimensional.
So, your matrix is diagonalizable if and only if $\alpha=0$ or $\alpha=-2$.