MathorynMathematical Formula Database

Linear Algebra

Inverse of a 2×2 Matrix

A 2×22\times2 matrix with nonzero determinant is inverted by swapping the diagonal entries, negating the off-diagonal entries and dividing by the determinant. Use it to solve a 2×2 system as x = A⁻¹b or to undo a linear transformation.

(abcd)−1=1ad−bc(d−b−ca)\begin{pmatrix}a&b\\c&d\end{pmatrix}^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}
LaTeX\begin{pmatrix}a&b\\c&d\end{pmatrix}^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}

Variables

a, b, c, da,\ b,\ c,\ d
matrix entries
ad−bcad-bc
determinant (nonzero)

Example

Invert (4726)\begin{pmatrix}4&7\\2&6\end{pmatrix}.

  1. det⁡=24−14=10\det=24-14=10.
  2. 110(6−7−24)\frac1{10}\begin{pmatrix}6&-7\\-2&4\end{pmatrix}.

Answer: (0.6−0.7−0.20.4)\begin{pmatrix}0.6&-0.7\\-0.2&0.4\end{pmatrix}.

Related formulas