We have the matrix \begin{equation*}A=\begin{pmatrix}a & b \\ c & d\end{pmatrix}\end{equation*}
I want to find for which real numbers $a,b,c,d$ the matrix is diagonalizable in $\mathbb{R}^{2\times 2}$ and for which in $\mathbb{C}^{2\times 2}$.
The charachteristic polynomial is \begin{align*}\det (A-\lambda I)=\lambda^2-(a+d)\lambda +(ad-cb)\end{align*}
So, the eigenvalues are
\begin{align*}\lambda^2&-(a+d)\lambda +(ad-cb)=0 \\ \Rightarrow &\lambda_{1,2}=\frac{(a+d)\pm \sqrt{(a+d)^2-4(ad-cb)}}{2}=\frac{(a+d)\pm \sqrt{a^2+2ad+d^2-4ad+4cb}}{2}\\ & =\frac{(a+d)\pm \sqrt{a^2-2ad+d^2+4cb}}{2} =\frac{(a+d)\pm \sqrt{(a-d)^2+4cb}}{2}\end{align*}
We have the following cases:
As an element of $\mathbb{R}^{\times 2}$ we have the following:
- Expression under the root $< 0$: no real eigenvalue, so the matrix is not diagonalizable.
- Expression under the root $> 0$: two different eigenvalues, that means that the matrix is not diagonalizable, or not?
- Expression under the root $= 0$, we have an eigenvalue of multiplicity $2$. What do we have in this case?
As an element of $\mathbb{C}^{\times 2}$ we have the following:
- Expression under the root $\neq 0$: two different eigenvalues , that means that the matrix is not diagonalizable, right?
- Expression under the root $= 0$, we have an eigenvalue of multiplicity $2$. What do we have in this case?
A matrix is diagonalizable iff its minimum polynomial is a product of simple linear factors.
Also, the distinct roots of the minimum polynomial are the same as the distinct eigenvalues of the matrix.
So for a 2x2 matrix, the only case when it is NOT diagonalizable is when the matrix has 2 repeated eigenvalues.
The matrix has repeated eigenvalues when:
$$det(A-\lambda I) = \lambda^2-\lambda \cdot (a+d) + (ad-bc)$$ has repeated roots....ie: $b^2-4ac=0$, which should simplify to: $$(a-d)^2+4bc=0$$
So all values of a, b, c and d that satisfy $(a-d)^2+4bc\ne0$ make A diagonalizable.