realroot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


realroot

isolating intervals for real roots of a polynomial

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

realroot(poly, widthgoal)

Parameters

poly

-

univariate polynomial with integer coefficients

widthgoal

-

(optional) maximal size of each isolating interval

Description

• 

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&comma;a represents the single point a.  The list a&comma;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.

Examples

realrootx8+5x74x620x5+4x4+20x3&comma;11000

−5&comma;−5&comma;60740010014294967296&comma;2429600399517179869184&comma;0&comma;0&comma;185363131072&comma;9268365536

(1)

References

  

Loos and Collins, Computer Algebra, B. Buchberger, ed.

See Also

fsolve

RootFinding[Isolate]

roots

Roots

solve