Calculators/Mathematics/Matrices — determinant and inverse

Matrices — determinant and inverse

Determinant · inverse matrix · 2×2 and 3×3

Matrices — determinant and inverse — illustration
Determinant det
5
Inverse matrix
0.6
-0.2
-0.2
0.4

A matrix has an inverse only when its determinant is non-zero. Inverse: A⁻¹ = (1/det)·transpose of the cofactor matrix.

Basic operations on square matrices. The determinant of a 2×22\times2 matrix:

det⁡[abcd]=ad−bc\det\begin{bmatrix}a&b\\c&d\end{bmatrix}=ad-bc

for a 3×33\times3 matrix it is found by Laplace (cofactor) expansion. The determinant decides invertibility: a matrix has an inverse only when det⁡≠0\det\neq0. In that case:

A−1=1det⁡A⋅(transpose of the cofactor matrix)A^{-1}=\frac{1}{\det A}\cdot(\text{transpose of the cofactor matrix})

The calculator returns the determinant and the full inverse matrix for the 2×22\times2 and 3×33\times3 dimensions.

Examples

det [[2,1],[1,3]]
→ = 2·3 − 1·1 = 5
A matrix with det = 0
→ is singular — it has no inverse

Frequently asked questions

When does a matrix have an inverse?+

Only when its determinant is non-zero. A matrix with det = 0 is called singular (non-invertible) — its rows/columns are linearly dependent.

What is the determinant used for?+

Among other things, for solving systems of equations (Cramer's rule), testing whether a matrix is invertible, and computing areas and volumes in geometry (as the scaling factor of a transformation).

Found this calculator useful? Share it.

It's free — send it to a friend who's revising.

Teaching? Embed this calculator on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →