Inverse Matrix Calculator

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

Matrix A
Size
1

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

Try

Result

You entered(2)−1\begin{pmatrix} 2 \end{pmatrix}^{-1}

(12)\displaystyle \begin{pmatrix} \frac{1}{2} \end{pmatrix}

Check

(2)(12)=(1)\displaystyle \begin{pmatrix} 2 \end{pmatrix} \begin{pmatrix} \frac{1}{2} \end{pmatrix} = \begin{pmatrix} 1 \end{pmatrix}

Determinant

2\displaystyle 2
Show the work
  1. When a 1 by 1 matrix has an inverse

    An inverse exists exactly when the determinant is not 0. Here the determinant is 22, which is not 0, so AA has an inverse. For a 1 by 1 matrix the determinant is its only entry.

    det⁡A=2\det A = 2
  2. Inverse of a 1 by 1 matrix

    The inverse of the number aa is 1a\frac{1}{a}, because a×1a=1a \times \frac{1}{a} = 1.

    A−1=1a=12\begin{aligned} A^{-1} &= \frac{1}{a} \\ &= \frac{1}{2} \end{aligned}
  3. Result

    So A−1=(12)A^{-1} = \begin{pmatrix} \frac{1}{2} \end{pmatrix}.

Worked examples