0
$\begingroup$

I was thinking about the following problem:

Let $A$ be an $n\times n$ matrix over real numbers such that $AB=BA,$ for all $n\times n$ matrices $B$.Then which of the following options is correct?

(a)$A$ must be zero,
(b)$A$ must be the identity,
(c)$A$ must be a diagonal matrix,
(d)$A$ must be either $0$ or the identity.

I think the answer will be between $(c)$ and $(d)$. But i am not sure how to get the exact result.Can someone show me the right direction? Thanks in advance for your time.

$\endgroup$

marked as duplicate by Marc van Leeuwen linear-algebra Feb 4 '15 at 8:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    $\begingroup$ Others have answered this question, correctly, as (c). But be careful. It is not true that if $A$ is a diagonal matrix, it has this property. It is only true for a specific subset of diagonal matrices. $\endgroup$ – Thomas Andrews Dec 17 '12 at 14:50
0
$\begingroup$

Hint Let $B$ be a diagonal matrix with pairwise disjoint diagonal entries. Then $AB=BA$ implies that $A$ is a diagonal matrix. This is very easy to prove, just write explicitly $AB$ and $BA$.

P.S. The most general thing you can prove about this problem is that $AB=BA$ for all $B$ if and only if $A= cI$.

$\endgroup$
5
$\begingroup$

You can immediately rule out answers (a), (b) and (d) by considering the matrix $A = 2I$, where $I$ is the identity matrix. This leaves (c) as the only option.

To actually prove statement (c), try looking at certain specific matrices $B$. For example, if $B$ is a matrix which has only one non-zero entry, what does the equation $AB=BA$ tell you about $A$?

$\endgroup$
  • $\begingroup$ thanks a lot .It is a very good approach for the multiple choice question like that.+1 from me. $\endgroup$ – user52976 Dec 17 '12 at 14:51
2
$\begingroup$

Only (c) is correct. Just consider $n=2$ and $A=2I$. Then $AB=BA$ for all $2\times 2$ matrix $B$, but $A$ is neither zero nor identity.

$\endgroup$