Inverse of a 2×2 Matrix Calculator
This Inverse of a 2×2 Matrix Calculator finds the matrix that undoes a 2 by 2 matrix and shows each step. In Algebra 2, the inverse is the key to solving a system of two equations written as \(AX = B\), because multiplying both sides by \(A^{-1}\) leaves X on its own. The determinant is found first, then the entries are rearranged and divided by it. Following the same pattern every time makes the answer easy to check.
Step-by-step method
- Set up the problem.
- Write the formula.
- Work out the determinant.
- Swap the main diagonal and change the signs of the other two entries.
- Multiply every entry by one over the determinant.
Formula: 2 by 2 Inverse Formula
This formula gives the inverse of a 2 by 2 matrix. Swap the main diagonal, change the signs of the other two entries and divide by the determinant.
Useful Tips to Remember
Work out the determinant first, because a determinant of 0 means there is no inverse. Only the main diagonal entries swap places, while the other two only change sign. A quick check is that \(A \times A^{-1}\) should give the identity matrix. Keep the entries as fractions rather than rounding.
Required knowledge
- How to find the determinant, covered in the Determinant of a 2×2 Matrix Calculator.
- How to multiply by a fraction, covered in the Multiplication of Fractions Calculator.
- How to check the answer by multiplying, covered in the Matrix Multiplication Calculator.
Where Is the Inverse of a 2 by 2 Matrix Used?
In Algebra 2, the inverse matrix is used to solve systems of linear equations in one step with \(X = A^{-1}B\), especially on a graphing calculator. It also appears in coding and decoding messages with the Hill cipher, a popular application in textbooks. Beyond school, inverses undo transformations in computer graphics and help engineers work backwards from results to causes.
- Solving systems of two equations
- Decoding Hill cipher messages
- Undoing transformations in graphics
- Working backwards in economic models
- Checking answers with the identity matrix
Inverse of a 2×2 Matrix Practice Problems
Example 1 inverts a matrix with determinant 10, and Example 2 inverts a matrix with a negative entry and determinant 13. Find the determinant, swap and negate, then compare your fractions. For two more free worked examples, check out the Inverse of a 2×2 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.
- Swap the main diagonal and change the signs of the other two entries.
- Multiply every entry by one over the determinant.
Formula
Formula: 2 by 2 Inverse Formula
This formula gives the inverse of a 2 by 2 matrix. Swap the main diagonal, change the signs of the other two entries and divide by the determinant.
Step 1
Step 1 - Set up the problem.
In this problem: Reading A left to right and top to bottom gives \(a = 4\), \(b = 7\), \(c = 2\) and \(d = 6\).
Step 2
Step 2 - Write the formula.
In this problem: The inverse swaps the two entries on the main diagonal, changes the signs of the other two and divides everything by the determinant. A determinant of 0 means there is no inverse.
Step 3
Step 3 - Work out the determinant.
In this problem: The determinant is worked out first, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(4 \times 6 = 24\) and the other diagonal gives \(7 \times 2 = 14\), so \(24 - 14 = 10\).
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 = 4\), \(b = 7\), \(c = 2\) 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) = 4 \times 6 - 7 \times 2\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(4 \times 6 = 24\) and the other diagonal gives \(7 \times 2 = 14\), so \(24 - 14 = 10\).
Final Answer
Step 4
Step 4 - Swap the main diagonal and change the signs of the other two entries.
In this problem: Swapping \(4\) and \(6\) and changing the signs of \(7\) and \(2\) gives \(\begin{bmatrix} 6 & -7 \\ -2 & 4 \end{bmatrix}\).
Step 5
Step 5 - Multiply every entry by one over the determinant.
In this problem: Multiplying every entry by \(\frac{1}{10}\) gives \(6 \times \frac{1}{10} = \frac{3}{5}\), \(\left(-7\right) \times \frac{1}{10} = - \frac{7}{10}\), \(\left(-2\right) \times \frac{1}{10} = - \frac{1}{5}\) and \(4 \times \frac{1}{10} = \frac{2}{5}\).
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.
- Swap the main diagonal and change the signs of the other two entries.
- Multiply every entry by one over the determinant.
Formula
Formula: 2 by 2 Inverse Formula
This formula gives the inverse of a 2 by 2 matrix. Swap the main diagonal, change the signs of the other two entries and divide by the determinant.
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 = 5\) and \(d = 1\).
Step 2
Step 2 - Write the formula.
In this problem: The inverse swaps the two entries on the main diagonal, changes the signs of the other two and divides everything by the determinant. A determinant of 0 means there is no inverse.
Step 3
Step 3 - Work out the determinant.
In this problem: The determinant is worked out first, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(3 \times 1 = 3\) and the other diagonal gives \(\left(-2\right) \times 5 = -10\), so \(3 - \left(-10\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 = -2\), \(c = 5\) 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) = 3 \times 1 - \left(-2\right) \times 5\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(3 \times 1 = 3\) and the other diagonal gives \(\left(-2\right) \times 5 = -10\), so \(3 - \left(-10\right) = 13\).
Final Answer
Step 4
Step 4 - Swap the main diagonal and change the signs of the other two entries.
In this problem: Swapping \(3\) and \(1\) and changing the signs of \(-2\) and \(5\) gives \(\begin{bmatrix} 1 & 2 \\ -5 & 3 \end{bmatrix}\).
Step 5
Step 5 - Multiply every entry by one over the determinant.
In this problem: Multiplying every entry by \(\frac{1}{13}\) gives \(1 \times \frac{1}{13} = \frac{1}{13}\), \(2 \times \frac{1}{13} = \frac{2}{13}\), \(\left(-5\right) \times \frac{1}{13} = - \frac{5}{13}\) and \(3 \times \frac{1}{13} = \frac{3}{13}\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Inverse of a 2×2 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 2×2 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 is available on the Plus and Pro plans.
Empty boxes count as 0. Entries can be whole numbers, decimals or fractions like 1/2.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.