Quadratic Inequality Calculator

Solve a quadratic inequality and see the sign chart.

The coefficient of x², not 0.

The coefficient of x.

The constant term.

Sign

Which inequality to solve.

Try

Result

You enteredx2−5x+6<0x^{2} - 5x + 6 < 0

2<x<3\displaystyle 2 < x < 3

Interval notation

(2,3)\displaystyle \left(2, 3\right)
Show the work
  1. Roots of the related equation

    Replace the inequality sign by == and solve with the quadratic formula. The roots are where the parabola meets the xx-axis, and they are the only places where the sign can change.

    x=2x=3\begin{gathered} x = 2 \\ x = 3 \end{gathered}
  2. Sign chart

    Because a>0a > 0 the parabola opens upward, so the quadratic is positive where it is above the xx-axis (outside the roots) and negative between them.

    x(−∞,2)(2,3)(3,∞)f(x)+−+\begin{array}{c|ccc} x & \left(-\infty, 2\right) & \left(2, 3\right) & \left(3, \infty\right) \\ \hline f\left(x\right) & + & - & + \end{array}
  3. Choose the intervals

    The inequality asks where the quadratic is negative. Take the intervals with that sign, and leave the roots out because the quadratic is 0 there.

    x2−5x+6<0  ⟹  2<x<3x^{2} - 5x + 6 < 0 \implies 2 < x < 3
  4. Result

    So the solution is (2,3)\left(2, 3\right).

Worked examples