Tutorials › Linear Algebra › The Recursive Definition of Determinants

Determinants by Cofactor Expansion · Tutorial 215 of 1000

The Recursive Definition of Determinants

Learn how the first-row recurrence defines determinants from the \(1\times1\) case, and how to follow and check each recursive step.

Beginner 8 min read

What You'll Learn

  • State the \(1\times1\) determinant as the base case of a recursive definition.
  • Apply the first-row recurrence using minors of one smaller order.
  • Track the alternating cofactor signs in each term.
  • Explain why recursive evaluation terminates and gives a unique value.
  • Check small recursive calculations against the familiar \(2\times2\) formula.

Why a Recursive Definition Is Needed

The determinant of a \(2\times2\) matrix has a direct formula, but larger matrices involve more entries and more terms. A recursive definition builds each larger determinant from determinants of smaller matrices. It starts with a single entry, then repeatedly removes one row and one column until only \(1\times1\) determinants remain. The definition specifies both how to continue and where to stop.

Throughout, matrices are square and have real entries. If \(\mathbf{A}\) is an \(n\times n\) matrix, let \(\mathbf{A}_{1j}\) denote the \((n-1)\times(n-1)\) matrix formed by deleting row 1 and column \(j\). This is the minor matrix associated with the entry \(a_{1j}\). Its determinant is the determinant of a smaller square matrix, so it can be defined before the determinant of \(\mathbf{A}\) is defined. The sign attached to position \((1,j)\) is \((-1)^{1+j}\), giving the alternating pattern \(+,-,+,-,\ldots\) along the first row.

Definition (recursive determinant): For a \(1\times1\) matrix, define \(\det\begin{bmatrix}a_{11}\end{bmatrix}=a_{11}\). For every \(n\times n\) matrix \(\mathbf{A}\) with \(n\ge2\), define its determinant by expansion along the first row: $$ \det\mathbf{A}=\sum_{j=1}^{n}(-1)^{1+j}a_{1j}\det(\mathbf{A}_{1j}). $$ The \(1\times1\) formula is the base case; the formula for \(n\ge2\) is the recursive step.

Each term uses one entry from the first row, its sign, and the determinant of the corresponding minor matrix. The minor matrix is smaller by one row and one column, and the same definition applies to it. The recurrence uses the first row specifically; it does not, by itself, authorize switching to another row or column. The alternating signs are essential: the term from column 1 is positive, the term from column 2 is negative, and the signs continue to alternate.

Starting from the Base Case

Worked Example: The Base Case

Evaluate the determinant of the \(1\times1\) matrix \(\mathbf{A}=\begin{bmatrix}-6\end{bmatrix}\).

This matrix is already at the stopping point of the recursion. The base case says to take its single entry:

$$ \det\begin{bmatrix}-6\end{bmatrix}=-6. $$

Check: The base case defines the determinant of \(\begin{bmatrix}a_{11}\end{bmatrix}\) to be \(a_{11}\). Here \(a_{11}=-6\), so the value is \(-6\).

For an \(n\times n\) matrix with \(n\ge2\), every term in the recurrence refers to an \((n-1)\times(n-1)\) determinant. For a \(2\times2\) matrix, those minor matrices are \(1\times1\), so a single expansion reaches the base case.

Worked Example: A Two-by-Two Matrix from the Recurrence

Use the recursive definition to evaluate \(\mathbf{A}=\begin{bmatrix}3&-2\\5&4\end{bmatrix}\).

Expand along the first row. Deleting row 1 and column 1 leaves \(\begin{bmatrix}4\end{bmatrix}\); deleting row 1 and column 2 leaves \(\begin{bmatrix}5\end{bmatrix}\). The signs are \(+\) and \(-\):

$$ \begin{aligned} \det\mathbf{A} &= (+1)(3)\det\begin{bmatrix}4\end{bmatrix} +(-1)(-2)\det\begin{bmatrix}5\end{bmatrix}\\ &=3(4)+2(5)\\ &=12+10\\ &=22. \end{aligned} $$

Check: The familiar \(2\times2\) formula gives \(ad-bc\). For these entries it is \(3(4)-(-2)(5)=12+10=22\), agreeing with the recursive calculation.

Following the Recurrence Through Another Level

For a \(3\times3\) matrix, expanding along the first row produces three \(2\times2\) determinants. Each of those can be evaluated by expanding its own first row, which reaches \(1\times1\) determinants. The original determinant is therefore reduced to the base case in two rounds of expansion.

Worked Example: A Three-by-Three Matrix Reaches the Base Case

Evaluate \(\mathbf{B}=\begin{bmatrix}1&2&1\\2&1&3\\1&3&2\end{bmatrix}\) using the recursive definition.

First expand along row 1. The signs are \(+,-,+\). The three minor matrices are formed by deleting row 1 and the relevant column:

$$ \begin{aligned} \det\mathbf{B} ={}&1\det\begin{bmatrix}1&3\\3&2\end{bmatrix} -2\det\begin{bmatrix}2&3\\1&2\end{bmatrix} +1\det\begin{bmatrix}2&1\\1&3\end{bmatrix}. \end{aligned} $$

Now apply the recurrence to each \(2\times2\) minor. Their first-row signs are \(+,-\), and their remaining minor matrices are \(1\times1\):

$$ \begin{aligned} \det\begin{bmatrix}1&3\\3&2\end{bmatrix} &=1\det\begin{bmatrix}2\end{bmatrix} -3\det\begin{bmatrix}3\end{bmatrix} =1(2)-3(3)=-7,\\ \det\begin{bmatrix}2&3\\1&2\end{bmatrix} &=2\det\begin{bmatrix}2\end{bmatrix} -3\det\begin{bmatrix}1\end{bmatrix} =2(2)-3(1)=1,\\ \det\begin{bmatrix}2&1\\1&3\end{bmatrix} &=2\det\begin{bmatrix}3\end{bmatrix} -1\det\begin{bmatrix}1\end{bmatrix} =2(3)-1(1)=5. \end{aligned} $$

Substitute these three values into the first expansion:

$$ \det\mathbf{B}=1(-7)-2(1)+1(5)=-7-2+5=-4. $$

Check: The \(2\times2\) values are also \(1(2)-3(3)=-7\), \(2(2)-3(1)=1\), and \(2(3)-1(1)=5\), respectively. Using the first-row signs \(+,-,+\) gives \(-7-2+5=-4\), so each minor and the final signed sum are consistent.

Why the Recursive Rule Is Well-Defined

Theorem: The base case and recurrence assign exactly one real number to every square matrix with real entries.

Proof. We use induction on the order \(n\). If \(n=1\), the definition assigns the matrix's single entry as its determinant, so there is exactly one value. Assume that every \((n-1)\times(n-1)\) real matrix has exactly one determinant. Let \(\mathbf{A}\) be any \(n\times n\) real matrix. Each minor matrix \(\mathbf{A}_{1j}\) has order \(n-1\), so the induction assumption assigns exactly one real number to \(\det(\mathbf{A}_{1j})\) for each \(j\). Every entry \(a_{1j}\) and sign \((-1)^{1+j}\) is fixed. The recurrence is a finite sum of these fixed real numbers, so it assigns exactly one real number to \(\det\mathbf{A}\). This proves the claim for order \(n\), and induction proves it for every positive integer \(n\). \(\square\)

The induction also explains why the definition is not circular. When defining the determinant of an \(n\times n\) matrix, it calls only on determinants of matrices with smaller order, which have already been assigned values at the previous induction step.

Proposition: Every chain of recursive expansions ends at \(1\times1\) determinants after exactly \(n-1\) expansions, starting from an \(n\times n\) matrix.

Proof. For \(n=1\), no expansion is needed, and the determinant is already at the base case; the number of expansions is \(0=1-1\). Suppose the statement holds for matrices of order \(n-1\), and start with an \(n\times n\) matrix where \(n\ge2\). One expansion replaces it with minor matrices of order \(n-1\). By the induction assumption, each such determinant reaches \(1\times1\) after \((n-1)-1=n-2\) further expansions. Including the first expansion gives \(1+(n-2)=n-1\) expansions in total. Thus every branch reaches the base case in the stated number of steps, and induction proves the proposition. \(\square\)

A calculation can be viewed as a branching process: each expansion produces one term for each first-row entry, and each non-base determinant in a term can be expanded again. The proposition guarantees that no branch continues indefinitely. A zero entry makes its term zero, but the rule and the size of its minor are still determined in the same way.

Keeping Signs and Minor Matrices Straight

There are two separate choices in each recursive term: which minor matrix belongs to the entry, and which sign belongs to that position. For the first row, the minor for column \(j\) is formed by deleting column \(j\), not by deleting row \(j\). Its sign depends on the column position through \((-1)^{1+j}\). Keeping those choices separate helps prevent errors.

Common mistake: using the same sign for every term. A tempting but incorrect calculation for \(\begin{bmatrix}3&-2\\5&4\end{bmatrix}\) is \(3(4)+(-2)(5)=2\), because it uses a plus sign for both first-row terms. The second cofactor sign is negative, so the correct calculation is \(3(4)-(-2)(5)=12+10=22\). The correction is not to change the entry \(-2\); it is to apply the required minus sign to the entire second term.

Another error is to stop at the minor matrices without evaluating their determinants. The recurrence is an instruction to continue until the base case applies. For example, in the \(3\times3\) calculation, the three \(2\times2\) determinants must each be expanded or evaluated by the established \(2\times2\) formula before their values can be combined.

The recursive definition is useful because it turns the determinant of any positive-order square matrix into a finite calculation using smaller square matrices. Its stopping rule is exact, and its signs are fixed by position. The next time a determinant is evaluated, keep track of the matrix order at every stage: each recursive step lowers the order by one, and order one is where the calculation ends.

Check Your Understanding

For each question, identify the base case or recurrence step being used, and keep the signs attached to their positions.

  1. What is the determinant of \(\begin{bmatrix}9\end{bmatrix}\), and which part of the definition gives the answer?
  2. Expand \(\begin{bmatrix}2&1\\-3&5\end{bmatrix}\) recursively along its first row, showing the \(1\times1\) determinants.
  3. For a \(4\times4\) matrix, what order are the minor matrices in the first expansion, and how many expansions does each branch require to reach the base case?
  4. Write the first-row recurrence for a \(3\times3\) matrix using its entries and its three minor matrices, including all signs.
  5. Explain why the recurrence defines one value for each square matrix, rather than leaving a choice of determinant values unresolved.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon