Jacobi's formula and Newton's identity for traces of matrix powers #
Let R be a commutative ring and M a square matrix over R.
The resolvent series Matrix.resolventSeries M is the matrix of formal power series whose
(i, j) entry is ∑ₖ (Mᵏ) i j Xᵏ. It is the two-sided inverse of 1 - X • M in
Matrix n n R⟦X⟧, and its trace is the generating function ∑ₖ trace (Mᵏ) Xᵏ.
Jacobi's formula expresses the derivative of the determinant of a matrix of polynomials as
derivative (det A) = trace (adjugate A * A.map derivative).
Combining the two gives Newton's identity for traces: the logarithmic derivative of the reversed
characteristic polynomial Matrix.charpolyRev M = det (1 - X • M) is minus the generating function
of the traces of the powers of M. No eigenvalues and no assumption on R are needed.
Main definitions #
Matrix.resolventSeries M: the matrix∑ₖ Mᵏ XᵏoverR⟦X⟧.
Main results #
Matrix.one_sub_X_smul_mul_resolventSeries,Matrix.resolventSeries_mul_one_sub_X_smul,Matrix.resolventSeries_eq_inv:resolventSeries M = (1 - X • M)⁻¹.Matrix.trace_resolventSeries:trace (resolventSeries M) = ∑ₖ trace (Mᵏ) Xᵏ.Matrix.det_smul_resolventSeries:det (1 - X • M) • resolventSeries M = adjugate (1 - X • M).Matrix.derivative_det: Jacobi's formula.Matrix.coe_derivative_charpolyRev_eq_neg_mul_mk_trace_pow: Newton's identity(charpolyRev M)′ = - charpolyRev M * ∑ₖ trace (Mᵏ⁺¹) XᵏinR⟦X⟧. Its constant coefficient isMatrix.coeff_charpolyRev_eq_neg_trace.Matrix.derivative_coe_charpolyRevis the same identity with the derivative taken inR⟦X⟧.
The resolvent series #
The resolvent series of M: the matrix over R⟦X⟧ whose (i, j) entry is
∑ₖ (Mᵏ) i j Xᵏ. It is the inverse of 1 - X • M, see Matrix.resolventSeries_eq_inv.
Equations
- M.resolventSeries = Matrix.of fun (i j : n) => PowerSeries.mk fun (k : ℕ) => (M ^ k) i j
Instances For
Multiplying the resolvent series on the left by M shifts the powers by one.
Multiplying the resolvent series on the right by M shifts the powers by one.
The resolvent series is a right inverse of 1 - X • M.
The resolvent series is a left inverse of 1 - X • M.
The resolvent series is the inverse of 1 - X • M in Matrix n n R⟦X⟧.
The trace of the resolvent series is the generating function of the traces of the powers.
The trace of resolventSeries M * M is ∑ₖ trace (Mᵏ⁺¹) Xᵏ.
adjugate (1 - X • M) = det (1 - X • M) • resolventSeries M.
Jacobi's formula #
Jacobi's formula: for a square matrix A of polynomials,
derivative (det A) = trace (adjugate A * A.map derivative).
The entrywise derivative of 1 - X • M is -M.
Newton's identity for traces #
Newton's identity for traces of matrix powers: in R⟦X⟧,
(charpolyRev M)′ = - charpolyRev M * ∑ₖ trace (Mᵏ⁺¹) Xᵏ.
Equivalently, ∑ₖ₌₁^∞ trace (Mᵏ) Xᵏ = - X (charpolyRev M)′ / charpolyRev M.
Newton's identity for traces with the derivative taken in R⟦X⟧:
d⁄dX (charpolyRev M) = - charpolyRev M * ∑ₖ trace (Mᵏ⁺¹) Xᵏ.