# Centre of a matrix ring are diagonal matrices [duplicate]

Show that $Z(M_n(R))$ consist of diagonal matrices with entries $Z(R)$.

-

## marked as duplicate by rschwiebFeb 5 at 20:32

Please, try to make the title of your question more informative. E.g., Why does $a<b$ imply $a+c<b+c$? is much more useful for other users than A question about inequality. From How can I ask a good question?: Make your title as descriptive as possible. In many cases one can actually phrase the title as the question, at least in such a way so as to be comprehensible to an expert reader. –  Julian Kuelshammer Jan 22 '13 at 6:35
Suppose $A=(a_{ij})\in Z(M_n(R))$. Let $E_{ij}$ be the matrix whose $i,j$ entry is $1$, and all other entries are $0$. Then the equations $$E_{ii}A=AE_{ii}$$ for $1\leq i\leq n$ implies that $A$ is necessarily diagonal. (Why?) Furthermore, $$AE_{ij}=E_{ij}A$$ for $1\leq i,j\leq n$ implies that $a_{ii}=a_{jj}$ for all $i$ and $j$. (Why?) Hence $A=aI_n$ for some $a\in R$. But notice that $$aI_n(bI_n)=bI_n(aI_n),\quad \forall b\in R$$ implies that $a\in Z(R)$.