Derivative identities for power series #
For a power series v over a commutative semiring and e, n : ℕ with e ≠ 0,
e • coeff (e * (n + 1)) (v ^ (n + 1)) = coeff (e * (n + 1) - 1) (v ^ n * v'),
and for all e, n : ℕ (including e = 0),
e • coeff (e * (n + 1)) (v ^ (n + 1)) = coeff (e * (n + 1)) (X * (v ^ n * v')).
Over a ring in which n + 1 is not a zero divisor this is the coefficient of
X ^ (e * (n + 1) - 1) in (v ^ (n + 1))' = (n + 1) v ^ n v', divided by n + 1. The identity
holds over every commutative semiring because both sides are polynomials with natural-number
coefficients in the coefficients of v; the proof specializes the generic power series with
coefficients the variables of MvPolynomial ℕ ℕ.
In positive characteristic p the division by n + 1 is unavailable when p ∣ n + 1, and this
identity is what replaces it. Applied to the inverse of a unit u ∈ R⟦X⟧ˣ over a commutative ring,
since (u⁻¹)' = -(u⁻¹)² u', it yields the universal coefficient identity
(e : R) * coeff (e * k) (u ^ (-k)) + coeff (e * k - 1) (u ^ (-k - 1) * u') = 0
for e, k ≥ 1, which governs the behaviour of residues under a substitution X ↦ φ of order e.
Substitution by a series satisfying a' = w(a) intertwines the weighted derivative
w d/dX to the ordinary derivative. The iterated chain rule then reads the constant coefficient
of an iterated weighted derivative as a factorial-scaled coefficient after substitution.
Main results #
PowerSeries.derivative_subst_of_derivative_eq_subst: the weighted chain rule for a substitution satisfyinga' = w(a).PowerSeries.iterate_derivative_subst,PowerSeries.constantCoeff_iterate_of_derivative_subst: iteration and coefficient extraction for an operator intertwined with the derivative by substitution.PowerSeries.derivative_map: the derivative commutes with change of coefficients.PowerSeries.iterate_derivative_coe: iterated derivatives of a polynomial are computed as polynomials.PowerSeries.coeff_iterate_derivative_eq_descFactorial: theM-th coefficient off⁽ⁱ⁾is(M + i) (M + i - 1) ⋯ (M + 1)times the(M + i)-th coefficient off.PowerSeries.coeff_X_pow_mul_iterate_derivative:Xⁱ f⁽ⁱ⁾hasM-th coefficientM (M - 1) ⋯ (M - i + 1)times that off.PowerSeries.derivative_algebraMap_polynomial,PowerSeries.derivative_polynomial_smul: the derivative of the image of a polynomial, and the Leibniz rule for the action ofR[X]onA⟦X⟧.PowerSeries.polynomial_map_algebraMap_smul: the actions ofR[X]andS[X]onA⟦X⟧agree along a scalar towerR → S → A.PowerSeries.polynomial_C_smul,PowerSeries.polynomial_X_smul,PowerSeries.polynomial_X_pow_smul,PowerSeries.polynomial_monomial_smul: under the action ofR[X]onA⟦X⟧, constants act as scalars,Xʲas multiplication byXʲ, anda Xʲasatimes multiplication byXʲ.PowerSeries.smul_derivative_mem: a submodule overR[X]stable underp • d⁄dXcontains(p * r ^ 2) • x'whenever it containsr • x.PowerSeries.coeff_eq_zero_of_derivative_eq_zero: in prime characteristicp, a series with zero derivative is supported on degrees divisible byp.PowerSeries.nsmul_coeff_mul_succ_pow_succ_eq_coeff_X_mul_pow_mul_derivative,PowerSeries.nsmul_coeff_mul_succ_pow_succ_eq_coeff_pow_mul_derivative:e • coeff (e * (n + 1)) (v ^ (n + 1)) = coeff (e * (n + 1) - 1) (v ^ n * v')fore ≠ 0, and itsX *-shifted form for alle.PowerSeries.coeff_succ_pow_succ_eq_coeff_pow_mul_derivative: thee = 1casecoeff (n + 1) (v ^ (n + 1)) = coeff n (v ^ n * v').PowerSeries.mul_coeff_val_zpow_neg_add_coeff_val_zpow_neg_sub_one_mul_derivative_eq_zero: for a unitu : R⟦X⟧ˣover a commutative ring ande, k ≥ 1,(e : R) * coeff (e * k) (u ^ (-k)) + coeff (e * k - 1) (u ^ (-k - 1) * u') = 0.
The derivative of power series commutes with change of coefficients.
Iterated derivatives of a polynomial, viewed as a power series, are computed as polynomials.
The M-th coefficient of the i-th derivative is the falling factorial
(M + i) (M + i - 1) ⋯ (M + 1) times the (M + i)-th coefficient.
Multiplying the i-th derivative by Xⁱ multiplies the M-th coefficient by the falling
factorial M (M - 1) ⋯ (M - i + 1).
For a power series v over any commutative semiring and e, n : ℕ, e times the coefficient
of X ^ (e * (n + 1)) in v ^ (n + 1) is the coefficient of X ^ (e * (n + 1)) in
X * (v ^ n * v').
For e ≠ 0, e times the coefficient of X ^ (e * (n + 1)) in v ^ (n + 1) is the
coefficient of X ^ (e * (n + 1) - 1) in v ^ n * v', over any commutative semiring.
The coefficient of X ^ (n + 1) in v ^ (n + 1) is the coefficient of X ^ n in
v ^ n * v', over any commutative semiring.
An operator intertwined with the derivative by substitution satisfies the iterated chain rule.
If substitution by a series with zero constant coefficient intertwines an operator with the
ordinary derivative, the constant coefficient of its n-th iterate is n ! times the n-th
coefficient after substitution.
If a' = w(a), substitution by a intertwines the weighted derivative w d/dX with the
ordinary derivative.
Universal coefficient identity for a unit u : R⟦X⟧ˣ over a commutative ring, in shifted form
for all e, n : ℕ:
e • coeff (e * (n + 1)) (u⁻¹ ^ (n + 1)) + coeff (e * (n + 1)) (X * (u⁻¹ ^ (n + 2) * u')) = 0.
Universal coefficient identity for negative powers of a unit power series. For a commutative
ring R, a unit u : R⟦X⟧ˣ, and e, k ≥ 1,
(e : R) * coeff (e * k) (u ^ (-k)) + coeff (e * k - 1) (u ^ (-k - 1) * u') = 0.
The image of a polynomial under PowerSeries.algebraPolynomial is differentiated as a
polynomial.
Iterated derivatives of the image of a polynomial under PowerSeries.algebraPolynomial.
The Leibniz rule for the action of R[X] on A⟦X⟧ given by
PowerSeries.algebraPolynomial.
A constant polynomial acts on A⟦X⟧ through PowerSeries.algebraPolynomial as the
corresponding scalar.
The polynomial Xʲ acts on A⟦X⟧ through PowerSeries.algebraPolynomial as multiplication
by the power series Xʲ.
The polynomial X acts on A⟦X⟧ through PowerSeries.algebraPolynomial as multiplication
by the power series X.
The monomial a Xʲ acts on A⟦X⟧ through PowerSeries.algebraPolynomial as the scalar a
times multiplication by the power series Xʲ.
Along a scalar tower R → S → A, a polynomial over R acts on A⟦X⟧ as its image in
S[X] does.
If a submodule S over R[X] is stable under p • d⁄dX and contains r • x, then it
contains (p * r ^ 2) • x'. This is the induction step showing that nonzero multiples of all
derivatives of a series lie in a fixed submodule.
In prime characteristic, a series with zero derivative has no coefficients outside the multiples of the characteristic.