Euler Hall — free maths guides

Solve a quadratic inequality and write the solution as intervals

Find the boundary inputs of a quadratic inequality. The idea in plain words, a worked example, and a check with the answers shown — part of the free Precalculus guides.

Three steps, and the signs do the work

A quadratic inequality such asx2−6x+5≤0x^2-6x+5\le0 is solved in three steps:

1. Find the boundary inputs — where the quadratic equals zero. Herex2−6x+5=(x−1)(x−5)x^2-6x+5=(x-1)(x-5), so the boundaries are11 and55. 2. Test one input in each region the boundaries create: to the left of11, between11 and55, and to the right of55. 3. Report the regions that satisfy the inequality, as intervals.

Forx2−6x+5≤0x^2-6x+5\le0 the test values00,33 and66 give55,−4-4 and55, so the solution is[1, 5][1,\,5].

Why the sign can only change at a zero

Between two consecutive zeros a quadratic has a constant sign, because the only way to change sign is to pass through zero. So the number line splits into at most three pieces (left of the smaller zero, between the zeros, right of the larger), and on each piece one test value settles the sign for the whole piece.

Two special cases follow. If the discriminant is negative there are no zeros, so the sign is the same everywhere — the whole line or nothing. If the discriminant is zero there is one zero, and the quadratic touches the axis there and has that sign on both sides.

Worked example where the leading coefficient is negative

Solve−2x2+8x−6>0-2x^2+8x-6>0.

Step 1. Make the leading coefficient positive by multiplying by−1-1, which flips the inequality:2x2−8x+6<02x^2-8x+6<0.

Step 2. Find the zeros.2x2−8x+6=2(x2−4x+3)=2(x−1)(x−3)2x^2-8x+6=2(x^2-4x+3)=2(x-1)(x-3), so the boundaries are11 and33.

Step 3. Test the middle. Atx=2x=2:8−16+6=−2<08-16+6=-2<0. True.

Step 4. Report. The solution is(1, 3)(1,\,3), and because the original inequality was strict the ends are excluded.

Check. Atx=0x=0 the original is−6>0-6>0, false, and00 is outside(1, 3)(1,\,3). Atx=3x=3 the original is−18+24−6=0-18+24-6=0, not greater than zero, so excluding33 is right.

By the end you can
  • Find the boundary inputs of a quadratic inequality
  • Test one value in each region the boundaries create
  • Write the solution as an interval or a union of intervals with the correct brackets
  • Handle the cases where there are no real zeros or exactly one
Check yourself
  1. 1. Solvex2−4≤0x^2-4\le0.
  2. 2. Solve2x2+3x−2>02x^2+3x-2>0.
  3. 3. Solvex2+2x+5<0x^2+2x+5<0.
  4. 4. Solve−x2+4x−3≥0-x^2+4x-3\ge0.
Answers

1.[−2, 2][-2,\,2]. 2. The zeros are12\dfrac12 and−2-2, so the solution isx<−2x<-2 orx>12x>\dfrac12. 3. The discriminant is4−20=−164-20=-16, negative, and the leading coefficient is positive, so the quadratic is always positive and the inequality has no solution. 4. Multiply by−1-1:x2−4x+3≤0x^2-4x+3\le0, zeros at11 and33, so[1, 3][1,\,3].

Work out where to start — free, no accountAnswer six real questions — free, no account