matrix commutators
We know that set of commutators of matrices is exactly the space of matrices of trace zero and has dimension
. I discuss an interesting question related to this which was brought to my notice by Anamika:
Given a matrix of trace zero can we construct two matrices
and
of determinant
, such that
. Here is a proposed way of finding matrices
and
such that
.
It turns out that this problem has a variety of applications and it goes by the name Sylvester equation (after fixing one matrix say A). For example, it is used in Computer Vision to estimate the pose(position, orientation ) of an object based on a series of images. See video here
We first try a simple case: Suppose is matrix with non-zero entries only in the diagonal and at locations
for
(like in the Jordan Normal form) with
or
. We want to find a matrix
such that
where
is a
matrix with trace zero. We equate the
entries on both sides to get,
expanding we get
Now if denotes the operator that flattens the rectangular(column-wise) matrix to a column vector then we need to solve the system.
where,
We can solve the system provided
has maximum rank. We can reconstruct
from
but this does not ensure that the matrix
is of determinant
. We can ensure that
has determinant
by addition of a suitable scalar times identity matrix ( which must also be a solution trivially)
Wikipedia mentions that there is a better way to represent this matrix using tensor product ( also called Kronecker product of matrices http://en.wikipedia.org/wiki/Kronecker_product):
where is the
identity matrix.
0.1. Related results
On a related note, here is another question. Can you produce matrices and
such that the commutator
is the sum of two other
commutators
and
? . Using the methods above we can find
and
indirectly, but is there a simple representation of
and
in terms of
? I do not know. However here are some insights:
Suppose denotes the matrix with
only at the position
, (
), in the matrix and the rest filled by zeros. We use the fact that the set of
matrices which are commutators is a linear space with basis:
and
I will leave this to the diligent reader to see why this is true. This says that any commutator
is a linear combination of these basis vectors. Armed with this result we can break the original problem down to the following two problems:
- Given matrices
matrices
with commutator
, the commutator
(
) and a scalar
, find
and
such that
.
- Similarly given a scalar
, and matrices
, for each
, find matrices
such that
I could not give a simple representation of in terms of
. For for some special cases, it seems possible. Suppose you know that for the index
,
is the only column of
containing non-zero entries. Now choose constants
,
, such that
.
We next note the identity , for
and
, using which we can write:
where denotes the entry at the location
in the matrix
. Now let
. Next using the fact that
is
, we have
and
, so the above expression for
can be rewritten as:
or,
where . Now if
, then
Thus,
Here are other examples: For ,
,
,
Also, for the case where and
, we have:

