Matrix Division Calculator

Enter A and the square matrix B to divide A by B.

Matrix A
Rows
2
Columns
2

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

Matrix B (the divisor)
Rows
2
Columns
2

A square matrix with an inverse, rows separated by semicolons.

Try

Result

You entered(1234) (2002)−1\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\,\begin{pmatrix} 2 & 0 \\ 0 & 2 \end{pmatrix}^{-1}

AB−1=(121322)\displaystyle AB^{-1} = \begin{pmatrix} \frac{1}{2} & 1 \\ \frac{3}{2} & 2 \end{pmatrix}

det B

4\displaystyle 4
Show the work
  1. Division as multiplying by an inverse

    Matrices have no division; "A divided by B" means A times the inverse of B, on the right. (B⁻¹A, on the left, is usually a different matrix.)

    det⁡B=4≠0\det B = 4 \ne 0
  2. The inverse of B

    Row reduce [B | I] to [I | B⁻¹].

    B−1=(120012)B^{-1} = \begin{pmatrix} \frac{1}{2} & 0 \\ 0 & \frac{1}{2} \end{pmatrix}
  3. The product

    Multiply A by B⁻¹ on the right.

    AB−1=(121322)AB^{-1} = \begin{pmatrix} \frac{1}{2} & 1 \\ \frac{3}{2} & 2 \end{pmatrix}
  4. Check

    Multiplying back by B gives A.

    (AB−1)B=(1234)=A(AB^{-1})B = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} = A
  5. Result

    The quotient.

    AB−1=(121322)AB^{-1} = \begin{pmatrix} \frac{1}{2} & 1 \\ \frac{3}{2} & 2 \end{pmatrix}

Worked examples