Finding the inverse of a 3x3 matrix is a fundamental skill in linear algebra that opens the door to solving systems of equations, performing transformations in computer graphics, and analyzing data in engineering and economics. This guide walks you through the step‑by‑step process of computing the inverse of any 3×3 matrix, explains the underlying concepts, and provides a concrete example so you can see the method in action Which is the point..
Introduction
A matrix inverse (often written as A⁻¹) is a matrix that, when multiplied by the original matrix A, yields the identity matrix I. On the flip side, understanding how to find the inverse of a 3x3 matrix involves three core ideas: the determinant, the cofactor (or adjugate) matrix, and the final formula that combines them. Not every 3x3 matrix has an inverse; the matrix must be non‑singular, meaning its determinant is not zero. Mastering these concepts will give you a reliable tool for advanced mathematical problems.
Key Concepts and Terminology
Determinant
The determinant of a matrix is a scalar value that tells us whether the matrix is invertible. For a 3x3 matrix
[ A = \begin{bmatrix} a & b & c\ d & e & f\ g & h & i \end{bmatrix} ]
the determinant is calculated as
[ \det(A) = a(ei - fh) - b(di - fg) + c(dh - eg). ]
If (\det(A) = 0), the matrix is singular and no inverse exists.
Adjugate (Adjoint)
The adjugate (or adjoint) of a matrix is the transpose of its cofactor matrix. The cofactor matrix is built by replacing each entry with its corresponding cofactor—the signed minor obtained by deleting the entry’s row and column and multiplying by ((-1)^{i+j}).
Cofactor Matrix
For each element (a_{ij}) in the original matrix, the cofactor (C_{ij}) is
[ C_{ij} = (-1)^{i+j} \cdot \det(\text{minor}_{ij}), ]
where (\text{minor}_{ij}) is the 2×2 determinant formed by deleting row i and column j. After computing all nine cofactors, you arrange them into a matrix; transposing this matrix gives the adjugate Easy to understand, harder to ignore. Turns out it matters..
Step‑by‑Step Procedure
-
Check the Determinant
Compute (\det(A)). If it equals zero, stop—no inverse exists. -
Find the Matrix of Minors
For each entry, delete its row and column, then calculate the 2×2 determinant. This yields the matrix of minors Not complicated — just consistent. Less friction, more output.. -
Create the Cofactor Matrix
Apply the checkerboard of signs ((-1)^{i+j}) to the matrix of minors. Alternate signs in a pattern:[ \begin{bmatrix}
- & - & +\
- & + & -\
- & - & + \end{bmatrix} ]
-
Transpose to Obtain the Adjugate
Swap rows and columns of the cofactor matrix. The result is the adjugate (adj(A)). -
Apply the Inverse Formula
The inverse of A is given by[ A^{-1} = \frac{1}{\det(A)} \cdot \text{adj}(A). ]
Multiply every entry of the adjugate by the reciprocal of the determinant.
-
Verify (Optional but Recommended)
Multiply A by A⁻¹. The product should equal the identity matrix I (with 1’s on the diagonal and 0’s elsewhere). If the result is not I, review the calculations.
Example Walkthrough
Let’s find the inverse of
[ A = \begin{bmatrix} 2 & -1 & 0\ 3 & 2 & 1\ 1 & 1 & -2 \end{bmatrix}. ]
1. Determinant
[ \det(A) = 2(2 \cdot -2 - 1 \cdot 1) - (-1)(3 \cdot -2 - 1 \cdot 1) + 0(3 \cdot 1 - 2 \cdot 1)\ = 2(-4 - 1) + 1(-6 - 1) + 0(3 - 2)\ = 2(-5) + 1(-7)\ = -10 - 7 = -17. ]
Since (\det(A) \neq 0), an inverse exists.
2. Matrix of Minors
- Minor of 2 (row1, col1): (\det\begin{bmatrix}2 & 1\1 & -2\end{bmatrix}=2(-2)-1(1)=-5)
- Minor of -1 (row1, col2): (\det\begin{bmatrix}3 & 1\1 & -2\end{bmatrix}=3(-2)-1(1)=-7)
- Minor of 0 (row1, col3): (\det\begin{bmatrix}3 & 2\1 & 1\end{bmatrix}=3(1)-2(1)=1)
- Minor of 3 (row2, col1): (\det\begin{bmatrix}-1 & 0\1 & -2\end{bmatrix}=(-1)(-2)-0(1)=2)
- Minor of 2 (row2, col2): (\det\begin{bmatrix}2 & 0\1 & -2\end{bmatrix}=2(-2)-0(1)=-4)
- Minor of 1 (row2, col3): (\det\begin{bmatrix}2 & -1\1 & 1\end{bmatrix}=2(1)-(-1)(1)=3)
- Minor of 1 (row3, col1): (\det\begin{bmatrix}-1 & 0\2 & 1\end{bmatrix}=(-1)(1)-0(2)=-1)
- Minor of 1 (row3, col2): (\det\begin{bmatrix}2 & 0\3 & 1\end{bmatrix}=2(1)-0(3)=2)
- Minor of -2 (row3, col3): (\det\begin{bmatrix}2 & -1\3 & 2\end{bmatrix}=2(2)-(-1)(3)=4+3=7)
Matrix of minors:
[ \begin{bmatrix} -5 & -7 & 1\ 2 & -4 & 3\ -1 & 2 & 7 \end{bmatrix} ]
3. Cofactor Matrix
Apply the sign pattern:
[ \begin{bmatrix} +
[ \begin{bmatrix}
- & - & +\
- & + & -\
- & - & \end{bmatrix} ]
Applying this sign pattern to the matrix of minors
[ M=\begin{bmatrix} -5 & -7 & 1\ 2 & -4 & 3\ -1 & 2 & 7 \end{bmatrix} ]
gives the cofactor matrix (C):
[ C=\begin{bmatrix} +(-5) & -(-7) & +(1)\ -(2) & +(-4) & -(3)\ +(-1) & -(2) & +(7) \end{bmatrix}
\begin{bmatrix} -5 & 7 & 1\ -2 & -4 & -3\ -1 & -2 & 7 \end{bmatrix}. ]
4. Transpose to Obtain the Adjugate
[ \operatorname{adj}(A)=C^{\mathsf T}
\begin{bmatrix} -5 & -2 & -1\ 7 & -4 & -2\ 1 & -3 & 7 \end{bmatrix}. ]
5. Apply the Inverse Formula
Since (\det(A)=-17),
[ A^{-1}= \frac{1}{\det(A)}\operatorname{adj}(A) = -\frac{1}{17} \begin{bmatrix} -5 & -2 & -1\ 7 & -4 & -2\ 1 & -3 & 7 \end{bmatrix} =\frac{1}{17} \begin{bmatrix} 5 & 2 & 1\ -7 & 4 & 2\ -1 & 3 & -7 \end{bmatrix}. ]
Thus
[ \boxed{A^{-1}= \frac{1}{17} \begin{bmatrix} 5 & 2 & 1\ -7 & 4 & 2\ -1 & 3 & -7 \end{bmatrix}}. ]
6. Verification (Optional but Recommended)
Multiplying (A) by (A^{-1}) yields:
[ A A^{-
Multiplying (A) by (A^{-1}) yields:
[ A A^{-1} = \begin{bmatrix} 2 & -1 & 0\ 3 & 2 & 1\ 1 & 1 & -2 \end{bmatrix} \cdot \frac{1}{17} \begin{bmatrix} 5 & 2 & 1\ -7 & 4 & 2\ -1 & 3 & -7 \end{bmatrix}. ]
Factoring out (\frac{1}{17}) and computing the product entry by entry:
[ AA^{-1} = \frac{1}{17} \begin{bmatrix} 2(5)+(-1)(-7)+0(-1) & 2(2)+(-1)(4)+0(3) & 2(1)+(-1)(2)+0(-7)\ 3(5)+2(-7)+1(-1) & 3(2)+2(4)+1(3) & 3(1)+2(2)+1(-7)\ 1(5)+1(-7)+(-2)(-1) & 1(2)+1(4)+(-2)(3) & 1(1)+1(2)+(-2)(-7) \end{bmatrix}. ]
Evaluating each entry:
[ = \frac{1}{17} \begin{bmatrix} 10+7+0 & 4-4+0 & 2-2+0\ 15-14-1 & 6+8+3 & 3+4-7\ 5-7+2 & 2+4-6 & 1+2+14 \end{bmatrix}
\frac{1}{17} \begin{bmatrix} 17 & 0 & 0\ 0 & 17 & 0\ 0 & 0 & 17 \end{bmatrix}
\begin{bmatrix} 1 & 0 & 0\ 0 & 1 & 0\ 0 & 0 & 1 \end{bmatrix} = I_3. ]
Similarly, one can verify that (A^{-1}A = I_3
This means the computed adjugate and the scaling factor correctly reconstruct the inverse. This result aligns perfectly with the requirement that $A A^{-1} = I$, establishing the validity of the solution. The matrix $A$ is confirmed to be invertible, and its inverse is fully specified as:
[ A^{-1} = \frac{1}{17}\begin{bmatrix} 5 & 2 & 1 \ -7 & 4 & 2 \ -1 & 3 & -7 \end{bmatrix}. ]
This concludes the inversion process.