Jaysen Tsao
Linear Algebra ›

Cofactor Expansion and Cramer's Rule

Cofactor Expansion

Definition 75: Cofactor Matrix

Let 𝐴∈𝐹𝑛×𝑛 be a square matrix. For any 𝑖,𝑗∈[𝑛], the minor of 𝐴 corresponding to the entry 𝑎𝑖𝑗, denoted 𝑚𝑖𝑗, is the determinant of the (𝑛−1)×(𝑛−1) matrix 𝐴𝑖𝑗 obtained by deleting the 𝑖th row and 𝑗th column of 𝐴:

𝑚𝑖𝑗=det(𝐴𝑖𝑗).

The cofactor matrix 𝐶 of 𝐴 is the 𝑛×𝑛 matrix whose (𝑖,𝑗)th entry is the cofactor 𝑐𝑖𝑗, defined by:

𝑐𝑖𝑗=(−1)𝑖+𝑗𝑚𝑖𝑗=(−1)𝑖+𝑗det(𝐴𝑖𝑗).

Theorem 66: Cofactor Expansion Theorem

Fix the determinant of a 1×1 matrix det((𝑎11))=𝑎. Let 𝐴∈𝐹𝑛×𝑛 be a square matrix for 𝑛≥2, and let 𝐶=(𝑐𝑖𝑗) be its cofactor matrix. Then the determinant of 𝐴 can be computed by either recursive formula:

  • Expansion Along the 𝒊th Row.

    det(𝐴)=∑𝑗=1𝑛𝑎𝑖𝑗𝑐𝑖𝑗=∑𝑗=1𝑛𝑎𝑖𝑗(−1)𝑖+𝑗det(𝐴𝑖𝑗) for any fixed 𝑖∈[𝑛].
  • Expansion Along the 𝒋th Column.

    det(𝐴)=∑𝑖=1𝑛𝑎𝑖𝑗𝑐𝑖𝑗=∑𝑖=1𝑛𝑎𝑖𝑗(−1)𝑖+𝑗det(𝐴𝑖𝑗) for any fixed 𝑗∈[𝑛].