Try   HackMD

Matrix multiplication and transpose

Problem

Let

A and
B
be
n×n
matrices. Show the following.

  1. det(AB)=det(A)det(B)
    .
  2. det(A)=det(A)
    .

Thought

These are well-known properties of the determinant. The hard part is to show it by the definition . Therefore, it is critical to think again which one implies which one and avoid circular arguments. In our case, we defined the determinant algorithmically by

det(I)=1 and three rules. Equivalently, we knew there are two cases:

  1. If
    A
    is invertible, then
    A
    can be written as a sequence of elementary matrices
    F1Fs
    , whose determinants are defined by the three rules, and
    det(A)=det(F1)det(Fs)
    .
  2. If
    A
    is singular, then
    det(A)=0
    .

Sample answer

For Problem 1, consider two cases.

Case 1: Both

A and
B
are invertible.

In this case, we may write

A and
B
as products of elementary matrices. That is,

A=F1Fa and B=G1Gb.

By definition,

det(A)=det(F1)det(Fa) and
det(B)=det(G1)det(Gb)
. Now it is easy to check that

AB=F1FaG1Gb, which is a product of elementary matrices. Therefore,

det(AB)=det(F1)det(Fa)det(G1)det(Gb)=det(A)det(B).

Case 2: One of

A or
B
is singular.

Recall that for a square matrix

M, the following are equivalent.

  1. M
    is singular.
  2. There is a nonzero vector
    x
    such that
    Mx=0
    . (Right kernel contains a nonzero vector.)
  3. There is a nonzero vector
    y
    such that
    yM=0
    . (Left kernel contains a nonzero vector.)

If

A is singular, then there is a vector
y
such that
yA=0
. Thus,
AB
is a square matrix such that
yAB=0
with
y
nonzero, so
AB
is singular. Similarly, if
B
is singular, then there is a vector
x
such that
Bx=0
. Thus,
AB
is a square matrix such that
ABx=0
with
x
nonzero, so
AB
is singular.

Therefore, if

A or
B
is singular, then
AB
is singular. Consequently,

det(AB)=0=det(A)det(B).

For Problem 2, consider two cases.

Case 1:

A is invertible.

If

A is invertible, then
A
can be written as a product of elementary matrices. That is,
A=F1Fs
.

Now we examine the transpose of an elementary matrix. If

E is an elementary matrix corresponding to swapping, then
E=E
and
det(E)=det(E)=1
. If
E
is an elementary matrix corresponding to rescaling by
k
, then
E=E
and
det(E)=det(E)=k
. Finally, if
E
is the elementary matrix corresponding to a row combination
ρi:+kρj
, then
E
is the elementary matrix corresponding to the row combination
ρj:+kρi
. In this case,
det(E)=det(E)=1
. In summary,
det(E)=det(E)
if
E
is an elementary matrix.

Now it is easy to see that

A=FnF1,

which is again a product of elementary matrices. Therefore,

det(A)=det(Fn)det(F1)=det(Fn)det(F1)=det(A).

Case 2:

A is singular.

If

A is singular, then
A
is also singular, so
det(A)=0=det(A)
.

This note can be found at Course website > Learning resources.