Inverse Matrix Calculator

Find the inverse of a square matrix, or see why it has none.

Matrix A
Size
2

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You entered(4726)−1\begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix}^{-1}

(35−710−1525)\displaystyle \begin{pmatrix} \frac{3}{5} & -\frac{7}{10} \\ -\frac{1}{5} & \frac{2}{5} \end{pmatrix}

Check

(4726)(35−710−1525)=(1001)\displaystyle \begin{pmatrix} 4 & 7 \\ 2 & 6 \end{pmatrix} \begin{pmatrix} \frac{3}{5} & -\frac{7}{10} \\ -\frac{1}{5} & \frac{2}{5} \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Determinant

10\displaystyle 10
Show the work
  1. Determinant of a 2 by 2 matrix

    Here a=4a = 4, b=7b = 7, c=2c = 2 and d=6d = 6. The determinant decides whether the inverse exists.

    det⁡A=ad−bc=4×6−7×2=24−14=10\begin{aligned} \det A &= ad - bc \\ &= 4 \times 6 - 7 \times 2 \\ &= 24 - 14 \\ &= 10 \end{aligned}
  2. Existence of the inverse

    An inverse exists exactly when the determinant is not 0. Here the determinant is 1010, which is not 0, so AA has an inverse.

  3. Inverse of a 2 by 2 matrix

    Swap aa and dd, change the signs of bb and cc, and divide every entry by the determinant.

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

    A−1=110(6−7−24)=(35−710−1525)A^{-1} = \frac{1}{10}\begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix} = \begin{pmatrix} \frac{3}{5} & -\frac{7}{10} \\ -\frac{1}{5} & \frac{2}{5} \end{pmatrix}
  4. Result

    So A−1=(35−710−1525)A^{-1} = \begin{pmatrix} \frac{3}{5} & -\frac{7}{10} \\ -\frac{1}{5} & \frac{2}{5} \end{pmatrix}.

Worked examples