Two matrices with the same characteristic and minimal polynomials are similar
Counterexample
Is this true?
No — it is false.
Go deeper· Explained in full in Rational canonical form and invariant factors· From Eigenvalues and Canonical Forms › Rational canonical form