icon-Determinante Determinant Calculations

Determinant Calculators

The following Online-Calculators compute the determinant of 2x2, 3x3, 4x4 and NxN matrices.

Determinant History

Determinants historically considered before the matrices. Originally a determinant was defined as a property of a system of linear equations. The determinant "determines" whether the system of equations has a unique solution (this is exactly the case if the determinant is non-zero). In this context, 2x2 matrices were treated by Cardano at the end of the 16th century and larger matrices by Leibniz about 100 years later.

Determinant

Each square matrix can be assigned a unique number, which is called the determinant (det (A)) of the matrix. In general, the determinant of an NxN matrix is defined by the Leibniz formula:

det A= σ Sn sgn σ Π i = 1 n Aiρi

here the sum has to be extended over all the permutations σ. Thus, from the elements of A, all possible products are formed for each n-element in such a way that each of the products of each row and column contains exactly one element. These products are added and the sum is the determinant of A. The sign of the summands is positive for even permutations and negative for odd permutations.

Cramers Rule

The Cramers rule uses determiants to solve a system of linear equations. For the case of a linear (N×N) system of equations with det(A) not equal to 0, the solution can be expressed in the following form:

x=A-1b

xi=1det A a11b1a1n a21b2a2n an1bnann

xi=DiD

The determinant in the numerator Di from D = det A is shown by the i-th column in D is replaced by b.

Cramers Rule Calculator

a11x+a12y=b1

a21x+a22y=b2

a11= a12= b1=

a21= a22= b2=

Definitions

The matrix A is called Regular if the determinant of A is not equal to 0.

The matrix A is called Singular if the determinant of A is equal to 0.

The matrix A is Invertible if the determinant of A is not equal to 0.

Conclusions from the multiplication theorem:

det(AB)=det(BA)

det(C-1AC)=det(A)

Determinant Calculation Rules

Interchanging two Rows of the determinant

The interchanging two rows of the determinant changes only the sign and not the value of the determinant.

det A= a11a12a1n aj1aj2ajn ak1ak2akn an1an2ann

=- a11a12a1n ak1ak2akn aj1aj2ajn an1an2ann

Interchanging two Columns of the determinant

The interchanging two columns of the determinant changes only the sign and not the value of the determinant.

det A= a11a1ja1ka1n a21a2ja2ka2n an1anjankann

=- a11a1ka1ja1n a21a2ka2ja2n an1ankanjann

Factor in a Row of the determinant

Extracting a common factor from a row. A common factor in all elements of a row can be drawn as a multiplier before the determinate. The value of the determinate is then obtained from the multiplication of the factor with the value of the resulting determinate det A'.

det A= a11a12a1n λaj1λaj2λajn an1an2ann

=λ a11a12a1n aj1aj2ajn an1an2ann =λdet A'

Extracting a common factor from a column. A common factor in all elements of a column can be drawn as a multiplier before the determinate. The value of the determinate is then obtained from the multiplication of the factor with the value of the resulting determinate det A'.

det A= a11λa1ja1n a21λa2ja2n an1λanjann

=λ a11a1ja1n a21a2ja2n an1anjann =λdet A'

Addition of Rows

Addition of a row of the determinant with the multiple of another row. The value of a determinant does not change when a multiple of another row is added to the row.

det A= a11a12a1n aj1aj2ajn ak1ak2akn an1an2ann

= a11a12a1n aj1+λak1aj2+λak2ajn+λakn ak1ak2akn an1an2ann

Addition of Columns

Addition of a column of the determinant with the multiple of another column. The value of a determinant does not change when a multiple of another column is added to the column.

det A= a11a1ja1ka1n a21a2ja2ka2n an1anjankann

= a11a1j+λa1ka1ka1n a21a2j+λa2ka2ka2n an1anj+λankankann

Multiplication Theorem

The determinant of the product of two matrices is the product of the determinants of the matrices.

det(AB)=det(A)det(B)

It also follows the following relationship.

det(Ak)=det(A)k

Transposition Theorem

The determinant of a transpose matrix is equal to the determinant of the matrix itself.

det(AT)=det(A)

Inverse Matrix

The determinant of the inverse of a matrix is ​​equal to the reciprocal of the determinant of the matrix itself

det(A-1)=det(A)-1=1det A

Box Theorem

Has a determinant following box structur with square boxes B and D, then lets its determinant as the product of the determinants of B and D directions.

det A= BC 0D = det(B)det(D)

det A= B0 CD = det(B)det(D)

Calculating the Value of the Determinant

Determinant of 0x0 Matrix

The determinant of a 0x0 matrix is defined as 1.

Determinant of 1x1 Matrix

A 1x1-matrix is a matrix with only one element and the determinant is given by the element itself.

det A= a11 =a11

Determinant of 2x2 Matrix

For a 2x2-matrix, the determinant is calculated as follows.

det A= a11a12 a21a22 =a11a22-a21a12

Determinant of 3x3 Matrix

For the calculation of 3x3 determinant there are different ways. With the Lapace development it is possibel to reduce the determinant to 2x2 determinantes. A direct way to compute the determinant is the Sarrus Rule. The Sarrus rule states that the determinant of a square 3x3 matrix is calculated by subtracting the sum of the products of the main diagonals from the sum of the products of the secondary diagonals.

Determinant of a 3x3 matrix according to the Sarrus Rule

The determinant is calculated as follows by the Sarrus Rule. Schematically, the first two columns of the determinant are repeated so that the major and minor diagonals can be virtual connected by a linear line. Then one makes the products of the main diagonal elements and adds this products. With the secondary diagonals you shall do the same. The difference between the two gives the determinant of the matrix.

det A= a11a12a13 a21a22a23 a31a32a33 a11a12 a21a22 a31a32

=a11a22a33+a12a23a31+a33a21a32

-a31a22a13+a32a23a11+a33a21a12

Calculate the determinant of a 3x3 matrix.

det A= a11a12a13 a21a22a23 a31a32a33

Input fields for the elements of the 3x3 matrix.

a11= a12= a13=

a21= a22= a23=

a31= a32= a33=

Determinant of NxN Matrix

Laplace Expansion Theorem

The Laplacian development theorem provides a method for calculating the determinant, in which the determinant is developed after a row or column. The dimension is reduced and can be reduced further step by step up to a scalar.

det A= i = 1 n -1 i + j a i j det A i j ( Expansion on the j-th column )

det A= j = 1 n -1 i + j a i j det A i j ( Expansion on the i-th row )

where Aij, the sub-matrix of A, which arises when the i-th row and the j-th column are removed.

Example of the Laplace expansion according to the first row on a 3x3 Matrix.

det A= a11a12a13 a21a22a23 a31a32a33

The first element is given by the factor a11 and the sub-determinant consisting of the elements with green background.

a11a12a13 a21a22a23 a31a32a33 => a11 a22a23 a32a33

The second element is given by the factor a12 and the sub-determinant consisting of the elements with green background.

a11a12a13 a21a22a23 a31a32a33 => a12 a21a23 a31a33

The third element is given by the factor a13 and the sub-determinant consisting of the elements with green background.

a11a12a13 a21a22a23 a31a32a33 => a13 a21a22 a31a32

With the three elements the determinant can be written as a sum of 2x2 determinants.

det A= a11a12a13 a21a22a23 a31a32a33

= a11 a22a23 a32a33 - a12 a21a23 a31a33 + a13 a21a22 a31a32

It is important to consider that the sign of the elements alternate in the following manner.

+-+ -+- +-+

Example of the Laplace expansion according to the second column on a 3x3 Matrix.

det A= a11a12a13 a21a22a23 a31a32a33

The first element is given by the factor a12 and the sub-determinant consisting of the elements with green background.

a11a12a13 a21a22a23 a31a32a33 => a12 a21a23 a31a33

The second element is given by the factor a22 and the sub-determinant consisting of the elements with green background.

a11a12a13 a21a22a23 a31a32a33 => a22 a11a13 a31a33

The third element is given by the factor a23 and the sub-determinant consisting of the elements with green background.

a11a12a13 a21a22a23 a31a32a33 => a23 a11a13 a21a23

With the three elements the determinant can be written as a sum of 2x2 determinants.

det A= a11a12a13 a21a22a23 a31a32a33

= - a12 a21a23 a31a33 + a22 a11a13 a31a33 - a32 a11a13 a21a23

It is important to consider that the sign of the elements alternate in the following manner.

+-+ -+- +-+

Example of the expansion according to the j-th row of a NxN determinant.

The Laplace expansion reduces the NxN determinant to a sum of (N-1)x(N-1) determinants.

det A= a11a12a1n aj1aj2ajn an1an2ann

=±aj1 a12a1n aj-12aj-1n aj+12aj+1n an2ann

±aj2 a11a13a1n aj-11aj-13aj-1n aj+11aj+13aj+1n an1an3ann

±±ajn a11a12a1n-1 aj-11aj-12aj-1n-1 aj+11aj+12aj+1n-1 an1an2ann-1

Reduction of a 4x4 matrix according to the Laplace expansion theorem

Using a 4x4 matrix as an example, the calculation of the determinant is reduced to the calculation of 3x3 determinants. The example calculator expanse the determinant along the second row.

Calculate the determinant of a 4x4 matrix.

det A= a11a12a13a14 a21a22a23a24 a31a32a33a34 a41a42a43a44

Input fields for the elements of the 4x4 matrix.

a11= a12= a13= a14=

a21= a22= a23= a24=

a31= a32= a33= a34=

a41= a42= a43= a44=

Gauss Method

With the Gauss method, the determinant is so transformed that the elements of the lower triangle matrix become zero. To do this, you use the row-factor rules and the addition of rows. The addition of rows does not change the value of the determinate. Factors of a row must be considered as multipliers before the determinat. If the determinat is triangular and the main diagonal elements are equal to one, the factor before the determinant corresponds to the value of the determinant itself.

det A= a11a12a1n aj1aj2ajn an1an2ann

=λ 1a12a1n 01ajn 001 =λdet A'=λ

Calculator for calculating the determinant by the Gauss method

Note

If leading coefficients are zero, columns or lines must be exchanged accordingly before use, so that a division by the leading coefficient is possible. The value for the determinant is correct when after the transformations the lower triangle matrix is zero and the elements of the main diagonals are all equal to 1.

Dimension of the matrix N =

Number of digits =

Input of the matrix elements: a11, a12, ...

Transformation of the determinant