PAIBOTLearn
Sign inSign up

n×n determinants: cofactors & Cramer's rule

Matrices

Japanese school year: University year 1

What you learn

Learn the properties of general n-th order determinants, calculation via cofactor expansion, and Cramer's rule. These tools are widely applied to solve linear systems with many unknowns and to formulate eigenvalue problems. Prior proficiency in evaluating 2x2 determinants and performing basic matrix operations is required.

Go to practice

Key points

This formula (Laplace expansion) calculates a large determinant by breaking it down into smaller determinants MijM_{ij} (minors). Choose row ii, multiply each entry aija_{ij} by its alternating sign and corresponding minor MijM_{ij}, then sum them up.

det⁡A=∑j=1n(−1)i+jaijMij\det A = \sum_{j=1}^n (-1)^{i+j} a_{ij} M_{ij}

Cramer's rule solves for the unknown xix_i in a linear system directly using determinants. You divide by det⁡A\det A, where matrix AiA_i is formed by replacing column ii of matrix AA with the constants from the right-hand side.

xi=det⁡Aidet⁡A(det⁡A≠0)x_i = \frac{\det A_i}{\det A} \quad (\det A \neq 0)

This property shows that transposing matrix ATA^T (swapping rows and columns) preserves the determinant of matrix AA. It means that any calculation rule that applies to rows also works for columns.

det⁡(AT)=det⁡A\det(A^T) = \det A

Choose a set to practice.