Reusable layer: algebraic geometry #
A stable name for Cotes' harmonic means theorem. The theorem is proved by the archive theorem it re-exposes (no proof is copied).
Main results #
Formalizations.Reusable.cotes_harmonic_mean_polar: the harmonic-mean point of the intersections of a line throughpwith a real plane curve lies on the polar line ofp(archive:Cotes.harmonic_mean_polar).
theorem
Formalizations.Reusable.cotes_harmonic_mean_polar
(f : MvPolynomial (Fin 2) ℝ)
(p v : Fin 2 → ℝ)
(hp : (MvPolynomial.eval p) f ≠ 0)
(g : Polynomial ℝ)
(hg : g = (MvPolynomial.aeval fun (i : Fin 2) => Polynomial.C (p i) + Polynomial.C (v i) * Polynomial.X) f)
(hsplit : g.roots.card = g.natDegree)
(hd : 1 ≤ g.natDegree)
(hH : (Multiset.map (fun (r : ℝ) => r⁻¹) g.roots).sum ≠ 0)
:
∑ i : Fin 2,
(MvPolynomial.eval p) ((MvPolynomial.pderiv i) f) * (↑g.natDegree / (Multiset.map (fun (r : ℝ) => r⁻¹) g.roots).sum * v i) = -↑g.natDegree * (MvPolynomial.eval p) f
Cotes' harmonic means theorem. Let f ∈ ℝ[x, y] define a plane curve, p a point with
f(p) ≠ 0 and v a direction, and let g(t) = f(p + t v). Suppose g splits over ℝ with
d = deg g ≥ 1 roots tᵢ and Σ 1/tᵢ ≠ 0. Then the harmonic-mean point p + t* v,
t* = d / Σ 1/tᵢ, satisfies ∇f(p) · (t* v) = −d f(p): it lies on the polar line
∇f(p) · (q − p) = −d f(p) of p, which does not depend on the direction v.
- Archive:
Cotes.harmonic_mean_polar(Formalizations.AlgebraicGeometry.PlaneCurve.Cotes, from Mathlib's logarithmic derivative of a split polynomial); no research paper. - Classical reference: R. Cotes, Harmonia Mensurarum, Cambridge, 1722; C. Maclaurin, De linearum geometricarum proprietatibus generalibus, 1748.
- Example: for the unit circle
f = x² + y² − 1,p = 0and anyv,g = |v|² t² − 1splits withΣ 1/tᵢ = 0, so the hypothesishHfails: the theorem says nothing about lines through the centre, as expected (the polar of the centre is the line at infinity).