NLA-lib Explorer

Polynomial.circleIntegral_mul_derivative_div_eq_sum_roots

Library · theorem

Integrating a polynomial's weighted logarithmic derivative around a root-free circle gives the sum of its enclosed roots, retaining algebraic multiplicities. The polynomial need not be squarefree; roots within the selected cluster may collide.

Polynomial.circleIntegral_mul_derivative_div_eq_sum_roots (p : Polynomial ℂ) (c : ℂ) {r : ℝ}
  (hr : 0 ≤ r) (hp : ∀ z ∈ Metric.sphere c r, Polynomial.eval z p ≠ 0) :
  ∮ (z : ℂ) in C(c, r), z * (Polynomial.eval z (Polynomial.derivative p) / Polynomial.eval z p) =
    (Multiset.map (fun w ↦ if dist w c < r then 2 * ↑π * Complex.I * w else 0) p.roots).sum

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.Complex.Polynomial.RootCluster.