Inverse of a 2×2 Matrix Notes
These Inverse of a 2×2 Matrix Notes explain how to find the matrix that undoes a 2 by 2 matrix, with each step shown. 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. Examples 3 and 4 give you two more problems of the same kind to try. Find the determinant, swap and negate, then compare your fractions.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them 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
See Example 3 Hide Example 3
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 = 5\), \(b = 3\), \(c = 3\) and \(d = 2\).
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 \(5 \times 2 = 10\) and the other diagonal gives \(3 \times 3 = 9\), so \(10 - 9 = 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 = 5\), \(b = 3\), \(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) = 5 \times 2 - 3 \times 3\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(5 \times 2 = 10\) and the other diagonal gives \(3 \times 3 = 9\), so \(10 - 9 = 1\).
Final Answer
Step 4
Step 4 - Swap the main diagonal and change the signs of the other two entries.
In this problem: Swapping \(5\) and \(2\) and changing the signs of \(3\) and \(3\) gives \(\begin{bmatrix} 2 & -3 \\ -3 & 5 \end{bmatrix}\).
Step 5
Step 5 - Multiply every entry by one over the determinant.
In this problem: Multiplying every entry by \(\frac{1}{1} = 1\) gives \(2 \times 1 = 2\), \(\left(-3\right) \times 1 = -3\), \(\left(-3\right) \times 1 = -3\) and \(5 \times 1 = 5\).
Final Answer
See Example 4 Hide Example 4
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 = 2\), \(b = -1\), \(c = 4\) and \(d = 3\).
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 \(2 \times 3 = 6\) and the other diagonal gives \(\left(-1\right) \times 4 = -4\), so \(6 - \left(-4\right) = 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 = 2\), \(b = -1\), \(c = 4\) and \(d = 3\).
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 3 - \left(-1\right) \times 4\).
Step 4
Step 4 - Multiply the diagonals and subtract.
In this problem: The main diagonal gives \(2 \times 3 = 6\) and the other diagonal gives \(\left(-1\right) \times 4 = -4\), so \(6 - \left(-4\right) = 10\).
Final Answer
Step 4
Step 4 - Swap the main diagonal and change the signs of the other two entries.
In this problem: Swapping \(2\) and \(3\) and changing the signs of \(-1\) and \(4\) gives \(\begin{bmatrix} 3 & 1 \\ -4 & 2 \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 \(3 \times \frac{1}{10} = \frac{3}{10}\), \(1 \times \frac{1}{10} = \frac{1}{10}\), \(\left(-4\right) \times \frac{1}{10} = - \frac{2}{5}\) and \(2 \times \frac{1}{10} = \frac{1}{5}\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Inverse of a 2×2 Matrix Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. 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.