PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
BUILT-IN MATHEMATICA SYMBOL
RootIntervals
Solve
Reduce
NumberFieldSignature
Exponent
See Also »
|
Polynomial Equations
New in 6.0: Symbolic Computation
New in 6.0: Mathematics & Algorithms
More About »
CountRoots
CountRoots
gives the number of real roots of the polynomial
poly
in
x
.
CountRoots
gives the number of roots between
a
and
b
.
MORE INFORMATION
CountRoots
enumerates roots with multiplicities counted.
Roots that lie exactly at
or
are counted.
The limits
a
and
b
can be complex, in which case the range is taken to be a closed rectangle in the complex plane.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Count the number of polynomial roots between 0 and 10:
Count roots of a polynomial in a closed rectangle:
Count the number of polynomial roots between 0 and 10:
In[1]:=
Out[1]=
Count roots of a polynomial in a closed rectangle:
In[2]:=
Out[2]=
Scope
(8)
Count roots in a real interval:
Find the number of the real roots:
Count roots in a closed rectangle:
Count roots in a vertical line segment:
Count roots in a horizontal line segment:
Multiple roots are counted with their multiplicities:
Roots at the endpoints of the interval are included:
Roots on the boundary of the rectangle are included:
Generalizations & Extensions
(6)
Count the real roots of a high-degree polynomial:
Find the number of real roots of an algebraic function involving high-degree radicals:
Count the real roots of a function involving irrational real powers:
Count the real roots of an exp-log function:
Count roots of an elementary function in a bounded interval:
This shows the plot of the function:
Count roots of a holomorphic elementary function in a closed rectangle:
Applications
(1)
The number of 17
roots of unity in the closed unit square in the first quadrant:
Roots on the boundary are counted:
Properties & Relations
(5)
The number of complex roots of a polynomial is equal to its degree:
This gives a bound on absolute values of roots of a polynomial:
The polynomial indeed has 10 roots within the Cauchy bounded region:
The number of real roots of a polynomial with
nonzero terms is at most
:
This polynomial has the maximal possible number of
real roots:
Use
Reduce
to find polynomial roots:
Count roots:
Find roots:
Use
RootIntervals
to find isolating intervals for polynomial roots:
Count the real roots:
Isolate the real roots:
Use
NumberFieldSignature
to count the real roots and the pairs of complex roots:
Possible Issues
(1)
Roots at the endpoints of the interval are included:
SEE ALSO
RootIntervals
Solve
Reduce
NumberFieldSignature
Exponent
MORE ABOUT
Polynomial Equations
New in 6.0: Symbolic Computation
New in 6.0: Mathematics & Algorithms
New in 6