Quadratic Inequalities

April 12, 2026

Problem

Solve x²−4x−5 > 0. Show the parabola with positive regions highlighted and number line below.

Explanation

Solving quadratic inequalities: factor, find roots, test intervals

Step 1 — Factor: x24x5=(x5)(x+1)x^2 - 4x - 5 = (x - 5)(x + 1).

Step 2 — Find roots: x=5x = 5 and x=1x = -1. These divide the number line into three intervals.

Step 3 — Test each interval:

  • x=2x = -2: (7)(1)=+7>0(-7)(-1) = +7 > 0
  • x=0x = 0: (5)(1)=5<0(-5)(1) = -5 < 0
  • x=6x = 6: (1)(7)=+7>0(1)(7) = +7 > 0

Step 4 — Solution: x<1x < -1 or x>5x > 5, i.e., (,1)(5,)(-\infty, -1) \cup (5, \infty).

Quick rule for parabolas

For ax2+bx+c>0ax^2 + bx + c > 0 with a>0a > 0: the parabola is positive outside the roots. For <0< 0: between the roots. If a<0a < 0, everything flips.

Try it in the visualization

The parabola shows positive (above x-axis) and negative (below) regions. The solution is highlighted. Adjust bb and cc to change the roots and see the solution region shift. Since the parabola opens up (a>0a > 0), the function is positive outside the roots: x<1x < -1 or x>5x > 5.

Interactive Visualization

Parameters

1.00
-4.00
-5.00
> 0 (positive)
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Quadratic Inequalities | MathSpin