In mathematics, Vincent's theoremâÂÂnamed after âÂÂis a theorem that isolates the real roots of polynomials with rational coefficients.
Even though Vincent's theorem is the basis of the fastest method for the isolation of the real roots of polynomials, it was almost totally forgotten, having been overshadowed by Sturm's theorem; consequently, it does not appear in any of the classical books on the theory of equations (of the 20th century), except for Uspensky's book. Two variants of this theorem are presented, along with several (continued fractions and bisection) real root isolation methods derived from them.
Two versions of this theorem are presented: the continued fractions version due to Vincent, and the bisection version due to Alesina and Galuzzi.
If in a polynomial equation with rational coefficients and without multiple roots, one makes successive transformations of the form
where are any positive numbers greater than or equal to one, then after a number of such transformations, the resulting transformed equation either has zero sign variations or it has a single sign variation. In the first case there is no root, whereas in the second case there is a single positive real root. Furthermore, the corresponding root of the proposed equation is approximated by the finite continued fraction:
Moreover, if infinitely many numbers satisfying this property can be found, then the root is represented by the (infinite) corresponding continued fraction.
The above statement is an exact translation of the theorem found in Vincent's original papers; however, the following remarks are needed for a clearer understanding:
Let p(x) be a real polynomial of degree deg(p) that has only simple roots. It is possible to determine a positive quantity ô so that for every pair of positive real numbers a, b with , every transformed polynomial of the form
has exactly 0 or 1 sign variations. The second case is possible if and only if p(x) has a single root within (a, b).
From equation () the following criterion is obtained for determining whether a polynomial has any roots in the interval (a, b):
Perform on p(x) the substitution
and count the number of sign variations in the sequence of coefficients of the transformed polynomial; this number gives an upper bound on the number of real roots p(x) has inside the open interval (a, b). More precisely, the number ÃÂ<sub>ab</sub>(p) of real roots in the open interval (a, b)âÂÂmultiplicities countedâÂÂof the polynomial p(x) in R[x], of degree deg(p), is bounded above by the number of sign variations var<sub>ab</sub>(p), where
As in the case of Descartes' rule of signs if var<sub>ab</sub>(p) = 0 it follows that ÃÂ<sub>ab</sub>(p) = 0 and if var<sub>ab</sub>(p) = 1 it follows that ÃÂ<sub>ab</sub>(p) = 1.
A special case of the AlesinaâÂÂGaluzzi "a_b roots test" is Budan's "0_1 roots test".
A detailed discussion of Vincent's theorem, its extension, the geometrical interpretation of the transformations involved and three different proofs can be found in the work by Alesina and Galuzzi. A fourth proof is due to Ostrowski who rediscovered a special case of a theorem stated by Obreschkoff, p. 81, in 1920âÂÂ1923.
To prove (both versions of) Vincent's theorem Alesina and Galuzzi show that after a series of transformations mentioned in the theorem, a polynomial with one positive root eventually has one sign variation. To show this, they use the following corollary to the theorem by Obreschkoff of 1920âÂÂ1923 mentioned earlier; that is, the following corollary gives the necessary conditions under which a polynomial with one positive root has exactly one sign variation in the sequence of its coefficients; see also the corresponding figure.
Consider now the Möbius transformation
and the three circles shown in the corresponding figure; assume that
From the above it becomes obvious that if a polynomial has a single positive root inside the eight-shaped figure and all other roots are outside of it, it presents one sign variation in the sequence of its coefficients. This also guarantees the termination of the process.
In his fundamental papers, Vincent presented examples that show precisely how to use his theorem to isolate real roots of polynomials with continued fractions. However the resulting method had exponential computing time, a fact that mathematicians must have realized then, as was realized by Uspensky p. 136, a century later.
The exponential nature of Vincent's algorithm is due to the way the partial quotients a<sub>i</sub> (in ) are computed. That is, to compute each partial quotient a<sub>i</sub> (that is, to locate where the roots lie on the x-axis) Vincent uses Budan's theorem as a "no roots test"; in other words, to find the integer part of a root Vincent performs successive substitutions of the form x â x+1 and stops only when the polynomials p(x) and p(x+1) differ in the number of sign variations in the sequence of their coefficients (i.e. when the number of sign variations of p(x+1) is decreased).
See the corresponding diagram where the root lies in the interval (5, 6). It can be easily inferred that, if the root is far away from the origin, it takes a lot of time to find its integer part this way, hence the exponential nature of Vincent's method. Below there is an explanation of how this drawback is overcome.
Vincent was the last author in the 19th century to use his theorem for the isolation of the real roots of a polynomial.
The reason for that was the appearance of Sturm's theorem in 1827, which solved the real root isolation problem in polynomial time, by defining the precise number of real roots a polynomial has in a real open interval (a, b). The resulting (Sturm's) method for computing the real roots of polynomials has been the only one widely known and used ever sinceâÂÂup to about 1980, when it was replaced (in almost all computer algebra systems) by methods derived from Vincent's theorem, the fastest one being the VincentâÂÂAkritasâÂÂStrzeboà Âski (VAS) method.
Serret included in his Algebra, pp 363âÂÂ368, along with its proof and directed all interested readers to Vincent's papers for examples on how it is used. Serret was the last author to mention in the 19th century.
In the 20th century cannot be found in any of the theory of equations books; the only exceptions are the books by Uspensky and Obreschkoff, where in the second there is just the statement of the theorem.
It was in Uspensky's book that Akritas found and made it the topic of his Ph.D. Thesis "Vincent's Theorem in Algebraic Manipulation", North Carolina State University, USA, 1978. A major achievement at the time was getting hold of Vincent's original paper of 1836, something that had eluded UspenskyâÂÂresulting thus in a great misunderstanding. Vincent's original paper of 1836 was made available to Akritas through the commendable efforts (interlibrary loan) of a librarian in the Library of the University of WisconsinâÂÂMadison, USA.
Isolation of the real roots of a polynomial is the process of finding open disjoint intervals such that each contains exactly one real root and every real root is contained in some interval. According to the French school of mathematics of the 19th century, this is the first step in computing the real roots, the second being their approximation to any degree of accuracy; moreover, the focus is on the positive roots, because to isolate the negative roots of the polynomial p(x) replace x by âÂÂx (x â âÂÂx) and repeat the process.
The continued fractions version of can be used to isolate the positive roots of a given polynomial p(x) of degree deg(p). To see this, represent by the Möbius transformation
the continued fraction that leads to a transformed polynomial with one sign variation in the sequence of its coefficients. Then, the single positive root of f(x) (in the interval (0, âÂÂ)) corresponds to that positive root of p(x) that is in the open interval with endpoints and . These endpoints are not ordered and correspond to M(0) and M(âÂÂ) respectively.
Therefore, to isolate the positive roots of a polynomial, all that must be done is to computeâÂÂfor each rootâÂÂthe variables a, b, c, d of the corresponding Möbius transformation
that leads to a transformed polynomial as in equation (), with one sign variation in the sequence of its coefficients.
Crucial Observation: The variables a, b, c, d of a Möbius transformation
(in ) leading to a transformed polynomialâÂÂas in equation ()âÂÂwith one sign variation in the sequence of its coefficients can be computed:
The "bisection part" of this all important observation appeared as a special in the papers by Alesina and Galuzzi.
All methods described below (see the article on Budan's theorem for their historical background) need to compute (once) an upper bound, ub, on the values of the positive roots of the polynomial under consideration. Exception is the VAS method where additionally lower bounds, lb, must be computed at almost every cycle of the main loop. To compute the lower bound lb of the polynomial p(x) compute the upper bound ub of the polynomial and set .
Excellent (upper and lower) bounds on the values of just the positive roots of polynomials have been developed by Akritas, Strzeboà Âski and Vigklas based on previous work by Doru Stefanescu. They are described in P. S. Vigklas' Ph.D. Thesis and elsewhere. These bounds have already been implemented in the computer algebra systems Mathematica, SageMath, SymPy, Xcas etc.
All three methods described below follow the excellent presentation of François Boulier, p. 24.
Only one continued fractions method derives from . As stated above, it started in the 1830s when Vincent presented, in the papers several examples that show how to use his theorem to isolate the real roots of polynomials with continued fractions. However the resulting method had exponential computing time. Below is an explanation of how this method evolved.
This is the second method (after VCA) developed to handle the exponential behavior of Vincent's method.
The VAS continued fractions method is a direct implementation of Vincent's theorem. It was originally presented by Vincent from 1834 to 1938 in the papers in an exponential form; namely, Vincent computed each partial quotient a<sub>i</sub> by a series of unit increments a<sub>i</sub> â a<sub>i</sub> + 1, which are equivalent to substitutions of the form x â x + 1.
Vincent's method was converted into its polynomial complexity form by Akritas, who in his 1978 Ph.D. Thesis (Vincent's theorem in algebraic manipulation, North Carolina State University, USA) computed each partial quotient a<sub>i</sub> as the lower bound, lb, on the values of the positive roots of a polynomial. This is called the ideal positive lower root bound that computes the integer part of the smallest positive root (see the corresponding figure). To wit, now set a<sub>i</sub> â lb or, equivalently, perform the substitution x â x + lb, which takes about the same time as the substitution x â x + 1.
Finally, since the ideal positive lower root bound does not exist, Strzeboà Âski introduced in 2005 the substitution , whenever ; in general and the value 16 was determined experimentally. Moreover, it has been shown that the VAS (continued fractions) method is faster than the fastest implementation of the VCA (bisection) method, a fact that was confirmed independently; more precisely, for the Mignotte polynomials of high degree VAS is about 50,000 times faster than the fastest implementation of VCA.
In 2007, Sharma removed the hypothesis of the ideal positive lower bound and proved that VAS is still polynomial in time.
VAS is the default algorithm for root isolation in Mathematica, SageMath, SymPy, Xcas.
For a comparison between Sturm's method and VAS use the functions realroot(poly) and time(realroot(poly)) of Xcas. By default, to isolate the real roots of poly realroot uses the VAS method; to use Sturm's method write realroot(sturm, poly). See also the External links for an application by A. Berkakis for Android devices that does the same thing.
Here is how VAS(p, M) works, where for simplicity Strzeboà Âski's contribution is not included:
Below is a recursive presentation of VAS(p, M).
VAS(p, M):
Input: A univariate, square-free polynomial , of degree deg(p), and the Möbius transformation
Output: A list of isolating intervals of the positive roots of p(x).
1 var â the number of sign variations of p(x) // Descartes' rule of signs; 2 if var = 0 then RETURN â ; 3 if var = 1 then RETURN {(a, b)} // a = min(M(0), M(âÂÂ)), b = max(M(0), M(âÂÂ)), but if b = â set b = ub, where ub is an upper bound on the values of the positive roots of p(x); 4 lb â the ideal lower bound on the positive roots of p(x); 5 if lb âÂÂ¥ 1 then p â p(x + lb), M â M(x + lb); 6 p<sub>01</sub> â (x + 1)<sup>deg(p)</sup> p(), M<sub>01</sub> â M() // Look for real roots in (0, 1); 7 m â M(1) // Is 1 a root? 8 p<sub>1âÂÂ</sub> â p(x + 1), M<sub>1âÂÂ</sub> â M(x + 1) // Look for real roots in (1, âÂÂ); 9 if p(1) â 0 then 10 RETURN VAS(p<sub>01</sub>, M<sub>01</sub>) ⪠VAS(p<sub>1âÂÂ</sub>, M<sub>1âÂÂ</sub>) 11 else 12 RETURN VAS(p<sub>01</sub>, M<sub>01</sub>) ⪠{[m, m]} ⪠VAS(p<sub>1âÂÂ</sub>, M<sub>1âÂÂ</sub>) 13 end
Remarks
We apply the VAS method to (note that: ).
VAS(x<sup>3</sup> â 7x + 7, x) 1 var â 2 // the number of sign variations in the sequence of coefficients of p(x) = x<sup>3</sup> â 7x + 7 4 lb â 1 // the ideal lower boundâÂÂfound using lb<sub>computed</sub> and substitution(s) x â x + 1 5 p â x<sup>3</sup> + 3x<sup>2</sup> â 4x + 1, M â x + 1 6 p<sub>01</sub> â x<sup>3</sup> â x<sup>2</sup> â 2x + 1, M<sub>01</sub> â 7 m â 1 8 p<sub>1âÂÂ</sub> â x<sup>3</sup> + 6x<sup>2</sup> + 5x + 1, M<sub>1âÂÂ</sub> â x + 2 10 RETURN VAS(x<sup>3</sup> â x<sup>2</sup> â 2x + 1, ) ⪠VAS(x<sup>3</sup> + 6x<sup>2</sup> + 5x + 1, x + 2)
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VAS(x<sup>3</sup> â x<sup>2</sup> â 2x + 1, ) 1 var â 2 // the number of sign variations in the sequence of coefficients of p(x) = x<sup>3</sup> â x<sup>2</sup> â 2x + 1 4 lb â 0 // the ideal lower boundâÂÂfound using lb<sub>computed</sub> and substitution(s) x â x + 1 6 p<sub>01</sub> â x<sup>3</sup> + x<sup>2</sup> â 2x â 1, M<sub>01</sub> â 7 m â 8 p<sub>1âÂÂ</sub> â x<sup>3</sup> + 2x<sup>2</sup> â x â 1, M<sub>1âÂÂ</sub> â 10 RETURN VAS(x<sup>3</sup> + x<sup>2</sup> â 2x â 1, ) ⪠VAS(x<sup>3</sup> + 2x<sup>2</sup> â x â 1, )
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VAS(x<sup>3</sup> + x<sup>2</sup> â 2x â 1, ) 1 var â 1 // the number of sign variations in the sequence of coefficients of p(x) = x<sup>3</sup> + x<sup>2</sup> â 2x â 1 3 RETURN {(, 2)}
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VAS(x<sup>3</sup> + 2x<sup>2</sup> â x â 1, ) 1 var â 1 // the number of sign variations in the sequence of coefficients of p(x) = x<sup>3</sup> + 2x<sup>2</sup> â x â 1 3 RETURN {(1, )}
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VAS(x<sup>3</sup> + 6x<sup>2</sup> + 5x + 1, x + 2) 1 var â 0 // the number of sign variations in the sequence of coefficients of p(x) = x<sup>3</sup> + 6x<sup>2</sup> + 5x + 1 2 RETURN âÂÂ
List of isolation intervals:
List of pairs to be processed: .
Finished.
Therefore, the two positive roots of the polynomial lie inside the isolation intervals and }. Each root can be approximated by (for example) bisecting the isolation interval it lies in until the difference of the endpoints is smaller than ; following this approach, the roots turn out to be and .
There are various bisection methods derived from ; they are all presented and compared elsewhere. Here the two most important of them are described, namely, the VincentâÂÂCollinsâÂÂAkritas (VCA) method and the VincentâÂÂAlesinaâÂÂGaluzzi (VAG) method.
The VincentâÂÂAlesinaâÂÂGaluzzi (VAG) method is the simplest of all methods derived from Vincent's theorem but has the most time consuming test (in line 1) to determine if a polynomial has roots in the interval of interest; this makes it the slowest of the methods presented in this article.
By contrast, the VincentâÂÂCollinsâÂÂAkritas (VCA) method is more complex but uses a simpler test (in line 1) than VAG. This along with certain improvements have made VCA the fastest bisection method.
This was the first method developed to overcome the exponential nature of Vincent's original approach, and has had quite an interesting history as far as its name is concerned. This method, which isolates the real roots, using Descartes' rule of signs and , had been originally called modified Uspensky's algorithm by its inventors Collins and Akritas. After going through names like "CollinsâÂÂAkritas method" and "Descartes' method" (too confusing if ones considers Fourier's article), it was finally François Boulier, of Lille University, who gave it the name VincentâÂÂCollinsâÂÂAkritas (VCA) method, p. 24, based on the fact that "Uspensky's method" does not exist and neither does "Descartes' method". The best implementation of this method is due to Rouillier and Zimmerman, and to this date, it is the fastest bisection method. It has the same worst case complexity as Sturm's algorithm, but is almost always much faster. It has been implemented in Maple's RootFinding package.
Here is how VCA(p, (a, b)) works:
Below is a recursive presentation of the original algorithm VCA(p, (a, b)).
VCA(p, (a, b))
Input: A univariate, square-free polynomial p(ub * x) â Z[x], p(0) â 0 of degree deg(p), and the open interval (a, b) = (0, ub), where ub is an upper bound on the values of the positive roots of p(x). (The positive roots of p(ub * x) are all in the open interval (0, 1)).<br/> Output: A list of isolating intervals of the positive roots of p(x)
1 var â the number of sign variations of (x + 1)<sup>deg(p)</sup>p() // Budan's "0_1 roots test"; 2 if var = 0 then RETURN â ; 3 if var = 1 then RETURN {(a, b)}; 4 p<sub>0</sub> â 2<sup>deg(p)</sup>p() // Look for real roots in (0, ); 5 m â (a + b) // Is a root? 6 p<sub>1</sub> â 2<sup>deg(p)</sup>p() // Look for real roots in (, 1); 7 if p() â 0 then 8 RETURN VCA (p<sub>0</sub>, (a, m)) ⪠VCA (p<sub>1</sub>, (m, b)) 9 else 10 RETURN VCA (p<sub>0</sub>, (a, m)) ⪠{[m, m]} ⪠VCA (p<sub>1</sub>, (m, b)) 11 end
Remark
Given the polynomial and considering as an upper bound on the values of the positive roots the arguments of the VCA method are: and .
1 var â 2 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 7x<sup>3</sup> â 7x<sup>2</sup> â 35x + 43 4 p<sub>0</sub> â 64x<sup>3</sup> â 112x + 56 5 m â 2 6 p<sub>1</sub> â 64x<sup>3</sup> + 192x<sup>2</sup> + 80x + 8 7 p() = 1 8 RETURN VCA(64x<sup>3</sup> â 112x + 56, (0, 2)) ⪠VCA(64x<sup>3</sup> + 192x<sup>2</sup> + 80x + 8, (2, 4))
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VCA(64x<sup>3</sup> â 112x + 56, (0, 2)) 1 var â 2 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 56x<sup>3</sup> + 56x<sup>2</sup> â 56x + 8 4 p<sub>0</sub> â 64x<sup>3</sup> â 448x + 448 5 m â 1 6 p<sub>1</sub> â 64x<sup>3</sup> + 192x<sup>2</sup> â 256x + 64 7 p() = 8 8 RETURN VCA(64x<sup>3</sup> â 448x + 448, (0, 1)) ⪠VCA(64x<sup>3</sup> + 192x<sup>2</sup> â 256x + 64, (1, 2))
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VCA(64x<sup>3</sup> â 448x + 448, (0, 1)) 1 var â 0 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 448x<sup>3</sup> + 896x<sup>2</sup> + 448x + 64 2 RETURN âÂÂ
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VCA(64x<sup>3</sup> + 192x<sup>2</sup> â 256x + 64, (1, 2)) 1 var â 2 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 64x<sup>3</sup> â 64x<sup>2</sup> â 128x + 64 4 p<sub>0</sub> â 64x<sup>3</sup> + 384x<sup>2</sup> â 1024x + 512 5 m â 6 p<sub>1</sub> â 64x<sup>3</sup> + 576x<sup>2</sup> â 64x + 64 7 p() = âÂÂ8 8 RETURN VCA(64x<sup>3</sup> + 384x<sup>2</sup> â 1024x + 512, (1, )) ⪠VCA(64x<sup>3</sup> + 576x<sup>2</sup> â 64x â 64, (, 2))
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VCA(64x<sup>3</sup> + 384x<sup>2</sup> â 1024x + 512, (1, )) 1 var â 1 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 512x<sup>3</sup> + 512x<sup>2</sup> â 128x â 64 3 RETURN {(1, )}
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VCA(64x<sup>3</sup> + 576x<sup>2</sup> â 64x â 64, (, 2)) 1 var â 1 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = âÂÂ64x<sup>3</sup> â 256x<sup>2</sup> + 256x + 512 3 RETURN {(, 2)}
List of isolation intervals:
List of pairs to be processed:
Remove the first and process it.
VCA(64x<sup>3</sup> + 192x<sup>2</sup> + 80x + 8, (2, 4)) 1 var â 0 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 8x<sup>3</sup> + 104x<sup>2</sup> + 376x + 344 2 RETURN âÂÂ
List of isolation intervals:
List of pairs to be processed: .
Finished.
Therefore, the two positive roots of the polynomial lie inside the isolation intervals and }. Each root can be approximated by (for example) bisecting the isolation interval it lies in until the difference of the endpoints is smaller than ; following this approach, the roots turn out to be and .
This was developed last and is the simplest real root isolation method derived from .
Here is how VAG(p, (a, b)) works:
Below is a recursive presentation of VAG(p, (a, b)).
VAG(p, (a, b))<br/> Input: A univariate, square-free polynomial p(x) â Z[x], p(0) â 0 of degree deg(p) and the open interval (a, b) = (0, ub), where ub is an upper bound on the values of the positive roots of p(x). <br/> Output: A list of isolating intervals of the positive roots of p(x).
1 var â the number of sign variations of (x + 1)<sup>deg(p)</sup> p() // The AlesinaâÂÂGaluzzi "a_b roots test"; 2 if var = 0 then RETURN â ; 3 if var = 1 then RETURN {(a, b)}; 4 m â (a + b) // Subdivide the interval (a, b) in two equal parts; 5 if p(m) â 0 then 6 RETURN VAG(p, (a, m)) ⪠VAG(p, (m, b)) 7 else 8 RETURN VAG(p, (a, m)) ⪠{[m, m]} ⪠VAG(p, (m, b)) 9 end
Remarks
Given the polynomial p(x) = x<sup>3</sup> â 7x + 7 and considering as an upper bound on the values of the positive roots ub = 4 the arguments of VAG are: p(x) = x<sup>3</sup> â 7x + 7 and (a, b) = (0, 4).
1 var â 2 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 43x<sup>3</sup> â 35x<sup>2</sup> â 7x + 7 4 m â (0 + 4) = 2 5 p(m) = 1 8 RETURN VAG(x<sup>3</sup> â 7x + 7, (0, 2)) ⪠VAG(x<sup>3</sup> â 7x + 7, (2, 4)
List of isolation intervals: {}.
List of intervals to be processed: {(0, 2), (2, 4)}.
Remove the first and process it.
VAG(x<sup>3</sup> â 7x + 7, (0, 2)) 1 var â 2 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = x<sup>3</sup> â 7x<sup>2</sup> + 7x + 7 4 m â (0 + 2) = 1 5 p(m) = 1 8 RETURN VAG(x<sup>3</sup> â 7x + 7, (0, 1)) ⪠VAG(x<sup>3</sup> â 7x + 7, (1, 2)
List of isolation intervals: {}.
List of intervals to be processed: {(0, 1), (1, 2), (2, 4)}.
Remove the first and process it.
VAG(x<sup>3</sup> â 7x + 7, (0, 1)) 1 var â 0 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = x<sup>3</sup> + 7x<sup>2</sup> + 14x + 7 2 RETURN âÂÂ
List of isolation intervals: {}.
List of intervals to be processed: {(1, 2), (2, 4)}.
Remove the first and process it.
VAG(x<sup>3</sup> â 7x + 7, (1, 2)) 1 var â 2 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = x<sup>3</sup> â 2x<sup>2</sup> â x + 1 4 m â (1 + 2) = 5 p(m) = â 8 RETURN VAG(x<sup>3</sup> â 7x + 7, (1, )) ⪠VAG(x<sup>3</sup> â 7x + 7, (, 2))
List of isolation intervals: {}.
List of intervals to be processed: {(1, ), (, 2), (2, 4)}.
Remove the first and process it.
VAG(x<sup>3</sup> â 7x + 7, (1, )) 1 var â 1 // the number of sign variations in the sequence of coefficients of 2<sup>3</sup>(x + 1)<sup>3</sup>p() = x<sup>3</sup> + 2x<sup>2</sup> â 8x â 8 3 RETURN (1, )
List of isolation intervals: {(1, )}.
List of intervals to be processed: {(, 2), (2, 4)}.
Remove the first and process it.
VAG(x<sup>3</sup> â 7x + 7, (, 2)) 1 var â 1 // the number of sign variations in the sequence of coefficients of 2<sup>3</sup>(x + 1)<sup>3</sup>p() = 8x<sup>3</sup> + 4x<sup>2</sup> â 4x â 1 3 RETURN (, 2)
List of isolation intervals: {(1, ), (, 2)}.
List of intervals to be processed: {(2, 4)}.
Remove the first and process it.
VAG(x<sup>3</sup> â 7x + 7, (2, 4)) 1 var â 0 // the number of sign variations in the sequence of coefficients of (x + 1)<sup>3</sup>p() = 344x<sup>3</sup> + 376x<sup>2</sup> + 104x + 8 2 RETURN âÂÂ
List of isolation intervals: {(1, ), (, 2)}.
List of intervals to be processed: â .
Finished.
Therefore, the two positive roots of the polynomial lie inside the isolation intervals and }. Each root can be approximated by (for example) bisecting the isolation interval it lies in until the difference of the endpoints is smaller than ; following this approach, the roots turn out to be and .