Loading…

Polynomial Inequality Solver

Math Algebra • Inequalities

View all topics

Enter the coefficients of \(P(x) = a_4x^4 + a_3x^3 + a_2x^2 + a_1x + a_0\), choose the inequality sign, and press Calculate. Empty boxes are treated as 0.

Ready
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.

Frequently Asked Questions

What degrees of polynomials can the polynomial inequality solver handle?

It supports real polynomials up to degree 4 (quartic), using coefficients a4 through a0. Lower-degree polynomials work by leaving higher-degree coefficients as 0.

How does the calculator find the real roots of a polynomial inequality?

It builds a Sturm sequence to count and isolate real roots, then refines each root using bisection. The solution intervals are formed by testing the sign of P(x) between adjacent roots.

How are endpoints treated for < versus <= in polynomial inequalities?

Strict inequalities (< or >) exclude roots, so endpoints are open. Non-strict inequalities (<= or >=) include roots where P(x) = 0, so endpoints are closed.

Why is checking one test point per interval enough to solve P(x) compared to 0?

Between consecutive real roots, a polynomial is continuous and does not cross zero, so its sign stays constant on that interval. A single test point determines whether the whole interval satisfies the inequality.