$$\left( \begin{array}{ccc} 0 & 1 & 2 \\ -5 &-3 & -7 \\ 1 & 0 & 0 \end{array} \right) $$
I figured out the eigenvalues are all -1 from the characteristic polynomial, but I'm not sure how to find the 1's on the subdiagonal. I know they're 1, but I'm not sure how that's determined. I also know that the eigenspace is 0 on the matrix where we subtract -1 on the diagonal. Thank you.
Here's a way to find the minimal polynomial, in this case:
We know that the characteristic polynomial is going to be $(x+1)^3$. The minimal polynomial must divide that.
We find $$ A + I = \pmatrix{1&1&2\\-5&-2&-7\\1&0&1} $$
Method 1: what is $(A+I)^2$? If it's zero, the min polynomial is $(x+1)^2$. Otherwise, it's $(x+1)^3$
Method 2: It is pretty clear that rank$(A + I) \geq 2$. Of the possible Jordan forms $J$, only one satisfies rank$(J+I) = 2$.