Let $p(x)=x^3-6x^2+11x-6$. Describe the Jordan Canonical forms of the $2\times 2-$ matrices $M$ that satisfy $p(M)=0$ if any such matrices exist.
$p(x)=(x-1)(x-2)(x-3)$. so the possible eigenvalues are $1,2,3$. (since its minimal polynomial must divide $p(x)$.)
My problem is showing the possible jordan form of matrices having repetitive eigenvalues . For example, if $\lambda=1,1$, the possible jordan forms are
$$\begin{bmatrix} 1&0\\0&1 \end{bmatrix} and \: \begin{bmatrix} 1&1\\0&1 \end{bmatrix},$$
I am not sure if we can accept both of these matrices. Do I have to check these two matrices annihilates the polynomial $p(x)$?