One-sided polynomial signs #
The first nonzero formal derivative determines a polynomial's sign immediately to the right of a point. To the left, the parity of its root multiplicity supplies the additional sign. These algebraic signs allow endpoint root-count formulas to include multiple roots without choosing nearby evaluation points.
Both signs are zero for the zero polynomial. Over any ordered field they agree with evaluation on sufficiently small open intervals on the appropriate side. No completeness or Archimedean assumption is needed.
References #
S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Chapters 2 and 10.
The right-hand sign, computed from the derivative at the root multiplicity. For a nonzero polynomial over an ordered field this is its first nonzero derivative. The zero polynomial has sign zero.
Equations
- p.signRight a = p.derivativeSign a (Polynomial.rootMultiplicity a p)
Instances For
The left-hand sign is the right-hand sign corrected by multiplicity parity.
Instances For
The derivative formula for the right-hand sign.
The parity formula for the left-hand sign.
Away from a root, the right-hand sign is the sign of the value itself.
Away from a root, the left-hand sign is also the sign of the value.
Adding a multiple of a higher power of X - C a leaves the right-hand sign at a of a
nonzero polynomial unchanged.
Adding a multiple of a higher power of X - C a leaves the left-hand sign at a of a
nonzero polynomial unchanged.
Strictly monotone ring embeddings preserve right-hand signs.
Strictly monotone ring embeddings preserve left-hand signs.
Removing the full root factor gives the same sign as the first nonzero derivative.
A one-sided sign vanishes exactly when the polynomial is zero.
A nonzero polynomial does not vanish where it has its right-hand sign.
A nonzero polynomial does not vanish where it has its left-hand sign.
An even root multiplicity gives equal signs on the two sides.
An odd root multiplicity gives opposite signs on the two sides.
Multiplication multiplies right-hand signs, including when a factor is zero.
Multiplication multiplies left-hand signs, including when a factor is zero.
Negation reverses the right-hand sign.
Negation reverses the left-hand sign.
Powers raise the right-hand sign to the same power, with the convention 0^0 = 1.
Powers raise the left-hand sign to the same power, with the convention 0^0 = 1.
The algebraic one-sided signs are realized on intervals immediately to the left and right, including at multiple roots and for the zero polynomial.
A uniform interval immediately to the right of a on which every polynomial of a list
has its right-hand sign at a.
A uniform interval immediately to the left of a on which every polynomial of a list
has its left-hand sign at a.