Tutorials › Linear Algebra › Deriving the Adjugate Formula for the Inverse

Cramer's Rule, Adjugate and Volume · Tutorial 265 of 1000

Deriving the Adjugate Formula for the Inverse

Use the adjugate identity to derive the inverse formula, check both matrix products, and understand why a nonzero determinant is essential.

Intermediate 9 min read

What You'll Learn

  • State the adjugate identity and the condition needed to divide by the determinant.
  • Derive the formula for the inverse of a square matrix.
  • Verify explicitly that the formula gives both a left and a right inverse.
  • Explain why the inverse, when it exists, is unique.
  • Distinguish the invertible and singular cases using exact matrix calculations.

From the Adjugate Identity to an Inverse

The adjugate is built from the cofactors of a square matrix. Its importance is not only that it packages many cofactor calculations into one matrix: multiplying a matrix by its adjugate produces a scalar multiple of the identity matrix. When that scalar is nonzero, division by it turns the product into the identity. This gives a direct route from the adjugate identity to an explicit formula for the inverse.

Throughout, let \(\mathbf{A}\) be an \(n\times n\) matrix over \(\mathbb{R}\). For each entry \(a_{ij}\), delete row \(i\) and column \(j\) to obtain a smaller matrix, and let its determinant be the minor of \(a_{ij}\). The cofactor \(C_{ij}\) is \((-1)^{i+j}\) times that minor. The adjugate \(\operatorname{adj}(\mathbf{A})\) is the transpose of the matrix of cofactors: its entry in row \(i\), column \(j\) is \(C_{ji}\). For a \(1\times1\) matrix, the determinant of the empty minor is taken to be \(1\).

Adjugate identity: For every square matrix \(\mathbf{A}\), \(\mathbf{A}\operatorname{adj}(\mathbf{A})=\operatorname{adj}(\mathbf{A})\mathbf{A}=(\det\mathbf{A})\mathbf{I}_n\). This identity is proved in the earlier material on the adjugate identity.

An inverse is a matrix that multiplies \(\mathbf{A}\) to give the identity. More precisely, \(\mathbf{B}\) is a two-sided inverse of \(\mathbf{A}\) if both \(\mathbf{A}\mathbf{B}=\mathbf{I}_n\) and \(\mathbf{B}\mathbf{A}=\mathbf{I}_n\); when it exists, it is denoted \(\mathbf{A}^{-1}\). The adjugate identity already gives both products, but its right-hand side is \((\det\mathbf{A})\mathbf{I}_n\), not necessarily \(\mathbf{I}_n\). The key condition is therefore \(\det\mathbf{A}\ne0\), so that the real scalar \(\det\mathbf{A}\) has a reciprocal.

Theorem (Adjugate formula for the inverse): If \(\mathbf{A}\in\mathbb{R}^{n\times n}\) and \(\det\mathbf{A}\ne0\), then \(\mathbf{A}\) is invertible and \(\displaystyle \mathbf{A}^{-1}=\frac{1}{\det\mathbf{A}}\operatorname{adj}(\mathbf{A})\).

Proof. Set \(\mathbf{B}=\frac{1}{\det\mathbf{A}}\operatorname{adj}(\mathbf{A})\), which is defined because \(\det\mathbf{A}\ne0\). Pull the scalar through each matrix product and apply the adjugate identity:

$$ \mathbf{A}\mathbf{B} =\frac{1}{\det\mathbf{A}}\mathbf{A}\operatorname{adj}(\mathbf{A}) =\frac{1}{\det\mathbf{A}}(\det\mathbf{A})\mathbf{I}_n =\mathbf{I}_n. $$

In the other order, the other half of the adjugate identity gives

$$ \mathbf{B}\mathbf{A} =\frac{1}{\det\mathbf{A}}\operatorname{adj}(\mathbf{A})\mathbf{A} =\frac{1}{\det\mathbf{A}}(\det\mathbf{A})\mathbf{I}_n =\mathbf{I}_n. $$

Thus \(\mathbf{B}\) is a two-sided inverse of \(\mathbf{A}\). By the definition of inverse, \(\mathbf{B}=\mathbf{A}^{-1}\), which proves the formula. \(\square\)

Both halves of the identity matter in this derivation: checking only \(\mathbf{A}\mathbf{B}=\mathbf{I}_n\) would show a left inverse, but would not by itself verify the required product in the other order. The adjugate identity supplies both products directly. The formula also depends on the condition \(\det\mathbf{A}\ne0\); it does not define a matrix when the determinant is zero.

Why the Inverse Given by the Formula Is Unique

The formula constructs an inverse, but it is also useful to know that two different matrices cannot both be inverses of the same square matrix. This fact follows from associativity of matrix multiplication and the identity matrix, without needing another determinant calculation.

Theorem (Uniqueness of the inverse): If \(\mathbf{A}\in\mathbb{R}^{n\times n}\) has two two-sided inverses \(\mathbf{X}\) and \(\mathbf{Y}\), then \(\mathbf{X}=\mathbf{Y}\).

Proof. Assume \(\mathbf{X}\) and \(\mathbf{Y}\) are both two-sided inverses. Then \(\mathbf{X}\mathbf{A}=\mathbf{I}_n\) and \(\mathbf{A}\mathbf{Y}=\mathbf{I}_n\). Using these equalities and associativity,

$$ \mathbf{X} =\mathbf{X}\mathbf{I}_n =\mathbf{X}(\mathbf{A}\mathbf{Y}) =(\mathbf{X}\mathbf{A})\mathbf{Y} =\mathbf{I}_n\mathbf{Y} =\mathbf{Y}. $$

Therefore the two inverses are equal. \(\square\)

This uniqueness result explains why the adjugate expression is not merely one possible matrix that happens to work. Once it has been checked on both sides, it must be the inverse. It also gives a useful check on any proposed inverse: if a second candidate is claimed, both candidates must agree.

Worked Examples of the Formula and Its Condition

Worked Example: The Formula for a General \(2\times2\) Matrix

Let \(\mathbf{A}=\begin{bmatrix}a&b\\c&d\end{bmatrix}\), where \(a,b,c,d\in\mathbb{R}\), and suppose \(ad-bc\ne0\). Compute the adjugate and verify how the inverse formula follows.

The cofactors, in their original positions, are \(C_{11}=d\), \(C_{12}=-c\), \(C_{21}=-b\), and \(C_{22}=a\). Transposing the cofactor matrix gives \(\operatorname{adj}(\mathbf{A})=\begin{bmatrix}d&-b\\-c&a\end{bmatrix}\), while \(\det\mathbf{A}=ad-bc\). Thus the proposed inverse is

$$ \mathbf{B}=\frac{1}{ad-bc} \begin{bmatrix}d&-b\\-c&a\end{bmatrix}. $$

To check the product in the order \(\mathbf{A}\mathbf{B}\), first multiply the matrices before applying the scalar:

$$ \begin{bmatrix}a&b\\c&d\end{bmatrix} \begin{bmatrix}d&-b\\-c&a\end{bmatrix} = \begin{bmatrix}ad-bc&-ab+ab\\cd-dc&-bc+ad\end{bmatrix} = \begin{bmatrix}ad-bc&0\\0&ad-bc\end{bmatrix}. $$

After multiplying by \(1/(ad-bc)\), this product is \(\mathbf{I}_2\). In the reverse order, the entries are

$$ \begin{bmatrix}d&-b\\-c&a\end{bmatrix} \begin{bmatrix}a&b\\c&d\end{bmatrix} = \begin{bmatrix}ad-bc&db-bd\\-ca+ac&-bc+ad\end{bmatrix} = \begin{bmatrix}ad-bc&0\\0&ad-bc\end{bmatrix}. $$

Dividing by \(ad-bc\) gives \(\mathbf{I}_2\) again. Therefore both products check, and \(\mathbf{B}\) is the inverse whenever \(ad-bc\ne0\).

Worked Example: Checking Both Sides for a Particular Matrix

Take \(\mathbf{A}=\begin{bmatrix}2&1\\1&1\end{bmatrix}\). Its determinant is \(2\cdot1-1\cdot1=1\), so it is nonzero. The cofactor matrix is \(\begin{bmatrix}1&-1\\-1&2\end{bmatrix}\), which is unchanged by transposition. The formula therefore proposes \(\mathbf{B}=\begin{bmatrix}1&-1\\-1&2\end{bmatrix}\).

Multiply in the first order:

$$ \mathbf{A}\mathbf{B} = \begin{bmatrix} 2\cdot1+1\cdot(-1)&2\cdot(-1)+1\cdot2\\ 1\cdot1+1\cdot(-1)&1\cdot(-1)+1\cdot2 \end{bmatrix} = \begin{bmatrix}1&0\\0&1\end{bmatrix}. $$

Now check the reverse order as well:

$$ \mathbf{B}\mathbf{A} = \begin{bmatrix} 1\cdot2+(-1)\cdot1&1\cdot1+(-1)\cdot1\\ (-1)\cdot2+2\cdot1&(-1)\cdot1+2\cdot1 \end{bmatrix} = \begin{bmatrix}1&0\\0&1\end{bmatrix}. $$

Both products are \(\mathbf{I}_2\), so the formula has produced a two-sided inverse, as required.

Worked Example: A Singular Matrix Does Not Meet the Condition

Consider \(\mathbf{A}=\begin{bmatrix}1&2\\2&4\end{bmatrix}\). Its determinant is \(1\cdot4-2\cdot2=0\), so the adjugate formula cannot be used. The cofactor matrix is \(\begin{bmatrix}4&-2\\-2&1\end{bmatrix}\), and its transpose is the same matrix.

The adjugate product is indeed zero:

$$ \mathbf{A}\operatorname{adj}(\mathbf{A}) = \begin{bmatrix}1&2\\2&4\end{bmatrix} \begin{bmatrix}4&-2\\-2&1\end{bmatrix} = \begin{bmatrix}4-4&-2+2\\8-8&-4+4\end{bmatrix} = \begin{bmatrix}0&0\\0&0\end{bmatrix}. $$

The zero product does not become an identity after division: the proposed scalar \(1/\det\mathbf{A}\) would be \(1/0\), which is undefined. We can also directly rule out an inverse. The nonzero vector \(\mathbf{x}=\begin{bmatrix}2\\-1\end{bmatrix}\) satisfies \(\mathbf{A}\mathbf{x}=\begin{bmatrix}2-2\\4-4\end{bmatrix}=\mathbf{0}\). If a left inverse \(\mathbf{L}\) existed, then \(\mathbf{L}\mathbf{A}=\mathbf{I}_2\), and multiplication of \(\mathbf{A}\mathbf{x}=\mathbf{0}\) by \(\mathbf{L}\) would give \(\mathbf{x}=\mathbf{0}\), contradicting \(\mathbf{x}\ne\mathbf{0}\). So this matrix has no inverse.

Using the Inverse to Solve a Square System

The inverse formula also explains how an inverse solves a system \(\mathbf{A}\mathbf{x}=\mathbf{b}\). When \(\det\mathbf{A}\ne0\), left-multiplying by \(\mathbf{A}^{-1}\) gives \(\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}\). The expression is not merely a candidate: it is a solution, and it is the only solution.

Consequence: If \(\mathbf{A}\in\mathbb{R}^{n\times n}\) has nonzero determinant, then for each \(\mathbf{b}\in\mathbb{R}^n\), the equation \(\mathbf{A}\mathbf{x}=\mathbf{b}\) has exactly one solution, namely \(\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}=\frac{1}{\det\mathbf{A}}\operatorname{adj}(\mathbf{A})\mathbf{b}\).

Proof. Define \(\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}\). Since \(\mathbf{A}\mathbf{A}^{-1}=\mathbf{I}_n\), we have \(\mathbf{A}\mathbf{x}=\mathbf{A}\mathbf{A}^{-1}\mathbf{b}=\mathbf{b}\), so a solution exists. If \(\mathbf{y}\) is any other solution, then \(\mathbf{A}\mathbf{y}=\mathbf{b}\). Multiplying on the left by \(\mathbf{A}^{-1}\) yields \(\mathbf{y}=\mathbf{A}^{-1}\mathbf{b}=\mathbf{x}\), so the solution is unique. Substituting the adjugate formula for \(\mathbf{A}^{-1}\) gives the stated expression. \(\square\)

Common Pitfall: Dividing by a Zero Determinant

A common error is to write \(\mathbf{A}^{-1}=\operatorname{adj}(\mathbf{A})/\det\mathbf{A}\) for every square matrix, then try to use the expression even when the determinant is zero. For the singular matrix in the previous example, this would amount to dividing every entry of \(\begin{bmatrix}4&-2\\-2&1\end{bmatrix}\) by \(0\). Those entries are not defined, so the expression is not an inverse. The correction is to check \(\det\mathbf{A}\ne0\) before applying the formula.

It is also important to keep the two matrix products distinct. A scalar multiple of \(\operatorname{adj}(\mathbf{A})\) is shown to be the inverse because the adjugate identity gives both \(\mathbf{A}\operatorname{adj}(\mathbf{A})\) and \(\operatorname{adj}(\mathbf{A})\mathbf{A}\). A calculation in one order should not be silently substituted for a calculation in the other. In the general theorem, both are justified by the identity; in a direct numerical check, write out both products.

The central logic is short but depends on every condition: start with a square matrix, use the adjugate identity, and divide by the determinant only when it is nonzero. That produces a two-sided inverse, and uniqueness ensures that the resulting matrix is precisely \(\mathbf{A}^{-1}\).

Check Your Understanding

Answer each question using the definition of inverse and the adjugate identity.

  1. State the condition on \(\det\mathbf{A}\) that permits the adjugate formula, and explain why it is needed.
  2. For \(\mathbf{A}=\begin{bmatrix}3&1\\1&1\end{bmatrix}\), compute the determinant and adjugate, then verify both products with the proposed inverse.
  3. For \(\mathbf{A}=\begin{bmatrix}1&3\\2&6\end{bmatrix}\), explain why the adjugate formula is undefined.
  4. Prove that a two-sided inverse of a square matrix is unique.
  5. If \(\det\mathbf{A}\ne0\), explain why \(\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}\) solves \(\mathbf{A}\mathbf{x}=\mathbf{b}\) and why no other solution exists.

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