Matrix inverse calculator

Number format
Solution comments
Without description (answer only)

a

b

c

d

x

y

z

clear

i

ab
x2
xn

Randomize

313131313135151515151583137
2
2510
=Solve

  How to find the inverse using the adjugate matrix

Compute every cofactor of the matrix, form the cofactor matrix, transpose it to obtain the adjugate, and divide each entry by the determinant of the original matrix. The result is the matrix inverse, provided the determinant is non-zero.

  Adjugate matrix inverse — worked example (3×3)

Write the initial matrix
A
:
A
=
4
0
1
1
3
2
2
1
5
To calculate the inverse matrix of matrix
A
need to do the following:
1)
Calculate the determinant of the matrix A, and check whether it is not zero:
If the determinant of the matrix A is not equal to zero, then we can continue the solution;
If the determinant of the matrix A is zero, it's inverse matrix cannot be calculated, because the matrix A is singular;
2)
Calculate the matrix of minors;
3)
Calculate the matrix of cofactors;
4)
Calculate the adjoint matrix;
5)
Calculate the inverse matrix by finding the product of each element of the adjoint matrix by 1/d;
a
-1
i,j
=
adj
0
i,j
*
1
d
// where
i
is the row number
j
is the column number
a⁻¹
is element of the inverse matrix
adj
is element of the adjoint matrix
d
is the determinant of the matrix A
2
Determinant
det(
A
) =
4
0
1
1
3
2
2
1
5
=
0
;
3
Inverse matrix
The inverse matrix cannot be calculated, because the matrix is singular (its determinant is equal to zero).

  Calculation methods

  Sources