Inverse of a 3×3 Matrix Calculator
This Inverse of a 3×3 Matrix Calculator finds the inverse of a \(3 \times 3\) matrix and shows the working line by line. Nine \(2 \times 2\) minors are worked out, an alternating sign pattern turns them into cofactors, and transposing those gives the adjugate. Dividing the adjugate by the determinant finishes it, which is why a determinant of zero leaves no inverse. Following the same pattern every time keeps a long calculation checkable.
Step-by-step method
- Set up the problem.
- Write the formula.
- Work out the determinant.
- Work out the nine minors.
- Apply the sign pattern to get the cofactors.
- Transpose the cofactors to get the adjugate.
- Multiply every entry by one over the determinant.
Formula: 3 by 3 Inverse Formula
This formula gives the inverse of a 3 by 3 matrix. Find the adjugate and divide every entry by the determinant.
Formula: Cofactor and Adjugate Formula
Each cofactor is a minor with a sign from the chessboard pattern, and the adjugate is the transpose of the cofactor matrix.
Useful Tips to Remember
Check the determinant first, since a determinant of 0 means there is no inverse. The cofactor signs follow a chessboard pattern starting with plus in the top left. Remember to transpose the cofactor matrix before dividing, which is the step most often missed. Check the answer by multiplying A by the inverse to get the identity matrix.
Required knowledge
- How to find a 3 by 3 determinant, covered in the Determinant of a 3×3 Matrix Calculator.
- How to find each 2 by 2 minor, covered in the Determinant of a 2×2 Matrix Calculator.
- How to transpose a matrix, covered in the Transpose of a Matrix Calculator.
Where Is the Inverse of a 3 by 3 Matrix Used?
The inverse of a 3 by 3 matrix solves systems of three equations and undoes 3D transformations. Engineers use it to solve for forces and currents in three unknowns. Computer graphics and robotics invert transformation matrices to move between coordinate systems, such as from a camera's view back to the world. In cryptography, 3 by 3 Hill ciphers are decoded with the inverse, and statisticians invert matrices when fitting regression models.
- Solving systems of three equations
- Switching coordinate systems in 3D graphics and robotics
- Decoding 3 by 3 Hill ciphers
- Fitting regression models in statistics
- Solving circuit and force problems in engineering
Inverse of a 3×3 Matrix Practice Problems
Example 1 inverts a matrix whose determinant is 1, so the inverse has whole numbers, and Example 2 inverts a matrix with determinant \(-13\), giving fractions. Work through the minors, cofactors and adjugate yourself and compare. For two more free worked examples, check out the Inverse of a 3×3 Matrix Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Work out the determinant.
- Work out the nine minors.
- Apply the sign pattern to get the cofactors.
- Transpose the cofactors to get the adjugate.
- Multiply every entry by one over the determinant.
Formula
Formula: 3 by 3 Inverse Formula
This formula gives the inverse of a 3 by 3 matrix. Find the adjugate and divide every entry by the determinant.
Formula: Cofactor and Adjugate Formula
Each cofactor is a minor with a sign from the chessboard pattern, and the adjugate is the transpose of the cofactor matrix.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the inverse of the 3 by 3 matrix \(A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{bmatrix}\).
Step 2
Step 2 - Write the formula.
In this problem: The inverse is the adjugate of A divided by the determinant. The adjugate is built from the nine 2 by 2 minors of A, with a sign pattern, and then transposed.
Step 3
Step 3 - Work out the determinant.
In this problem: The determinant is worked out first by expanding along the top row, covered in the Determinant of a 3×3 Matrix Calculator, which gives \(\det(A) = 1\). It is not 0, so A has an inverse.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Work out the three 2 by 2 determinants.
- Combine the three parts.
Formula
Formula: 3 by 3 Determinant Formula
This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.
Step 1
Step 1 - Set up the problem.
In this problem: Labelling the entries of A from left to right and top to bottom gives \(a = 1\), \(b = 2\), \(c = 3\), \(d = 0\), \(e = 1\), \(f = 4\), \(g = 5\), \(h = 6\), \(i = 0\).
Step 2
Step 2 - Write the formula.
In this problem: Expanding along the top row, each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered. The signs go plus, minus, plus.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1\left(1 \times 0 - 4 \times 6\right) - 2\left(0 \times 0 - 4 \times 5\right) + 3\left(0 \times 6 - 1 \times 5\right)\).
Step 4
Step 4 - Work out the three 2 by 2 determinants.
In this problem: Each bracket is the determinant of a 2 by 2 minor, so each one is worked out in turn.
Step 4a
Step 4a - Work out the minor for a.
In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} 1 & 4 \\ 6 & 0 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(1 \times 0 = 0\) and the other diagonal gives \(4 \times 6 = 24\), so \(0 - 24 = -24\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 1\), \(b = 4\), \(c = 6\) and \(d = 0\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1 \times 0 - 4 \times 6\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(1 \times 0 = 0\) and the other diagonal gives \(4 \times 6 = 24\), so \(0 - 24 = -24\).
Final Answer
Step 4b
Step 4b - Work out the minor for b.
In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 0 & 4 \\ 5 & 0 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(0 \times 0 = 0\) and the other diagonal gives \(4 \times 5 = 20\), so \(0 - 20 = -20\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 0\), \(b = 4\), \(c = 5\) and \(d = 0\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 0 \times 0 - 4 \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(0 \times 0 = 0\) and the other diagonal gives \(4 \times 5 = 20\), so \(0 - 20 = -20\).
Final Answer
Step 4c
Step 4c - Work out the minor for c.
In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 0 & 1 \\ 5 & 6 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(0 \times 6 = 0\) and the other diagonal gives \(1 \times 5 = 5\), so \(0 - 5 = -5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 0\), \(b = 1\), \(c = 5\) and \(d = 6\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 0 \times 6 - 1 \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(0 \times 6 = 0\) and the other diagonal gives \(1 \times 5 = 5\), so \(0 - 5 = -5\).
Final Answer
Step 5
Step 5 - Combine the three parts.
In this problem: Putting the three values back in gives \(\det(A) = 1 \times \left(-24\right) - 2 \times \left(-20\right) + 3 \times \left(-5\right)\). Multiplying gives \(-24 - \left(-40\right) + \left(-15\right) = 1\).
Final Answer
Step 4
Step 4 - Work out the nine minors.
In this problem: Each minor \(M_{ij}\) is the determinant of the 2 by 2 block left when row i and column j are covered, found with the 2 by 2 rule covered in the Determinant of a 2×2 Matrix Calculator. The nine are worked out in turn.
Step 4a
Step 4a - Work out the minor in row 1, column 1.
In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} 1 & 4 \\ 6 & 0 \end{bmatrix}\). The main diagonal gives \(1 \times 0 = 0\) and the other diagonal gives \(4 \times 6 = 24\), so \(0 - 24 = -24\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 1\), \(b = 4\), \(c = 6\) and \(d = 0\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1 \times 0 - 4 \times 6\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(1 \times 0 = 0\) and the other diagonal gives \(4 \times 6 = 24\), so \(0 - 24 = -24\).
Final Answer
Step 4b
Step 4b - Work out the minor in row 1, column 2.
In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 0 & 4 \\ 5 & 0 \end{bmatrix}\). The main diagonal gives \(0 \times 0 = 0\) and the other diagonal gives \(4 \times 5 = 20\), so \(0 - 20 = -20\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 0\), \(b = 4\), \(c = 5\) and \(d = 0\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 0 \times 0 - 4 \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(0 \times 0 = 0\) and the other diagonal gives \(4 \times 5 = 20\), so \(0 - 20 = -20\).
Final Answer
Step 4c
Step 4c - Work out the minor in row 1, column 3.
In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 0 & 1 \\ 5 & 6 \end{bmatrix}\). The main diagonal gives \(0 \times 6 = 0\) and the other diagonal gives \(1 \times 5 = 5\), so \(0 - 5 = -5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 0\), \(b = 1\), \(c = 5\) and \(d = 6\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 0 \times 6 - 1 \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(0 \times 6 = 0\) and the other diagonal gives \(1 \times 5 = 5\), so \(0 - 5 = -5\).
Final Answer
Step 4d
Step 4d - Work out the minor in row 2, column 1.
In this problem: Covering row 2 and column 1 leaves \(\begin{bmatrix} 2 & 3 \\ 6 & 0 \end{bmatrix}\). The main diagonal gives \(2 \times 0 = 0\) and the other diagonal gives \(3 \times 6 = 18\), so \(0 - 18 = -18\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 2\), \(b = 3\), \(c = 6\) and \(d = 0\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2 \times 0 - 3 \times 6\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times 0 = 0\) and the other diagonal gives \(3 \times 6 = 18\), so \(0 - 18 = -18\).
Final Answer
Step 4e
Step 4e - Work out the minor in row 2, column 2.
In this problem: Covering row 2 and column 2 leaves \(\begin{bmatrix} 1 & 3 \\ 5 & 0 \end{bmatrix}\). The main diagonal gives \(1 \times 0 = 0\) and the other diagonal gives \(3 \times 5 = 15\), so \(0 - 15 = -15\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 1\), \(b = 3\), \(c = 5\) and \(d = 0\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1 \times 0 - 3 \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(1 \times 0 = 0\) and the other diagonal gives \(3 \times 5 = 15\), so \(0 - 15 = -15\).
Final Answer
Step 4f
Step 4f - Work out the minor in row 2, column 3.
In this problem: Covering row 2 and column 3 leaves \(\begin{bmatrix} 1 & 2 \\ 5 & 6 \end{bmatrix}\). The main diagonal gives \(1 \times 6 = 6\) and the other diagonal gives \(2 \times 5 = 10\), so \(6 - 10 = -4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 1\), \(b = 2\), \(c = 5\) and \(d = 6\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1 \times 6 - 2 \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(1 \times 6 = 6\) and the other diagonal gives \(2 \times 5 = 10\), so \(6 - 10 = -4\).
Final Answer
Step 4g
Step 4g - Work out the minor in row 3, column 1.
In this problem: Covering row 3 and column 1 leaves \(\begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\). The main diagonal gives \(2 \times 4 = 8\) and the other diagonal gives \(3 \times 1 = 3\), so \(8 - 3 = 5\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 2\), \(b = 3\), \(c = 1\) and \(d = 4\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2 \times 4 - 3 \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times 4 = 8\) and the other diagonal gives \(3 \times 1 = 3\), so \(8 - 3 = 5\).
Final Answer
Step 4h
Step 4h - Work out the minor in row 3, column 2.
In this problem: Covering row 3 and column 2 leaves \(\begin{bmatrix} 1 & 3 \\ 0 & 4 \end{bmatrix}\). The main diagonal gives \(1 \times 4 = 4\) and the other diagonal gives \(3 \times 0 = 0\), so \(4 - 0 = 4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 1\), \(b = 3\), \(c = 0\) and \(d = 4\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1 \times 4 - 3 \times 0\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(1 \times 4 = 4\) and the other diagonal gives \(3 \times 0 = 0\), so \(4 - 0 = 4\).
Final Answer
Step 4i
Step 4i - Work out the minor in row 3, column 3.
In this problem: Covering row 3 and column 3 leaves \(\begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}\). The main diagonal gives \(1 \times 1 = 1\) and the other diagonal gives \(2 \times 0 = 0\), so \(1 - 0 = 1\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 1\), \(b = 2\), \(c = 0\) and \(d = 1\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 1 \times 1 - 2 \times 0\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(1 \times 1 = 1\) and the other diagonal gives \(2 \times 0 = 0\), so \(1 - 0 = 1\).
Final Answer
Step 5
Step 5 - Apply the sign pattern to get the cofactors.
In this problem: Each cofactor is the minor with the sign from the pattern \(\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}\), so the minors in the minus positions change sign, giving \(-20 \to 20\), \(-18 \to 18\), \(-4 \to 4\) and \(4 \to -4\).
Step 6
Step 6 - Transpose the cofactors to get the adjugate.
In this problem: Transposing the cofactor matrix, covered in the Transpose of a Matrix Calculator, turns its rows into columns and gives the adjugate.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Turn each row of A into a column.
Formula
Formula: Transpose Formula
This formula moves the entry in row i and column j to row j and column i. Every row of A becomes a column of the transpose.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(3 \times 3\), so its transpose has the rows and columns swapped and is \(3 \times 3\).
Step 2
Step 2 - Write the formula.
In this problem: Transposing reflects the matrix in its main diagonal, so the entry in row i and column j moves to row j and column i.
Step 3
Step 3 - Turn each row of A into a column.
In this problem: Each row of A is written down as a column of the transpose, so \(\text{row } 1 = \begin{bmatrix} -24 & 20 & -5 \end{bmatrix}\) becomes \(\text{column } 1\), \(\text{row } 2 = \begin{bmatrix} 18 & -15 & 4 \end{bmatrix}\) becomes \(\text{column } 2\) and \(\text{row } 3 = \begin{bmatrix} 5 & -4 & 1 \end{bmatrix}\) becomes \(\text{column } 3\).
Final Answer
Step 7
Step 7 - Multiply every entry by one over the determinant.
In this problem: Multiplying every entry of the adjugate by \(\frac{1}{1} = 1\) gives the inverse \(A^{-1} = \begin{bmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{bmatrix}\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Work out the determinant.
- Work out the nine minors.
- Apply the sign pattern to get the cofactors.
- Transpose the cofactors to get the adjugate.
- Multiply every entry by one over the determinant.
Formula
Formula: 3 by 3 Inverse Formula
This formula gives the inverse of a 3 by 3 matrix. Find the adjugate and divide every entry by the determinant.
Formula: Cofactor and Adjugate Formula
Each cofactor is a minor with a sign from the chessboard pattern, and the adjugate is the transpose of the cofactor matrix.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the inverse of the 3 by 3 matrix \(A = \begin{bmatrix} 2 & 0 & 1 \\ 3 & -1 & 2 \\ 1 & 4 & 5 \end{bmatrix}\).
Step 2
Step 2 - Write the formula.
In this problem: The inverse is the adjugate of A divided by the determinant. The adjugate is built from the nine 2 by 2 minors of A, with a sign pattern, and then transposed.
Step 3
Step 3 - Work out the determinant.
In this problem: The determinant is worked out first by expanding along the top row, covered in the Determinant of a 3×3 Matrix Calculator, which gives \(\det(A) = -13\). It is not 0, so A has an inverse.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Work out the three 2 by 2 determinants.
- Combine the three parts.
Formula
Formula: 3 by 3 Determinant Formula
This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.
Step 1
Step 1 - Set up the problem.
In this problem: Labelling the entries of A from left to right and top to bottom gives \(a = 2\), \(b = 0\), \(c = 1\), \(d = 3\), \(e = -1\), \(f = 2\), \(g = 1\), \(h = 4\), \(i = 5\).
Step 2
Step 2 - Write the formula.
In this problem: Expanding along the top row, each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered. The signs go plus, minus, plus.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2\left(\left(-1\right) \times 5 - 2 \times 4\right) - 0\left(3 \times 5 - 2 \times 1\right) + 1\left(3 \times 4 - \left(-1\right) \times 1\right)\).
Step 4
Step 4 - Work out the three 2 by 2 determinants.
In this problem: Each bracket is the determinant of a 2 by 2 minor, so each one is worked out in turn.
Step 4a
Step 4a - Work out the minor for a.
In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} -1 & 2 \\ 4 & 5 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(\left(-1\right) \times 5 = -5\) and the other diagonal gives \(2 \times 4 = 8\), so \(-5 - 8 = -13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = -1\), \(b = 2\), \(c = 4\) and \(d = 5\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = \left(-1\right) \times 5 - 2 \times 4\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(\left(-1\right) \times 5 = -5\) and the other diagonal gives \(2 \times 4 = 8\), so \(-5 - 8 = -13\).
Final Answer
Step 4b
Step 4b - Work out the minor for b.
In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 3 & 2 \\ 1 & 5 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(3 \times 5 = 15\) and the other diagonal gives \(2 \times 1 = 2\), so \(15 - 2 = 13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 3\), \(b = 2\), \(c = 1\) and \(d = 5\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 3 \times 5 - 2 \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(3 \times 5 = 15\) and the other diagonal gives \(2 \times 1 = 2\), so \(15 - 2 = 13\).
Final Answer
Step 4c
Step 4c - Work out the minor for c.
In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 3 & -1 \\ 1 & 4 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(3 \times 4 = 12\) and the other diagonal gives \(\left(-1\right) \times 1 = -1\), so \(12 - \left(-1\right) = 13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 3\), \(b = -1\), \(c = 1\) and \(d = 4\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 3 \times 4 - \left(-1\right) \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(3 \times 4 = 12\) and the other diagonal gives \(\left(-1\right) \times 1 = -1\), so \(12 - \left(-1\right) = 13\).
Final Answer
Step 5
Step 5 - Combine the three parts.
In this problem: Putting the three values back in gives \(\det(A) = 2 \times \left(-13\right) - 0 \times 13 + 1 \times 13\). Multiplying gives \(-26 - 0 + 13 = -13\).
Final Answer
Step 4
Step 4 - Work out the nine minors.
In this problem: Each minor \(M_{ij}\) is the determinant of the 2 by 2 block left when row i and column j are covered, found with the 2 by 2 rule covered in the Determinant of a 2×2 Matrix Calculator. The nine are worked out in turn.
Step 4a
Step 4a - Work out the minor in row 1, column 1.
In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} -1 & 2 \\ 4 & 5 \end{bmatrix}\). The main diagonal gives \(\left(-1\right) \times 5 = -5\) and the other diagonal gives \(2 \times 4 = 8\), so \(-5 - 8 = -13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = -1\), \(b = 2\), \(c = 4\) and \(d = 5\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = \left(-1\right) \times 5 - 2 \times 4\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(\left(-1\right) \times 5 = -5\) and the other diagonal gives \(2 \times 4 = 8\), so \(-5 - 8 = -13\).
Final Answer
Step 4b
Step 4b - Work out the minor in row 1, column 2.
In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 3 & 2 \\ 1 & 5 \end{bmatrix}\). The main diagonal gives \(3 \times 5 = 15\) and the other diagonal gives \(2 \times 1 = 2\), so \(15 - 2 = 13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 3\), \(b = 2\), \(c = 1\) and \(d = 5\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 3 \times 5 - 2 \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(3 \times 5 = 15\) and the other diagonal gives \(2 \times 1 = 2\), so \(15 - 2 = 13\).
Final Answer
Step 4c
Step 4c - Work out the minor in row 1, column 3.
In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 3 & -1 \\ 1 & 4 \end{bmatrix}\). The main diagonal gives \(3 \times 4 = 12\) and the other diagonal gives \(\left(-1\right) \times 1 = -1\), so \(12 - \left(-1\right) = 13\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 3\), \(b = -1\), \(c = 1\) and \(d = 4\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 3 \times 4 - \left(-1\right) \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(3 \times 4 = 12\) and the other diagonal gives \(\left(-1\right) \times 1 = -1\), so \(12 - \left(-1\right) = 13\).
Final Answer
Step 4d
Step 4d - Work out the minor in row 2, column 1.
In this problem: Covering row 2 and column 1 leaves \(\begin{bmatrix} 0 & 1 \\ 4 & 5 \end{bmatrix}\). The main diagonal gives \(0 \times 5 = 0\) and the other diagonal gives \(1 \times 4 = 4\), so \(0 - 4 = -4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 0\), \(b = 1\), \(c = 4\) and \(d = 5\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 0 \times 5 - 1 \times 4\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(0 \times 5 = 0\) and the other diagonal gives \(1 \times 4 = 4\), so \(0 - 4 = -4\).
Final Answer
Step 4e
Step 4e - Work out the minor in row 2, column 2.
In this problem: Covering row 2 and column 2 leaves \(\begin{bmatrix} 2 & 1 \\ 1 & 5 \end{bmatrix}\). The main diagonal gives \(2 \times 5 = 10\) and the other diagonal gives \(1 \times 1 = 1\), so \(10 - 1 = 9\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 2\), \(b = 1\), \(c = 1\) and \(d = 5\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2 \times 5 - 1 \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times 5 = 10\) and the other diagonal gives \(1 \times 1 = 1\), so \(10 - 1 = 9\).
Final Answer
Step 4f
Step 4f - Work out the minor in row 2, column 3.
In this problem: Covering row 2 and column 3 leaves \(\begin{bmatrix} 2 & 0 \\ 1 & 4 \end{bmatrix}\). The main diagonal gives \(2 \times 4 = 8\) and the other diagonal gives \(0 \times 1 = 0\), so \(8 - 0 = 8\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 2\), \(b = 0\), \(c = 1\) and \(d = 4\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2 \times 4 - 0 \times 1\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times 4 = 8\) and the other diagonal gives \(0 \times 1 = 0\), so \(8 - 0 = 8\).
Final Answer
Step 4g
Step 4g - Work out the minor in row 3, column 1.
In this problem: Covering row 3 and column 1 leaves \(\begin{bmatrix} 0 & 1 \\ -1 & 2 \end{bmatrix}\). The main diagonal gives \(0 \times 2 = 0\) and the other diagonal gives \(1 \times \left(-1\right) = -1\), so \(0 - \left(-1\right) = 1\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 0\), \(b = 1\), \(c = -1\) and \(d = 2\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 0 \times 2 - 1 \times \left(-1\right)\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(0 \times 2 = 0\) and the other diagonal gives \(1 \times \left(-1\right) = -1\), so \(0 - \left(-1\right) = 1\).
Final Answer
Step 4h
Step 4h - Work out the minor in row 3, column 2.
In this problem: Covering row 3 and column 2 leaves \(\begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix}\). The main diagonal gives \(2 \times 2 = 4\) and the other diagonal gives \(1 \times 3 = 3\), so \(4 - 3 = 1\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 2\), \(b = 1\), \(c = 3\) and \(d = 2\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2 \times 2 - 1 \times 3\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times 2 = 4\) and the other diagonal gives \(1 \times 3 = 3\), so \(4 - 3 = 1\).
Final Answer
Step 4i
Step 4i - Work out the minor in row 3, column 3.
In this problem: Covering row 3 and column 3 leaves \(\begin{bmatrix} 2 & 0 \\ 3 & -1 \end{bmatrix}\). The main diagonal gives \(2 \times \left(-1\right) = -2\) and the other diagonal gives \(0 \times 3 = 0\), so \(-2 - 0 = -2\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the entries into the formula.
- Multiply the diagonals and subtract.
Formula
Formula: 2 by 2 Determinant Formula
This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 2\), \(b = 0\), \(c = 3\) and \(d = -1\).
Step 2
Step 2 - Write the formula.
In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.
Step 3
Step 3 - Substitute the entries into the formula.
In this problem: Replacing the letters with the entries gives \(\det(A) = 2 \times \left(-1\right) - 0 \times 3\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times \left(-1\right) = -2\) and the other diagonal gives \(0 \times 3 = 0\), so \(-2 - 0 = -2\).
Final Answer
Step 5
Step 5 - Apply the sign pattern to get the cofactors.
In this problem: Each cofactor is the minor with the sign from the pattern \(\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}\), so the minors in the minus positions change sign, giving \(13 \to -13\), \(-4 \to 4\), \(8 \to -8\) and \(1 \to -1\).
Step 6
Step 6 - Transpose the cofactors to get the adjugate.
In this problem: Transposing the cofactor matrix, covered in the Transpose of a Matrix Calculator, turns its rows into columns and gives the adjugate.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Turn each row of A into a column.
Formula
Formula: Transpose Formula
This formula moves the entry in row i and column j to row j and column i. Every row of A becomes a column of the transpose.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(3 \times 3\), so its transpose has the rows and columns swapped and is \(3 \times 3\).
Step 2
Step 2 - Write the formula.
In this problem: Transposing reflects the matrix in its main diagonal, so the entry in row i and column j moves to row j and column i.
Step 3
Step 3 - Turn each row of A into a column.
In this problem: Each row of A is written down as a column of the transpose, so \(\text{row } 1 = \begin{bmatrix} -13 & -13 & 13 \end{bmatrix}\) becomes \(\text{column } 1\), \(\text{row } 2 = \begin{bmatrix} 4 & 9 & -8 \end{bmatrix}\) becomes \(\text{column } 2\) and \(\text{row } 3 = \begin{bmatrix} 1 & -1 & -2 \end{bmatrix}\) becomes \(\text{column } 3\).
Final Answer
Step 7
Step 7 - Multiply every entry by one over the determinant.
In this problem: Multiplying every entry of the adjugate by \(\frac{1}{-13} = - \frac{1}{13}\) gives the inverse \(A^{-1} = \begin{bmatrix} 1 & - \frac{4}{13} & - \frac{1}{13} \\ 1 & - \frac{9}{13} & \frac{1}{13} \\ -1 & \frac{8}{13} & \frac{2}{13} \end{bmatrix}\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Inverse of a 3×3 Matrix Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Inverse of a 3×3 Matrix Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.
Empty boxes count as 0. Entries can be whole numbers, decimals or fractions like 1/2.
Login and upgrade to Pro to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.