How To Find Inverse Of A 3 By 3 Matrix

7 min read

Finding the inverse of a 3x3 matrix is a fundamental skill in linear algebra, essential for solving systems of linear equations, performing transformations in computer graphics, and analyzing engineering models. Because of that, the inverse of a matrix A, denoted as A⁻¹, satisfies the equation A × A⁻¹ = I, where I is the identity matrix. That said, while the process involves several distinct steps, mastering it provides a powerful tool for manipulating multidimensional data. Not every matrix has an inverse; a matrix is invertible only if its determinant is non-zero.

Understanding the Prerequisites

Before diving into the calculation methods, it is crucial to understand the components involved. The two most common methods for finding the inverse are the Adjugate Method (using cofactors and determinants) and Gaussian Elimination (row reduction). A 3x3 matrix consists of nine elements arranged in three rows and three columns. Both require a solid grasp of calculating the determinant of a 3x3 matrix.

The determinant acts as a scaling factor for the transformation described by the matrix. Consider this: if the determinant is zero, the matrix is singular, meaning it collapses space into a lower dimension (like flattening a 3D object into a 2D plane), and no inverse exists. Always calculate the determinant first to avoid unnecessary work Worth knowing..

Method 1: The Adjugate (Classical Adjoint) Method

This formulaic approach is standard in many textbooks and follows a specific algorithm: Inverse = (1 / Determinant) × Adjugate Matrix. It breaks down into four clear stages Worth keeping that in mind..

Step 1: Calculate the Determinant

For a matrix A:

$ A = \begin{bmatrix} a & b & c \ d & e & f \ g & h & i \end{bmatrix} $

The determinant, denoted as det(A) or |A|, is calculated using the rule of Sarrus or cofactor expansion:

$ \text{det}(A) = a(ei - fh) - b(di - fg) + c(dh - eg) $

Critical Check: If det(A) = 0, stop here. The matrix has no inverse.

Step 2: Find the Matrix of Minors

The minor of an element is the determinant of the 2x2 matrix that remains after deleting the row and column containing that element. You must compute this for all nine positions.

As an example, the minor of element a (position 1,1) is the determinant of the submatrix formed by removing row 1 and column 1: $ M_{11} = \begin{vmatrix} e & f \ h & i \end{vmatrix} = ei - fh $

Repeat this for every element to build the Matrix of Minors No workaround needed..

Step 3: Create the Matrix of Cofactors

Apply a "checkerboard" pattern of signs to the Matrix of Minors. The sign for position (i, j) is determined by (-1)^(i+j). This results in a pattern starting with positive in the top-left:

$ \begin{bmatrix}

  • & - & + \
  • & + & - \
  • & - & + \end{bmatrix} $

Multiply each minor by its corresponding sign. This yields the Matrix of Cofactors.

Step 4: Transpose to Get the Adjugate Matrix

The Adjugate (or Adjoint) matrix, adj(A), is the transpose of the Matrix of Cofactors. Transposing means swapping rows and columns: the first row becomes the first column, the second row becomes the second column, and so on The details matter here..

Step 5: Multiply by the Reciprocal of the Determinant

Finally, divide every element of the Adjugate matrix by the determinant calculated in Step 1.

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

This resulting matrix is the inverse.

Method 2: Gaussian Elimination (Row Reduction)

Many practitioners prefer this method because it is algorithmic, less prone to sign errors, and easily programmable. It relies on elementary row operations to transform the original matrix into the identity matrix Less friction, more output..

The Augmented Matrix Setup

Create an augmented matrix [A | I] by placing the 3x3 Identity matrix to the right of your original matrix A:

$ \left[ \begin{array}{ccc|ccc} a & b & c & 1 & 0 & 0 \ d & e & f & 0 & 1 & 0 \ g & h & i & 0 & 0 & 1 \end{array} \right] $

The Goal

Perform row operations until the left side becomes the Identity matrix I. The right side will automatically become A⁻¹. The final form looks like [I | A⁻¹] Practical, not theoretical..

Allowed Row Operations

  1. Swap two rows.
  2. Multiply a row by a non-zero scalar.
  3. Add a multiple of one row to another row.

Step-by-Step Execution Example

Let's assume a generic workflow. The strategy is usually Forward Elimination (get zeros below the diagonal) followed by Back Substitution (get zeros above the diagonal), often combined into Gauss-Jordan Elimination (get reduced row echelon form directly) And that's really what it comes down to..

  1. Pivot on Row 1: Get a 1 in position (1,1). If a is not 1, divide Row 1 by a. (If a is 0, swap with a row below that has a non-zero entry in column 1).
  2. Clear Column 1: Make entries (2,1) and (3,1) zero by subtracting multiples of Row 1 from Rows 2 and 3.
  3. Pivot on Row 2: Get a 1 in position (2,2) by dividing Row 2 by its leading coefficient.
  4. Clear Column 2: Make entries (1,2) and (3,2) zero using Row 2.
  5. Pivot on Row 3: Get a 1 in position (3,3).
  6. Clear Column 3: Make entries (1,3) and (2,3) zero using Row 3.

Once the left 3x3 block is the identity matrix, the right 3x3 block is your inverse Most people skip this — try not to..

Worked Example: Adjugate Method

Let's find the inverse of matrix B:

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

1. Determinant: $ \text{det}(B) = 1(1\cdot0 - 4\cdot6) - 2(0\cdot0 - 4\cdot5) + 3(0\cdot6 - 1\cdot5) \ = 1(0 - 24) - 2(0 - 20) + 3(0 - 5) \ = -24 + 40 - 15 = \mathbf{1} $ Since the determinant is 1, the inverse exists and the final division step is trivial.

2. Matrix of Minors:

  • $M_{11} = (1\cdot0 - 4\cdot6) = -24$
  • $M_{12} = (0\cdot0 - 4\cdot5) = -20$
  • $M_{13} = (0\cdot6 - 1\cdot5) = -5$
  • $M_{21} = (2\cdot0 - 3\cdot6) = -18$
  • $M_{22}

M_{22} = (1\cdot0 - 3\cdot5) = -15
M_{23} = (1\cdot6 - 2\cdot5) = 6 - 10 = -4

M_{31} = (2\cdot4 - 3\cdot1) = 8 - 3 = 5
M_{32} = (1\cdot4 - 3\cdot0) = 4
M_{33} = (1\cdot1 - 2\cdot0) = 1

Thus the matrix of minors is

[ \begin{bmatrix} -24 & -20 & -5\ -18 & -15 & -4\ 5 & 4 & 1 \end{bmatrix}. ]

Applying the checkerboard of signs ((+ - +; - + -; + - +)) yields the cofactor matrix

[ C = \begin{bmatrix} -24 & 20 & -5\ 18 &-15 & 4\ 5 & -4 & 1

With the cofactor matrix (C) in hand, the adjugate of (B) is obtained by transposing (C): [ \operatorname{adj}(B)=C^{\mathsf T} =\begin{bmatrix} -24 & 18 & 5\[2pt] 20 & -15 & -4\[2pt] -5 & 4 & 1 \end{bmatrix}. ]

Because (\det(B)=1), the inverse of (B) is simply this adjugate: [ B^{-1}= \frac{1}{\det(B)},\operatorname{adj}(B) =\operatorname{adj}(B) =\begin{bmatrix} -24 & 18 & 5\ 20 & -15 & -4\ -5 & 4 & 1 \end{bmatrix}. ]

Verification – Multiplying (B) by its inverse yields the identity matrix: [ B,B^{-1} =\begin{bmatrix} 1 & 2 & 3\ 0 & 1 & 4\ 5 & 6 & 0 \end{bmatrix} \begin{bmatrix} -24 & 18 & 5\ 20 & -15 & -4\ -5 & 4 & 1 \end{bmatrix}

\begin{bmatrix} 1 & 0 & 0\ 0 & 1 & 0\ 0 & 0 & 1 \end{bmatrix}. ]

The product confirms that the matrix above is indeed the inverse of (B).


Conclusion

The adjugate (cofactor‑transpose) method provides a systematic way to compute the inverse of a (3\times3) matrix when its determinant is non‑zero. By first evaluating the determinant, constructing the matrix of minors, applying the checkerboard of signs to obtain the cofactor matrix, transposing to get the adjugate, and finally scaling by (1/\det), we arrive at the exact inverse. In the example of (B), the inverse is

[ \boxed{B^{-1}= \begin{bmatrix} -24 & 18 & 5\ 20 & -15 & -4\ -5 & 4 & 1 \end{bmatrix}}. ]

This result can be cross‑checked with Gauss‑Jordan elimination, which would produce the same matrix after reducing the augmented form

This Week's New Stuff

Recently Added

Round It Out

A Few More for You

Thank you for reading about How To Find Inverse Of A 3 By 3 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