Matrix Size:
3×3
Matrix A
Advertisement Slot

How to Find the Inverse of a Matrix

The inverse of a matrix \(A\), denoted as \(A^{-1}\), is the unique matrix that reverses the linear transformation performed by \(A\). Multiplying a matrix by its inverse yields the identity matrix \(I\):

Identity Property of Matrix Inverses:

\(A A^{-1} = A^{-1} A = I\)

The Singularity Condition

Before computing an inverse, you must always evaluate \(\det(A)\).

  • If \(\det(A) \ne 0\): Matrix \(A\) is invertible (or non-singular) and has a unique inverse.
  • If \(\det(A) = 0\): Matrix \(A\) is singular. Dividing by zero is impossible in arithmetic (\(\frac{1}{\det(A)}\)), so no inverse exists.

Working with a 2×2 matrix? It has a much shorter shortcut formula. See our inverse of a 2x2 matrix guide or use the 2×2 inverse matrix calculator.

Solved Examples with Complete Working

Example 1: Invertible 3×3 Matrix via Adjugate

Find \(A^{-1}\) for matrix \(A\):

\(A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{bmatrix}\)

Step 1: Check Determinant:

\(\det(A) = 1(0 - 24) - 2(0 - 20) + 3(0 - 5) = -24 + 40 - 15 = 1\)

Since \(\det(A) = 1 \ne 0\), the inverse exists.

Step 2: Calculate Cofactors & Adjugate:

\(\text{adj}(A) = C^T = \begin{bmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{bmatrix}\)

Step 3: Multiply by \(1 / \det(A)\):

\(A^{-1} = \frac{1}{1} \text{adj}(A) = \begin{bmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{bmatrix}\)

Verification: \(A A^{-1} = I_3\).

Example 2: Demonstrating a Singular Matrix (No Inverse)

Attempt to find the inverse of matrix \(S\):

\(S = \begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix}\)

Step 1: Compute Determinant:

\(\det(S) = (2)(2) - (4)(1) = 4 - 4 = 0\)

Conclusion:

Because \(\det(S) = 0\), matrix \(S\) is singular. Its row vectors \([2, 4]\) and \([1, 2]\) are linearly dependent (\(R_1 = 2 R_2\)). It cannot be inverted.

Master Inversion Theory

Want to see a side-by-side comparison of Gauss-Jordan elimination versus Cramer's adjugate formula?

Read our complete student tutorial: How to Find the Inverse of a Matrix → Quick guide: Inverse of a 2x2 Matrix with solved examples →
Advertisement Slot

Frequently Asked Questions

A matrix must be square (n x n) and have a non-zero determinant (det(A) != 0). Matrices with det(A) = 0 are singular and do not possess an inverse.
The adjugate method computes the inverse using A^(-1) = (1/det(A)) * adj(A), which is convenient for 2x2 and 3x3 matrices. Gauss-Jordan elimination reduces the augmented matrix [A | I] to [I | A^(-1)], which is significantly more efficient for 4x4 and larger matrices.
Standard matrix inverses only exist for square matrices. Non-square matrices may have one-sided inverses or Moore-Penrose pseudoinverses, but not a classical two-sided inverse.
All computations are performed using exact rational numbers. Results are presented as clean simplified fractions (such as -1/2 or 3/7) rather than rounded decimals, ensuring zero rounding errors.