Newton-Raphson method #
Given a single-variable polynomial P with derivative P', Newton's method concerns iteration of
the rational map: x ↦ x - P(x) / P'(x).
Over a field it can serve as a root-finding algorithm. It is also useful tool in certain proofs such as Hensel's lemma and Jordan-Chevalley decomposition.
Main definitions / results: #
Polynomial.newtonMap: the mapx ↦ x - P(x) / P'(x), whereP'is the derivative of the polynomialP.Polynomial.isFixedPt_newtonMap_of_isUnit_iff:xis a fixed point for Newton iteration iff it is a root ofP(providedP'(x)is a unit).Polynomial.existsUnique_nilpotent_sub_and_aeval_eq_zero: ifxis almost a root ofPin the sense thatP(x)is nilpotent (andP'(x)is a unit) then we may writexas a sumx = n + rwherenis nilpotent andris a root ofP. This can be used to prove the Jordan-Chevalley decomposition of linear endomorphims.
Given a single-variable polynomial P with derivative P', this is the map:
x ↦ x - P(x) / P'(x). When P'(x) is not a unit we use a junk-value pattern and send x ↦ x.
Equations
- P.newtonMap x = x - Ring.inverse ((Polynomial.aeval x) (Polynomial.derivative P)) * (Polynomial.aeval x) P
Instances For
This is really an auxiliary result, en route to
Polynomial.existsUnique_nilpotent_sub_and_aeval_eq_zero.
If x is almost a root of P in the sense that P(x) is nilpotent (and P'(x) is a
unit) then we may write x as a sum x = n + r where n is nilpotent and r is a root of P.
Moreover, n and r are unique.
This can be used to prove the Jordan-Chevalley decomposition of linear endomorphims.
Alias of Polynomial.existsUnique_nilpotent_sub_and_aeval_eq_zero.
If x is almost a root of P in the sense that P(x) is nilpotent (and P'(x) is a
unit) then we may write x as a sum x = n + r where n is nilpotent and r is a root of P.
Moreover, n and r are unique.
This can be used to prove the Jordan-Chevalley decomposition of linear endomorphims.