Question on the trace of two matrices

In summary: The determinant is det(A).The trace is trace(A).The minimal polynomial is x^n - tr(A) x^{n-1} + ... + (-1)^n \det(A).
  • #1
evlyn
15
0
How does knowing that two matrices anticommute AB=-BA and that A^2=1 and B^2=1 help me to know how to find the trace of the matrices. I am supposed to show that their traces equal each other which equals 0 but I am not sure exactly how the given information helps me determine the trace?
 
Physics news on Phys.org
  • #2
do you mean A^2 = I?
 
  • #3
In general, trace(AB) = trace(BA). Hence from the given relation trace(AB) should be zero as +0 = -0.
or do you mean trace(A) = trace(B) = 0?
 
Last edited:
  • #4
trace(A) = trace(B) = 0
and the problem said A^2 =1
 
  • #5
What size are the matrices?

I can think of two ways to approach this problem:

1. Assume the matrices are in upper-triangular form (this is always possible), and see what you can conclude about the diagonal elements, or

2. Write out the invariant formula for the characteristic polynomial. The characteristic polynomial can always be written in terms of tr A, det A, and tr A^k for k up to n-1 (for an n x n matrix).

If the matrices are 2x2, then the second method will be very easy. I'm not sure if what you're trying to prove is necessarily true if the matrices are larger.
 
  • #6
Ben Niehoff said:
What size are the matrices?


I don't know what size the matrices are I just know that they are two matrices A and B. I guess I'm still not understanding the connection of the trace to anticommuting and to the squares
 
  • #7
[itex](a+ b)^2= a^2+ ab+ ba+ b^2= 2i[/itex]

(Why are my capital letters always turned into lower case?)
 
  • #8
HallsofIvy said:
[itex](a+ b)^2= a^2+ ab+ ba+ b^2= 2i[/itex]

Does i here refer to I (the identity matrix)?

Maybe I'm being really dumb but where does that come from? Is it finding the eigenvalues of [itex](a+b)^2[/itex]
 
  • #9
Welcome to PF, evlyn! :smile:

Yes, as HoI said, his text was turned into lower case.
It should be:
[tex](A + B)^2= A^2+ AB+ BA+ B^2= 2I[/tex]
However, aside from the fact that it is a true statement, I do not know what he intended with it.

As for your problem, if you look up "Minimal polynomial" (as Ben Niehoff suggested), you'll find that the minimal polynomial of A is a polynomial divisor of (A2 - I), due to the fact that A2 = I.
In effect this means that the only eigenvalues A can have (and also B), are the roots of x2 - 1 = 0.
That is, -1 and +1.

Therefore the trace of A (and also of B) is the sum of n values of either -1 or +1.

Furthermore, for a nxn matrix, the characteristic polynomial is [itex]x^n - tr(A) x^{n-1} + ... + (-1)^n \det(A)[/itex].
In particular, for a 2x2 matrix, you can read off the trace and determinant of A from this.
 
Last edited:
  • #10
I don't understand how the minimal polynomial is helpful if I just have a general matrix A? I don't no anything about it except that AB = -BA and that A^2=1 and B^2=1
 
  • #11
evlyn said:
I don't understand how the minimal polynomial is helpful if I just have a general matrix A? I don't no anything about it except that AB = -BA and that A^2=1 and B^2=1

Well, first off, I interpret your equation as A^2=I.

From just that equation you can draw a number of conclusions about A.
Let me enumerate them for you:
1. A is a square nxn matrix (otherwise you could not multiply it with itself).
2. A is its own inverse, that is, A = A^-1.
3. More specifically: A is invertible.
4. det(A^2)=1, implying det(A)=+1 or det(A)=-1.

Now the minimal polynomial is helpful, since it tells us that:
5. A has n eigenvalues, each of which must either be +1 or -1.Can you tell what the dimensions of B must be?Btw, I get the impression that the minimal polynomial is outside of the scope of your current class material.
Is it?
Perhaps we should zoom in on 2x2 matrices and leave the minimal polynomial out of it...
And anyway, I'm not even sure myself if your statement holds true for matrices larger than 2x2.
 
Last edited:
  • #12
I like Serena said:
Can you tell what the dimensions of B must be?

the dimensions of B must be the same as A


I like Serena said:
Btw, I get the impression that the minimal polynomial is outside of the scope of your current class material.
Is it?
Perhaps we should zoom in on 2x2 matrices and leave the minimal polynomial out of it...
And anyway, I'm not even sure myself if your statement holds true for matrices larger than 2x2.

It is most likely assumed that the general population in my class knows what the minimal polynomial is
 
  • #13
evlyn said:
the dimensions of B must be the same as A

Yep!
So A and B must both be nxn matrices.



evlyn said:
It is most likely assumed that the general population in my class knows what the minimal polynomial is

Probably not! :wink:
It is advanced material in linear algebra.



Let's suppose that [itex]A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}[/itex].

Do you know what the determinant is?
What the trace is?
And what the characteristic polynomial is?
 
  • #14
I like Serena said:
Let's suppose that [itex]A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}[/itex].

Do you know what the determinant is?
What the trace is?
And what the characteristic polynomial is?

The determinant would be ad-bc
the trace would be a+d
and the characteristic polynomial I am not entirely sure about ... (t-a)(t-d)-bc ...
t^2-at-td+ab-bc
 
  • #15
evlyn said:
The determinant would be ad-bc
the trace would be a+d
and the characteristic polynomial I am not entirely sure about ... (t-a)(t-d)-bc ...
t^2-at-td+ab-bc

Good! :)

Do you know what the characteristic polynomial represents? What it is used for?
 
  • #16
It is used to find the eigenvalues of the matrix
 
  • #17
So what are you unsure about?
 

Related to Question on the trace of two matrices

1. What is the trace of two matrices?

The trace of two matrices is a value that represents the sum of the elements on the main diagonal of the matrices. It is often denoted as tr(A) or tr(B) for matrices A and B, respectively.

2. How is the trace of two matrices calculated?

The trace of two matrices can be calculated by adding the corresponding elements on the main diagonal of the matrices. For example, if the matrices are A = [a11 a12; a21 a22] and B = [b11 b12; b21 b22], then tr(A) = a11 + a22 and tr(B) = b11 + b22.

3. What is the significance of the trace of two matrices?

The trace of two matrices is often used in linear algebra to simplify complex expressions and to determine properties of the matrices, such as their rank and determinant. It is also useful in applications such as quantum mechanics and statistics.

4. Can the trace of two matrices be negative?

Yes, the trace of two matrices can be negative if the sum of the elements on the main diagonal is negative. This can occur if there are negative elements on the main diagonal or if the matrices are not square.

5. Is the trace of two matrices always equal to the sum of their eigenvalues?

No, the trace of two matrices is not always equal to the sum of their eigenvalues. This is only true for diagonalizable matrices, where the eigenvalues are equal to the elements on the main diagonal. For non-diagonalizable matrices, the trace may not equal the sum of the eigenvalues.

Similar threads

  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Linear and Abstract Algebra
Replies
11
Views
4K
  • Linear and Abstract Algebra
Replies
1
Views
669
Replies
7
Views
949
  • Linear and Abstract Algebra
Replies
26
Views
4K
  • Linear and Abstract Algebra
Replies
16
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
965
Replies
1
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
823
  • Electrical Engineering
Replies
21
Views
1K
Back
Top