If two matrices have the same characteristic polynomial then do they have the same determinant?

2.7k Views Asked by At

There is a similar question here, but it's asking that if two matrices have the same characteristic polynomial then are they similar. If the answer were positive then the answer to my question will also be positive, but it's not.

Now, if two matrices have the same characteristic polynomial then they are of the same order. Suppose $A$ and $B$ are matrices of order 2 and they both have a characteristic polynomial of $t^2+at+b$. We know that $t^2+at+b=t^2-\text{trace}(A)t+\text{det}(A)=t^2-\text{trace}(B)t+\text{det}(B)$, so in this case the answer to my question is affirmative.

However, I don't think the answer is "yes" in general because then I probably will have a theorem which says this in my book. I looked for counterexamples but couldn't find any. Basically, I made up random matrices and never got a counterexample. So if the answer to the question is "no", can you please explain how you arrived at the counterexample.

3

There are 3 best solutions below

7
On BEST ANSWER

If $\chi_A$ denotes the characteristic polynomial of $A$, then $\chi_A(0)=\det(A)$, so the answer is yes.

2
On

If they have the same characteristic polynomial then they have the same eigenvalues and by this fact alone they have the same determinant because the determinant is equal to the product of the matrix's eigenvalues (repeated under multiplicity)

0
On

For a square matrix $n \times n$ matrix $A$ the characteristic polynomial will have constant term $(-1)^n \det A$ and the coefficient of the $t^{n-1}$ term will be $- \text{tr} A$. So if two matrices have the same characteristic polynomial they necessarily have the same trace and determinant.