Let $A$ and $B$ be $n×n$ matrices such that $AB = BA$. If all the eigenvalues of $A$ are distinct, then $B$ can be expressed uniquely as a polynomial in $A$ with degree no more than $n − 1$.
My Try: From the fact that $A$ has distinct eigen values, we can say that $A$ is diagonalizable. And from the fact fact that $AB = BA$, I have shown the fact that $B$ also have distinct eigen values and hence also Diagonalizable.
It is also noticed that the matrix $P$ for which $P^{-1}AP = C$, the same matrix $P$ also satisfies $P^{-1}BP = D$, where $C,D$ are resp diagonal matrices.
I have also arrived the fact that if $D$ can be expressed uniquely expressed as a polynomial in $C$ with degree no more than $n − 1$, then $B$ can be expressed uniquely as a polynomial in $A$ with degree no more than $n − 1$.
Having Problem to show that $D$ can be expressed uniquely expressed as a polynomial in $C$ with degree no more than $n − 1$.
Thanks in Advance..
You have reduced it to the case where $C,D$ are diagonal matrices, and $C$ has $n$ different eigenvalues. That means that the minimal polynomial of $C$ is the same as the characteristic polynomial. That is, no polynomial of degree smaller than $n$ annihilates $C.$ Or, $$ I,C,C^2, C^3, \ldots, C^{n-1} $$ are linearly independent in the vector space of square matrices.The span of these is a dimension $n$ space consisting entirely of diagonal matrices. On the other hand, the space of diagonal matrices is dimension $n,$ meaning that all diagonal matrices are in the span, and all diagonal matrices $D$ can be written as a polynomial in $C$