Quadratic inequality with negative roots

inequalityquadratics

Assume the following quadratic inequality: $$0\lt x^2+4x-100$$ The solutions are: $$
x\lt -2-\sqrt{104},\qquad x\gt-2+\sqrt{104}
$$

In this case, the positive root keeps the original direction of the inequality ($\gt$), but the negative root inverts it.

However, for the general case: $0\lt ax^2+bx+c$, how do I know which root have which inequality direction? Can I say: "if the root is positive the inequality direction of the solution is the same as the original inequality, or the inverted direction otherwise"? Or does it actually depend on the signs and/or values of $a$, $b$ and $c$? and what about $\geq$? What about quadratic inequations where all of their roots are positive or negative?

Best Answer

The easiest way is to think about it graphically. enter image description here

If the parabola has real distinct roots $r_1,r_2$ where $r_1<r_2$ (this will be the case if the discriminant is positive, i.e. $b^2-4ac>0$) then

  1. If $a>0$, we have $y>0\iff x<r_1 \text{ or } x>r_2$

  2. If $a<0$, we have $y>0\iff r_1<x<r_2$