What Are the Properties and Basis of Matrices That Commute With a Given Matrix?

  • Thread starter Thread starter DWill
  • Start date Start date
  • Tags Tags
    Basis Subspace
Click For Summary

Homework Help Overview

The discussion revolves around the properties and basis of matrices that commute with a given matrix B, specifically focusing on the set X_B of n x n matrices that satisfy the commutation relation AB = BA. Participants are tasked with proving that X_B is a subspace of M_n, identifying a basis for X_B when B is a specific 2x2 matrix, and exploring the orthogonality of the basis.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the definition of M_n and its implications for matrix multiplication. There are attempts to clarify the properties required for X_B to be a subspace, including closure under addition and scalar multiplication. Questions arise about the proof of these properties and the implications of the teacher's guidance. Some participants explore the process of finding a basis for X_B and the conditions for orthogonality.

Discussion Status

The discussion is active, with participants providing insights and corrections regarding the properties of subspaces. There is a mix of interpretations about the requirements for closure under addition and scalar multiplication. Some participants have begun to derive a basis for X_B and are questioning the correctness of their findings, while others are exploring the concept of orthogonality in relation to their basis.

Contextual Notes

Participants are working under the constraints of a homework assignment, which includes specific tasks related to proving properties of subspaces and finding a basis for a set of matrices. There is an ongoing examination of the definitions and assumptions related to the matrices involved.

DWill
Messages
68
Reaction score
0

Homework Statement


Let B be a fixed n x n matrix, and let X_B = { A e M_n so that AB = BA }. In other words, X_B is the set of all matrices which commute with B.

(a) Prove that X_B is a subspace of M_n.
(b) Let B =
[
1 0
2 -1
]

Find a basis for X_B and write its dimension.

(c) Is your basis in part (b) orthogonal? If not, make it orthogonal using the
Gram-Schmidt algorithm. Then, normalize the basis to make it orthonor-
mal.


Homework Equations


A e M_n ---> A belongs to set M_n


The Attempt at a Solution


For part (a) what is M_n ? Is this some general notation for a certain matrix (like I for identity)? I think I need to know that before I can try proving anything. Thanks
 
Physics news on Phys.org
M_n has to represent n x n matrices. For a given n x n matrix B, for AB to be defined, A has to have n columns. For the same B, for BA to be defined, A has to have n rows.

IOW, A has to be n x n for both products to be defined.
 
Ok so I asked my teacher about part (a) and she said that for it to be a subspace, I have to check the following 4 properties:

1. Closed under addition
2. Closed under scalar multiplication
3. Contains 0
4. Closed under inverses

For property 1, she said that take A and C in X_B, then if (A+C)B = B(A+C) then this shows A+C is also in X_B. I don't understand this, why does showing the above equation is true show that it is closed under addition? I think I can show properties 2 and 3, but property 4 I'm also confused by. Can someone show me how to prove if A is in X_B then -A is also in X_B?

One more question, in part (b) I am given the matrix B. To find a basis, I need to find the matrices that commute with B, and then find the set of matrices that span X_B and are linearly independent? Any hints are helpful.

Thanks again
 
DWill said:
Ok so I asked my teacher about part (a) and she said that for it to be a subspace, I have to check the following 4 properties:

1. Closed under addition
2. Closed under scalar multiplication
3. Contains 0
4. Closed under inverses
I think your teacher might be new at this subject. To show that a subset U of a vector space V is actually a subspace of V, all you need to show are:
  1. if x and y are in U then x + y is in U.
  2. if x is in U and c is a scalar, then cx is in U.
You can even cut the two steps above to one step by showing that if x and y are in U, and c is a scalar, then c(x + y) is in U.
The four steps your teacher gave are covered by the two I gave above.
DWill said:
For property 1, she said that take A and C in X_B, then if (A+C)B = B(A+C) then this shows A+C is also in X_B. I don't understand this, why does showing the above equation is true show that it is closed under addition?
You are correct to not understand this, because it is not showing that the set is closed under addition; it is showing that addition in set is commutative. It also lessens my confidence in your teacher's knowledge.
For the property 1 that she gave, you need to show that if x is in U and y is in U, then x + y is in U. Period. Using your variables, if A is in the set (I called this set U) and B is in the set, then A + B is in the set.

DWill said:
I think I can show properties 2 and 3, but property 4 I'm also confused by. Can someone show me how to prove if A is in X_B then -A is also in X_B?
The second condition that I showed that must be satisfied is that if c is a scalar and x is in U, then cx is in U. Consider the scalar -1.

DWill said:
One more question, in part (b) I am given the matrix B. To find a basis, I need to find the matrices that commute with B, and then find the set of matrices that span X_B and are linearly independent? Any hints are helpful.

Thanks again
The matrix B that you were given is a 2 x 2 matrix with one entry 0. Any matrix A has to be 2 x 2 as well, for reasons I gave earlier. Just put in values for A (a, b, c, and d, for example) and multiply both products AB and BA. The system of equations will describe the subspace you're looking for.
 
Mark44 said:
I think your teacher might be new at this subject. To show that a subset U of a vector space V is actually a subspace of V, all you need to show are:
  1. if x and y are in U then x + y is in U.
  2. if x is in U and c is a scalar, then cx is in U.
You can even cut the two steps above to one step by showing that if x and y are in U, and c is a scalar, then c(x + y) is in U.
The four steps your teacher gave are covered by the two I gave above.

I think you might be new at this subject. For a subset U of a vector space V to be a subspace, it needs to be non-empty :wink:

You are correct to not understand this, because it is not showing that the set is closed under addition; it is showing that addition in set is commutative. It also lessens my confidence in your teacher's knowledge.
For the property 1 that she gave, you need to show that if x is in U and y is in U, then x + y is in U. Period. Using your variables, if A is in the set (I called this set U) and B is in the set, then A + B is in the set.

No, you're wrong here. The definition of XB is that it's the set of matrices that commute with B. So showing that if A commutes with B and C commutes with B, then A+C commutes with B is exactly showing that the set is closed under addition.
 
Shredder,
You got me. Of course the set under consideration has to be nonempty. As for the rest, it slipped my mind that the set under consideration was the set of matrices that commute with B.
Mark
 
Ok thanks for the help above.

So like Mark said for (b) I let A = (a, b, c, d) and found AB and BA and set them equal. I end up getting the following system of equations:

a + 2b = a
-b = b
c + 2d = 2a - c
-d = 2b - d

I'm not sure if I did this correctly but I found this to be the basis (all 2x2 matrices):
{ (0, 0, 1, 1) , (1, 0, 0, -1), (1, 0, -1, 0) }

Assuming this is correct (please point out any mistakes!), to know whether or not this is an orthogonal basis do I just see if the dot product between each pair of matrices is 0 or not?
 
DWill said:
Ok thanks for the help above.

So like Mark said for (b) I let A = (a, b, c, d) and found AB and BA and set them equal. I end up getting the following system of equations:

a + 2b = a
-b = b
so b= 0 and the first equation is just "a= a".

c + 2d = 2a - c
-d = 2b - d
Since b= 0, the last equation is just -d= -d. The third equation is 2c+ 2d= a2a and dividing by 2, a= c+ d. Taking c= 1, d= 0, a= 1 so (1, 0, 1, 0). Taking c= 0, d= 1, a= 1 so (1, 0, 0, 1). (1, 0, 0, -1), that is, a= 1, b= 0, c= -1, d= 0 does NOT satisfy c+ 2d= 2a- c. Since every thing reduces to two equations, b= 0 and a= c+ d, this subspace is 4- 2= two dimensional and has a basis consisting of two matrices, not three.

I'm not sure if I did this correctly but I found this to be the basis (all 2x2 matrices):
{ (0, 0, 1, 1) , (1, 0, 0, -1), (1, 0, -1, 0) }

Assuming this is correct (please point out any mistakes!), to know whether or not this is an orthogonal basis do I just see if the dot product between each pair of matrices is 0 or not?
Yes. What is the "dot product" of matrices?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
15
Views
3K
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K