Determinants of Large Matrices

Minors and Cofactors
Minor of a Matrix Entry
Let A be a square matrix. The minor of entry aij, denoted Mij, is the determinant of the submatrix that remains after removing row i and column j from A.
Example
Given A=−321 145−456, find the minors M11 and M23:
For M11, we need to cross out row 1 and column 1, then find the determinant of what remains:

M11=4556=4(6)−5(5)=−1
For M23, we need to cross out row 2 and column 3:

M23=−3115=−3(5)−1(1)=−16
Cofactor of a Matrix Entry
LetA be a square matrix. The cofactor of entry aij, denoted Cij, is given as:
Cij=(−1)i+jMij
Example
Given A=−321 145−456 , find cofactors C11 and C23.
Using the checkerboard pattern, we can see whether we need to negate when computing C11, C23:
A=+11−+−+−+−23+
C11=+M11=−1
C23=−M23=−(−16)=16
Note: + just means multiply by positive 1 (no change), it does not mean "make it positive".
Alternatively, you can use the formula:
C11=(−1)1+1M11=(−1)2(−1)=−1
C23=(−1)2+3M23=−1(−16)=16

Determinants of Large Matrices
Cofactor Expansion
Given a square matrix An×n, its determinant can be calculated as:
This expression is referred as the cofactor expansion along row 1.
Example
If A=a11a21a31a12a22a32a13a23a33, then by expanding cofactors along row 1, we get the result:
det(A)=a11a22a32a23a33−a12a21a31a23a33+a13a21a31a22a32
Note: Finding the determinant of a 3×3 matrix becomes finding 3 determinants 2×2 matrices.
Example
If B=b11b21b31b41b12b22b32b42b13b23b33b43b14b24b34b44 then by expanding cofactors along row 1 we get the result:
det(B)= b11⋅b22b32b42b23b33b43b24b34b44−b12⋅b21b31b41b23b33b43b24b34b44+b13⋅b21b31b41b22b32b42b24b34b44−b14⋅b21b31b41b22b32b42b23b33b43
Exercise: To compute a 4×4 determinant, we must compute up to ________ 2×2 determinants.
Steps
- Choose a row or column with lots of 0s
- Assign + or − signs to each entry in that row or column (top left corner starts with +, continue checkerboard pattern)
- Set up the determinant equation with these signs: detA=+−+…
- Write the entries of your chosen row or column: detA=+entry1−entry2+entry3…
- Multiply by the determinants of the sub-matrices (matrix minors):
detA=+entry1⋅Mij−entry2⋅Mkl+entry3⋅Mmn…

Example: Determinant of a 3×3 Matrix
A=10−2−24131−5. Find det(A) using cofactor expansion.
- Choose a row or column with lots of 0s Column 1 contains a 0 (as well as Row 2). Let's choose Column 1. A= 1 0−2−24131−5
- Assign + or − signs to each entry in that row or column (top left corner starts with +, continue checkerboard pattern) +−+−+−+−+
- Set up the determinant equation with these signs detA=+−+
- Write the entries of your chosen row or column detA=+1−0+(−2)…
- Multiply by the determinants of the sub-matrices (matrix minors) detA====+1 411−51[(4)(−5)−(1)(1)]−217−0 −213−5−0−0+(−2) −2431+(−2)[(−2)(1)−(3)(4)]+28
Compute the determinant of A=−215010−104−123−121−1.