Matrix Calculator: Determinant and Inverse

Type the entries in the grid or write the matrix, then choose determinant or inverse.

Answer

Determinant
det⁡A=0\det A = 0

Checked numerically before it is shown

Step-by-step solution

Solve by

Cofactor expansion

  1. Cofactor expansion

    Expand along R1R_{1}:

    det⁡A=a11C11+a12C12+a13C13\det A = a_{11} C_{11} + a_{12} C_{12} + a_{13} C_{13}
  2. Minor

    Minor 1111: cross out that row and column:

    M11=∣3211∣=3⋅1−2⋅1=1M_{11} = \begin{vmatrix}3 & 2 \\ 1 & 1\end{vmatrix} = 3 \cdot 1 - 2 \cdot 1 = 1
  3. Minor

    Minor 1313: cross out that row and column:

    M13=∣1311∣=1⋅1−3⋅1=−2M_{13} = \begin{vmatrix}1 & 3 \\ 1 & 1\end{vmatrix} = 1 \cdot 1 - 3 \cdot 1 = -2
  4. Sum of terms

    Add the terms, each with its sign:

    det⁡A=2⋅1+1⋅(−2)=0\det A = 2 \cdot 1 + 1 \cdot \left(-2\right) = 0

Try an example

About this solver

How to use

  1. Fill the grid, or type the matrix as [[1, 2], [3, 4]] or [1 2; 3 4].
  2. Entries can be integers, decimals or fractions such as 1/2.
  3. Add the word inverse, or ^-1, to get the inverse instead of the determinant.

How to type math

To enterType
Powerx^2 x^(n+1)
Rootsqrt(x) \sqrt[3]{x}
Fraction(x+1)/(x-1) \frac{1}{x}
Functionssin(x) ln(x) log_2(x) exp(x)
Absolute value|x| abs(x)
Derivatived/dx x^2 sin x (x^2+x)'
Integral\int x^2 dx \int_0^1 x^2 dx
Limitlim x->0 sin(x)/x \lim_{x\to\infty} 1/x
Degreessin(30°)
System of equations2x+y=5, x-y=1

How it works

A determinant is found by expanding along the row or column with the most zeros, by the rule of Sarrus for 3×3, or by row reduction to a triangular matrix.

An inverse is found with the adjugate (the transposed cofactor matrix divided by the determinant) or by Gauss–Jordan elimination on [A | I]. A matrix with determinant 0 has no inverse.

Frequently asked questions

Which methods are shown?

For a determinant: the ad − bc formula or cofactor expansion, the rule of Sarrus and row reduction. For an inverse: the adjugate and Gauss–Jordan elimination. Every method ends with the same exact answer.

Why does my matrix have no inverse?

A square matrix is invertible only when its determinant is not 0. When the determinant is 0 the solver says so and shows how the determinant was found.

Which sizes are supported?

2×2 and 3×3 matrices with numeric entries. Entries with letters are not supported yet.