Академический Документы
Профессиональный Документы
Культура Документы
u
= angle formed by u and the positive x-axis,
v
= angle formed by v and the positive x-axis.
Note that =
v
u
. Now we use some simple trigonometry. Recall that
sin(A B) = sin Acos B sin B cos A
and that in a right triangle
sin A =
opposite
hypotenuse
and cos A =
adjacent
hypotenuse
.
Therefore,
sin =
h
v
, sin
u
=
u
2
u
, cos
u
=
u
1
u
, sin
v
=
v
2
v
and cos
v
=
v
1
v
.
We can now express the area of the parallelogram in terms of the entries of u and v.
Area = uh = uv sin = uv sin(
v
u
)
= uv(sin
v
cos
u
sin
u
cos
v
)
= uv
_
v
2
v
u
1
u
u
2
u
v
1
v
_
= u
1
v
2
v
1
u
2
This geometric derivation motivates the following denition.
Denition 1 Given a 2 2 matrix M =
_
a b
c d
_
we dene the determinant of M,
denoted det(M), as
det(M) = ad bc.
In the example above, the determinant of the matrix is equal to the area of the
parallelogram formed by the columns of the matrix. This is always the case up to a
negative sign. Take for example M =
_
1 0
0 1
_
. Me
1
= e
1
and Me
2
= e
2
. The action
of M on the unit square is depicted below.
The area of the region is still clearly 1, but det(M) = 1(1) 0(0) = 1. This is because
the determinant reects the fact that the region has been ipped, i.e. the orienta-
tion of the vectors describing the original parallelogram has been reversed in the image.
Generally, we have det(M) = Area, where the determinant is positive if orientation is
preserved and negative if it is reversed. Thus det(M) represents the signed volume of the
parallelogram formed by the columns of M.
2
2 Properties of the Determinant
The convenience of the determinant of an n n matrix is not so much in its formula as
in the properties it possesses. In fact, the formula for n > 2 is quite complicated and
any attempt to calculate it as we did for n = 2 from geometric principles is cumbersome.
Rather than focus on the formula, we instead dene the determinant in terms of three
intuitive properties that we would like volume to have. It is an amazing fact that these
three properties alone are enough to uniquely dene the determinant.
2.1 Dening the Determinant in Terms of its Properties
We seek a function D : R
nn
R which assigns to each nn matrix a single number. We
adopt a exible notation: D is a function of a matrix so we write D(A) to represent the
number that D assigns to the matrix A. However, it is also convenient to think of D as a
function of the columns of A and so we write D(A) = D(a
1
, a
2
, . . . a
n
) where a
1
, a
2
, . . . a
n
are the columns of the matrix A.
Motivated by our intuitive ideas of volume, we require that the function D have the
following three properties:
Property 1 D(I) = 1.
This can also be written as D(e
1
, e
2
, . . . e
n
) = 1 since e
1
, e
2
, . . . e
n
are the columns of the
identity matrix I. These vectors describe the unit cube in R
n
which should have volume
1.
Property 2 D(a
1
, a
2
, . . . a
n
) = 0 if a
i
= a
j
for some i = j.
This condition says that if two edges of the parallelepiped are the same, then the paral-
lelepiped is degenerate (i.e. at in R
n
) and so should have volume zero.
Property 3 If n1 columns are held xed, then D is a linear function of the remaining
entry.
Stated in terms of the j
th
column of the matrix, this property says that
D(a
1
, . . . a
j1
, u + cv, a
j+1
, . . . a
n
) = D(a
1
, . . . a
j1
, u, a
j+1
, . . . a
n
)
+ cD(a
1
, . . . a
j1
, v, a
j+1
, . . . a
n
)
so that D is a linear function of the j
th
column when the other columns are held xed.
Note, this does not mean that D(A + B) = D(A) + D(B)! This is false!
Property (3) reects the way volumes add. This is best illustrated with a simple
example. Let u, v and w be vectors in R
2
and let A
x,y
denote the area of the parallelogram
generated by x and y. According to Property (3),
D
__
u
1
v
1
+ w
1
u
2
v
2
+ w
2
__
= D
__
u
1
v
1
u
2
v
2
__
+ D
__
u
1
w
1
u
2
w
2
__
.
3
In terms of areas, this would mean that
A
u,v+ w
= A
u,v
+ A
u, w
.
To see that the areas actually behave in this way, we draw a diagram. Without loss of
generality, we may assume that u lies along the positive x-axis. We let z = v + w.
It is clear from the diagram that A
u,v+ w
= A
u,v
+ A
u, w
: the bases of the parallelograms
are the same and the altitude of the parallelogram formed by u and z is simply the sum
of the altitudes of the parallelograms formed by u and v and by u and w. Property (3) is
a direct consequence of this observation about the additive properties of volume.
2.2 Additional Properties of the Determinant
Our goal is to show that the three properties stated in Section 2.1 actually determine a
specic formula for D in terms of the entries of a given matrix so that there can be only
one function D : R
nn
R with these three properties. This function we will dene as the
determinant. In this section we formulate some of the consequences of Properties (1)-(3)
as additional properties which will be crucial in deriving the formula for the determinant.
Property 4 D is an alternating function of the columns, i.e. if two columns are inter-
changed, the value of D changes by a factor of -1.
Proof. Lets say we interchange columns a
i
and a
j
of the matrix A. We keep the notation
simple by writing D(a
i
, a
j
) instead of D(a
1
, a
2
, . . . a
n
) since these are the two entries we
will be concerned with. The other entries remain constant.
D(a
i
, a
j
) = D(a
i
, a
j
) + D(a
i
, a
i
) by Property (2)
= D(a
i
, a
j
+a
i
) by Property (3)
= D(a
i
, a
j
+a
i
) D(a
j
+a
i
, a
j
+a
i
) by Property (2)
= D(a
j
, a
j
+a
i
) by Property (3)
= D(a
j
, a
j
+a
i
) by Property (3)
= D(a
j
, a
j
) D(a
j
, a
i
) by Property (3)
= D(a
j
, a
i
) by Property (2)
4
Property 5 If {a
1
, a
2
, . . . a
n
} is a linearly dependent set of vectors, then D(a
1
, a
2
, . . . a
n
) =
0.
Proof. If the vectors are linearly dependent then one of them can be written as a linear
combination of the others. Without loss of generality, lets say that vector is a
1
.
a
1
= c
2
a
2
+ . . . + c
n
a
n
Then using the fact that D is a linear function of one column when the others are held
xed (Property (3)), we have
D(a
1
, a
2
, . . . a
n
) = D(c
2
a
2
+ . . . + c
n
a
n
, a
2
, . . . a
n
)
= c
2
D(a
2
, a
2
, . . . a
n
) + c
3
D(a
3
, a
2
, . . . a
n
) + . . . + c
n
D(a
n
, a
2
, . . . a
n
)
Note that every term in the last line is zero by Property (2).
An immediate consequence of Property (5) is the fact that a non-invertible matrix
must have determinant equal to zero. This is because the columns of a non-invertible
matrix are linearly dependent and so D is forced to be zero by Property (5).
Property 6 Adding a multiple of one column to another does not change the determinant.
Proof. Suppose the matrix B is obtained from A by adding c times column j to column
i. Then
D(B) = D(a
1
, . . . a
i1
, a
i
+ ca
j
, a
i+1
, . . . a
n
)
= D(a
1
, . . . a
i1
, a
i
, a
i+1
, . . . a
n
) + cD(a
1
, . . . a
i1
, a
j
, a
i+1
, . . . a
n
)
= D(A) since the second term is 0.
a b
c d
= det
__
a b
c d
__
Property 1 Check that det(I) = 1.
det(I) =
1 0
0 1
= 1 1 0 0 = 1
Property 2 Check that det(M) = 0 if two columns are the same.
det(M) =
a a
b b
= a b a b = 0
Property 3 Check that if 1 column is held xed, then the determinant is a linear function
of the remaining column.
Lets hold the second column xed and put a linear combination of vectors in the rst
column. Suppose the two columns of M are u + cv and a.
det(u + cv, a) =
u
1
+ cv
1
a
1
u
2
+ cv
2
a
2
= (u
1
+ cv
1
)a
2
a
1
(u
2
+ cv
2
)
= u
1
a
2
+ cv
1
a
2
a
1
u
2
a
1
cv
2
= u
1
a
2
a
1
u
2
+ c(v
1
a
2
a
1
v
2
)
=
u
1
a
1
u
2
a
2
+ c
v
1
a
1
v
2
a
2
= det(u, a) + c det(v, a)
So we see that the determinant is a linear function of the rst column when the second
column is held xed. The proof for the second column is entirely similar so we omit it.
6
3 A Formula for the Determinant
At this point we seek an explicit formula for the determinant of an nn matrix for n > 2.
The rst formula provided will in fact be derived directly from the properties (1)-(3) that
weve required the determinant to possess.
To x ideas consider rst the case n = 2. Let
A =
_
a b
c d
_
.
Applying Property (3) on column 1 holding column 2 xed,
D
__
a b
c d
__
= D
__
a b
0 d
__
+ D
__
0 b
c d
__
.
Again using Property (3), now on column 2 holding column 1 xed in each of the two
terms,
D
__
a b
c d
__
= D
__
a b
0 0
__
+ D
__
a 0
0 d
__
+ D
__
0 b
c 0
__
+ D
__
0 0
c d
__
.
Now the columns in the rst and last terms are linearly dependent so by Property (5),
D
__
a b
0 0
__
= 0 and D
__
0 0
c d
__
= 0.
Together,
D
__
a b
c d
__
= a d D
__
1 0
0 1
__
+ b c D
__
0 1
1 0
__
. (1)
Lets leave this expression as it stands and continue on to n = 3, with
A =
_
_
a
11
a
12
a
13
a
21
a
22
a
23
a
31
a
32
a
33
_
_
.
Notice that applying Property (3) on each column will yield 3 3 3 = 27 terms. However,
the terms that have entries in dierent columns but the same row are terms whose columns
are linearly dependent and hence have determinant zero by Property (5). For example,
D
_
_
_
_
0 a
12
a
13
0 0 0
a
31
0 0
_
_
_
_
= 0.
Eliminating all such terms, the only surviving six terms are
D
_
_
_
_
a
11
0 0
0 a
22
0
0 0 a
33
_
_
_
_
, D
_
_
_
_
a
11
0 0
0 0 a
23
0 a
32
0
_
_
_
_
, D
_
_
_
_
0 a
12
0
a
21
0 0
0 0 a
33
_
_
_
_
,
7
D
_
_
_
_
0 0 a
13
a
21
0 0
0 a
32
0
_
_
_
_
, D
_
_
_
_
0 a
12
0
0 0 a
23
a
31
0 0
_
_
_
_
, D
_
_
_
_
0 0 a
13
0 a
22
0
a
31
0 0
_
_
_
_
.
So,
D(A) = a
11
a
22
a
33
D
_
_
_
_
1 0 0
0 1 0
0 0 1
_
_
_
_
+ a
11
a
32
a
23
D
_
_
_
_
1 0 0
0 0 1
0 1 0
_
_
_
_
(2)
+ a
21
a
12
a
33
D
_
_
_
_
0 1 0
1 0 0
0 0 1
_
_
_
_
+ a
21
a
32
a
13
D
_
_
_
_
0 0 1
1 0 0
0 1 0
_
_
_
_
+ a
31
a
12
a
23
D
_
_
_
_
0 1 0
0 0 1
1 0 0
_
_
_
_
+ a
31
a
22
a
13
D
_
_
_
_
0 0 1
0 1 0
1 0 0
_
_
_
_
).
To generalize to n > 3, it will be convenient to introduce the concept of permuta-
tions.
4 Permutations
Denition 2 A permutation of the set {1, . . . , n} is a bijective function that maps the
set {1, . . . , n} onto itself. Denote by S
n
the set of all permutations of {1, . . . , n}. Then
the number of elements in S
n
is n!.
To see that the number of elements in S
n
is n!, consider what S
n
looks like. (1) can
be any of the n integers. (2) can be any one of the elements of this set except (1) since
is one-to-one. There are n1 choices for (2). Similarly, (3) can be any of the elements
except (1) and (2) and so there are n 2 choices for (3). This process continues so
the total number of permutations of {1, . . . , n} is n (n 1) (n 2) . . . 1 = n!.
In what follows, we will denote a permutation as an ordered list : ((1), (2), . . . , (n)).
The elements of S
3
, for example, are (1, 2, 3), (1, 3, 2), (2, 1, 3), (2, 3, 1), (3, 1, 2), and (3, 2, 1).
The simplest permutation is the identity permutation = (1, 2, . . . , n). Another class of
simple permutations are transpositions, which exchange two elements in {1, . . . , n} and
x the remaining elements. The transposition that exchanges elements i and j will be de-
noted
i,j
. In S
5
,
2,4
= (1, 4 , 3, 2 , 5) is an example of a transposition, which exchanges
2 and 4.
Permutations can be composed and their composition is a permutation. We will be
looking especially at the composition of a permutation with a transposition. Take a
transposition
i,j
and an arbitrary permutation . Then the composition
i,j
results
in the permutation that exchanges elements i and j in the representation of . For
example, take the permutation = (2, 4, 3, 1) and the transposition
2,3
= (1, 3, 2, 4).
8
Then
2,3
= (3, 4, 2, 1) as seen below.
2,3
1 2 3
2 4 4
3 3 2
4 1 1
It is not hard to see that for any permutation, one can nd a sequence of transpositions
which will transform that permutation to the identity. For the same above, one possible
sequence of transpositions that results in the identity is the following:
= (2, 4, 3, 1)
1,2
= (1, 4, 3, 2)
2,3
1,2
= (1, 4, 2, 3)
2,4
2,3
1,2
= (1, 2, 4, 3)
3,4
2,4
2,3
1,2
= (1, 2, 3, 4)
Notice that the sequence (and the number) of compositions that achieve this task is
not unique. Instead of the rst sequence, we can devise a dierent sequence by performing
the following sequence of exchanges:
= (2, 4, 3, 1)
1,2
= (1, 4, 3, 2)
2,3
1,2
= (1, 4, 2, 3)
2,4
2,3
1,2
= (1, 2, 4, 3)
2,4
2,4
2,3
1,2
= (1, 4, 2, 3)
1,4
3,4
2,4
2,3
1,2
= (4, 1, 2, 3)
3,4
1,4
3,4
2,4
2,3
1,2
= (3, 1, 2, 4)
1,2
3,4
1,4
3,4
2,4
2,3
1,2
= (3, 2, 1, 4)
1,3
1,2
3,4
1,4
3,4
2,4
2,3
1,2
= (1, 2, 3, 4)
The number of transpositions necessary to transform a permutation to the identity is not
unique: 4 are needed in the rst example and 8 in the second. However, the parity of the
number of exchanges turns out to be unique. In this example, the number of exchanges
is always even. We now state this fundamental property.
Theorem 2 For any S
n
, the parity of the number of transpositions which transforms
the permutation to the identity is well-dened.
This means that for certain permutations, this number will always be even and for others,
this number will always be odd. This theorem will not be proved here.
Denition 3 The sign of a permutation is a function sign: S
n
{+1, 1} assigning
+1 if an even number of transpositions is needed to transform the permutation to the
identity and 1 if an odd number is needed.
9
One last notation needs to be introduced. Associate with any S
n
the matrix
E
that has a 1 in the entries ((1), 1), ((2), 2) . . . , ((n), n) and 0 elsewhere. Given
= (2, 4, 3, 1), the associated matrix E
is given by
E
=
_
_
0 0 0 1
1 0 0 0
0 0 1 0
0 1 0 0
_
_
.
We wish to show that
Property 7 D(E
) = sign().
Proof. Note the relation between the columns of E
and :
E
=
_
e
(1)
e
(2)
e
(n)
.
A sequence of transpositions which transform to the identity can be viewed as a sequence
of column exchanges which transforms E
) = sign()D(I) = sign().
5 A Formula for the DeterminantRevisited
Glance back to the formula that we derived for the special cases n = 2, n = 3, given by
Equations 1 and 2. The matrices involved in both are exactly E
Sn
D(E
)
n
i=1
a
(i)i
=
Sn
sign()
n
i=1
a
(i)i
.
We are now in a position to dene the determinant of a general n n matrix A.
Denition 4 For any n n matrix A, dene the determinant of A to be the function
det : R
nn
R, given by
det(A) :=
Sn
sign()
n
i=1
a
(i)i
.
Remark. From this formula, we have that det(E
) = sign( ) for any S
n
. This is
because (E
)
ij
= 1, if i = (j) and 0 otherwise. Therefore,
n
i=1
(E
)
(i)i
will be 0 whenever
= and is 1 when = . So, det(E
) = sign( ).
10
This is the most transparent form from which to verify that Properties (1), (2) and (3) are
satised. It should not be surprising that det satises these properties since we derived
this formula from the properties themselves.
Property 1 Check that det(I) = 1. This is a special case of the remark, for =
(1, 2, . . . , n).
det(I) = det(E
) = sign() = 1.
Property 2 Check that det(A) = 0 if two columns are the same.
Let column a
i
= a
j
, for some i = j. For S
n
, notice that the factors corresponding to
any two permutations and
i,j
are the same.
= ((1), . . . , (i), . . . , (j), . . . , (n))
i j
=
i,j
= ((1), . . . , (j), . . . , (i), . . . , (n))
Since sign( ) = sign(), these pairs cancel. It is possible to pair permutations this
way; therefore, det(A) = 0.
Property 3 Check that if n1 columns of A are xed then det is a linear function of the
remaining column. Consider the j
th
column a
j
=
_
_
a
1j
a
2j
.
.
.
a
nj
_
_
. Collect together all terms that
involve a
1j
and write these terms as a
1j
C
1j
. Similarly, collect together all terms involving
a
ij
and write these terms as a
ij
C
ij
. Then
det(A) = a
1j
C
1j
+ . . . + a
ij
C
ij
+ . . . a
nj
C
nj
. (3)
Since each C
ij
contains no entries from column j, det(A) depends linearly on the j-th
column holding the remaining n 1 columns xed.
Since the function det satises Properties (1)-(3), it follows immediately that det also
satises Properties (4)-(7) as well as Theorem 1. An important observation is that the
derivation of this formula allows us to conclude that there is a unique function which
satises Properties (1)-(3). One additional property can be shown using this formula.
Property 8 det(A
T
) = det(A).
Proof. Since S
n
is bijective,
1
exists and is also in S
n
. Moreover, sign() =
sign(
1
).
det(A
T
) =
Sn
sign()
n
i=1
(A
T
)
(i)i
11
=
Sn
sign()
n
i=1
a
i(i)
=
Sn
sign(
1
)
n
i=1
a
1
(i)i
=
1
Sn
sign( )
n
i=1
a
(i)i
=
Sn
sign( )
n
i=1
a
(i)i
= det(A).
From Property (8), all the properties that we have stated for columns also work for
rows. We see this because the columns of A
T
are the rows of A. We highlight these
additional properties, letting r
T
1
, . . . , r
T
n
denote the rows of A.
Property 2
If r
T
i
= r
T
j
for some i = j, then det(A) = 0.
Property 3
If {r
T
1
, r
T
2
, . . . r
T
n
} is a linearly dependent set, then det(A) = 0.
Property 6
Adding a multiple of one row to another does not change the determinant.
What these properties crystallize for us is the way in which elementary row operations
aect the determinant of a matrix. This knowledge is important both for proving further
results and to make the process of computing the determinant easier. (Computing the
determinant of an n n matrix directly takes n! calculations. In order to reduce the
number of calculations, computer programs are designed to row reduce the matrix to
echelon form using the above rules before computing the determinant. We will see that
the triangular form of a matrix in echelon form makes the determinant easy to compute.)
In light of these comments we can formulate a proposition in terms of elementary row
operations performed on a matrix A. These are simply restatements of the properties
already established.
Proposition 1 (a) If B is the matrix obtained by adding a multiple of one row of A to
another row of A, then det(B) = det(A).
(b) If B is the matrix obtained by interchanging two rows of A, then det(B) = det(A).
(c) If B is the matrix obtained by multiplying a row of A by a constant c, then det(B) =
c det(A).
12
6 Another Formula for the Determinant
In this section we seek a formula which will make it easier for us to get our hands dirty
computing determinants. It is derived directly from the denition of determinant via
permutations.
Let A be an n n matrix. Recall equation (3) which wrote the formula for the
determinant as a linear combination of the entries of the j
th
column of A by grouping
together all the terms of the summation corresponding to each entry:
det(A) = a
1j
C
1j
+ a
2j
C
2j
+ . . . + a
nj
C
nj
.
The quantity C
ij
is called the (i, j)-cofactor of the matrix A. We wish to nd a specic
formula for each C
i,j
so that we can evaluate the determinant using this expansion. We
introduce the notation that A
ij
is the matrix obtained by deleting the i
th
row and j
th
column of A.
For example, if A =
_
_
1 2 3
4 5 6
7 8 9
_
_
then
A
11
=
_
5 6
8 9
_
A
32
=
_
1 3
4 6
_
A
13
=
_
4 5
7 8
_
Proposition 2 Consider a matrix A whose rst column is a
11
e
1
. Then
det(A) = a
11
det(A
11
).
Proof. Using the denition of determinant, we write
det(A) =
Sn
a
(1)1
a
(2)2
a
(n)n
sign()
= a
11
Sn
(1)=1
a
(2)2
a
(n)n
sign() (4)
where the sum is simplied since any permutation which assigns (1) = 1 contributes zero
to the sum. But a permutation on n symbols with (1) = 1 is really just a permutation
on the n 1 symbols 2 through n. And the sign of is equal to the sign of since
both require the same number of transpositions to bring them back to their respective
identities.
Let A
11
denote the matrix obtained by deleting the rst row and column of A. and
let b
ij
be the entries of A
11
. From the above discussion, it is clear that
Sn
(1)=1
a
(2)2
a
(n)n
sign() =
S
n1
b
(1)1
b
(n1)n1
sign( ) = det(A
11
).
13
Then equation (4) becomes
det(A) = a
11
det(A
11
).
Using this result, it is easy to see what the cofactors C
ij
must be. Consider a 3 3
matrix A. Using the linearity of Property (3) on the rst column, we write,
a
11
a
12
a
13
a
21
a
22
a
23
a
31
a
32
a
33
a
11
a
12
a
13
0 a
22
a
23
0 a
32
a
33
0 a
12
a
13
a
21
a
22
a
23
0 a
32
a
33
0 a
12
a
13
0 a
22
a
23
a
31
a
32
a
33
a
11
a
12
a
13
0 a
22
a
23
0 a
32
a
33
a
21
a
22
a
23
0 a
12
a
13
0 a
32
a
33
a
31
a
32
a
33
0 a
12
a
13
0 a
22
a
23
. (5)
In the second line we have brought the rows with the non-zero entries in the rst column
to the top row while maintaining the relative ordering of the other rows. Since the
determinant is an alternating function of the rows, each exchange introduces a factor of
-1. Notice that in the rst term of equation (5), the 22 matrix obtained by deleting the
rst row and column of the matrix is A
11
. In the second term, the matrix obtained by
deleting the rst row and column is A
21
. In the third term, the matrix obtained by deleting
the rst row and column is A
31
. Using Proposition 2 to evaluate each determinant, we
obtain
det(A) = a
11
det(A
11
) a
21
det(A
21
) + a
31
det(A
31
).
For a general nn matrix A, we can do the same expansion: expand the determinant
into the sum of n determinants the rst column of the i
th
term will have a
i1
in the i
th
row and zeroes elsewhere; then we use i 1 transpositions to move the i
th
row to the rst
row while maintaining the relative ordering of the other rows; nally, we use Proposition 2
to evaluate the determinant of each matrix. In this way we arrive at the following formula
for the determinant of a matrix.
det(A) =
n
i=1
(1)
i1
a
i1
det(A
i1
)
This is called the cofactor expansion along the rst column of A. In fact, we can
do a similar expansion along any row or column of A, simply by following the procedure
outlined above for expanding the determinant and then moving each position in the chosen
row or column into the upper left corner of the matrix through a sequence of row and
column exchanges. In order to move the entry in the i
th
row and j
th
column of the matrix
into the upper left hand corner and preserve the order of the other rows and columns, we
need i 1 row exchanges and j 1 column exchanges. Each exchange introduces a factor
of -1 to the determinant of that term.
In this way we obtain the formulas which are the goal of this section. If we choose to
expand along the i
th
row of A, we have
det(A) =
n
j=1
(1)
i+j2
a
ij
det(A
ij
) =
n
j=1
(1)
i+j
a
ij
det(A
ij
).
14
This is called the cofactor expansion along the i
th
row of A. If we choose to expand
along the j
th
column of A, we have
det(A) =
n
i=1
(1)
i+j
a
ij
det(A
ij
).
This is called the cofactor expansion along the j
th
column of A.
The term cofactor expansion is justied because we see from the denition of the
cofactors that C
ij
= (1)
i+j
det(A
ij
).
Note that if A is 2 2, then this formula for the determinant agrees with the one
we motivated geometrically in Section 1 from the area of a parallelogram. Setting A =
_
a
11
a
12
a
21
a
22
_
, we see that A
11
= [a
22
] and A
12
= [a
21
] so expanding along the rst row,
det(A) =
2
j=1
(1)
1+j
a
1j
det(A
1j
)
= (1)
1+1
a
11
det(A
11
) + (1)
1+2
a
12
det(A
12
)
= a
11
a
22
a
12
a
21
.
Lets practice using the cofactor expansions to compute the determinants of some
matrices.
Example 1. Let A =
_
_
1 3 3
3 5 2
4 4 6
_
_
. We expand along the rst row.
det(A) = (1)
1+1
a
11
det(A
11
) + (1)
1+2
a
12
det(A
12
) + (1)
1+3
a
13
det(A
13
)
= (1)
2
(1)
5 2
4 6
+ (1)
3
(3)
3 2
4 6
+ (1)
4
(3)
3 5
4 4
3 5
4 4
+ (1)
3
(2)
1 3
4 4
+ (1)
4
(4)
1 3
3 5
_
0 1 3 3
2 3 5 2
2 0 0 1
4 4 4 6
_
_
. We expand along the third row.
det(C) = (1)
3+1
c
31
det(C
31
) + (1)
3+2
c
32
det(C
32
) + (1)
3+3
c
33
det(C
33
)
+ (1)
3+4
c
34
det(C
34
)
= (1)
4
(2) det(C
31
) + (1)
5
(0) det(C
32
) + (1)
6
(0) det(C
33
) + (1)
7
(1) det(C
34
)
= 2
1 3 3
3 5 2
4 4 6
0 1 3
2 3 5
4 4 4
= 2 det(A) det(B)
= 2 40 48
= 32
7 Further Properties of the Determinant
In this section, we use the formula for the determinant in terms of the cofactor expansion
to derive some useful results which can simplify the evaluation of a determinant in cer-
tain cases. We also use the determinant to establish an invertibility criterion for square
matrices. The results of this section are simple corollaries of the following theorem.
Theorem 3 The determinant of a triangular matrix is equal to the product of the entries
on the main diagonal.
Proof. Since the rst column of A is a
11
e
1
, we use Proposition 2 to conclude that
det(A) = a
11
det(A
11
).
Notice that A
11
is upper triangular as well so that its rst column is a constant times e
1
.
We let B
1
= A
11
and apply Proposition 2 to obtain
det(A) = a
11
det(B
1
) = a
11
a
22
det(B
2
),
where B
2
is the (n 2) (n 2) matrix obtained by deleting the rst two rows and
columns of A. Again, B
2
is easily seen to be upper triangular. In fact, if B
j
is the matrix
obtained by deleting the rst j rows and columns of A, then B
j
will be upper triangular.
We simply apply Proposition 2 to each B
j
to obtain
det(B
j1
) = a
jj
det(B
j
).
This process ends when we arrive at B
n1
which is simply the 1 1 matrix [a
nn
]. Clearly
det(B
n1
) = a
nn
and so
det(A) = a
11
a
22
a
nn
16
which is what we wanted to prove.
If A is lower triangular, A
T
is upper triangular and so using Property (8)
det(A) = det(A
T
) = a
11
a
22
a
nn
.