Professional Documents
Culture Documents
Determinant
Determinant
Simple Examples
1 1
If M is a 1 1 matrix, then M = (m) ! M = (m )
Then M is invertible if and only if m 6= 0.
a b
For M a 2 2 matrix, if M =
c d
1 1 d b
M = ad bc c a
M is invertible if and only if ad bc 6= 0
For 2 2 matrices, this quantity is called the determinant of M .
a b
det M = det = ad bc
c d
2 1 3
m1 m12 m13
Ex: M = 4m21 m22 m23 5
m31 m32 m33
det M = m1 m2 m3 m11 m23 m32 + m12 m23 m31 m12 m21 m33 m13 m22 m31
1 2 3
Properties of permutation:
1. There are n! permutations of n distinct objects.
2. Every permutation can be built up by successively swapping pairs of
objects.
3. For any given permutation , there is some number of swaps it takes to
build up the permutation. If this number happens to be even, then is called
an even permutation; if this number happens to be odd, then is called an odd
permutation; n! is even for all n 2, and exactly half of the permutations are
even and the other half are odd. The trivial permutation which sends i ! i for
every i is an even permutation, since it uses zero swaps.
1
Theorem: The number of elements in the symmetric group Sn is given by
jSn j = n (n 1) (n 2) 3 2 1 = n!
Ex:
1. the identity function id : f1; :::; ng ! f1; :::; ng, given by id(i) = i,
8i 2 f1; :::; ng, is a permutation in Sn .
2. If n = 2, jSn j = 2! = 2
1 2 1 2
= =
1 2 2 1
3. If n = 3, 3! = 6
1 2 3 1 2 3 1 2 3 1 2 3
S3 = f ; ; ; ;
1 2 3 1 3 2 2 1 3 2 3 1
1 2 3 1 2 3
; g
3 1 2 3 2 1
Composition of permutations
; 2 Sn , we can compose them to obtain a new function , pi after
sigma, that takes on the values
( )(1) = ( (1))
( )(2) = ( (2))
..
.
( )(n) = ( (n))
Def: The sign function is a function sgn that sends permutations to the set
f 1; 1g with rule of correspondence de…ned by
1 if is even
sgn( ) =
1 if is odd
Def: TheP
determinant of n n matrix M is
det M = sgn( )m1 (1) m2 (2) :::mn(n)
The sum is over all permutations of n objects; a sum over all the elements
of f : f1; :::; ng ! f1; :::; ngg. Each summand is a product of n entries from
the matrix with each factor from a di¤erent row. In di¤erent terms of the sum
the column number are shu- ed by di¤erent permutations .
2
Ex: n2= 4; n! = 24; n = 5; n! 3 = 120
m11 m12 m13 m14
6m21 m22 m23 m24 7
M =6 4m31 m32 m33 m34 5
7
Ex: Diagonal matrix, Mji = 0 whenever i 6= j, then all the summands of the
determinant P
involving o¤-diagonal entries vanish and
det M = sgn( )m1 (1) m1 (2) :::mn(n) = m11 m22 :::mnn
The determinant of a diagonal matrix is the product of its diagonal terms.
det I = 1
Sine the identity matrix is diagonal with all diagonal entries equal to one,
its determinant is one.
Interchanging Rows
Interchange row i and row j of a matrix M and then compute the determi-
nant. For the permutation , let b be the permutation obtained by swapping
positions i and j.
sgn(b) = sgn( )
Let M 0 be the matrix M with row i and row j swapped.
Assume i P < j;
det M 0 = sgn( )m1 (1) :::mj (i) :::mi (j) :::mn(n)
P
= sgn( )m1 (1) :::mi (j) :::mj (i) :::mn(n)
P
= ( sgn(b))m1b(1) :::mib(i) :::mjb(j) :::mnb(n)
P
= sgn(b)m1b(1) :::mib(i) :::mjb(j) :::mnb(n)
b
= det M
det M 0 = det M
Reminder:
For any matrix M , and a matrix M 0 equal to M after a row operation,
0
M = EM
3
Row Interchange
Let R1 through Rn denote the rows of M , and let M 0 be the matrix M with
row j and2row3j swapped.
2 3
.. ..
6 .i7 6 .j 7
6R 7 6R 7
6 7 6 7
6 .. 7 6 7
M = 6 . 7 ; M 0 = 6 ... 7
6 7 6 7
6Rj 7 6 Ri 7
4 5 4 5
.. ..
. .
2 3
2 3 1 2 3
.. 6 .. 7 ..
6 . 7 .
6 .j 7 6 7 6 i7
6R 7 6 0 1 7 6R 7
6 7 6 76 7
0 6 .. 7 6 . . 7 6 .. 7
M =6 . 7=6 . 76 . 7
6 7 6 76 7
6 Ri 7 6 1 0 7 6Rj 7
4 5 6 74 5
.. 6 .. 7 .
. 4 . 5 ..
1
2 3
1
6 .. 7
6 . 7
6 7
6 0 1 7
6 7
6 .. 7
6 . 7 =: Pij
6 7
6 1 0 7
6 7
6 .. 7
4 . 5
1
is just the identity matrix with row i and row j swapped. The matrix Pij is
an elementary matrix and
M 0 = Pij M
det Pij = 1
Row Multiplication
2 13
R
6 .. 7
M = 4 . 5, where Ri are row vectors.
Rn
i
Let R ( 2) be the identity matrix,
3 with the ith diagonal entry replaced by .
1
6 .. 7
6 . 7
6 7
Ri ( ) = 6
6
7
7
6 . 7
4 .. 5
1
4
3 2
R1
6 .. 7
6 . 7
6 i7
Then M 0 = Ri ( )M = 6
6 R7
7
6 . 7
4 .. 5
Rn
equal M with one row multiplied by .
P
det M 0 = sgn( )m1 (1) ::: mi (i) :::mn(n)
P
= sgn( )m1 (1) :::mi (i) :::mn(n)
= det M
Row Addition
Rj + Ri
Eij ( ) is an identity matrix with an additional in the (i; j) position.
2 3
1
6 .. 7
6 . 7
6 7
6 1 7
6 7
6 .. 7
Eij ( ) = 6 . 7
6 7
6 1 7
6 7
6 .. 7
4 . 5
1
2 3
1 2 3 2 3
6 .. 7 .. ..
6 . 7 .
6 7 6 i7 6 i . j7
6 1 7 6 R 7 6R + R 7
6 76 7 6 7
6 .. 7 6 .. 7 6 .. 7
6 . 76 . 7 = 6 . 7
6 76 7 6 7
6 1 7 6Rj 7 6 Rj 7
6 74 5 4 5
6 .. 7 . .
4 . 5 .. ..
1
P
det M 0 = sgn( )m1 (1) :::(mi (i) + mj (j) ):::mn(n)
P
= sgn( )m1 (1) :::mi (i) :::mn(n) +
P
sgn( )m1 (1) ::: mj (j) :::mj (j) :::mn(n)
= det M + det M 00 = det M + 0 = det M
5
P
det(M ) = sgn( )m1 (1) :::mi (i) :::mn(n)
to calculate the determinant of the identity matrix, which term m11 :::mii :::mnn
is the only one to survive, and the function is identity permutation.
Theorem: M 0 equals M with a multiple of one row added to another!
det M 0 = det M
3. Determinant of Products
In summary , the elementary matrices for each of the row operations obey
Eji = I with row i; j swapped; det Eji = 1
Ri ( ) = I with in position i; j; det Ri ( ) =
Sji ( ) = I with in position i; j; det Sji ( ) = 1
Elementary Determinants
Theorem: If E is any of the elementary matrices Eji , Ri ( ), Sji ( ), then
det(EM ) = det(E) det(M )
rref (M ) = E1 E2 :::Ek M
where each Ei is an elementary matrix.
4. Properties
P of Determinant
det M = sgn( )m1 (1) :::mn(n)
6
A minor of an n n matrix M is the determinant of any square matrix
obtained from M by deleting one row and one column. Any entry mij of a
square matrix M is associated to a minor by deleting the ith row and jth
column.
Write thePdeterminant of a matrix in terms of its minors
det M = sgn( )m1 (1) :::mn(n)
P
= m11 sgn( 01 )m2 01 (2) :::mn01 (n) +
P 01
m12 sgn( 02 )m2 02 (1) m3 02 (3) :::mn02 (n) +
02
P
m3 sgn( 03 )m2 03 (1) m3 03 (2) m4 03 (4) :::mn02 (n) + :::
1
03
0k
Here the symbol refers to the permutation with the input k removed.
a b x y
Ex: M = ;N =
c d z w
det M = ad bc
det N = xw yz
a b x y ax + bz bw + ay
det M N = det( ) = det = adwx bcwx
c d z w cx + dz dw + cy
adyz + bcyz
det M det N = (ad bc)(xw yz) = adwx bcwx adyz + bcyz
a b x y
det(M + N ) = det( + ) = ad bc + aw bz cy + dx + wx yz
c d z w
det M + det N = ad bc + xw yz
det(M + N ) (det M + det N )
= ad bc + aw bz cy + dx + wx yz
ad + bc xw + yz)
= aw bz cy + dx
Ex: compute
2 the
3 determinant
1 2 3
M = 44 5 65
7 8 9
5 6 4 6 4 5
det M = 1 det 2 det + 3 det
8 9 7 9 7 8
= (45 48) 2(36 42) + 3(32 35)
= 3 + 12 9 = 0
M 1 does not exist:
2 3
1 2 3
Ex. N = 44 0 05
7 8 9
2 3
det N = ( 1)1+2 4 = 4(18 24) = 24
8 9
7
2 3 2 3 2 3
1 2 3 1 2 3 1 2 3
Ex: det 44 5 65 = det 43 3 35 = det 43 3 35 = 0
7 8 9 6 6 6 0 0 0
Adjoint of a Matrix
d b a b a b
det( ) = det I
c a c d c d
m11 m12
M=
m21 m22
1 1 m22 m12
M = m11 m22 m12 m21 m1 m11
2
8
2 3
3 1 1
Ex: adj 41 2 05
0 1 1
2 3T
2 0 1 0 1 2
6 det 1 1 det
0 1
det
0 1 7
6 7
6 1 1 3 1 3 1 7
6
= 6 det det det 7
6 1 1 0 1 0 1 7 7
4 1 1 3 1 3 1 5
det det det
2 0 1 0 1 2
2 3T 2 3
2 1 1 2 0 2
= 40 3 35 = 4 1 3 15
2 1 7 1 3 7
Volume of a Parallelepipe
Volume= j det(u; v; w)j
Find
2 the determinant
3 via expanding minors
2 1 3 7
66 1 4 47
6 7
42 1 8 05, determinant: 64
1 0 2 0
9
2 3 2 3
2 1 3 7 2 1 1 7
66 1 4 47 66 1 8 47
6 7 : 2 col1 col3 : 6 7
42 1 8 05 42 1 4 05
1 0 2 0 1 0 0 0
2 3 2 3
1 1 7 1 1 7
41 8 45 ! 40 7 35
1 4 0 0 5 7
7 3
det = 49 15 = 64
5 7
10