Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Find the Inverse of a 2×2 Matrix

A 2×22 \times 2 matrix has a one-line inverse: swap the two diagonal entries, change the sign of the other two, and divide everything by the determinant ad−bcad - bc. If the determinant is zero, there is no inverse.

Recognize the task

A 2×22 \times 2 matrix and a request for A−1A^{-1}, or a 2×22 \times 2 system to solve with the inverse: (4726)−1\begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix}^{-1}, (3152)−1\begin{pmatrix} 3 & 1 \\ 5 & 2 \end{pmatrix}^{-1}. Test: is the matrix exactly 2×22 \times 2, and is ad−bc≠0ad - bc \neq 0?
The inverse is defined in the inverse matrix lesson; the shortcut is the 2×2 inverse formula, worked in the 2×2 inverse lesson section.

Steps

StepOn A=(4726)A = \begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix}
1Compute the determinant. det⁡(A)=ad−bc\det(A) = ad - bc: main diagonal product minus the other product (2×2 determinant).4⋅6−7⋅2=104 \cdot 6 - 7 \cdot 2 = 10
2Stop if the determinant is zero. A zero determinant means the matrix is singular: no inverse exists.10≠010 \neq 0: the inverse exists
3Swap a and d, change the signs of b and c. This matrix is the adjugate of AA.(6−7−24)\begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix}
4Multiply by 1 over the determinant. Every entry is divided by the same number.Scalar multiplication ↗A−1=110(6−7−24)=(0.6−0.7−0.20.4)A^{-1} = \frac{1}{10}\begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix} = \begin{pmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{pmatrix}
5Check that A times the inverse is I. One matrix product catches any sign slip.(4726)(0.6−0.7−0.20.4)=(1001)\begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix}\begin{pmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} ✓

Worked examples

Example 1 · determinant 1

integer inverse
A=(3152)A = \begin{pmatrix} 3 & 1 \\ 5 & 2 \end{pmatrix}, det⁡(A)=6−5=1\det(A) = 6 - 5 = 1
A−1=(2−1−53)A^{-1} = \begin{pmatrix} 2 & -1 \\ -5 & 3 \end{pmatrix}
swap, negate, divide by 1

Example 2 · negative determinant

fractions
A=(−234−5)A = \begin{pmatrix} -2 & 3 \\ 4 & -5 \end{pmatrix}, det⁡(A)=10−12=−2\det(A) = 10 - 12 = -2
A−1=−12(−5−3−4−2)A^{-1} = -\frac{1}{2}\begin{pmatrix} -5 & -3 \\ -4 & -2 \end{pmatrix}
swap −2-2 and −5-5; negate 33 and 44
A−1=(5/23/221)A^{-1} = \begin{pmatrix} 5/2 & 3/2 \\ 2 & 1 \end{pmatrix}

Example 3 · a singular matrix

no inverse
A=(2613)A = \begin{pmatrix} 2 & 6 \\ 1 & 3 \end{pmatrix}, det⁡(A)=6−6=0\det(A) = 6 - 6 = 0
row 1 is twice row 2
A−1A^{-1} does not exist
cannot divide by zero
Check any inverse in the matrix calculator.

See it happen

The matrix (d−b−ca)\begin{pmatrix} d & -b \\ -c & a \end{pmatrix} almost undoes AA: their product is (ad−bc)I(ad - bc)I, the identity scaled by the determinant. Dividing by ad−bcad - bc removes that scale. When the determinant is zero, AA flattens the plane onto a line and nothing can undo it, as the linear transformation visualizer shows.

Common mistakes

Negating the diagonal instead of swapping it

✗ (4726)−1=110(−472−6)\begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix}^{-1} = \frac{1}{10}\begin{pmatrix} -4 & 7 \\ 2 & -6 \end{pmatrix}
✓ swap the diagonal, negate the other two: 110(6−7−24)\frac{1}{10}\begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix}

Inverting each entry

✗ A−1=(1/41/71/21/6)A^{-1} = \begin{pmatrix} 1/4 & 1/7 \\ 1/2 & 1/6 \end{pmatrix}
✓ the inverse is not taken entry by entry; use the formula

Forgetting to divide by the determinant

✗ A−1=(6−7−24)A^{-1} = \begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix}
✓ AA times this matrix is 10I10I; divide by 1010

Inverting a singular matrix

✗ (2613)−1=10(3−6−12)\begin{pmatrix} 2 & 6 \\ 1 & 3 \end{pmatrix}^{-1} = \frac{1}{0}\begin{pmatrix} 3 & -6 \\ -1 & 2 \end{pmatrix}
✓ det⁡=0\det = 0: no inverse exists