# Prove similarity of matrices with the same characteristic and same minimal polynomials

Let $A, B$ be $8\times 8$ matrices with the same characteristic polynomial and same minimal polynomial of degree$~7$. Prove that $A$ and $B$ are similar.

I know that $A$ and $B$ have the same eigenvalues with the same algebraic multiplicities. But how do I continue from here ? Any hints ?

Thanks :)

• Do you have a handy theorem about the Jordan canonical form? – coolpapa Jun 12 '14 at 21:18
• Yes I do. But how ? – Jenni201 Jun 12 '14 at 21:21
• How do you relate the minimal polynomial of a matrix with its jordan normal form? – Git Gud Jun 12 '14 at 21:29

In this case, we know that the sizes of the largest Jordan blocks associated with each eigenvector of $A$ add up to $7$. However, $A,B$ are $8 \times 8$, which means that there's a block we haven't accounted for, and its size has to be $1$ so that the sum of all block-sizes is $8$.
So far, we've shown that $A$ and $B$ have to have the same Jordan blocks, except potentially for a size-$1$ Jordan block which they must have, but can be different for each without changing the minimal polynomial.
This is where we use the characteristic polynomial. Since the algebraic multiplicities are the same for $A$ and $B$, the eigenvalue of the remaining size-$1$ block has to be the eigenvalue corresponding to the factor in the characteristic polynomial that is missing from the minimal polynomial.
Thus, $A,B$ have to have the same Jordan form. So, they are similar.