# Answer on Linear Algebra Question for Matthew Lind

Question #23266

Let D be a diagonal matrix such that D_mm does not equal D_nn if m does not equal n. Show that if BD = DB then B is a diagonal matrix.

Expert's answer

When multiplying by D from theleft, then all rows of B will be multiplied by appropriate D_nn.

Symmetric condition holds for columns.

When multiplying by D from the right, then all columns of B will be multiplied

by appropriate D_mm.

So, at position (i,j) (where i not equal j) in BD=DB we will have element B_ij

* D_jj = B_ij * D_ii.

Since D_ii <> D_jj then B_ij = 0 . Thus B have to be Diagonal matrix.

Symmetric condition holds for columns.

When multiplying by D from the right, then all columns of B will be multiplied

by appropriate D_mm.

So, at position (i,j) (where i not equal j) in BD=DB we will have element B_ij

* D_jj = B_ij * D_ii.

Since D_ii <> D_jj then B_ij = 0 . Thus B have to be Diagonal matrix.

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment