In mathematics, the Sturm sequence of a univariate polynomial p is a sequence of polynomials associated with p and its derivative by a variant of Euclid's algorithm for polynomials. Sturm's theorem expresses the number of distinct real roots of p located in an interval in terms of the number of changes of signs of the values of the Sturm sequence at the bounds of the interval. Applied to the interval of all the real numbers, it gives the total number of real roots of p. Whereas the fundamental theorem of algebra readily yields the overall number of complex roots, counted with multiplicity, it does not provide a procedure for calculating them. Sturm's theorem counts the number of distinct real roots and locates them in intervals. By subdividing the intervals containing some roots, it can isolate the roots into arbitrarily small intervals, each containing exactly one root. This yields the oldest real-root isolation algorithm, and arbitrary-precision root-finding algorithm for univariate polynomials. For computing over the reals, Sturm's theorem is less efficient than other methods based on Descartes' rule of signs. However, it works on every real closed field, and, therefore, remains fundamental for the theoretical study of the computational complexity of decidability and quantifier elimination in the first order theory of real numbers. The Sturm sequence and Sturm's theorem are named after Jacques Charles François Sturm, who discovered the theorem in 1829.
The theorem The Sturm chain or Sturm sequence of a univariate polynomial P(x) with real coefficients is the sequence of polynomials P0,P1,…, such that
P0=P,P1=P′,Pi+1=−rem(Pi−1,Pi), for i ≥ 1, where P' is the derivative of P, and rem(Pi−1,Pi) is the remainder of the Euclidean division of Pi−1 by Pi. The length of the Sturm sequence is at most the degree of P. The number of sign variations at ξ of the Sturm sequence of P is the number of sign changes (ignoring zeros) in the sequence of real numbers
P0(ξ),P1(ξ),P2(ξ),…. This number of sign variations is denoted here V(ξ). Sturm's theorem states that, if P is a square-free polynomial, the number of distinct real roots of P in the half-open interval (a, b] is V(a) − V(b) (here, a and b are real numbers such that a < b). The theorem extends to unbounded intervals by defining the sign at +∞ of a polynomial as the sign of its leading coefficient (that is, the coefficient of the term of highest degree). At –∞ the sign of a polynomial is the sign of its leading coefficient for a polynomial of even degree, and the opposite sign for a polynomial of odd degree. In the case of a non-square-free polynomial, if neither a nor b is a multiple root of p, then V(a) − V(b) is the number of distinct real roots of P. The proof of the theorem is as follows: when the value of x increases from a to b, it may pass through a zero of some Pi (i > 0); when this occurs, the number of sign variations of (Pi−1,Pi,Pi+1) does not change. When x passes through a root of P0=P, the number of sign variations of (P0,P1) decreases from 1 to 0. These are the only values of x where some sign may change.
Example
Suppose we wish to find the number of roots in some range for the polynomial p(x)=x4+x3−x−1. So
p0(x)=p(x)=x4+x3−x−1p1(x)=p′(x)=4x3+3x2−1 The remainder of the Euclidean division of p0 by p1 is −316x2−34x−1516; multiplying it by −1 we obtain
p2(x)=316x2+34x+1516. Next dividing p1 by p2 and multiplying the remainder by −1, we obtain
p3(x)=−32x−64. Now dividing p2 by p3 and multiplying the remainder by −1, we obtain
p4(x)=−316. As this is a constant, this finishes the computation of the Sturm sequence. To find the number of real roots of p0 one has to evaluate the sequences of the signs of these polynomials at −∞ and ∞, which are respectively (+, −, +, +, −) and (+, +, +, −, −). Thus
V(−∞)−V(+∞)=3−1=2, where V denotes the number of sign changes in the sequence, which shows that p has two real roots. This can be verified by noting that p(x) can be factored as (x2 − 1)(x2 + x + 1), where the first factor has the roots −1 and 1, and second factor has no real roots. This last assertion results from the quadratic formula, and also from Sturm's theorem, which gives the sign sequences (+, –, –) at −∞ and (+, +, –) at +∞.
Generalization
Sturm sequences have been generalized in two directions. To define each polynomial in the sequence, Sturm used the negative of the remainder of the Euclidean division of the two preceding ones. The theorem remains true if one replaces the negative of the remainder by its product or quotient by a positive constant or the square of a polynomial. It is also useful (see below) to consider sequences where the second polynomial is not the derivative of the first one. A generalized Sturm sequence is a finite sequence of polynomials with real coefficients
P0,P1,…,Pm such that
the degrees are decreasing after the first one: degPi<degPi−1 for i = 2, ..., m; Pm does not have any real root or has no sign changes near its real roots. if Pi(ξ) = 0 for 0 < i < m and ξ a real number, then Pi −1 (ξ) Pi + 1(ξ) < 0. The last condition implies that two consecutive polynomials do not have any common real root. In particular the original Sturm sequence is a generalized Sturm sequence, if (and only if) the polynomial has no multiple real root (otherwise the first two polynomials of its Sturm sequence have a common root). When computing the original Sturm sequence by Euclidean division, it may happen that one encounters a polynomial that has a factor that is never negative, such a x2 or x2+1. In this case, if one continues the computation with the polynomial replaced by its quotient by the nonnegative factor, one gets a generalized Sturm sequence, which may also be used for computing the number of real roots, since the proof of Sturm's theorem still applies (because of the third condition). This may sometimes simplify the computation, although it is generally difficult to find such nonnegative factors, except for even powers of x.
Use of pseudo-remainder sequences
… excerpt ends here. Continue reading the full article.