Determinant Solver - Matrix Determinant Calculator Logo
Calculateur de déterminant
Inversion Matricielle • 23 juillet 2026

Inverse d'une Matrice par la Comatrice et le Déterminant : Formule A⁻¹ = adj(A)/det(A)

Apprenez à inverser des matrices 2x2 et 3x3 grâce à la comatrice et la formule du déterminant avec exemples détaillés.

S
Shahabuddin
Lead Engineer at Shahab Dev
Last updated: 23 juillet 2026 | About the author
Inverse d'une Matrice par la Comatrice et le Déterminant : Formule A⁻¹ = adj(A)/det(A) - Calculateur de déterminant

Direct Answer: The inverse of a square matrix $A$ is calculated using the adjugate formula $A^{-1} = \frac{1}{\det(A)} \text{adj}(A)$, where $\text{adj}(A)$ is the transpose of the cofactor matrix $C^T$. The inverse exists if and only if $\det(A) \neq 0$.

Finding the inverse of a matrix ($A^{-1}$) is one of the most fundamental operations in linear algebra. Among the various methods available—such as Gauss-Jordan elimination and LU Decomposition—the Adjugate (Adjoint) and Determinant Method provides a direct explicit formula for computing matrix inverses.

In this guide, we explore the formula $A^{-1} = \frac{1}{\det(A)} \text{adj}(A)$, walk through step-by-step 2x2 and 3x3 worked examples, and explain when to apply it.


The Inverse Formula

For any square matrix $A$ where $\det(A) \neq 0$ (verified by the Invertible Matrix Theorem), its inverse is given by:

$$A^{-1} = \frac{1}{\det(A)} \text{adj}(A)$$

Where:

  • $\det(A)$ is the scalar determinant of $A$.
  • $\text{adj}(A)$ is the adjugate matrix, which is the transpose of the cofactor matrix $C$: $$\text{adj}(A) = C^T$$

1. Finding the Inverse of a 2x2 Matrix

For a 2x2 matrix $A$:

$$A = \begin{bmatrix} a & b \ c & d \end{bmatrix}$$

  1. Calculate the determinant: $$\det(A) = ad - bc$$
  2. Form the adjugate matrix (swap main diagonal entries $a$ and $d$, flip signs of off-diagonal entries $b$ and $c$): $$\text{adj}(A) = \begin{bmatrix} d & -b \ -c & a \end{bmatrix}$$
  3. Multiply by $\frac{1}{\det(A)}$: $$A^{-1} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \ -c & a \end{bmatrix}$$

2. Finding the Inverse of a 3x3 Matrix: Step-by-Step

Let’s find the inverse of matrix $M$:

$$M = \begin{bmatrix} 1 & 0 & 2 \ 2 & -1 & 3 \ 4 & 1 & 8 \end{bmatrix}$$

Step 1: Calculate $\det(M)$

Using minor expansion (see How to Find 3x3 Determinant Step by Step):

$$\det(M) = 1((-1)(8) - (3)(1)) - 0 + 2((2)(1) - (-1)(4))$$ $$= 1(-8 - 3) + 2(2 + 4) = -11 + 12 = 1$$

Since $\det(M) = 1 \neq 0$, the inverse exists!

Step 2: Compute the Cofactor Matrix $C$

For each element $m_{ij}$, the cofactor is $C_{ij} = (-1)^{i+j} M_{ij}$:

$$C = \begin{bmatrix} \begin{vmatrix} -1 & 3 \ 1 & 8 \end{vmatrix} & -\begin{vmatrix} 2 & 3 \ 4 & 8 \end{vmatrix} & \begin{vmatrix} 2 & -1 \ 4 & 1 \end{vmatrix} \[1em] -\begin{vmatrix} 0 & 2 \ 1 & 8 \end{vmatrix} & \begin{vmatrix} 1 & 2 \ 4 & 8 \end{vmatrix} & -\begin{vmatrix} 1 & 0 \ 4 & 1 \end{vmatrix} \[1em] \begin{vmatrix} 0 & 2 \ -1 & 3 \end{vmatrix} & -\begin{vmatrix} 1 & 2 \ 2 & 3 \end{vmatrix} & \begin{vmatrix} 1 & 0 \ 2 & -1 \end{vmatrix} \end{bmatrix}$$

Evaluating each 2x2 determinant:

$$C = \begin{bmatrix} -11 & -4 & 6 \ 2 & 0 & -1 \ 2 & 1 & -1 \end{bmatrix}$$

Step 3: Transpose $C$ to get $\text{adj}(M)$

$$\text{adj}(M) = C^T = \begin{bmatrix} -11 & 2 & 2 \ -4 & 0 & 1 \ 6 & -1 & -1 \end{bmatrix}$$

Step 4: Multiply by $\frac{1}{\det(M)}$

Since $\det(M) = 1$:

$$M^{-1} = \begin{bmatrix} -11 & 2 & 2 \ -4 & 0 & 1 \ 6 & -1 & -1 \end{bmatrix}$$


Numerical Efficiency: Adjugate Formula vs. Row Reduction

While the classical adjugate formula $A^{-1} = \frac{1}{\det(A)}\text{adj}(A)$ provides exact analytical formulas for $2\times 2$ and $3\times 3$ symbolic systems, it becomes computationally prohibitive for higher orders because an $n \times n$ matrix requires calculating $n^2$ separate $(n-1) \times (n-1)$ sub-determinants.

In scientific software and numerical libraries, Gauss-Jordan elimination with row augmentation $[A \mid I] \to [I \mid A^{-1}]$ or LU Decomposition with Partial Pivoting are universally preferred for computing matrix inverses in $O(n^3)$ operations.

To compute determinants and check matrix invertibility without algebraic errors, use our free online Determinant Solver or review determinant behavior in our Matrix Determinant Properties Guide.


Frequently Asked Questions (PAA)

What happens if $\det(A) = 0$?

If $\det(A) = 0$, division by zero is undefined ($\frac{1}{0}$). The matrix is singular and does not have an inverse according to the Invertible Matrix Theorem.

Is the adjugate method efficient for 5x5 matrices?

No. Computing the adjugate of a 5x5 matrix requires computing 25 separate 4x4 determinants. For 4x4 matrices and larger, Gauss-Jordan elimination or LU Decomposition is far more efficient.

What is the determinant of $A^{-1}$?

By Matrix Determinant Properties, $\det(A^{-1}) = \frac{1}{\det(A)}$.


⚡

Related Mathematical Resources

Essential matrix guides, determinant theorems, and computational tutorials

  • •
    Sarrus' Rule Shortcut – Master the visual diagonal method for rapid manual 3x3 matrix determinant evaluations without expansion errors. Sarrus rule for 3x3 determinants .
  • •
    LU Decomposition Method – Learn how partial pivoting and triangular factorization compute matrix determinants with high numerical stability. LU decomposition determinant calculation .
  • •
    Cramer's Rule Guide – Step-by-step guide to solving simultaneous linear equations using coefficient matrix determinant ratios. Cramer's rule linear systems .