A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Cofactor Expansion and n×n Determinants

College Depth 79 in the knowledge graph ☐ I know this ☆ Set as goal
4,303topics build on this
318prerequisites beneath it
See this on the map →
Determinants of 2×2 and 3×3 Matrices→→Characteristic Polynomial and DiagonalizationCramer's Rule for Solving Systems+1 more
cofactor minor Laplace expansion n-by-n determinant recursive

Core Idea

The cofactor expansion (Laplace expansion) generalizes determinant computation to n×n matrices recursively: det(A) = Σⱼ aᵢⱼ Cᵢⱼ where Cᵢⱼ = (−1)i+j Mᵢⱼ is the signed (i,j) minor and Mᵢⱼ is the determinant of the (n−1)×(n−1) submatrix formed by deleting row i and column j. This expansion can be performed along any row or column, and choosing a row or column with many zeros minimizes computation. The checkerboard sign pattern of cofactors (alternating + and −) is a key feature. For large n, cofactor expansion is computationally expensive but conceptually fundamental.

How It's Best Learned

Practice expanding along different rows and columns of the same matrix to verify you get the same determinant. Choose expansions along rows with zeros to reduce work. Build up from 3×3 to 4×4 manually before trusting computational tools.

Common Misconceptions

Explainer

From your work with 2×2 and 3×3 determinants, you already know the pattern: det[a b; c d] = ad − bc, and the 3×3 determinant can be computed by expanding along the top row, multiplying each entry by the 2×2 determinant of what remains when that entry's row and column are deleted. Cofactor expansion generalizes this recipe to matrices of any size. The key insight is that determinants are defined recursively: a 4×4 determinant is defined in terms of four 3×3 determinants, which are each defined in terms of three 2×2 determinants, and so on down to the base case.

The formal setup introduces two related objects. The (i, j) minor Mᵢⱼ is the determinant of the (n−1)×(n−1) submatrix formed by deleting row i and column j. The (i, j) cofactor Cᵢⱼ is the signed minor: Cᵢⱼ = (−1)i+j × Mᵢⱼ. The sign factor (−1)i+j produces the checkerboard pattern — the (1,1) cofactor has a + sign, (1,2) has −, (2,1) has −, (2,2) has +, and so on. This sign pattern ensures that no matter which row or column you choose to expand along, you get the same determinant. det(A) = Σⱼ aᵢⱼ Cᵢⱼ for any fixed row i (or the analogous column version).

The freedom to choose any row or column is not just a mathematical curiosity — it is the key to efficiency. Expanding along a row with many zeros requires fewer actual multiplications because any term aᵢⱼ Cᵢⱼ with aᵢⱼ = 0 contributes nothing. For a 4×4 matrix like [[0, 0, 3, 0], ...], expanding along the first row reduces to just one 3×3 determinant instead of four. In practice, you should always scan for the row or column with the most zeros before starting. If the matrix has no zeros, you can sometimes create them via row operations first (which scale the determinant in a known way).

The conceptual payoff of cofactor expansion goes beyond computation. The same cofactors define the adjugate matrix adj(A), where adj(A)ᵢⱼ = Cⱼᵢ (note the transposed indices). The adjugate satisfies A × adj(A) = det(A) × I, which immediately gives the formula for the matrix inverse: A⁻¹ = adj(A) / det(A) when det(A) ≠ 0. Cramer's Rule, which expresses the solution to Ax = b in terms of determinants, also follows directly from cofactor theory. So while cofactor expansion is computationally expensive for large matrices (O(n!) in the naive recursive form), it is conceptually indispensable: it is the algebraic foundation on which determinant properties, the inverse formula, and Cramer's Rule all rest.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Vectors in Two Dimensions → Vector Operations: Addition, Subtraction, and Scalar Multiplication → Dot Product (Inner Product in R^n) → Matrix Multiplication → Determinants of 2×2 and 3×3 Matrices → Cofactor Expansion and n×n Determinants

Longest path: 80 steps · 318 total prerequisite topics

Prerequisites (1)

Leads To (3)