Proving Subspace of Mnn: AB=BA for Fixed nxn Matrix B

  • Thread starter Thread starter derryck1234
  • Start date Start date
  • Tags Tags
    Subspace
derryck1234
Messages
55
Reaction score
0

Homework Statement



Prove that the set of all n x n matrices A such that AB = BA for a fixed n x n matrix B, is a subspace of Mnn.

Homework Equations



u + v is in the same vector space as u and v.
ku is in the same vector space as u, where k is any real number.

The Attempt at a Solution



I am drawn to think of a diagonal matrix when I think of this question. And if I multiply a diagonal matrix by a scalar, it can only be a diagonal matrix or the zero matrix, either way, it AB still equals BA. Similarly, adding two diagonal matrices obtains either another diagonal matrix or the zero matrix...so, in this way, A is a subspace of Mnn.

Am I correct?
 
Physics news on Phys.org
i would just test the subspace requirements directly:

clearly the zero matrix is n the set
now say A,B satisfy AB = BA then is cA+dB in the set? that will satisfy closure under scalar multiplication and addition
 
Back
Top