Solve x² − 4x − 12 ≤ 0

Quadratic inequality, worked out line by line the way a teacher would write it.

Answer

Solution−2 ≤ x ≤ 6
Interval notation[−2, 6]

Step-by-step solution

6 steps
  1. 1 Given
    x^{2} - 4 x - 12 \le 0

    Solve for x.

  2. 2 Factor
    \left(x - 6\right) \left(x + 2\right) \le 0
  3. 3 Critical points: where the expression is 0 or undefined
    \text{zeros: } x = 6,\; x = -2

    The sign can only change at these points, so test one value in each interval between them.

  4. 4 Sign chart: the sign of each factor in each interval
    \begin{array}{c|ccccc} & \left(-\infty,\, -2\right) & -2 & \left(-2,\, 6\right) & 6 & \left(6,\, \infty\right) \\ \hline x - 6 & - & - & - & 0 & + \\ \hline x + 2 & - & 0 & + & + & + \\ \hline \text{whole} & + & 0 & - & 0 & + \end{array}

    Test values: x = -3, x = -1, x = 7.

  5. 5 Keep the intervals where the expression is negative
    -2 \le x \le 6

    The zeros count too (≤ / ≥), but values where it is undefined never do.

  6. 6 Solution
    -2 \le x \le 6\qquad \left[ -2, 6 \right]

Check with test values

xLeft sideRight sideHolds?
−1−70✓ true
−390✗ false
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.