Documentation

Mathlib.Analysis.Calculus.LocalExtr.Polynomial

Rolle's Theorem for polynomials #

In this file we use Rolle's Theorem to relate the number of real roots of a real polynomial and its derivative. Namely, we prove the following facts.

Keywords #

polynomial, Rolle's Theorem, root

The number of roots of a real polynomial p is at most the number of roots of its derivative that are not roots of p plus one.

@[deprecated Polynomial.card_roots_toFinset_le_card_roots_derivative_sdiff_roots_succ (since := "2026-06-03")]

Alias of Polynomial.card_roots_toFinset_le_card_roots_derivative_sdiff_roots_succ.


The number of roots of a real polynomial p is at most the number of roots of its derivative that are not roots of p plus one.

The number of roots of a real polynomial is at most the number of roots of its derivative plus one.

The number of roots of a real polynomial (counted with multiplicities) is at most the number of roots of its derivative (counted with multiplicities) plus one.

The number of real roots of a polynomial is at most the number of roots of its derivative plus one.