The determinant is an operation on square matrices. For a square matrix , denotes the determinant of the square matrix .
This article introduces three definitions of the determinant. It can be proved that the definitions given here are equivalent.
Definition by permutations
Prerequisites: Permutations, inversion count.
This method can be used to calculate determinants of low order by hand; its time complexity is factorial in the order.
Let denote the inversion count of the permutation , and let be the set of all permutations of length . Notation:
The -th order determinant represented above is the algebraic sum of terms. These terms are, for every possible selection of distinct rows and distinct columns from the square matrix , the products of elements, namely .
The sign preceding the term is . In other words, the sign is positive when is an even permutation, and negative when is an odd permutation.
The diagonal rule for second- and third-order determinants is, in fact, an application of the definition by permutations. Determinants of fourth order and above are no longer suitable for the diagonal rule for the same reason. In particular, a first-order determinant is simply the element itself.
Theorem: From an -th order determinant, select elements from rows and columns and take their product
Here, and are both permutations of the numbers ; there are such numbers. Then the sign of this term in the determinant is , where
Theorem: A determinant is equal to its transpose.
Theorem: Suppose that every element of the determinant in row can be expressed as the sum of two terms:
Then this determinant is equal to the sum of two determinants, and . In , row is , while in , row is ; all other rows of and are the same as those of . The same property holds for columns.
Definition by induction
This method only describes an algebraic property of determinants. Its time complexity is also factorial in the order, so it is not suitable for calculation.
Algebraic cofactors
In an -th order determinant , choose any rows and columns of matrix —specifically, rows and columns. The -th order matrix formed by the elements at the intersections of these rows and columns is called a -th order submatrix, and its determinant is called a -th order minor.
For an -th order determinant , the element has a minor matrix : in the original matrix , after deleting the row and column containing , it is the remaining -th order submatrix; its determinant is called the minor.
For an -th order determinant , the element has minor ; after the minor is multiplied by the sign , it is called the algebraic cofactor of , denoted by .
The following conclusion can be derived from the definition by permutations in the previous section:
Theorem: If, in an -th order determinant , all elements in row or column except are , then the determinant is equal to the product of and its algebraic cofactor .
Expansion of determinants
Since transposing a square matrix does not change its determinant, it is enough to introduce either row expansion or column expansion.
The determinant is defined as the sum of the products of all elements in any one of its rows (or columns) and their corresponding algebraic cofactors.
In other words, a determinant can be defined recursively by its expansion along a row (or column):
The recursion terminates at the determinant of a first-order matrix, which is simply its only element.
Therefore, we have the following conclusion:
Theorem: The sum of the products of the elements in one row (or column) of a determinant and the corresponding algebraic cofactors of another row (or column) is equal to .
In other words, when :
Axiomatic definition
The axiomatic definition says that an operation satisfying certain properties can only be the determinant.
Prerequisite: Elementary operations.
Let denote a scaling matrix, a transposition matrix, and a shear matrix.
For an -th order matrix , the operation , if it satisfies the following four properties, is called a determinant:
-
Multiplying all elements in one row or one column of a determinant by a number simultaneously is equivalent to multiplying the determinant by .
-
Swapping two rows or two columns of a determinant changes the sign of the determinant.
-
Multiplying the elements in one row or one column of a determinant by the same number and adding them to the corresponding elements in another row or column leaves the determinant unchanged.
-
The determinant of the identity matrix is .
Using the properties of determinants under elementary operations makes it convenient to calculate higher-order determinants by hand. The determinant calculation using Gaussian elimination method also uses this property, with time complexity .
The above properties also have several corollaries:
- A common factor of one row or one column of a determinant can be taken outside the determinant symbol.
- If all elements in one row or one column of a determinant are , then the determinant is .
- If corresponding elements in two rows or two columns of a determinant are proportional, then the determinant is .
- If two rows or two columns of a determinant are identical, then the determinant is .
These corollaries are very commonly used when calculating determinants by hand.