6. Polynomial Inequality Solver
Solve inequalities of a real polynomial \(P(x)\) of degree up to 4: \(P(x)\ \square\ 0\) with \(\square \in \{<, \le, >, \ge\}\). The solver builds a Sturm sequence (exactly counted at \(\pm\infty\)) to isolate real roots, refines them by bisection, then applies the test-point method to return solution intervals with graph + number-line visualizations.
Enter a polynomial and press Calculate. The solver will:
- Form the Sturm sequence (with exact variation counts at \(\pm\infty\)).
- Isolate and refine all real roots by bisection.
- Test the sign of \(P(x)\) on each interval between roots.
- Return the solution set as a union of intervals, and plot it.
Graph of \(y = P(x)\) (blue) with \(y = 0\) (orange dashed). Green segments on the \(x\)-axis show where the inequality holds.
Number line: thick green segments mark the solution intervals. Closed/open dots reflect \(\le,\ge\) vs <,>.
Rate this calculator
0.0
/5
(0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.