A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal

Problems and solutions in Linear Algebra

Problem 492

d_1 & 0 & \dots & 0 \\
0 &d_2 & \dots & 0 \\
\vdots & & \ddots & \vdots \\
0 & 0 & \dots & d_n
\end{bmatrix}\] be a diagonal matrix with distinct diagonal entries: $d_i\neq d_j$ if $i\neq j$.
Let $A=(a_{ij})$ be an $n\times n$ matrix such that $A$ commutes with $D$, that is,
\[AD=DA.\] Then prove that $A$ is a diagonal matrix.

LoadingAdd to solve later


We prove that the $(i,j)$-entry of $A$ is $a_{ij}=0$ for $i\neq j$.

We compare the $(i,j)$-entries of both sides of $AD=DA$.
Let $D=(d_{ij})$. That is, $d_{ii}=d_i$ and $d_{ij}=0$ if $i\neq j$.
The $(i,j)$-entry of $AD$ is
(AD)_{ij}=\sum_{k=1}^n a_{ik}d_{kj}=a_{ij}d_j.

The $(i,j)$-entry of $DA$ is
\[(DA)_{ij}=\sum_{k=1}^n d_{ik}a_{kj}=d_ia_{ij}.\]

Hence we have
\[a_{ij}d_j=a_{ij}d_i.\] Or equivalently we have

Since $d_i\neq d_j$, we have $d_j-d_i\neq 0$.
Thus, we must have $a_{ij}=0$ for $i\neq j$.

Hence $A=(a_{ij})$ is a diagonal matrix.

LoadingAdd to solve later

More from my site

You may also like...

2 Responses

  1. Lalitha says:

    How did value “aijdj” derived from the summation (The (i,j)-entry of AD is – sentence). Please explain.

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Linear Algebra
Ohio State University exam problems and solutions in mathematics
Determine Whether There Exists a Nonsingular Matrix Satisfying $A^4=ABA^2+2A^3$

Determine whether there exists a nonsingular matrix $A$ if \[A^4=ABA^2+2A^3,\] where $B$ is the following matrix. \[B=\begin{bmatrix} -1 & 1...