The derivative of Laurent polynomials #
Over a ring R, the formal derivative d/dT of Laurent polynomials sends a Tⁿ to n a Tⁿ⁻¹
for every integer n, so the coefficient of Tⁿ in f' is n + 1 times the coefficient of
Tⁿ⁺¹ in f. It satisfies the product rule, extends Polynomial.derivative along
Polynomial.toLaurent, and kills the constants; without additive torsion its kernel is exactly
the constants. For commutative R it is bundled as a derivation LaurentPolynomial.derivative',
following Polynomial.derivative'.
The residue of the form f dT is the coefficient of T⁻¹ in f. Since n Tⁿ⁻¹ has residue zero
for every n, every derivative has residue zero, and the product rule gives integration by parts
Res(f dg) = -Res((df) g). These are the Laurent-polynomial counterparts of the derivative and
residue of Laurent series: the embedding of Laurent polynomials into Laurent series commutes with
the derivatives (LaurentPolynomial.toLaurentSeries_derivative) and carries the residue
Res(f dg) of Laurent polynomials to the Laurent-series residue pairing
(LaurentSeries.residuePairing_toLaurentSeries).
Main definitions #
LaurentPolynomial.derivative: the formal derivative of Laurent polynomials.LaurentPolynomial.derivative': the formal derivative as a derivation, for commutativeR.
Main results #
LaurentPolynomial.derivative_C_mul_T: the derivative ofa Tⁿisn a Tⁿ⁻¹.LaurentPolynomial.coeff_derivative: the coefficient formula for the derivative.LaurentPolynomial.derivative_mul: the product rule.LaurentPolynomial.derivative_toLaurent: compatibility withPolynomial.derivative.LaurentPolynomial.derivative_eq_zero_iff_exists_C: without additive torsion, the kernel of the derivative consists of the constants.LaurentPolynomial.coeff_neg_one_derivative: a derivative has residue zero.LaurentPolynomial.coeff_neg_one_mul_derivative: integration by parts for residues.
The formal derivative d/dT of Laurent polynomials, sending a Tⁿ to n a Tⁿ⁻¹ for every
integer n.
Instances For
The derivative of the monomial a Tⁿ, written with AddMonoidAlgebra.single. The simp
normal form of a Laurent monomial is C a * T n, handled by
LaurentPolynomial.derivative_C_mul_T.
The derivative of a constant is zero.
The derivative of 1 is zero.
The coefficient of Tⁿ in f' is n + 1 times the coefficient of Tⁿ⁺¹ in f.
The coefficient of Tⁿ⁻¹ in f' is n times the coefficient of Tⁿ in f.
A derivative has residue zero: the coefficient of T⁻¹ in f' vanishes.
The product rule for the derivative of Laurent polynomials.
The derivative of Laurent polynomials extends the derivative of polynomials along
Polynomial.toLaurent.
The kernel of the derivative. Without additive torsion in R, a Laurent
polynomial has derivative zero exactly when it is a constant.
Integration by parts for residues of Laurent polynomials: Res(f dg) = -Res((df) g),
where the residue is the coefficient of T⁻¹. The factor order is kept, since R need not be
commutative.
The formal derivative of Laurent polynomials over a commutative ring, as a derivation.
Instances For
The derivation LaurentPolynomial.derivative' R evaluates as the formal derivative.