Skill: Calculate cofactors of a matrix

Explanation and Free Practice Resources

A cofactor is the signed determinant of the minor formed by deleting a matrix entry’s row and column: the minor’s determinant is multiplied by (−1)i+j(-1)^{i+j}, producing an alternating checkerboard of signs beginning with ++. This understanding supports expansion of a determinant along a row or column and the adjugate method for finding an inverse; the focus is on numerical square matrices of manageable order, not abstract or advanced generalizations.

Detailed Explanation: Calculate cofactors of a matrix

To find the cofactor CijC_{ij} of an entry in row ii, column jj:

  1. Delete that entry’s row and column to form its minor.
  2. Find the determinant of the minor.
  3. Multiply by (−1)i+j(-1)^{i+j}. The signs follow this checkerboard pattern:
[+−+−+−+−+] \begin{bmatrix} + & - & +\\ - & + & -\\ + & - & + \end{bmatrix}

For a 2×22 \times 2 matrix [abcd]\begin{bmatrix}a&b\\c&d\end{bmatrix}, its determinant is ad−bcad-bc.

Worked example: Find every cofactor of

A=[1203−14251].A=\begin{bmatrix} 1&2&0\\ 3&-1&4\\ 2&5&1 \end{bmatrix}.

For example, to find C12C_{12}, delete row 1 and column 2:

[3421].\begin{bmatrix} 3&4\\ 2&1 \end{bmatrix}.

Its determinant is 3(1)−4(2)=−53(1)-4(2)=-5. The checkerboard sign at position (1,2)(1,2) is negative, so

C12=(−1)(−5)=5.C_{12}=(-1)(-5)=5.

Repeat this process for each position:

CofactorMinor determinantSignCofactor value
C11C_{11}(−1)(1)−4(5)=−21(-1)(1)-4(5)=-21++−21-21
C12C_{12}3(1)−4(2)=−53(1)-4(2)=-5−-55
C13C_{13}3(5)−(−1)(2)=173(5)-(-1)(2)=17++1717
C21C_{21}2(1)−0(5)=22(1)-0(5)=2−-−2-2
C22C_{22}1(1)−0(2)=11(1)-0(2)=1++11
C23C_{23}1(5)−2(2)=11(5)-2(2)=1−-−1-1
C31C_{31}2(4)−0(−1)=82(4)-0(-1)=8++88
C32C_{32}1(4)−0(3)=41(4)-0(3)=4−-−4-4
C33C_{33}1(−1)−2(3)=−71(-1)-2(3)=-7++−7-7

Putting the cofactors in their original positions gives the cofactor matrix:

[−21517−21−18−4−7].\begin{bmatrix} -21&5&17\\ -2&1&-1\\ 8&-4&-7 \end{bmatrix}.

Remember: calculate the minor’s determinant first, then apply the checkerboard sign.

Learn by doing: Calculate cofactors of a matrix

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Your results

Practice with unlimited practice problems

Matrices - Cofactor Matrix (2x2) - Full Matrix


    ?

    Download/Modify Free Grade 12 'Calculate cofactors of a matrix' Worksheet

    Print this free 'Calculate cofactors of a matrix' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.

    Explore More Grade 12 Math