Theory
A quadratic inequality asks where an expression is positive or negative, not only where it equals zero. First find the roots of the matching equation. They divide the number line into intervals.
For (x - 2)(x - 5) < 0, the roots are 2 and 5. Test a value between them, such as x = 3: (1)(-2) is negative. So the answer is 2 < x < 5.
Outside the two roots, the product in this example is positive. Therefore (x - 2)(x - 5) > 0 means x < 2 or x > 5. Do not automatically choose the middle interval.
Strict < or > excludes roots, so use open endpoints. Inclusive ≤ or ≥ includes roots, so use ≤ or ≥ at the endpoints. A sketch of the parabola can help, but test signs if unsure.
If the coefficient of x² is negative, the sign pattern reverses. Always test one value in an interval instead of relying on a memorised shape.