Some matrices can be expressed as polynomials of each other.
- For example inverses: if $AB=I$ then $A$ can be expressed as some polynomial
$p(B)$ and also it exists such polynomial $r(A)$ that $B=r(A)$.
(standard procedure of deriving such polynomials is based on Cayley-Hamilton theorem).
Not always we have situation that if for example some matrix can be expressed as others polynomial then the reverse statement is true.
- For example $A^2=I$ doesn't mean that it exists such polynomial
$p(I)$ that $p(I)=A$
(a polynomial of identity matrix must be a scalar matrix but $A$ in the case $A^2=I$ doesn't necessarily be a scalar matrix - the same can be said if instead of $I$ we would have on RHS above equation a scalar matrix).
From these considerations the question follows:
- what are exactly conditions that allow for a pair of matrices $A,B$ to be expressed as polynomials of each other?
One could say that they must have exactly the same eigenvectors but I'm not sure whether it is equivalent to the condition mentioned above or that conditions can be expressed in other, more universal way..
Let entries of considered matrices be real.