What Is the Inverse of a Matrix?
The inverse of a matrix $A$ is the unique matrix $A^{-1}$ such that
$$A A^{-1} = A^{-1} A = I,$$
where $I$ is the identity matrix of the same order. Multiplying $A$ by $A^{-1}$ in either order returns the identity — the matrix that leaves every vector unchanged, exactly as multiplying a number by 1 leaves it unchanged.
Two conditions must hold for an inverse to exist. First, $A$ must be square — same number of rows and columns — because only square matrices can map a space back onto itself. Second, its determinant must be non-zero. A square matrix with a non-zero determinant is invertible (non-singular); one whose determinant is zero is a singular matrix and has no inverse. When the inverse exists, it is unique — a matrix never has two different inverses.
What Is the Inverse of a Matrix Formula?
There is one general formula, and one fast shortcut for the 2x2 case.
The general (adjugate) formula works for any invertible square matrix:
$$A^{-1} = \frac{1}{\det A},\text{adj}(A),$$
where $\det A$ is the determinant and $\text{adj}(A)$ is the adjugate — the transpose of the cofactor matrix. The cofactor of each entry is the determinant of the smaller matrix left after deleting that entry's row and column, signed by the checkerboard pattern $(-1)^{i+j}$.
The 2x2 shortcut is worth memorising because it appears everywhere. For
$$A = \begin{bmatrix} a & b \ c & d \end{bmatrix}, \qquad A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \ -c & a \end{bmatrix}.$$
Swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant $ad - bc$. The full 2x2 derivation and more practice lives in its own article; for the 3x3 case, where the cofactor work gets heavier, see the inverse of a 3x3 matrix walkthrough.
How Do You Find the Inverse of a Matrix?
Two methods dominate, and which one you choose depends on the size.
Adjugate method — best for 2x2 and 3x3 by hand:
Compute $\det A$. If it is zero, stop — no inverse.
Build the cofactor matrix, signing each minor by $(-1)^{i+j}$.
Transpose it to get the adjugate.
Divide every entry by $\det A$.
Elementary row operations (Gauss-Jordan) — best for larger matrices: augment $A$ with the identity to form $[A \mid I]$, then row-reduce until the left block becomes $I$. Whatever the right block becomes is $A^{-1}$:
$$[,A \mid I,] ;\longrightarrow; [,I \mid A^{-1},].$$
If the left block can never reach $I$, the matrix is singular. Both methods give the same answer when an inverse exists — they are different routes to the same unique matrix.
What Are the Properties of the Inverse of a Matrix?
A short list of rules lets you rearrange inverse expressions without recomputing from scratch:
The inverse is unique. A matrix has at most one inverse.
Inverse of an inverse: $(A^{-1})^{-1} = A$. Undoing the undo returns the original.
Product rule (note the reversed order): $(AB)^{-1} = B^{-1}A^{-1}$. The order flips — like taking off shoes then socks in reverse.
Transpose rule: $(A^T)^{-1} = (A^{-1})^T$.
Determinant of the inverse: $\det(A^{-1}) = \dfrac{1}{\det A}$.
Scalar multiple: $(kA)^{-1} = \dfrac{1}{k}A^{-1}$ for any non-zero scalar $k$.
The reversed order in the product rule is the one most worth remembering — it trips up nearly everyone the first time.
Examples of Inverse of a Matrix
The set runs from a clean 2x2, through the most common sign mistake, to a singular matrix that has no inverse, a system solved by inversion, the product rule in action, and a verification check.
Example 1
Find the inverse of $A = \begin{bmatrix} 4 & 7 \ 2 & 6 \end{bmatrix}$.
Determinant: $\det A = (4)(6) - (7)(2) = 24 - 14 = 10$. Apply the 2x2 shortcut — swap the diagonal, negate the off-diagonal, divide by 10:
$$A^{-1} = \frac{1}{10}\begin{bmatrix} 6 & -7 \ -2 & 4 \end{bmatrix} = \begin{bmatrix} 0.6 & -0.7 \ -0.2 & 0.4 \end{bmatrix}.$$
Final answer: the matrix above. Check: $A A^{-1}$ should return the identity, and it does.
Example 2
A common slip — find the inverse of $A = \begin{bmatrix} 3 & 5 \ 1 & 2 \end{bmatrix}$.
Wrong attempt. A student computes $\det A = (3)(2) - (5)(1) = 1$, then writes the inverse by swapping the diagonal but forgetting to negate the off-diagonal entries: $\begin{bmatrix} 2 & 5 \ 1 & 3 \end{bmatrix}$. It looks like the right shape.
Test it. Multiply by $A$: the off-diagonal terms come out non-zero, so the product is not the identity. The shortcut is not just "swap" — the two off-diagonal entries must change sign.
Correct. Swap the diagonal and negate the off-diagonal:
$$A^{-1} = \frac{1}{1}\begin{bmatrix} 2 & -5 \ -1 & 3 \end{bmatrix}.$$
Final answer: $\begin{bmatrix} 2 & -5 \ -1 & 3 \end{bmatrix}$. The negation is the half of the shortcut that gets skipped most.
Example 3
Does $A = \begin{bmatrix} 2 & 4 \ 3 & 6 \end{bmatrix}$ have an inverse?
Compute the determinant: $\det A = (2)(6) - (4)(3) = 12 - 12 = 0$. A zero determinant means the matrix is singular.
Final answer: no inverse exists. The second row is $1.5$ times the first — the rows are linearly dependent, which is what a zero determinant detects.
Example 4
Solve $;2x + y = 5,; x + 3y = 10;$ using the inverse.
Write as $A\mathbf{x} = \mathbf{b}$ with $A = \begin{bmatrix} 2 & 1 \ 1 & 3 \end{bmatrix}$ and $\mathbf{b} = (5, 10)^T$. Determinant $= 6 - 1 = 5$, so
$$A^{-1} = \frac{1}{5}\begin{bmatrix} 3 & -1 \ -1 & 2 \end{bmatrix}, \qquad \mathbf{x} = A^{-1}\mathbf{b} = \frac{1}{5}\begin{bmatrix} 15 - 10 \ -5 + 20 \end{bmatrix} = \begin{bmatrix} 1 \ 3 \end{bmatrix}.$$
Final answer: $x = 1,; y = 3$. The inverse turns "solve the system" into a single multiplication.
Example 5
Verify the product rule $(AB)^{-1} = B^{-1}A^{-1}$ for $A = \begin{bmatrix} 1 & 0 \ 2 & 1 \end{bmatrix}$, $B = \begin{bmatrix} 1 & 3 \ 0 & 1 \end{bmatrix}$.
Both are triangular with determinant 1, so $A^{-1} = \begin{bmatrix} 1 & 0 \ -2 & 1 \end{bmatrix}$ and $B^{-1} = \begin{bmatrix} 1 & -3 \ 0 & 1 \end{bmatrix}$. Then
$$B^{-1}A^{-1} = \begin{bmatrix} 1 & -3 \ 0 & 1 \end{bmatrix}\begin{bmatrix} 1 & 0 \ -2 & 1 \end{bmatrix} = \begin{bmatrix} 7 & -3 \ -2 & 1 \end{bmatrix}.$$
Computing $(AB)^{-1}$ directly gives the same matrix.
Final answer: $(AB)^{-1} = \begin{bmatrix} 7 & -3 \ -2 & 1 \end{bmatrix}$ — and crucially, $A^{-1}B^{-1}$ in the wrong order does not match. The order matters.
Example 6
Confirm that $\begin{bmatrix} 1 & -1 \ -1 & 2 \end{bmatrix}$ is the inverse of $\begin{bmatrix} 2 & 1 \ 1 & 1 \end{bmatrix}$.
The fastest verification is to multiply them:
$$\begin{bmatrix} 2 & 1 \ 1 & 1 \end{bmatrix}\begin{bmatrix} 1 & -1 \ -1 & 2 \end{bmatrix} = \begin{bmatrix} 2-1 & -2+2 \ 1-1 & -1+2 \end{bmatrix} = \begin{bmatrix} 1 & 0 \ 0 & 1 \end{bmatrix} = I.$$
Final answer: yes — the product is the identity, so the two matrices are inverses. Verifying by multiplication is faster than recomputing the inverse from scratch.
Why the Inverse of a Matrix Earns Its Place
"If you cannot divide by a matrix, how do you ever solve for one?"
The matrix inverse arrived with Arthur Cayley (1821–1895, England), whose 1858 A Memoir on the Theory of Matrices defined matrix multiplication, the identity, and the inverse as a single algebraic system. That paper is the reason "solve $AX = B$" became a one-line operation rather than a fresh round of elimination.
Where the inverse does real work today:
Solving linear systems. Any system $A\mathbf{x} = \mathbf{b}$ collapses to $\mathbf{x} = A^{-1}\mathbf{b}$, and the same inverse reuses for every new $\mathbf{b}$ — circuit analysis, economics input-output models, and structural engineering all run on this.
Computer graphics. Undoing a transformation — moving a camera back, un-rotating an object — is applying the inverse matrix.
Cryptography. The Hill cipher decrypts by multiplying by the inverse of the key matrix, which exists only when the key is invertible.
Statistics and machine learning. Least-squares regression solves $\hat{\beta} = (X^T X)^{-1} X^T y$ — the inverse sits at the heart of fitting a line to data.
Where Students Trip Up on the Inverse of a Matrix
Mistake 1: Trying to invert a non-square matrix
Where it slips in: Reaching for the inverse of a rectangular matrix, like a $2 \times 3$.
Don't do this: Apply the formula to a matrix that is not square — there is no $A^{-1}$ to find.
The correct way: Only square matrices have inverses. A rectangular matrix can have a one-sided pseudo-inverse, but that is a different object entirely.
Mistake 2: Flipping the product-rule order
Where it slips in: Inverting a product $AB$.
Don't do this: Write $(AB)^{-1} = A^{-1}B^{-1}$. The order is wrong.
The correct way: $(AB)^{-1} = B^{-1}A^{-1}$ — the order reverses. The second-guesser who knows the rule still flips it back under time pressure; the "shoes-then-socks, reversed" image keeps it anchored.
Mistake 3: Forgetting to divide by the determinant
Where it slips in: Building the adjugate (or applying the 2x2 swap-and-negate) and stopping there.
Don't do this: Hand in the adjugate as the inverse. The adjugate is only the inverse up to a scale factor.
The correct way: Divide every entry by $\det A$. The rusher who skips this step gets an answer that is off by exactly the determinant — and fails the $AA^{-1} = I$ check.
Key Takeaways
The inverse of a matrix $A$ is the unique $A^{-1}$ with $AA^{-1} = A^{-1}A = I$ — the matrix version of a reciprocal.
An inverse exists only when $A$ is square and $\det A \neq 0$; otherwise the matrix is singular.
The 2x2 shortcut: swap the diagonal, negate the off-diagonal, divide by $ad - bc$.
The general method is $A^{-1} = \frac{1}{\det A}\text{adj}(A)$, or row-reduce $[A \mid I]$ for larger matrices.
The product rule reverses order: $(AB)^{-1} = B^{-1}A^{-1}$.
The inverse turns $A\mathbf{x} = \mathbf{b}$ into $\mathbf{x} = A^{-1}\mathbf{b}$ — the reason it powers linear systems, graphics, ciphers, and regression.
Practice These Before Moving On
Find the inverse of $\begin{bmatrix} 3 & 2 \ 5 & 4 \end{bmatrix}$.
Determine whether $\begin{bmatrix} 1 & 2 \ 2 & 4 \end{bmatrix}$ is invertible.
Solve $;x + 2y = 4,; 3x + 4y = 10;$ using the inverse.
Answer to Question 1: $\det = 2$, so $\frac{1}{2}\begin{bmatrix} 4 & -2 \ -5 & 3 \end{bmatrix} = \begin{bmatrix} 2 & -1 \ -2.5 & 1.5 \end{bmatrix}$. Answer to Question 2: $\det = 0$, singular, no inverse. Answer to Question 3: $x = 2,; y = 1$. If Question 1's off-diagonal came out positive, return to Mistake 2's neighbouring idea and recheck the negation in the shortcut.
Want a live Bhanzu trainer to walk through more inverse of a matrix problems? Book a free demo class — online globally.
Was this article helpful?
Your feedback helps us write better content
