The Number of Distinct Real Roots of a Real Polynomial

The problem of deciding if a real polynomial has a real root and if so, how many, has a long history going back to Descartes's Law of Signs. In more recent times substantial progress has been made in this area by several Chinese mathematicians. Here, some of their work is demonstrated: the computation of the number of distinct roots of a polynomial as well as the number of distinct roots lying in a given interval. The method is in the spirit of Descartes's Law of Signs and does not involve any root finding or root isolation.
In this Demonstration you can vary the coefficients of a polynomial of degree 6 and the interval in which the roots are sought. The interval is varied by moving its end points with the mouse.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


A method of completely determining the number and multiplicity of real roots of real polynomials with symbolic as well as numeric coefficients was given by Yang, Hou, and Zeng in [1]. The method can be seen as an extension of Descartes's Law of Signs: you compute the so-called "discriminant sequence" of the polynomial and count the number of sign changes among its nonzero terms. It is easy to use this method to compute the number of distinct roots in any interval. In this Demonstration, the total number of distinct real roots and the number of such roots lying in a chosen interval are shown. Yang, Hou, and Zeng actually do much more: they compute a "complete discrimination system" for a given polynomial with symbolic coefficients, which enables one to write explicit conditions in terms of the coefficients for the polynomial to have a given number of distinct real roots, to have multiple roots, etc.
[1] L. Yang, X. R. Hou, and Z. B. Zeng, "A Complete Discrimination System for Polynomials", Science in China, Series E, 39(6), 1996 pp. 628–646.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Related Curriculum Standards

US Common Core State Standards, Mathematics