Inverse of a 2×2 Matrix Notes

Published on: September 29, 2026

These Inverse of a 2×2 Matrix Notes explain how to find the inverse of a \(2 \times 2\) matrix, with the working shown line by line. The determinant comes first, because a determinant of zero leaves no inverse at all. The main diagonal entries swap places, the other two change sign, and every entry is then divided by the determinant. Following the same pattern every time makes the inverse easy to check and repeat.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Work out the determinant.
  4. Swap the main diagonal and change the signs of the other two entries.
  5. 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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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

Where Is the Inverse of a 2 by 2 Matrix Used?

The inverse matrix undoes what the original matrix does, which is how matrix equations are solved. A system of two equations written as \(AX = B\) is solved by \(X = A^{-1}B\). In cryptography, the Hill cipher encrypts messages with a matrix and decrypts them with its inverse. Computer graphics uses inverses to undo transformations, and economists use them to work backwards in input-output models.

  • 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

\(A = \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Work out the determinant.
  4. Swap the main diagonal and change the signs of the other two entries.
  5. 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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(A = \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix}\)

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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(\det(A) = 4 \times 6 - 7 \times 2 = 24 - 14 = 10\)

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}\).

\(\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} = \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}\).

\(A^{-1} = \frac{1}{10}\begin{bmatrix} 6 & -7 \\ -2 & 4 \end{bmatrix} = \begin{bmatrix} \frac{3}{5} & - \frac{7}{10} \\ - \frac{1}{5} & \frac{2}{5} \end{bmatrix}\)

Final Answer

\(A^{-1} = \begin{bmatrix} \frac{3}{5} & - \frac{7}{10} \\ - \frac{1}{5} & \frac{2}{5} \end{bmatrix}\)
See Example 2 Hide Example 2

Problem

\(A = \begin{bmatrix} 3 & -2 \\ 5 & 1 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Work out the determinant.
  4. Swap the main diagonal and change the signs of the other two entries.
  5. 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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(A = \begin{bmatrix} 3 & -2 \\ 5 & 1 \end{bmatrix}\)

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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(\det(A) = 3 \times 1 - \left(-2\right) \times 5 = 3 - \left(-10\right) = 13\)

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}\).

\(\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} = \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}\).

\(A^{-1} = \frac{1}{13}\begin{bmatrix} 1 & 2 \\ -5 & 3 \end{bmatrix} = \begin{bmatrix} \frac{1}{13} & \frac{2}{13} \\ - \frac{5}{13} & \frac{3}{13} \end{bmatrix}\)

Final Answer

\(A^{-1} = \begin{bmatrix} \frac{1}{13} & \frac{2}{13} \\ - \frac{5}{13} & \frac{3}{13} \end{bmatrix}\)
See Example 3 Hide Example 3

Problem

\(A = \begin{bmatrix} 5 & 3 \\ 3 & 2 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Work out the determinant.
  4. Swap the main diagonal and change the signs of the other two entries.
  5. 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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(A = \begin{bmatrix} 5 & 3 \\ 3 & 2 \end{bmatrix}\)

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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(\det(A) = 5 \times 2 - 3 \times 3 = 10 - 9 = 1\)

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}\).

\(\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} = \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\).

\(A^{-1} = \begin{bmatrix} 2 & -3 \\ -3 & 5 \end{bmatrix}\)

Final Answer

\(A^{-1} = \begin{bmatrix} 2 & -3 \\ -3 & 5 \end{bmatrix}\)
See Example 4 Hide Example 4

Problem

\(A = \begin{bmatrix} 2 & -1 \\ 4 & 3 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Work out the determinant.
  4. Swap the main diagonal and change the signs of the other two entries.
  5. 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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(A = \begin{bmatrix} 2 & -1 \\ 4 & 3 \end{bmatrix}\)

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.

\(A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

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\).

\(\det(A) = 2 \times 3 - \left(-1\right) \times 4 = 6 - \left(-4\right) = 10\)

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}\).

\(\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} = \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}\).

\(A^{-1} = \frac{1}{10}\begin{bmatrix} 3 & 1 \\ -4 & 2 \end{bmatrix} = \begin{bmatrix} \frac{3}{10} & \frac{1}{10} \\ - \frac{2}{5} & \frac{1}{5} \end{bmatrix}\)

Final Answer

\(A^{-1} = \begin{bmatrix} \frac{3}{10} & \frac{1}{10} \\ - \frac{2}{5} & \frac{1}{5} \end{bmatrix}\)

Calculator and Practice Mode