Properties of Determinant

Basis
Last updated: Tags: Linear Algebra

Prerequisites

The determinant was defined via expansion along the first row. That definition is logically complete but computationally expensive — expanding an n×nn \times n matrix naively requires n!n! multiplications. This article develops the properties that make determinants tractable: expansion along any row or column, the way row operations interact with det, and the identity det(AB)=det(A)det(B)\det(AB) = \det(A)\det(B). It ends with two classical applications: the adjugate-based inverse formula and Cramer’s rule.

Laplace expansion along any row or column

The definition in Determinant expanded along row 1. The same value emerges from any row or column.

Theorem (Laplace expansion): For any i{1,,n}i \in \{1, \ldots, n\},

\det(A) = \sum_{j=1}^{n} (-1)^{i+j}\, a_{ij}\, \det(A_{ij}), \tag{1}

and for any j{1,,n}j \in \{1, \ldots, n\},

\det(A) = \sum_{i=1}^{n} (-1)^{i+j}\, a_{ij}\, \det(A_{ij}). \tag{2}

Here AijA_{ij} is the (n1)×(n1)(n-1) \times (n-1) minor obtained by deleting row ii and column jj, and Cij(1)i+jdet(Aij)C_{ij} \coloneqq (-1)^{i+j} \det(A_{ij}) is the (i,j)(i,j) cofactor.

In practice: expand along the row or column with the most zeros — each zero term contributes nothing and shrinks the work significantly.

Worked example

A=(010234567).A = \begin{pmatrix} 0 & 1 & 0 \\ 2 & 3 & 4 \\ 5 & 6 & 7 \end{pmatrix}.

Expanding along row 1, only the a12=1a_{12} = 1 term is nonzero:

det(A)=(1)1+21det ⁣(2457)=1(1420)=6.\det(A) = (-1)^{1+2} \cdot 1 \cdot \det\!\begin{pmatrix}2 & 4 \\ 5 & 7\end{pmatrix} = -1 \cdot (14 - 20) = 6.

Transpose

\det(A^\top) = \det(A). \tag{3}

Because the determinant is unchanged by transposition, any statement about rows holds equally for columns. In particular, column-expansion (equation (2)) follows from row-expansion (equation (1)) applied to AA^\top, and every row-operation rule below has an exact column analogue.

The effect of row operations on det

Row operations — the building blocks of Gauss-Jordan elimination — interact with the determinant in a clean way:

Row operationEffect on det(A)\det(A)
Swap two rowsMultiplies det\det by 1-1
Multiply row ii by scalar c0c \ne 0Multiplies det\det by cc
Add a scalar multiple of one row to anotherdet\det unchanged

These three rules turn Gaussian elimination into an efficient determinant algorithm. Apply Gaussian elimination to AA (using only row swaps and row additions — no row scaling), tracking the number of swaps ss. The result is an upper triangular matrix UU. Since the determinant of a triangular matrix is the product of its diagonal entries,

\det(A) = (-1)^{s}\, \prod_{i=1}^{n} u_{ii}. \tag{4}

This computes det(A)\det(A) in O(n3)O(n^3) operations — the same cost as the elimination itself.

Connection to invertibility

AA is invertible exactly when Gaussian elimination produces a nonzero entry on every diagonal of UU, i.e., iuii0\prod_i u_{ii} \ne 0. By (4), this is equivalent to det(A)0\det(A) \ne 0 — consistent with the criterion established in Determinant.

Multiplicativity

\det(AB) = \det(A)\,\det(B). \tag{5}

The determinant is a multiplicative homomorphism from n×nn \times n matrices to the field FF. Several immediate consequences follow:

  • det(In)=1\det(I_n) = 1, so if AA is invertible then 1=det(A)det(A1)1 = \det(A)\det(A^{-1}), giving det(A1)=1/det(A)\det(A^{-1}) = 1/\det(A).
  • det(Ak)=det(A)k\det(A^k) = \det(A)^k for any non-negative integer kk.
  • det(A1A2Ak)=det(A1)det(A2)det(Ak)\det(A_1 A_2 \cdots A_k) = \det(A_1)\det(A_2)\cdots\det(A_k).

Note that (5) does not extend to sums: det(A+B)det(A)+det(B)\det(A + B) \ne \det(A) + \det(B) in general.

Adjugate matrix

The cofactor matrix of AA is the n×nn \times n matrix whose (i,j)(i,j) entry is the cofactor Cij=(1)i+jdet(Aij)C_{ij} = (-1)^{i+j}\det(A_{ij}).

The adjugate (also called the classical adjoint) of AA is the transpose of the cofactor matrix:

\operatorname{adj}(A)_{ij} \coloneqq C_{ji} = (-1)^{i+j}\det(A_{ji}). \tag{6}

Theorem:

A \cdot \operatorname{adj}(A) = \operatorname{adj}(A) \cdot A = \det(A)\, I_n. \tag{7}

The proof follows by writing out the (i,k)(i,k) entry of Aadj(A)A \cdot \operatorname{adj}(A) as jaijCkj\sum_j a_{ij} C_{kj}: when i=ki = k this is the cofactor expansion of det(A)\det(A) along row ii; when iki \ne k it equals zero because it computes the determinant of a matrix with two identical rows.

When det(A)0\det(A) \ne 0, dividing both sides by det(A)\det(A) gives an explicit inverse formula:

A^{-1} = \frac{1}{\det(A)}\operatorname{adj}(A). \tag{8}

For large nn this is O(n4)O(n^4) — slower than Gaussian elimination. It is most useful for 2×22 \times 2 and 3×33 \times 3 matrices by hand, or in theoretical arguments.

The 2×2 case

For A=(abcd)A = \begin{pmatrix}a & b \\ c & d\end{pmatrix} with det(A)=adbc0\det(A) = ad - bc \ne 0:

A1=1adbc(dbca).A^{-1} = \frac{1}{ad-bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}.

Swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant.

Cramer’s rule

Let AA be an invertible n×nn \times n matrix and bFnb \in F^n. The unique solution of Ax=bAx = b has components

x_i = \frac{\det(A_i(b))}{\det(A)}, \qquad i = 1, \ldots, n, \tag{9}

where Ai(b)A_i(b) is the matrix obtained from AA by replacing its ii-th column with bb.

Why it works: From x=A1b=1det(A)adj(A)bx = A^{-1}b = \frac{1}{\det(A)}\operatorname{adj}(A)\,b, the ii-th component is 1det(A)\frac{1}{\det(A)} times the dot product of the ii-th row of adj(A)\operatorname{adj}(A) with bb. Expanding that dot product as a cofactor expansion along column ii of AA (with bb inserted) gives exactly det(Ai(b))\det(A_i(b)).

Like the adjugate formula, Cramer’s rule is O(n4)O(n^4) and is impractical for large systems. It is mainly used for n3n \le 3 by hand and in theoretical proofs (such as showing that the solution of an integer linear system has a rational — or integer — representation).

Summary

  • Laplace expansion works along any row or column (equations (1) and (2)); choose the one with the most zeros to minimize work.
  • Transpose: det(A)=det(A)\det(A^\top) = \det(A), so every row result has an exact column analogue.
  • Row operations affect det predictably: swapping two rows flips the sign; scaling a row by cc scales det by cc; adding a multiple of one row to another leaves det unchanged.
  • Gaussian elimination gives an O(n3)O(n^3) algorithm: reduce AA to upper triangular UU, then det(A)=(1)swapsiuii\det(A) = (-1)^{\text{swaps}} \prod_i u_{ii}.
  • Multiplicativity: det(AB)=det(A)det(B)\det(AB) = \det(A)\det(B); in particular det(A1)=1/det(A)\det(A^{-1}) = 1/\det(A).
  • Adjugate: A1=1det(A)adj(A)A^{-1} = \frac{1}{\det(A)}\operatorname{adj}(A), an explicit but O(n4)O(n^4) formula, mainly useful for small matrices or theoretical work.
  • Cramer’s rule: xi=det(Ai(b))/det(A)x_i = \det(A_i(b))/\det(A), a closed-form solution for Ax=bAx = b, practical for n3n \le 3 or theoretical arguments.