2×2 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 2×2 matrix

A 2×2 matrix has two rows and two columns. Call the entries of the first row a and b, and the entries of the second row c and d. The determinant is the product of the main diagonal minus the product of the other diagonal:

det(A) = a·d − b·c

That single subtraction is the whole calculation. No expansion and no row reduction are needed, which is why the 2×2 case is the building block for every larger determinant: cofactor expansion of a 3×3 matrix ends in three 2×2 determinants.

  Worked example

Take the matrix with rows (3, 5) and (2, 4). The main diagonal gives 3·4 = 12. The other diagonal gives 5·2 = 10. So det(A) = 12 − 10 = 2.

Watch the signs when entries are negative. For rows (−1, 6) and (2, −3) the main diagonal gives (−1)·(−3) = 3 and the other diagonal gives 6·2 = 12, so the determinant is 3 − 12 = −9.

  What the result tells you

If the determinant is zero, the two rows are multiples of each other, the matrix is singular and it has no inverse. For rows (2, 4) and (1, 2) you get 2·2 − 4·1 = 0. If the determinant is not zero, the matrix is invertible and the same number appears in the denominator of the 2×2 inverse formula.

Geometrically, the absolute value of the determinant is the area of the parallelogram spanned by the two rows, and the sign says whether the orientation is preserved or flipped.

The calculator above is set to a 2×2 matrix. Enter integers, decimals, fractions or complex numbers and it shows the same two products and the subtraction.

  2×2 determinant worked example

Write the initial matrix
A
:
A
=
3
2
5
4
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
=
3
2
5
4
=
4
=
4
;
3
M1,2
M
0
1,2
=
3
2
5
4
=
2
=
2
;
4
Matrix determinant
det(
A
) =
(
1
*
3
*
4
)
+
(
-1
*
5
*
2
)
=
2
;
Answer
det(A)
det(
A
) =
2
;
SIZE2×2METHODCofactor expansion (Laplace)

  Calculation methods

  Calculators by size and method

  Sources