3×3 Determinant Calculator

Decomposition by:
1
Solution comments
Without description (answer only)

a

b

c

d

x

y

z

AC

i

ab
x2
xn

Randomize

Number format
3131313131351515151515≈52188552198585858586
Round to
Digits after decimal point
10
=Solve

  Formula for the determinant of a 3×3 matrix

Write the rows of the matrix as (a, b, c), (d, e, f) and (g, h, i). Expanding along the first row gives

det(A) = a·(e·i − f·h) − b·(d·i − f·g) + c·(d·h − e·g)

Each bracket is the determinant of the 2×2 matrix that remains after you delete the row and the column of the entry in front of it. The signs alternate plus, minus, plus. Multiplying everything out gives six products of three entries each, three with a plus sign and three with a minus sign. The Sarrus rule is a way of reading those six products straight off the diagonals.

  Worked example

Take the matrix with rows (2, −1, 3), (0, 4, 1) and (5, 2, −2) and expand along the first row.

The minor of 2 is 4·(−2) − 1·2 = −10. The minor of −1 is 0·(−2) − 1·5 = −5. The minor of 3 is 0·2 − 4·5 = −20.

Now apply the alternating signs: det(A) = 2·(−10) − (−1)·(−5) + 3·(−20) = −20 − 5 − 60 = −85.

  Which method to use for a 3×3 matrix

Cofactor expansion works along any row or column, so pick the one with the most zeros. In the example the second row starts with a zero, and expanding along it would need only two minors instead of three.

The Sarrus rule is the quickest by hand when the entries are small integers, but it works only for 3×3 matrices. Row reduction to triangular form is the better habit if you will go on to 4×4 and larger matrices, because the other two methods grow much faster.

The calculator above is set to 3×3. It uses expansion along a row or column by default, and you can switch the method to Sarrus, triangular form or Bareiss in the method menu.

  3×3 determinant worked example

Write the initial matrix
A
:
A
=
2
0
5
-1
4
2
3
1
-2
To find the determinant of matrix
A
need to do the following:
1)
Find the minors for each element of 1th row of the matrix A;
2)
Multiply each element of 1th row of the matrix A by its corresponding minor;
3)
The product of an element in its minor must be taken with a minus or plus sign, it depends on the indices of the element:
if i + j is equal to an even number, then take the plus sign;
if i + j is not an even number, then take the minus sign;
4)
Add all the products of the element on the corresponding minor, taking into account the correct taken sign;
det(
A
) =
n
j
= 1
(-1)
i+j
·
a
0
i,j
·
M
0
i,j
// where
i
is the row number
j
is the column number
2
M1,1
M
0
1,1
=
2
0
5
-1
4
2
3
1
-2
=
4
2
1
-2
=
-10
;
3
M1,2
M
0
1,2
=
2
0
5
-1
4
2
3
1
-2
=
0
5
1
-2
=
-5
;
4
M1,3
M
0
1,3
=
2
0
5
-1
4
2
3
1
-2
=
0
5
4
2
=
-20
;
5
Matrix determinant
det(
A
) =
(
1
*
2
*
-10
)
+
(
-1
*
-1
*
-5
)
+
(
1
*
3
*
-20
)
=
-85
;
Answer
det(A)
det(
A
) =
-85
;
SIZE3×3METHODCofactor expansion (Laplace)

  Calculation methods

  Calculators by size and method

  Sources