Determinant Created 2026-09-24 Updated 2026-10-14
The determinant assigns a scalar to a square matrix. For a linear map on the real plane, it measures signed area scaling: its absolute value tells how much area grows, and its sign records whether the orientation of a vector space is preserved or reversed. In three dimensions, the same idea measures signed volume. Over a field, a square matrix is an invertible matrix exactly when its determinant is nonzero. These are two views of one phenomenon: losing an independent direction collapses full-dimensional volume and makes the original input impossible to recover uniquely.[ref]
Start with an explicit matrix and its action on a vector:
The columns are the images of the standard basis vectors: and . Consequently the unit square with corners becomes the parallelogram with corners . Its area is five. Every small patch of this square undergoes the same linear map, so the factor describes the whole deformation, rather than just one specially chosen boundary. The matrix mixes horizontal and vertical components, but its determinant compresses that combined effect into one area factor.[ref]
Now exchange the columns:
The parallelogram occupies exactly the same region, but its generating vectors arrive in the opposite order. Moving from the first column to the second now turns clockwise rather than counterclockwise. Ordinary area remains five; the oriented volume in two dimensions changes sign. A negative determinant therefore signals reversed orientation of a vector space, not a negative amount of material. Keeping the sign makes successive reversals calculable: two reversals restore the original orientation of a vector space.
Compare a singular matrix:
Its columns are linearly dependent: the second is twice the first. The unit square collapses onto the segment from to , which has zero area despite nonzero length. Since , the kernel of a linear map contains a nonzero vector; inputs differing by that vector have identical outputs. The collapsed picture explains why an inverse matrix cannot exist.
Figure 1.
The unit square, determinant five, reversed orientation, and collapse to zero area
. Details.
For , recovery is possible, and the complete matrix multiplication check is
Here is the identity matrix. The inverse matrix restores the original square, shrinking its area by . Generally, the adjugate identity gives whenever the determinant is nonzero over a field; this is why the denominator matters.[ref]
The multiplicativity of the determinant describes two successive deformations. Matrix multiplication means that applies first, then . Take
The first linear map doubles area; the second multiplies the resulting area by five. Thus the unit square passes through areas , with the last parallelogram bounded by . Direct calculation agrees:
This explains physically why area factors multiply instead of adding. The general identity holds for square matrices of the same size, including singular matrices. If either stage loses a direction, later processing cannot recover the discarded information.[ref]
Figure 2.
Successive linear maps multiply area factors: one becomes two, then ten
. Details.
The same interpretation works in three dimensions without drawing a new picture. The diagonal matrix
sends the unit cube to a rectangular box with side lengths two, three, and one. Its ordinary volume is six. The minus sign comes from reversing the third direction, so the oriented volume is minus six. Replacing the last diagonal entry by zero flattens the cube into a planar region: its area may be positive, but its three-dimensional volume is zero. This distinction matters whenever a linear map changes shape: the determinant measures size in the full input dimension, rather than the size of whichever lower-dimensional object remains.
The determinant measures neither trace nor perimeter. For , the trace happens also to be five, but the identity matrix in two dimensions has trace two and determinant one. The first parallelogram above has perimeter , compared with four for the unit square; boundary length follows a different rule. Nor does determinant one require every length to stay fixed: the diagonal matrix preserves area while stretching one direction and compressing the other.
These properties make the determinant useful when coordinates obscure what a deformation does. A nonzero determinant certifies that linearly independent input directions remain distinguishable; its magnitude counts the area or volume represented by a transformed cell. That second role reappears in the change of variables formula, where the Jacobian determinant corrects the sizes of small cells. Signed volume also separates a deformation that reverses the orientation of a vector space from one that merely stretches it, even when both give identical ordinary volume factors.[ref]
For general , regard the columns as ordered arguments. The determinant is the unique alternating multilinear map to the scalar field normalized by . The multilinearity of the determinant means linearity in each column separately, with all others held fixed:
Alternation means equal columns give zero; exchanging columns negates the result. Normalization sets the oriented volume of the standard basis to one. These properties also hold in rows. For real three-dimensional columns, their determinant is the scalar triple product, and its absolute value is the enclosed volume. Over other fields, the algebraic definition still works even without a geometric notion of positive volume.[ref]
Separate linearity does not mean the determinant is a linear map on the whole matrix. Scaling every column of an -by- matrix by gives . For our two-dimensional example, : doubling both directions quadruples area. The power records how many independent directions are being scaled together.
The properties suggest practical computations. Adding a multiple of one column to another preserves the determinant: the extra term has repeated columns and vanishes. This is the algebra behind an area-preserving shear mapping. Alternatively, expansion along a row uses cofactors, each a matrix minor multiplied by a sign:
where deletes row and column . The Leibniz formula for determinants supplies the general entry formula. Both calculations encode the same geometric invariant; the defining properties explain their structure without requiring memorization of a separate recipe for every size.[ref]
Laplace expansion Created 2026-10-18 Updated 2026-10-20
Expand the determinant along any fixed row using the displayed formula, where deletes row and column . The signed matrix minors are its cofactors. Applying the same formula to the transpose gives the column expansion. The row formula follows from the Leibniz formula for determinants by grouping permutations according to the selected column in row . For a lower triangular matrix, expanding along the first row reduces the determinant to times a smaller triangular determinant; induction gives the product of all diagonal entries, even when some vanish.
Let be the square matrix whose th column is . The Leibniz formula for determinants is precisely the stated contraction:
A square matrix has zero determinant exactly when its columns are linearly dependent, proving the required equivalence. One direction also follows directly from multilinearity and antisymmetry of a multilinear map: replacing one column by a linear combination of the others leaves only terms with repeated columns, each zero. Conversely, nonzero determinant gives an inverse matrix and hence independent columns.
The determinant is unchanged by transposition: . In the Leibniz formula for determinants, replacing each permutation by its inverse interchanges the row and column roles without changing its sign of a permutation.
The Leibniz formula for determinants is unchanged by interchanging rows and columns, or equivalently replacing each permutation by its inverse. Thus
Use the Leibniz formula for determinants:
For a nonzero product in an upper triangular matrix, every selected column must satisfy . But a permutation has , so every one of these inequalities is an equality. Only the identity permutation can contribute. Its sign is positive and its product is , which proves the result even if some diagonal entries vanish.
View as the matrix of a linear map of matrix rank . Choose vectors whose images form a basis of , extend them by a basis of to a basis of , and extend to a basis of . In these two bases the matrix of is the rank normal form
The two changes of basis give invertible with the displayed matrix equal to .
For the block upper triangular matrix , every nonzero term in the Leibniz formula for determinants sends the rows belonging to into the columns belonging to ; bijectivity then sends the remaining rows into the columns. The permutation sum consequently factors into the determinant sums for and , proving
Finally suppose , so : the map is an intertwining operator. If lies in the generalized eigenspace of for , then for some ,
Because and have no common eigenvalue, is invertible, hence . The generalized eigenspaces of span , so . Thus the Sylvester equation operator is injective.
Interchanging two rows reverses the sign of an alternating multilinear map, so
In the Leibniz formula for determinants, the same result follows by composing every permutation with the corresponding transposition, which reverses its sign.
The Leibniz formula for determinants is
Equivalently, the determinant is the unique alternating function of the rows that is multilinear and takes value one on the identity matrix. Multiplying one row by therefore gives
Choose
The Leibniz formula for determinants shows that its leading term is , as required. A scalar is an eigenvalue exactly when has a nonzero kernel, equivalently when it is singular, so
The fundamental theorem of algebra gives a complex root of the degree- polynomial , so every nonempty complex square matrix has at least one complex eigenvalue.
Each entry of is, up to sign, the determinant of an minor whose entries are affine polynomials in . The Leibniz formula for determinants therefore makes each adjugate entry a polynomial in of degree at most .
For arbitrary , choose positive sequences for which and are nonsingular. The nonsingular identity from part (b) applies to their product:
Every entry is a polynomial, hence continuous, in the matrix entries. Letting proves
for all square matrices.
For , the determinant is
For
any nonzero term in the Leibniz formula for determinants must match every row in the lower block to a column in the block. The remaining upper rows must then match the columns. The sum consequently factors into the determinant sums for the two diagonal blocks:
Expand the determinant of the matrix from part (b) by the Leibniz formula for determinants. A matrix entry is a signed sum of monomials arising from the possible corners at its crossing. Choosing one summand in every row chooses one corner at every crossing, while choosing distinct columns puts exactly one chosen corner in every region with and none in the two deleted regions . The surviving determinant terms are therefore in bijection with the Kauffman states .
The sign of a permutation in the determinant together with the corner signs gives , and multiplying the corner monomials gives . Since part (b) identifies this determinant with the Alexander polynomial of a knot up to a unit,
The Leibniz formula for determinants gives . Relabel the product by and then the sum by . The inverse permutation has the same sign, so
The proof applies to any finite square matrix.
Write the determinant in its Leibniz formula for determinants, where is the set of permutations of :
The permutation sign is justified by the given row-interchange property: a permutation matrix is obtained from the identity matrix by row interchanges, and every interchange changes its determinant by a factor . Reversing a sequence of interchanges constructs the inverse permutation with the same number of interchanges. Consequently . The Leibniz formula for determinants can itself be obtained by expanding the rows multilinearly in the standard basis: repeated selected coordinate rows contribute zero, and the remaining terms are precisely these signed permutation matrices.
Since , the same formula gives
Reindex the product with and reindex the sum with . Both reindexings are bijections, so
Thus for every real square matrix, including singular matrices. This proof does not assume the analogous column-operation rules in order to establish the transpose identity.
Permanent (mathematics) Created 2026-10-14 Updated 2026-10-20
The permanent of a matrix adds the products obtained by choosing one entry in each row and one in each column. For an matrix with entries in the real numbers or complex numbers,
Here each permutation chooses column in row , and the symmetric group lists every such bijection. The formula resembles the Leibniz formula for determinants, but omits the sign of a permutation. For a two-by-two matrix,
The absence of alternating signs makes the permanent of a matrix particularly useful for counting allowed assignments.
For a zero-one matrix, let rows represent people, columns represent jobs, and mean that person can do job . This is the biadjacency matrix of a bipartite graph. A product in the permanent is one exactly when all the selected assignments are allowed; otherwise it is zero. Each surviving permutation assigns every person a different job, which is a perfect matching. Thus the permanent counts perfect matchings. This interpretation and the definition are given in Yufei Zhao, Probabilistic Methods in Combinatorics, §10.2, pp. 178–179.
For a fully enumerated example, take
Among the six permutations of three columns, exactly three give nonzero products: , and . These tuples list the chosen column in each successive row. Each product is one, so . Their permutation signs are , giving . The diagram displays all three allowed assignments.
Figure 1.
Three allowed one-to-one assignments contribute positively to the permanent, while their permutation signs give a determinant of minus one
. Details.
A zero determinant need not mean that no assignment exists. The two-by-two all-ones matrix has permanent and determinant : its two assignments cancel in the determinant. The nonzero determinant criterion for a perfect matching is sufficient for existence, but the converse fails for a fixed zero-one matrix.
For nonnegative entries, the permanent instead sums assignment weights, with each assignment weighted by the product of its selected entries. It is then a total weight rather than necessarily an integer count. With arbitrary entries in the real numbers or complex numbers, even the permanent can have cancellation; the counting interpretation specifically uses zero-one entries. The permanent as probability of distinct independent choices gives another useful nonnegative interpretation.
There are terms in the defining sum, linking direct evaluation to the factorial. For the all-ones matrix, every term is one and the permanent is exactly ; the identity matrix has permanent one. Finding one allowed assignment and counting all allowed assignments are different questions. Their relationship to computational complexity theory was studied in L. G. Valiant, The complexity of computing the permanent, Theoretical Computer Science 8(2), 189–201, 1979. The elementary sum is useful for small examples, while the existing dense permanent approximation describes a more specialized way of estimating large counts.