Determinants: Linear Algebra Study Notes
October 11, 2026
š¢ Determinants
- Definition and notation of the determinant
- Low dimensions: empty, 1 Ć 1, 2 Ć 2 (parallelogram area) and 3 Ć 3 (rule of Sarrus)
- Equivalent definitions: multiplicative property, elementary transformations, Leibniz formula, alternating multilinear form
- Determinants over a commutative ring and generic determinants
- Properties: zero test, transformations, invertibility, Laplace expansion, adjugate matrix
- Invariance under ring homomorphisms and the Hadamard bound
- Other determinants: endomorphisms, n vectors, quadratic forms
- Derivative of the determinant (Jacobi's formula)
- Computation: Gaussian elimination, decompositions, faster methods
- Uses in linear algebra, geometry, eigenvalues, functions (Jacobian, Wronskian) and vector geometry
- Generalizations: immanant, exterior algebra, finite-dimensional algebras
š” What Is a Determinant?
The determinant is a scalar-valued function of the entries of a square matrix. It has many properties that make it fundamental for the study of square matrices and of the linear transformations they represent.
- Common notations for the determinant of a matrix : , , or .
- For dimensions two and three, it is explicitly:
Key ideas at a glance
- A simple, conceptual definition: the determinant is the unique function that maps a product of matrices to a product of scalars and whose value on a triangular matrix is the product of the diagonal entries.
- So the determinant of a product of two square matrices is the product of their determinants.
- A square matrix is invertible if and only if its determinant has a multiplicative inverse. Over a field, this means the determinant is nonzero.
- The adjugate matrix gives an explicit expression of the inverse matrix.
- Two similar matrices have the same determinant, so the determinant of a linear transformation is well defined.
- For real linear transformations, the determinant is the scale factor by which the transformation alters every volume:
- positive if orientation is preserved
- negative if orientation is reversed
- zero if the transformation is not bijective
- The determinant is linear in each row and each column, so it is a multilinear function.
- Laplace expansion expresses the coefficients of this linear combination as determinants of one dimension less, called cofactors. It is useful when rows or columns are very sparse (only one or two nonzero entries).
Where determinants occur
| Area | Role of the determinant |
|---|---|
| Linear systems | Cramer's rule expresses the solution in terms of determinants |
| Eigenvalues | The characteristic polynomial is a determinant with polynomial entries; its roots are the eigenvalues |
| Geometry | Areas, volumes, space orientation and colinearity |
| Analysis | The Jacobian determinant gives the change of variables in multiple integrals; its non-nullity is a hypothesis of the implicit function theorem |
| Algebraic geometry | The Hessian determinant allows finding inflexion points of an algebraic plane curve |
Determinants can be computed efficiently with Gaussian elimination and singular value decomposition. The Leibniz formula or Laplace expansion can compute them theoretically, but this is inefficient except in special cases.
š Low Dimensions
Dimension below 2
- Matrices with fewer than two rows and columns are rarely considered per se, but may occur when working with matrices where is an unspecified natural number.
- A matrix is the empty matrix (no rows, no columns, no entries). By the usual conventions for the empty set and the empty product, its determinant is 1.
- A matrix has a single entry, and its determinant equals that entry: .
Coherency of these conventions. For an matrix with nonzero determinant , the inverse is the multiplication by of the adjugate matrix, whose entries are (up to sign) determinants of submatrices. For , the single entry of the adjugate is the determinant of the empty matrix, which is 1. So
which is what is expected for matrices.
Two by two matrices
This simple form allows verifying by direct computation the properties listed under Properties below.
Parallelogram area
A main use of determinants is computing the area of the parallelogram defined by two vectors in a Euclidean plane.
- The column vectors and define a parallelogram with vertices , , and .
- Its area is the absolute value of .
- The sign gives the relative orientation of the vectors:
- positive if one passes from to by a counterclockwise rotation
- negative if a clockwise rotation is needed
- zero if the vectors are aligned
- So the determinant is the signed area of the parallelogram. The proof can be done with trigonometry or by dissection and rearrangement.
3 Ć 3 matrices
By the Leibniz formula:
- The rule of Sarrus is a mnemonic for this expanded form: the sum of the products of the three diagonal lines running north-west to south-east, minus the sum of the products of the three diagonal lines running south-west to north-east, when copies of the first two columns are written beside the matrix.
- This scheme does not carry over into higher dimensions.
š Definitions
The determinant of a square matrix is a scalar uniquely associated to it. Commonly the entries and determinants are real or complex numbers, but more generally the entries may belong to any commutative ring, in which case the determinant belongs to this ring.
For a square matrix with rows and columns
the determinant is denoted , , or by vertical bars around the array of entries.
- Several equivalent definitions exist; which is primary depends on the author and the level of generality.
- Here, the multiplicative property is chosen as the primary definition because it is simple and needs no specific background.
- In this section the scalars are assumed to belong to a field. The multiplicative and elementary-transformation characterizations remain valid over an integral domain, but their equivalence requires a different argument (fraction-free elimination and cancellation instead of ordinary Gaussian elimination).
Definition by multiplicative property
The determinant is the unique function from square matrices to scalars that
- maps a product of matrices of the same size to the product of their determinants:
- maps every triangular matrix to the product of its diagonal entries:
Such a definition requires a proof that the function exists and is unique. This is a byproduct of the proof of equivalence with the other definitions.
Definition by elementary transformations
An elementary row transformation is one of three types, where denotes the th row:
| Type | Transformation |
|---|---|
| 1 | Multiply one row by a scalar: |
| 2 | Add to a row a scalar multiple of another row: |
| 3 | Exchange two rows: |
- Elementary column transformations are defined similarly.
- Type 3 can be obtained as a succession of types 1 and 2:
Definition. The determinant is the unique function of the entries of a square matrix such that:
- the determinant of the identity matrix is 1
- type 1 transformations multiply the determinant by the involved scalar
- type 2 transformations do not change the determinant
It follows that type 3 transformations multiply the determinant by .
Why it is equivalent to the multiplicative definition:
- amounts to left-multiplying by a diagonal matrix with all diagonal entries 1 except the th, which is .
- amounts to left-multiplying by a triangular matrix with all diagonal entries 1, entry in row and column , and all other entries zero.
- A function satisfying the multiplicative definition satisfies the elementary one, since the identity matrix is triangular and the other conditions are the multiplicative property with an elementary matrix as left factor.
- Conversely, over a field Gaussian elimination shows every matrix is a product of elementary matrices (zero allowed as a scalar for type 1). To prove , express as such a product and use associativity of the matrix product.
- Uniqueness also follows from Gaussian elimination: any matrix can be transformed to a row echelon form (a triangular matrix). This shows that two determinant functions agree on every such path and are therefore identical. It does not by itself prove existence, since it does not show the value is independent of the elimination path. A function with the defining properties must still be constructed.
Leibniz formula
The Leibniz formula is one of the most common definitions. It is an explicit expression of the determinant as a multivariate polynomial in the matrix entries, and it makes sense over a general commutative ring (no field or integral domain needed). Proving it satisfies the preceding definitions gives the required existence proof.
It uses permutations and their signatures:
where runs over all permutations of .
- For the empty matrix, . For , .
- Otherwise the formula is often expanded as
Levi-Civita symbol variant. The symbol is defined on -tuples of integers in as 0 if two of the integers are equal, and otherwise as the signature of the permutation formed by the tuple. Then
Why the Leibniz formula satisfies the other definitions: one proves it is an alternating multilinear form taking the value 1 on the identity matrix.
- Multilinearity holds because the formula is a homogeneous polynomial of degree one in the entries of each column.
- Being alternating and equal to 1 on the identity follows from basic properties of permutations.
Alternating multilinear form
The determinant can also be defined as the unique alternating multilinear form of the columns (or rows) that takes the value 1 on the identity matrix.
Regard an matrix as composed of its columns, .
- Multilinear: if and differ in one column only, then for every scalar
- Alternating: the form takes the value 0 if two columns are equal.
Equivalence with the earlier definitions follows by checking the elementary-transformation properties, which is straightforward.
Over a commutative ring
The determinant is also defined for matrices with entries in a commutative ring , and then it is an element of . A common example is the Jacobian determinant, where entries and determinant are differentiable functions.
- The Leibniz formula and the alternating multilinear definition, and their equivalence, remain valid in this more general case. They imply the properties used in the multiplicative and elementary-transformation definitions.
- They also imply invariance under ring homomorphisms: if is a homomorphism of commutative rings and is the matrix obtained by applying to the entries of , then .
Generic determinant
A generic matrix has distinct indeterminates as entries.
- By the Leibniz formula, the determinant of a generic matrix is a polynomial in these indeterminates with integer coefficients, called a generic determinant.
- For an matrix with the indeterminates , the entries and determinant belong to the polynomial ring (and thus to its field of fractions).
- An matrix over a commutative ring defines a ring homomorphism mapping each to the corresponding entry of . By invariance, maps the generic determinant to .
- Proof strategy: to prove properties over a commutative ring that is not an integral domain, it often suffices to prove them over fields, transfer them to integral domains by invariance under ring homomorphisms, and then transfer to using .
- The generic determinant is an irreducible polynomial.
āļø Properties
Basic rules
These are parts or immediate consequences of the definitions and are often used implicitly.
Zero test. A determinant equals zero if:
- all entries of a row or column equal 0
- two rows or columns are equal
- a row or column is a linear combination of the other rows or columns
- a linear combination of rows or columns, with at least one nonzero coefficient, has all entries equal to zero
Immediate computation:
- The determinant of an identity matrix is 1.
- The determinant of a diagonal matrix is the product of its diagonal entries.
- The determinant of a triangular matrix is the product of its diagonal entries.
Simple transformations:
| Operation | Effect on the determinant |
|---|---|
| Interchange two rows or two columns | Multiplies by |
| Multiply a row or column by a scalar (homogeneity) | Multiplies by the same scalar |
| Transpose the matrix | Unchanged |
| Add to a row or column a scalar multiple of another | Unchanged |
| Add to a row or column a linear combination of the others | Unchanged |
Matrix multiplication:
- .
- Similar matrices have the same determinant: if for an invertible , then .
Invertibility:
- Over a field, a matrix is invertible if and only if its determinant is nonzero.
- Over a commutative ring, a matrix is invertible if and only if its determinant is invertible in the ring; the inverse's entries then also belong to the ring.
- A square matrix of integers has an integer inverse if and only if its determinant is or .
Laplace expansion
By the Leibniz formula, a determinant is a homogeneous polynomial of degree one in the elements of each row or column. For of order :
where is the cofactor of , a polynomial in the other entries. This is the expansion along the th row; expansion along the th column is defined similarly.
The cofactors are given explicitly by
where is the minor: the determinant of the order matrix obtained by removing the th row and th column.
Example. Expansion along the first row of a matrix:
Efficiency and use:
- Used iteratively, it is inefficient for large matrices. A naive implementation needs sub-determinants; even memoizing them, there are sub-determinants, an exponential algorithm, whereas Gaussian elimination is polynomial time.
- It can be useful for proving by recursion formulas that depend on parameters.
- It is useful for sparse matrices. If is the unique nonzero entry of its row or column, then .
Adjugate matrix
The adjugate is the transpose of the matrix of cofactors:
For every matrix,
So the inverse of a nonsingular matrix is
Invertibility in depth
- By the multiplicative property, over every commutative ring, if a matrix is invertible then its determinant is invertible.
- Conversely, by the adjugate formulas, if the determinant is invertible in a commutative ring containing the entries, the matrix is invertible in that ring.
- A matrix of integers is invertible over the integers iff its determinant is . Such a matrix is called unimodular.
- Invertible matrices over a commutative ring form a group under multiplication, the general linear group . The most studied are , and .
- Their normal subgroups of determinant-1 matrices are the special linear groups , , .
Invariance under ring homomorphisms
For a ring homomorphism and a matrix over :
- When is an inclusion, the determinant does not depend on whether the entries are viewed in or . The determinant belongs to the smallest ring containing the entries.
- The determinant of an integer matrix is always an integer. For computing it one may use divisions, working over : intermediate values may leave , but the final result is in and is the same as without division.
- When and is an automorphism, the determinant of the conjugate of a complex matrix is the conjugate of its determinant.
- Modular arithmetic: reduce the entries modulo several primes , compute the determinant in each field (possibly with different methods), and recover the result with the Chinese remainder theorem.
- Category theory view: the determinant is a natural transformation between two functors from commutative rings to monoids. The first maps a ring to the monoid (under matrix multiplication) of order- square matrices over it; the second is the forgetful functor mapping a ring to its multiplicative monoid.
Hadamard bound
It is often useful to bound in terms of the size of the entries. Let be with complex entries whose absolute values are at most .
- The triangle inequality applied to the Leibniz formula gives .
- This is rarely used because the following bound is always sharper for :
- Properly speaking, Hadamard inequality is
where is the quadratic norm of the th column.
- Equality holds if and only if the columns are pairwise orthogonal, that is for .
- Geometric counterpart: the volume of the parallelotope defined by vectors in an -dimensional Euclidean space is at most the product of the vector lengths, with equality iff the vectors are pairwise orthogonal.
- If is positive definite, the determinant is bounded by the product of the main diagonal entries (no absolute value needed, since both are real and positive):
This is sometimes also called the Hadamard inequality.
š§© Other Determinants
Several mathematical objects can be represented by square matrices, which allows defining a determinant on them.
| Object | Determinant |
|---|---|
| Endomorphism of a finite-dimensional vector space | Determinant of the matrix representing it on any basis |
| vectors in a space of dimension | Determinant of the matrix of their coordinates on a given basis |
| Quadratic form over a field | Discriminant: determinant of its matrix, defined up to multiplication by a square |
Determinant of an endomorphism
- Two square matrices and represent the same endomorphism on different bases iff they are similar: .
- By the multiplicative property, .
- So the determinant of an endomorphism is well defined and independent of the basis.
Determinant of n vectors
- Given a basis, the coordinates of each vector form a column; together they form a square matrix, whose determinant is the determinant of the vectors.
- It depends on the basis, so one specifies "on the given basis" when several bases are in play.
- In a Euclidean vector space one generally considers only orthonormal bases; then the determinant does not depend on the specific orthonormal basis.
Discriminant of a quadratic form
- A quadratic form over a field is a homogeneous polynomial of degree 2, naturally represented by a square matrix.
- The discriminant is that matrix's determinant, defined only up to a square, so it is an element of , where is the set of nonzero squares in .
š Derivative of the Determinant
Let be a square matrix of differentiable functions of . Since is a polynomial in the entries, it is differentiable in . Jacobi's formula:
where is the trace (sum of diagonal entries), the adjugate, and the matrix of derivatives of the entries.
- If is invertible:
- Partial derivative with respect to an entry (the last equality only for invertible ):
- Change under a small deformation:
- For a deformation of the identity matrix:
Lie algebra application. This identity is used to describe Lie algebras of certain matrix Lie groups. The special linear group is defined by , which shows its Lie algebra is the special linear Lie algebra , consisting of the matrices with trace zero.
š„ļø Computation
- Determinants are mainly a theoretical tool. They are rarely calculated explicitly in numerical linear algebra, where for checking invertibility or finding eigenvalues other techniques have largely supplanted them.
- Computational geometry, however, frequently uses calculations related to determinants.
- The Leibniz rule is extremely inefficient for large matrices: it needs products, so the number of operations grows on the order of . The Laplace expansion is similarly inefficient.
Gaussian elimination
- Left-multiply the matrix by elementary matrices to reach a row echelon form. Restricting to elementary matrices of determinant 1, the echelon form has the same determinant as the original.
- A row echelon form is triangular, so its determinant is the product of its diagonal entries.
- Hence the determinant comes almost for free from Gaussian elimination.
Decomposition methods
Write the matrix as a product of matrices with easily computed determinants. Examples: LU, QR, and Cholesky (for positive definite matrices). These are of order , a significant improvement over .
LU example. Express with:
- a permutation matrix (exactly one 1 in each column, otherwise zeros)
- lower triangular
- upper triangular
The determinants of and are the products of their diagonal entries. is the sign of the permutation ( for an even number of permutations, for odd). Then
Further methods
- Fast matrix multiplication. If two order- matrices can be multiplied in time , where for some , then the determinant can be computed in time . For example, an algorithm exists based on the CoppersmithāWinograd algorithm; the exponent was lowered, as of 2016, to 2.373.
- Division-free algorithms exist for matrices over rings (Gaussian elimination requires divisions). One has complexity and replaces permutations (as in the Leibniz rule) by closed ordered walks, in which several items can be repeated. The sum has more terms, but many products can be reused.
- Bit complexity (bits needed to store intermediate values): Gaussian elimination / LU is , but the bit length of intermediate values can become exponentially long. The Bareiss algorithm, an exact-division method (divisions are performed only without remainder), has the same order but a bit complexity roughly the bit size of the original entries times .
- Matrix determinant lemma: if and are already known, it allows rapid calculation of the determinant of for column vectors and .
- Dodgson condensation, invented by Charles Dodgson (Lewis Carroll), computes determinants but does not always work in its original form.
š§® Uses in Linear Algebra
Determinants are a fundamental tool in linear algebra. They are rarely used in numerical computations, since they are typically a by-product of computations and no faster algorithm for direct computation is known. They are, however, unavoidable in proofs and when matrix entries are functions or depend on parameters.
- Cramer's rule: for a system of linearly independent equations in unknowns, each unknown is a quotient of two determinants formed with the coefficients.
- Adjugate matrix: its entries are determinants of submatrices. For an invertible matrix, each entry of the inverse is an adjugate entry divided by the determinant.
- Rank: the rank is at most if the determinant of every square submatrix of dimension larger than is zero. This is not a good way to compute rank, but it shows immediately that the matrices of rank at most among generic matrices form an algebraic set (in fact an algebraic variety). This plays a fundamental role in the theories of Grassmannians and determinantal ideals.
- Hadamard's inequality: bounds the absolute values of solutions expressible with determinants. Starting from an integer matrix, it bounds the size of every integer in the solution. A common challenge is to design algorithms where no integer used exceeds this bound, as in the Bareiss algorithm and multi-modular arithmetic with Chinese remaindering.
š Uses in Euclidean Geometry
Properties of points in Euclidean space expressed via determinants of their Cartesian coordinates.
Plane geometry
Let , , be three points.
- Colinear iff
- Subtracting the first column from the other two and expanding along the first row:
This is the determinant of the vectors and .
- If the points are not aligned, the absolute value is twice the area of the triangle. The sign gives the triangle's orientation: positive iff is on the left when running from to .
- Replacing with an indeterminate point gives the implicit equation of the line through and :
which, expanding along the first column, becomes
Dimension 3 and higher
Let be four points in three-dimensional space, .
- Coplanar iff
- Subtracting the first column from the others and expanding gives the determinant of the vectors , , .
- If not coplanar, the absolute value is six times the volume of the tetrahedron defined by the points. The sign gives the tetrahedron's orientation, and in particular the side of the plane on which lies. This criterion is commonly used in computer graphics and computer vision to recognize hidden parts of a 3D figure.
- Replacing with gives the implicit equation of the plane through three non-colinear points; in conventional form:
- In dimension : points, "coplanar" becomes "in the same hyperplane", "tetrahedron" becomes "simplex", and the determinant is times the volume of the simplex.
šÆ Eigenvalues and Characteristic Polynomial
An eigenvalue of a linear endomorphism is a scalar such that there is a nonzero vector (an eigenvector) with . For a matrix : for a nonzero column vector .
- Equivalent: .
- This means the columns of are linearly dependent, i.e.
- So the eigenvalues are the roots of , the characteristic polynomial of .
- Being a determinant, it is invariant under similarity, hence also defined for linear endomorphisms.
For of order :
- The characteristic polynomial is monic of degree , and all its coefficients are similarity invariants.
- Its constant coefficient (set ) is .
- The coefficient of is . By Viete's formula it is the sum of the eigenvalues (with multiplicities). By the Leibniz formula the trace is also the sum of the diagonal entries of and of every matrix similar to .
š¬ Determinants of Functions
Jacobian determinant
The Jacobian matrix of differentiable functions in variables is the matrix of partial derivatives:
- When , its determinant is the Jacobian determinant, a function of the variables.
- The Jacobian matrix generalizes the derivative to multivariate vector-valued functions; the condition is replaced by .
- Two especially important uses:
- it occurs in the formula for change of variables in a multiple integral
- its non-nullity is a hypothesis of the implicit function theorem and the inverse function theorem
Wronskian
For times differentiable functions :
If the Wronskian is zero everywhere on an interval then, for analytic functions, the functions are linearly dependent.
š§ Uses in Vector Geometry
In a Euclidean vector space (a real vector space, typically with the usual quadratic norm).
Orientation
- The determinant of vectors in is nonzero iff they form a basis. Its sign tells whether the orientation of the basis is the same as, or opposite to, the standard basis.
- For an orthogonal basis, the absolute value equals the product of the basis vector lengths.
- For an orthonormal basis, the determinant is (same orientation as the standard basis) or (otherwise).
- A linear transformation preserves orientation if its determinant is positive and reverses it if negative. This does not depend on the choice of basis.
Signed volume of a parallelotope
The parallelotope generated by is the set of vectors with .
- Given an orthonormal basis, its -dimensional volume is the absolute value of the determinant of the vectors on that basis. The volume is zero if the vectors are linearly dependent.
- For independent vectors, the determinant is positive if their orientation matches the basis, negative otherwise.
- The parallelotope generated by an orthonormal basis is a unit hypercube with volume 1.
For a bijective linear transformation with determinant :
- : preserves space orientation
- : reverses space orientation
- multiplies every -dimensional volume by
Volume and Jacobian determinant
If is multiplication by a matrix and is a measurable subset, then the volume of is times the volume of .
More generally, if is represented by an matrix , the ratio of the -dimensional volumes of and is
When this is zero.
- By computing the volume of the tetrahedron bounded by four points, determinants can identify skew lines. The volume of a tetrahedron with vertices is , or any other combination of pairs of vertices forming a spanning tree over the vertices.
- For a general differentiable , the Jacobian matrix is . Its determinant appears in the higher-dimensional integration by substitution: for suitable and an open subset of ,
- The Jacobian also occurs in the inverse function theorem.
- In cartography, the determinant can measure the rate of expansion of a map near the poles.
š Generalizations
- The immanant replaces in the Leibniz formula with another character of the symmetric group . A special case is the permanent, which replaces by the constant 1.
Exterior algebra
The determinant of a linear transformation of an -dimensional vector space (or a free module of rank over a commutative ring ) can be formulated without coordinates using the -th exterior power .
- induces a linear map sending to .
- Since is one-dimensional, this map is multiplication by a scalar in . Some authors (e.g. Bourbaki) define the determinant as this scalar:
- This agrees with the coordinate definition, using the uniqueness of the multilinear alternating form on -tuples of vectors in .
- The highest nonzero exterior power is sometimes itself called the determinant of , and similarly for objects such as vector bundles or chain complexes. Minors can be treated via lower alternating forms , .
Finite-dimensional algebras
For any associative algebra that is finite-dimensional as a vector space over a field , there is a determinant map