Inverse of a 2x2 Matrix

Compute the unique 2×2 matrix that reverses multiplication by another 2×2 matrix, essential for solving systems of linear equations.

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

Solve a problem with Inverse of a 2x2 Matrix

Type the problem. The solver will use Inverse of a 2x2 Matrix where Inverse of a 2x2 Matrix is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Inverse of a 2x2 Matrix takes
AA
aa
bb
cc
dd
Inverse of a 2x2 Matrix
SymbolMeaning
AAThe original 2×2 matrix you want to invert; if det(A)=adbc=0\det(A) = ad - bc = 0, the matrix is singular and has no inverse.
aaThe top-left entry of matrix AA; it moves to the bottom-right in the inverse, so confusing rows and columns places it in the wrong position.
bbThe top-right entry of matrix AA; it appears as b-b (negated) in the inverse, so forgetting the negative sign produces an incorrect answer.
ccThe bottom-left entry of matrix AA; it appears as c-c (negated) in the inverse, making sign errors one of the most common mistakes.
ddThe bottom-right entry of matrix AA; it moves to the top-left in the inverse, swapping positions with aa.

When to use it

When you need to solve a matrix equation Ax=bAx = b for xx, or undo a linear transformation represented by a 2×2 matrix.

Level

Usually taught in: Pre-Calculus

Worked examples

1. Inverting a 2×2 matrix with small positive integers

Problem

Find the inverse of (2132)\begin{pmatrix} 2 & 1 \\ 3 & 2 \end{pmatrix}.
  1. a=2,b=1,c=3,d=2a = 2,\quad b = 1,\quad c = 3,\quad d = 2

    Identify each entry by position: aa and bb form the first row, cc and dd form the second row.

  2. adbc=(2)(2)(1)(3)=43=1ad - bc = (2)(2) - (1)(3) = 4 - 3 = 1

    Calculate the determinant using adbcad - bc; this value becomes the denominator in the inverse formula.

  3. A1=11(2132)A^{-1} = \frac{1}{1}\begin{pmatrix} 2 & -1 \\ -3 & 2 \end{pmatrix}

    Apply the formula: swap aa and dd to opposite corners (2 and 2), negate bb and cc (giving 1-1 and 3-3).

  4. A1=(2132)A^{-1} = \begin{pmatrix} 2 & -1 \\ -3 & 2 \end{pmatrix}

    Simplify by dividing each entry by 1, which leaves the entries unchanged.

Answer: A1=(2132)A^{-1} = \begin{pmatrix} 2 & -1 \\ -3 & 2 \end{pmatrix}

A determinant of 1 is ideal because it avoids fractions. Verify by computing AA1=(1001)A \cdot A^{-1} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} to confirm the inverse is correct.

2. Inverting a matrix with a negative entry and fractional result

Problem

Find the inverse of (2314)\begin{pmatrix} 2 & 3 \\ -1 & 4 \end{pmatrix}.
  1. a=2,b=3,c=1,d=4a = 2,\quad b = 3,\quad c = -1,\quad d = 4

    Identify the entries, noting that c=1c = -1 is negative; handle this carefully in the determinant calculation.

  2. adbc=(2)(4)(3)(1)=8(3)=8+3=11ad - bc = (2)(4) - (3)(-1) = 8 - (-3) = 8 + 3 = 11

    When cc is negative, the product bcbc is negative, so subtracting it becomes addition: adbc=ad+bcad - bc = ad + |bc|.

  3. A1=111(4312)A^{-1} = \frac{1}{11}\begin{pmatrix} 4 & -3 \\ 1 & 2 \end{pmatrix}

    Apply the formula: swap aa and dd (getting 4 and 2), negate bb to get 3-3, and negate cc: (1)=1-(-1) = 1.

  4. A1=(411311111211)A^{-1} = \begin{pmatrix} \frac{4}{11} & -\frac{3}{11} \\ \frac{1}{11} & \frac{2}{11} \end{pmatrix}

    Distribute the denominator 111\frac{1}{11} to each entry to obtain the final inverse with fractions.

Answer: A1=(411311111211)A^{-1} = \begin{pmatrix} \frac{4}{11} & -\frac{3}{11} \\ \frac{1}{11} & \frac{2}{11} \end{pmatrix}

This example shows how negative entries and non-unit determinants produce fractional inverses. When cc is negative, subtracting bcbc increases the determinant—here, 8(3)=118 - (-3) = 11 is larger than it would be with positive entries.

3. Road trip problem: reversing a transformation with two legs

Problem

During a road trip, a navigation system models distance and fuel consumption over two legs using the matrix (3121)\begin{pmatrix} 3 & 1 \\ 2 & 1 \end{pmatrix}, where each column represents one leg's effects. To design a return route that reverses this transformation exactly, find the inverse matrix.
  1. a=3,b=1,c=2,d=1a = 3,\quad b = 1,\quad c = 2,\quad d = 1

    Extract the matrix entries by position.

  2. adbc=(3)(1)(1)(2)=32=1ad - bc = (3)(1) - (1)(2) = 3 - 2 = 1

    The determinant is 1, so the inverse has clean integer entries with no fractions.

  3. A1=11(1123)A^{-1} = \frac{1}{1}\begin{pmatrix} 1 & -1 \\ -2 & 3 \end{pmatrix}

    Apply the formula: swap aa and dd (getting 1 and 3 in opposite corners), negate bb and cc (getting 1-1 and 2-2).

  4. A1=(1123)A^{-1} = \begin{pmatrix} 1 & -1 \\ -2 & 3 \end{pmatrix}

    Simplify by dividing by 1, leaving the matrix unchanged.

Answer: A1=(1123)A^{-1} = \begin{pmatrix} 1 & -1 \\ -2 & 3 \end{pmatrix}

Matrix inverses undo transformations: applying the original matrix represents the outbound trip, while applying the inverse reverses the effect, modeling a return route that restores the starting point. A determinant of 1 means the forward and return trips are equally balanced.

Common mistakes

Where Inverse of a 2x2 Matrix usually goes wrong
Answer came out wrong
For (2135)\begin{pmatrix} 2 & 1 \\ 3 & 5 \end{pmatrix}, writing A1=17(5132)A^{-1} = \frac{1}{7}\begin{pmatrix} 5 & 1 \\ 3 & 2 \end{pmatrix} instead of 17(5132)\frac{1}{7}\begin{pmatrix} 5 & -1 \\ -3 & 2 \end{pmatrix}.
Always use the complete formula: swap aa and dd to opposite corners, negate both bb and cc, then divide by adbcad - bc. Double-check each of the four entries before finalizing.
For (2412)\begin{pmatrix} 2 & 4 \\ 1 & 2 \end{pmatrix}, computing A1=10(2412)A^{-1} = \frac{1}{0}\begin{pmatrix} 2 & -4 \\ -1 & 2 \end{pmatrix} as if the inverse exists.
Check that adbc0ad - bc \neq 0 before applying the formula; if the determinant equals zero, stop and state that the matrix is non-invertible.
For (1234)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} with determinant 2-2, writing A1=(4231)A^{-1} = \begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix} instead of distributing the denominator.
Always distribute the scalar 1adbc\frac{1}{ad - bc} to each entry. Write A1=12(4231)A^{-1} = \frac{1}{-2}\begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix} and compute each resulting fraction.
The mistakeWhy it is wrongThe fix
For (2135)\begin{pmatrix} 2 & 1 \\ 3 & 5 \end{pmatrix}, writing A1=17(5132)A^{-1} = \frac{1}{7}\begin{pmatrix} 5 & 1 \\ 3 & 2 \end{pmatrix} instead of 17(5132)\frac{1}{7}\begin{pmatrix} 5 & -1 \\ -3 & 2 \end{pmatrix}.Applying only half the formula—swapping aa and dd—but forgetting to negate the off-diagonal entries bb and cc, which completely changes the inverse's values.Always use the complete formula: swap aa and dd to opposite corners, negate both bb and cc, then divide by adbcad - bc. Double-check each of the four entries before finalizing.
For (2412)\begin{pmatrix} 2 & 4 \\ 1 & 2 \end{pmatrix}, computing A1=10(2412)A^{-1} = \frac{1}{0}\begin{pmatrix} 2 & -4 \\ -1 & 2 \end{pmatrix} as if the inverse exists.The determinant adbc=2(2)4(1)=0ad - bc = 2(2) - 4(1) = 0, and division by zero is undefined; singular matrices with zero determinant have no inverse.Check that adbc0ad - bc \neq 0 before applying the formula; if the determinant equals zero, stop and state that the matrix is non-invertible.
For (1234)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} with determinant 2-2, writing A1=(4231)A^{-1} = \begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix} instead of distributing the denominator.Forgetting to divide every entry by the determinant; the formula requires distributing 1adbc\frac{1}{ad - bc} to all four entries, not just writing the adjugate matrix.Always distribute the scalar 1adbc\frac{1}{ad - bc} to each entry. Write A1=12(4231)A^{-1} = \frac{1}{-2}\begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix} and compute each resulting fraction.

Tips and when to use something else

  • Check that adbc0ad - bc \neq 0 before starting; if the determinant is zero, the matrix has no inverse and you should stop.
  • Remember that diagonal entries aa and dd swap positions and move to opposite corners, while bb and cc stay in their rows/columns but get negated.
  • If the determinant is a common factor of all entries in the adjugate matrix, simplify the resulting fractions for cleaner final answers.
  • To solve Ax=bAx = b for xx, use x=A1bx = A^{-1}b only if the matrix is invertible; if det(A)=0\det(A) = 0, use Gaussian Elimination or Cramer's Rule instead.

Frequently asked questions

What does it mean for a matrix to have no inverse?
A matrix with no inverse is singular, which occurs when the determinant adbc=0ad - bc = 0. Geometrically, the transformation collapses 2D space onto a line or point, so no unique transformation can undo it. For example, (2412)\begin{pmatrix} 2 & 4 \\ 1 & 2 \end{pmatrix} is singular because the second row is half the first row.
How can I check if my answer is correct?
Multiply the original matrix by your inverse: AA1A \cdot A^{-1} should equal the identity matrix (1001)\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}. If you get this identity, your inverse is correct. You can also verify by computing A1AA^{-1} \cdot A; both orderings yield the identity.
Can I use this formula for larger matrices like 3×3 or 4×4?
No, this formula works only for 2×2 matrices. For larger matrices, you must use Gaussian Elimination, cofactor expansion, or technology. Fortunately, this formula is a special shortcut that makes 2×2 inverses quick to calculate by hand.
Why do the off-diagonal entries get negated in the inverse?
The negations arise from how matrix inverses are derived mathematically: when you work through the algebra or cofactor expansion, these signs emerge naturally from 2×2 determinant properties. These negations are essential—without them, multiplying AA1A \cdot A^{-1} would not produce the identity matrix.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18