realroot
isolating intervals for real roots of a polynomial
Calling Sequence
Parameters
Description
Examples
References
realroot(poly, widthgoal)
poly
-
univariate polynomial with integer coefficients
widthgoal
(optional) maximal size of each isolating interval
The command realroot(poly, widthgoal) returns a list of isolating intervals for all real roots of the univariate polynomial poly. The width of the interval is less than or equal to the optional parameter widthgoal, a positive number. If widthgoal is omitted, the most convenient width is used for each interval returned.
Each interval is returned as a list of two rational numbers. The list a,a represents the single point a. The list a,b with a<b represents the open real interval defined by a and b. Multiplicity information is not included. The denominators of a and b are integer powers of 2.
The intervals are sorted in ascending order.
The algorithm behind realroot uses Descartes' rule of signs.
realroot⁡x8+5⁢x7−4⁢x6−20⁢x5+4⁢x4+20⁢x3,11000
−5,−5,−60740010014294967296,−2429600399517179869184,0,0,185363131072,9268365536
Loos and Collins, Computer Algebra, B. Buchberger, ed.
See Also
fsolve
RootFinding[Isolate]
roots
Roots
solve
Download Help Document