0:00 / 0:00

Minors and Cofactors

Minor of a Matrix Entry

Let AA be a square matrix. The minor of entry aija_{ij}, denoted MijM_{ij}, is the determinant of the submatrix that remains after removing row ii and column jj from AA.
Example
Given A=[3   14245156]A = \left[\begin{array}{rrr} -3&\ \ \ 1&-4\\[0.5em] 2&4&5\\[0.5em] 1&5&6 \end{array}\right], find the minors M11M_{11} and M23M_{23}:
For M11M_{11}, we need to cross out row 1 and column 1, then find the determinant of what remains:
M11=4556=4(6)5(5)=1M_{11}=\left|\begin{array}{rr} 4&5\\[0.5em] 5&6 \end{array}\right| = 4(6)-5(5)=-1
For M23M_{23}, we need to cross out row 2 and column 3:
M23=3115=3(5)1(1)=16M_{23}=\left|\begin{array}{rr} -3&1\\[0.5em] 1&5 \end{array}\right| = -3(5)-1(1)=-16
PAGE BREAK

Cofactor of a Matrix Entry

LetAA be a square matrix. The cofactor of entry aija_{ij}, denoted CijC_{ij}, is given as:
Cij=(1)i+jMij\boxed{\quad C_{ij}=(-1)^{i+j}M_{ij} \quad}
Wize Tip
Imagine a checkerboard pattern over the given matrix to decide whether you should write MijM_{ij} or Mij-M_{ij}:
[+++++]\left[\begin{array}{cccc} +&-&+&\cdots\\[0.5em] -&+&-&\cdots\\[0.5em] +&-&+&\cdots\\[0.5em] \vdots&\vdots&\vdots&\ddots \end{array}\right]


PAGE BREAK
Example
Given A=[3   14245156]A = \left[\begin{array}{rrr} -3&\ \ \ 1&-4\\[0.5em] 2&4&5\\[0.5em] 1&5&6 \end{array}\right] , find cofactors C11C_{11} and C23C_{23}.
Using the checkerboard pattern, we can see whether we need to negate when computing C11, C23C_{11}, \ C_{23}:
A=[+11++23++]A = \left[\begin{array}{rrr} \overset{11}{\boxed{+}} & - & +\\[0.3em] - & + & \overset{23}{\boxed{-}}\\[1em] + & - & + \end{array}\right]
C11=+M11=1C_{11} = \boxed{+}M_{11} = -1
C23=M23=(16)=16C_{23} = \boxed{-}M_{23} = -(-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)=1C_{11}=(-1)^{1+1}M_{11}=(-1)^2(-1)=-1
C23=(1)2+3M23=1(16)=16C_{23}=(-1)^{2+3}M_{23}=-1(-16)=16
0:00 / 0:00

Determinants of Large Matrices

Cofactor Expansion

Given a square matrix An×nA_{n \times n}, its determinant can be calculated as:
det(A)=a11C11+a12C12+a13C13++a1nC1n\text{det}(A)=a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13}+\cdots+a_{1n}C_{1n}
This expression is referred as the cofactor expansion along row 1.

Wize Tip
You can calculate det(A)\text{det}(A) by expanding cofactors along any row or any column.
Choose a row or column that has lots of zeros!

Example
If A=[a11a12a13a21a22a23a31a32a33]A=\left[\begin{array}{rrr}a_{11} & a_{12}&a_{13}\\a_{21} & a_{22}&a_{23}\\a_{31} & a_{32}&a_{33}\end{array}\right], then by expanding cofactors along row 1, we get the result:
det(A)=a11a22a23a32a33a12a21a23a31a33+a13a21a22a31a32\text{det}(A)= a_{11}\left|\begin{array}{rrr}a_{22}&a_{23}\\a_{32}&a_{33}\end{array}\right| - a_{12}\left|\begin{array}{rrr}a_{21}&a_{23}\\a_{31}&a_{33}\end{array}\right| + a_{13}\left|\begin{array}{rrr}a_{21}&a_{22}\\a_{31}&a_{32}\end{array}\right|
Note: Finding the determinant of a 3×33\times 3 matrix becomes finding 33 determinants 2×22\times 2 matrices.
PAGE BREAK
Example
If B=[b11b12b13b14b21b22b23b24b31b32b33b34b41b42b43b44]B=\left[\begin{array}{rrrr}b_{11} & b_{12}&b_{13}&b_{14}\\b_{21} & b_{22}&b_{23}&b_{24}\\b_{31} & b_{32}&b_{33}&b_{34}\\b_{41} & b_{42}&b_{43}&b_{44}\end{array}\right] then by expanding cofactors along row 1 we get the result:
det(B)=   b11b22b23b24b32b33b34b42b43b44b12b21b23b24b31b33b34b41b43b44+b13b21b22b24b31b32b34b41b42b44b14b21b22b23b31b32b33b41b42b43\begin{array}{rcl} \text{det}(B)&=& \ \ \ b_{11}\cdot\left|\begin{array}{rrr}b_{22}&b_{23}&b_{24}\\b_{32}&b_{33}&b_{34}\\b_{42}&b_{43}&b_{44}\end{array}\right|\\[2em] &&- b_{12}\cdot\left|\begin{array}{rrr}b_{21}&b_{23}&b_{24}\\b_{31}&b_{33}&b_{34}\\b_{41}&b_{43}&b_{44}\end{array}\right|\\[2em] &&+ b_{13}\cdot\left|\begin{array}{rrr}b_{21}&b_{22}&b_{24}\\b_{31}&b_{32}&b_{34}\\b_{41}&b_{42}&b_{44}\end{array}\right|\\[2em] &&- b_{14}\cdot \left|\begin{array}{rrr}b_{21}&b_{22}&b_{23}\\b_{31}&b_{32}&b_{33}\\b_{41}&b_{42}&b_{43}\end{array}\right| \end{array}
Exercise: To compute a 4×44 \times 4 determinant, we must compute up to
12
2×22\times 2 determinants.

PAGE BREAK

Steps

  1. Choose a row or column with lots of 0s
  2. Assign ++ or - signs to each entry in that row or column (top left corner starts with ++, continue checkerboard pattern)
  3. Set up the determinant equation with these signs: det(A)=++\det A = + \quad - \quad + \quad\dots
  4. Write the entries of your chosen row or column: det(A)=+entry1entry2+entry3\det A = +\text{entry}_1 \quad -\text{entry}_2 \quad +\text{entry}_3 \quad\dots
  5. Multiply by the determinants of the sub-matrices (matrix minors):
det(A)=+entry1Mijentry2Mkl+entry3Mmn\boxed{\quad \det A = +\text{entry}_1\cdot M_{ij} \quad -\text{entry}_2 \cdot M_{kl} \quad +\text{entry}_3\cdot M_{mn}\dots \quad}
0:00 / 0:00

Example: Determinant of a 3×3\colorOne{3 \times 3} Matrix

𝐴=[123041215]𝐴 =\begin{bmatrix} 1&-2&3\\ 0&4&1\\ -2&1&-5 \end{bmatrix}. Find det(A)\det{A} using cofactor expansion.
  1. Choose a row or column with lots of 0s Column 1 contains a 0 (as well as Row 2). Let's choose Column 1. 𝐴=[   123   041215]𝐴 =\begin{bmatrix} \boxed{\ \ \ 1}&-2&3\\ \boxed{\ \ \ 0}&4&1\\ \boxed{-2}&1&-5 \end{bmatrix}
  2. Assign ++ or - signs to each entry in that row or column (top left corner starts with ++, continue checkerboard pattern) [+++++]\begin{bmatrix} \boxed+&-&+\\ \boxed-&+&-\\ \boxed+&-&+ \end{bmatrix}
  3. Set up the determinant equation with these signs det(A)=++\det A= + \qquad - \qquad +
  4. Write the entries of your chosen row or column det(A)=+10+(2)\det A = +1 \qquad -0 \qquad +(-2) \quad\dots
  5. Multiply by the determinants of the sub-matrices (matrix minors) det(A)=+1 41150 2315+(2) 2341=1[(4)(5)(1)(1)]0+(2)[(2)(1)(3)(4)]=210+28=7\begin{array}{rclll} \det A &=& +1\ \left\vert \begin{array}{rr} 4&1\\ 1&-5 \end{array} \right\vert & -0\ \left\vert \begin{array}{rr} -2&3\\ 1&-5 \end{array} \right\vert & +(-2)\ \left\vert \begin{array}{rr} -2&3\\ 4&1 \end{array} \right\vert\\[2em] &=& 1\big[ (4)(-5) - (1)(1) \big] & -0 & +(-2)\big[ (-2)(1) - (3)(4) \big]\\[1.5em] &=& -21&-0&+28\\[1.5em] &=& \boxed{7} \end{array}
B=[401510022]B= \begin{bmatrix} 4&0&1\\ 5&1&0\\ 0&2&-2 \end{bmatrix}

Find det(B)\det B.


Compute the determinant of A=[2141101251210031]A=\left[\begin{array}{rrrr} -2&1&4&-1\\ 1&0&-1&2\\ 5&-1&2&1\\ 0&0&3&-1 \end{array}\right].
Extra Practice