Algebra · real student question

Prove that if a square matrix commutes with every matrix of the same size, then it is a scalar multiple of the identity matrix.

Question

Let AA be an n×nn \times n matrix over a field FF. Prove that if

AB=BAfor every BMn(F)AB = BA \quad \text{for every } B \in M_n(F)

then A=λInA = \lambda I_n for some scalar λF\lambda \in F.

Step-by-step solution

  1. Pick the right test matrices. Rather than an arbitrary BB, use the matrix units EijE_{ij} — the matrix with a 11 in row ii, column jj, and 00 everywhere else. Since AA commutes with everything, it commutes with each EijE_{ij}.

  2. Compute both products. Writing A=(akl)A = (a_{kl}):

    AEij has the i-th column of A placed in column jAE_{ij} \text{ has the } i\text{-th column of } A \text{ placed in column } j
    EijA has the j-th row of A placed in row iE_{ij}A \text{ has the } j\text{-th row of } A \text{ placed in row } i

  3. Force the off-diagonal entries to vanish. Setting AEij=EijAAE_{ij} = E_{ij}A and comparing entries gives aki=0a_{ki} = 0 for every kik \ne i. Since ii and jj were arbitrary, every off-diagonal entry of AA is zero, so AA is diagonal.

  4. Force the diagonal entries to agree. Comparing the remaining entries gives aii=ajja_{ii} = a_{jj} for all i,ji, j. So all diagonal entries share a common value λ\lambda.

  5. Conclude. A diagonal matrix whose diagonal entries are all equal to λ\lambda is exactly λIn\lambda I_n. (The converse is immediate: λI\lambda I commutes with everything.) This says the centre of the matrix ring Mn(F)M_n(F) is precisely the scalar matrices.

Answer

A=λInA = \lambda I_n

Need to solve a different problem like this? Open the solver →