Number of real roots of a polynomial
Well received (30 votes, 1,248 views) and unanswered for 9 years. Check later papers before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Let \(P\in \mathbb{R}[x]\) be a polynomial such that \((P, P') = 1\). Suppose that we want to calculate the number of real roots of \(P\) in the interval \([a, b]\) (to simplify, let us assume that \(P(a), P(b) \ne 0\)). An answer to this question is given by Sturm's theorem: if we consider the sequence of polynomials
\[\begin{align*} P_0(x) &= P(x), \\\ P_1(x) &= P'(x), \\\ P_{k + 1}(x) &= -P_{k - 1}(x) \mod P_k(x), \\\ &\ \ \vdots \\\ 0 &= -P_{m - 1}(x) \mod P_m(x). \end{align*}\]
Then answer is \(W(b) - W(a)\) where \(W(c)\) is the number of sign changes (after omitting zeroes) in the sequence the \(P_0(c), P_1(c), \ldots , P_m(c)\).
But there is another way to calculate the number of real roots of \(P\) in the interval \([a, b]\):
If we consider the function \(G(z) = \frac{P'(z)}{P(z)}\) as a function of the complex variable \(z\) and integrate it over the rectangle with vertices $b\pm \varepsilon i,a\pm …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.