Smoothness and derivatives of the determinant #
The determinant of a square matrix over a nontrivially normed field is a continuous multilinear map of its rows. Its differential at every matrix, including singular matrices, is the sum of row replacements, or equivalently Jacobi's adjugate formula:
D det (A) H = trace (adjugate A * H).
At an invertible matrix this is det A * trace (A⁻¹ * H), and at the identity it is trace H.
The matrix determinant is smooth, the matrix index may be empty, and none of the matrix
results require the field to be complete. The determinant of a continuous linear endomorphism
of a finite-dimensional normed space is also smooth; this result assumes a complete field.
The multilinear proof generalizes the real determinant calculus in the
KLS formalization.
It uses ContinuousMultilinearMap.hasFDerivAt and the algebraic identity
Matrix.sum_det_updateRow_eq_trace_adjugate_mul.
The normed structure on matrices is Mathlib's L∞ operator norm, available through
open scoped Matrix.Norms.Operator.
Main results #
Matrix.contDiff_det: the matrix determinant is smooth without scalar completeness.ContinuousLinearMap.contDiff_det: the determinant of a continuous linear endomorphism of a finite-dimensional normed space is smooth over a complete field.Matrix.differentiable_det: the determinant is differentiable at every matrix.Matrix.fderiv_det_eq_sum_updateRow: its differential is the sum of row replacements.Matrix.fderiv_det_updateRow: the row-replacement formula for a field with one row fixed.Matrix.fderiv_det_apply_adjugate: Jacobi's formula, including singular matrices.Matrix.hasDerivAt_det_one_add_smul:t ↦ det (1 + t • B)has derivativetrace Bat0.Matrix.hasFDerivAt_det_one: the derivative at the identity is the trace.Matrix.hasFDerivAt_det,Matrix.fderiv_det_apply: the inverse form at an invertible matrix.
The determinant is smooth, including at singular matrices.
The determinant is differentiable at every matrix over a nontrivially normed field.
The differential of the determinant is the sum of determinants with one row replaced.
The determinant of a differentiable matrix field with one row fixed has differential equal to the sum of row replacements over the other rows. No completeness assumption is needed.
Jacobi's adjugate formula, valid at singular as well as invertible matrices.
Jacobi's inverse formula, evaluated on a direction at an invertible matrix.
The Fréchet derivative of the determinant at the identity is the trace.
The determinant along the line through the identity in the direction B has derivative
trace B at the identity.
Jacobi's inverse formula. At a matrix with invertible determinant, the differential is
H ↦ det A * trace (A⁻¹ * H).
The determinant of an endomorphism of a finite-dimensional normed space is smooth.