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

In summary: AB = BA which shows that A+B is in X_B. Now if you let A = -C, then -C+B = B(-C) and that shows that -C is in X_B. Therefore, A+C and -C are in X_B and thus X_B is closed under addition.For property 3, we know that 0 is in X_B because for any B, B0 = 0B = 0 which means 0 is in M_n and thus in X_B.For property 2, we know that if A is in X_B and c is a scalar, then AB = BA and thus c(AB) = c(BA). Because scalar multiplication is commutative, c(BA
  • #1
DWill
70
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
  • #2
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.
 
  • #3
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
 
  • #4
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.
 
  • #5
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.
 
  • #6
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
 
  • #7
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?
 
  • #8
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?
 

1. What is a subspace?

A subspace is a subset of a vector space that satisfies the properties of a vector space. This means that it is closed under vector addition and scalar multiplication, and contains the zero vector.

2. How is a subspace different from a basis?

A subspace is a subset of a vector space, while a basis is a set of vectors that span the entire vector space. A basis can be used to represent any vector in the vector space, while a subspace may only represent a portion of the vector space.

3. What is the basis problem?

The basis problem is the problem of finding a set of linearly independent vectors that span a vector space. This is important because it allows us to represent any vector in the vector space as a linear combination of the basis vectors.

4. What is the relationship between a subspace and a basis?

A subspace can have multiple bases, but all bases for a subspace have the same number of vectors. This number is known as the dimension of the subspace, and it represents the minimum number of vectors needed to span the subspace.

5. How can the subspace and basis problem be applied in real-world situations?

The subspace and basis problem has applications in many areas of science and engineering, such as computer graphics, signal processing, and quantum mechanics. It is used to represent and manipulate data in a more efficient and concise manner, making it a valuable tool for solving practical problems.

Similar threads

  • Linear and Abstract Algebra
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
Back
Top