You are on page 1of 4

Let A be a square, nxn matrix.

The determinant of A is defined by: det(A) =

(
n

a1 1 )

( 1

2 i

( i2

an

( n )

This means the sum is taken over all n! permutations of Sn . Each term in the sum has one element from each row and one from each column. Let's look at the determinants of sizes 1, 2 and 3. n = 1: There is only one permutation (which is even) and det(A) = a11 n = 2: There are two permutations 1 2 (even) and 2 1 (odd) det(A) = a11a22 a12 a21 a11 a12 You can remember this by looking at the two diagonals of A: The main a21 a22 diagonal (top-left to bottom-right) is added and the anti-diagonal is subtracted. n = 3: 6 permutations 3 even: 1 2 3 231 312 321 a11a22 a33 + a12 a23 a31 + a13 a21 a32 det(A) = and 3 odd: 213 132

a12 a21a33 a11 a23 a32 a13 a22 a31

The three positive terms come from the top-left to bottom-right diagonals where the entries rotate cyclically as necessary, while the negative terms come from the top-right to bottom-left diagonals. a11 a 21 a31 a12 a22 a32 a13 a23 a33 a31 a13 n = 4: There are 24 permutations and not enough diagonals in a 4x4 matrix to work out mnemonic device. Other ways of compute determinant are needed. Here are two propositions that follow directly from the definition of determinant. Proposition: Let A have a row of zeros. Then det(A) = 0. Proof: Suppose row I of A = 0. Then every term in det(A) has one factor from row i and hence is zero. Proposition: If T = [tij] is triangular then det(T) = t11t22t33 L tnn the product of the diagonal entries. Proof: Assume for convenience that T is lower triangular. Each term in the determinant has one factor from each row and one from each column. What permutations can possibly give a nonzero product? In row 1, only t11 can be chosen. In row 2, only t22 can be chosen, since column one has been is used. In each row only the diagonal element can be chosen for a non-zero product. This meas all but one permutation leads to a zero product, and this is the identity permutation 1 2 3 . . . n. Since a11 a 21 a33 a31 a12 a22 a32 a13 a11 a23 a33

this is an even permutation, the result follows. A similar argument works if T is upper triangular. Corollary det(I) = 1. Proposition: Let A be nxn and let B = A with rows k and m interchanged. Then det(A) = -det(B) Proof: Assume that k < m. We have bij = aij if i is not k or m; bkj = amj and det(B) = (1) b1 (1)b2 (2) L bk ( k ) L bm ( m) L bn ( n)
S n
n

bmj = akj

= (1) a1 (1) a2 (2) L am ( m) L ak ( k ) L an ( n) Switching am ( m ) and ak ( k ) puts the row indices S

in the correct order, but this will change the permutation . Write for with entries k and m swapped. Then det(B) = ( 1) a1 (1) a2 (2) L ak ( k ) L am ( m) L an ( n) = -det(A) since and have S
n

opposite signs. Corollary: Let A be an nxn matrix with two rows equal. Then det(A) = 0. Proof: A = (A with two rows swapped), so by the last proposition det(A) = -det(A). Proposition: Let A be an nxn matrix and let B be obtained from A by adding a multiple of row k to row m. Then det(A) = det(B). Proof: We have bij = aij if i is not m and bmj =amj+ cakj . Let D be matrix A with row k replacing row m. det(B) = (1) b1 (1)b2 (2) L bm ( m) L bn ( n)
S n

= =

S n

(1) (1)

a1 (1) a2 (2) L (am ( m) + cak ( m) )L an ( n) ( expand the sum) a1 (1) a2 (2) L am ( m) L an ( n) + c (1) a1 (1) a2 (2) L ak ( k ) L ak ( m) L an ( n)
Sn

S n

= det(A) + c det(D)= det(A), since D has two identical rows and det(D) = 0. Proposition: Let A be an nxn matrix and let B be obtained from A by multiplying row m by c. Then det(A) = cdet(B). Proof: We have bij = aij if i is not m and bmj = camj . det(B) = (1) b1 (1)b2 (2) L bm ( m) L bn ( n)
S n

= c ( 1) a1 (1) a2 (2) L am ( m) L an ( n) = c det(A) S


n

S n

(1)

a1 (1) a2 (2) L cam ( m) L an ( n)

Corollary: det(cA) = cndet(A), if A is nxn. Proof: Apply the last result to each of the n rows of A. Apply these last three results with A as the identity matrix. If E is I with 2 rows swapped, det(E) = -1. If E is I with a multiple of one row added to another, det(E) = 1

If E is I with a row multiplied by c, det(E) = c. These last three propositions together show det(EA) = det(E) det(A), where E is any elementary matrix. This is used to prove that det(AB) = det(A) det(B) for all matrices A and B. Cofactor expansion: Here is a sketch of the proof. Assume the expansion is on row 1. The key idea is to collect all of the terms containing a11, all those with a12, etc. These means grouping all 's by the value of (1). There are thus n terms in the sum : det(A) = (1) a1 (1) a2 (2) L ai ( i) L an ( n)
S n

= a11

(1) =1

(1)

a2 (2) L ai ( i) L an ( n) + a12

(1) =2

(1) a1 (1) a3 (3) L ai ( i) L an ( n) + L

+ a1n

(1) = n

(1) a1 (1) a2 (2) L ai (i ) L a( n 1) ( n 1)


S n

The sum multiplying a11

(1) a2 (2) L ai ( i ) L an ( n) has (n-1)! summands and each ; (1) =1

one has one entry from each row and column except for row 1 and column 1. Each of the permutations maps the set {2, . . . n} to itself and can be thought of as a permutation on Sn-1. This sum is a determinant of the submatrix of A obtained by removing row 1 and column 1. This is called the (1,1) minor of A, denoted M11. Each of similar terms in this expansion is a minor of A obtained by removing row 1 and column j for each j. The only problem remaining are the signs of these restricted permutations on Sn. It can be shown that they either all flip signs or all have the same sign as the original permutation. The pattern is (-1)1+j for the jth term. This leads to the cofactor of A, denoted Cij: Cij = (-1)i+ j Mij Then row 1 expansion becomes det(A) = a11C11 + a12 C12 + a13C13 + L + a1 nC1 n = a1 j C1 j and for any row i
j =1 n

det(A) = ai1Ci1 + ai 2Ci 2 + ai 3 Ci 3 + L + ain Cin = aij Cij


j =1

Proposition: det(A) = det(AT) Proof: Let B = AT, so bij = aji det(B) = =

S n

(1)

S n

(1)

b1 (1)b2 (2) L bi ( i) L bn ( n)

a (1)1a (2)2 L a ( i ) i L a ( n) n

Reorder each product to put the row indices in the natural order. Then the column 1 indices will have the order of , the inverse of . As runs through all permutations of 1 1 Sn so does . Thus the two expressions are equal since and have the same number of inversions. Any of these results about rows of a matrix and determinants apply to columns as well, merely apply the result to the transpose of the matrix.

For example, swapping columns negates a det(A) and if two columns of A are equal then det(A) = 0.

You might also like