Let $k$ be a field, $V$ a finite-dimensional $k$-vectorspace and $M \in End(V)$. How can I determine $Z$, the centralizer of $M \otimes M$ in $End(V) \otimes End(V)$?
For example, if $$M=[[1,0],[0,2]],$$ then $M$ is 6-dimensional, consisting of block matrices of shape 1,2,1.
I was confused at first, because this seems to be a contradiction to the fact that the centralizer of a subalgebra of the form $A \otimes B$ is just the tensor product of the centralizers of $A$ and $B$; but here we are considering only the element $M \otimes M$, not $A \otimes A$, where $A$ is the subalgebra generated by $M$.