A commutes with everything that commutes with B

52 Views Asked by At

Let $A,B$ be two matrices over a field. Suppose that $A$ commutes with every matrix $X$ which commutes with $B$. Show that $A$ is a polynomial in $B$.