On The Matrices Ab and Ba: Darryl Mccullough
On The Matrices Ab and Ba: Darryl Mccullough
On The Matrices Ab and Ba: Darryl Mccullough
AB and BA
Darryl McCullough
University of Oklahoma
1
One of the first things we learn about matrices
in linear algebra is that AB need not equal BA.
For example,
" #" # " #
1 0 0 1 0 1
= ,
0 0 0 0 0 0
but
" #" # " #
0 1 1 0 0 0
= .
0 0 0 0 0 0
2
No, AB and BA cannot be just any two matri-
ces. They must have the same determinant,
where for 2 × 2 matrices the determinant is
defined by
" #
a b
det = ad − bc .
c d
So we have
3
There is another function that satisfies
f (AB) = f (BA)— the trace function, which is
just the sum of the diagonal entries:
n
X
tr(A) = tr([aij ]) = aii
i=1
4
Are there are any other functions that satisfy
f (AB) = f (BA)?
6
In general, for an n × n matrix we have
7
The answer is yes:
λm char(AB) = λn char(BA)
8
Theorem: Let A be an n × m matrix and B
an m × n matrix. Then
λm char(AB) = λn char(BA)
9
So, have we now found all the f ’s with f (AB) =
f (BA)?
Yes!