How To Do Inverse Of 3x3 Matrix

4 min read

Inverse of a 3x3 Matrix: A Complete Step-by-Step Guide

Finding the inverse of a 3x3 matrix is a fundamental skill in linear algebra with applications ranging from computer graphics and engineering to economics and data science. On the flip side, this article walks you through the most common method—the adjugate and determinant approach—while also touching on row reduction for completeness. Think about it: not every 3x3 matrix has an inverse; the matrix must be non-singular, meaning its determinant is non-zero. That's why the inverse of a matrix $A$, denoted $A^{-1}$, satisfies the property $A A^{-1} = I$, where $I$ is the identity matrix. By the end, you’ll have a clear, practical understanding of how to compute inverses and why they matter.

Introduction

The inverse of a matrix acts like a reciprocal in arithmetic. Practically speaking, just as multiplying a number by its reciprocal yields 1, multiplying a matrix by its inverse yields the identity matrix. For a 3x3 matrix, the process involves three core components: the determinant, the matrix of minors, the cofactor matrix, and the adjugate. If the determinant is zero, the matrix is singular and does not possess an inverse. Understanding this concept is crucial before attempting calculations, as it prevents wasted effort on matrices that cannot be inverted.

Steps to Invert a 3x3 Matrix

The standard method for inverting a 3x3 matrix follows a systematic sequence. Below is the step

-by-step procedure using the adjugate formula $A^{-1} = \frac{1}{\det(A)} \text{adj}(A)$ That's the part that actually makes a difference..

Step 1: Calculate the Determinant

For a matrix $A = \begin{bmatrix} a & b & c \ d & e & f \ g & h & i \end{bmatrix}$, the determinant is computed as: $\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)$ If $\det(A) = 0$, stop here; the matrix is singular and has no inverse But it adds up..

Step 2: Find the Matrix of Minors

The minor of an element is the determinant of the 2x2 matrix remaining after deleting the element’s row and column. Compute this for all nine positions: $M = \begin{bmatrix} ei-fh & di-fg & dh-eg \ bi-ch & ai-cg & ah-bg \ bf-ce & af-cd & ae-bd \end{bmatrix}$

Step 3: Form the Cofactor Matrix

Apply a checkerboard pattern of signs ($+ - +$, $- + -$, $+ - +$) to the matrix of minors. Multiply each minor by $(-1)^{i+j}$ where $i$ is the row and $j$ is the column: $C = \begin{bmatrix} +(ei-fh) & -(di-fg) & +(dh-eg) \ -(bi-ch) & +(ai-cg) & -(ah-bg) \ +(bf-ce) & -(af-cd) & +(ae-bd) \end{bmatrix}$

Step 4: Transpose to Get the Adjugate

The adjugate (or adjoint) matrix, $\text{adj}(A)$, is the transpose of the cofactor matrix. Swap rows and columns ($C_{ij} \to C_{ji}$): $\text{adj}(A) = C^T = \begin{bmatrix} ei-fh & ch-bi & bf-ce \ fg-di & ai-cg & cd-af \ dh-eg & bg-ah & ae-bd \end{bmatrix}$

Step 5: Divide by the Determinant

Multiply every entry of the adjugate matrix by the scalar $\frac{1}{\det(A)}$: $A^{-1} = \frac{1}{\det(A)} \text{adj}(A)$


Worked Example

Let $A = \begin{bmatrix} 1 & 2 & 3 \ 0 & 1 & 4 \ 5 & 6 & 0 \end{bmatrix}$.

  1. Determinant: $\det(A) = 1(1\cdot0 - 4\cdot6) - 2(0\cdot0 - 4\cdot5) + 3(0\cdot6 - 1\cdot5)$ $= 1(-24) - 2(-20) + 3(-5) = -24 + 40 - 15 = 1$. Since $\det(A) = 1 \neq 0$, the inverse exists That's the part that actually makes a difference..

  2. Matrix of Minors: $M = \begin{bmatrix} -24 & -20 & -5 \ -18 & -15 & -4 \ 5 & 4 & 1 \end{bmatrix}$

  3. Cofactor Matrix (apply signs): $C = \begin{bmatrix} -24 & 20 & -5 \ 18 & -15 & 4 \ 5 & -4 & 1 \end{bmatrix}$

  4. Adjugate (transpose): $\text{adj}(A) = \begin{bmatrix} -24 & 18 & 5 \ 20 & -15 & -4 \ -5 & 4 & 1 \end{bmatrix}$

  5. Inverse (divide by determinant 1): $A^{-1} = \begin{bmatrix} -24 & 18 & 5 \ 20 & -15 & -4 \ -5 & 4 & 1 \end{bmatrix}$

Verification: Multiplying $A \times A^{-1}$ yields the identity matrix $I_3$.


Alternative Method: Gauss-Jordan Elimination

While the adjugate method is formulaic, the Gauss-Jordan (row reduction) method is often more efficient for larger matrices or numerical computation. Augment matrix $A$ with the identity matrix $[A | I]$. Perform elementary row operations to reduce the left side to $I$; the right side becomes $A^{-1}$. For the example above: $[A | I] = \left[\begin{array}{ccc|ccc} 1 & 2 & 3 & 1 & 0 & 0 \ 0 & 1 & 4 & 0 & 1 & 0 \ 5 & 6 & 0 & 0 & 0 & 1 \end{array}\right] \xrightarrow{\text{RREF}} \left[\begin{array}{ccc|ccc} 1 & 0 & 0 & -24 & 18 & 5 \ 0 & 1 & 0 & 20 & -15 & -4 \

More to Read

New on the Blog

Fits Well With This

Interesting Nearby

Thank you for reading about How To Do Inverse Of 3x3 Matrix. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home