← Back to course

Math — Mechina

Quadratic inequalities

Summary

A quadratic inequality is an inequality of the form ax2+bx+c>0ax^2+bx+c>0 (or <<, ≥\geq, ≤\leq). It is solved using the graph of the parabola.

  • Find the roots of ax2+bx+c=0ax^2+bx+c=0.
  • Sketch the parabola: opening upward if a>0a>0, downward if a<0a<0.
  • >0>0 — the intervals where the graph is above the xx axis. <0<0 — the intervals where the graph is below the xx axis.
-1123456-2-1123456xyf(x)(2, 0)(3, 0)
x2−5x+6<0x^2-5x+6<0 exactly when the graph is below the axis: 2<x<32<x<3.

If there are no roots (Δ<0\Delta<0), the whole parabola is above or below the axis. Then the solution is every xx or no xx.

Question types

1

Inequality with two roots

The most common type. The question: "Find the values of xx for which..."

Worked example

Solve: x2−4≥0x^2-4\geq 0.

Solution

  1. The roots: x2−4=0x^2-4=0, i.e. x=−2x=-2 and x=2x=2.
  2. a=1>0a=1>0, the parabola opens upward.
  3. ≥0\geq 0 — outside the roots, including the roots themselves.
  4. Answer: x≤−2x\leq -2 or x≥2x\geq 2.
-4-3-2-11234-5-4-3-2-112345xy(-2, 0)(2, 0)

Variants of this type · 3

1.1An inequality not in the form ax2+bx+c>0ax^2+bx+c>0

First move everything to one side. You may not divide by xx — its sign is unknown.

Worked example

Solve: x2<3xx^2<3x.

Solution

IdeaMove to one side and factor.
  1. x2−3x<0x^2-3x<0, that is, x(x−3)<0x(x-3)<0.

    Why: Dividing by xx would lose the case x<0x<0 and the direction of the inequality.

  2. Roots 00 and 33, a=1>0a=1>0, <0<0 — between the roots.
  3. Answer: 0<x<30<x<3.
Checkx=1x=1: 1<31<3 ✓; x=−1x=-1: 1<−31<-3 ✗ ✓.
Common mistakeDividing by xx and getting x<3x<3 — including negative values that are not solutions.
1.2Non-strict inequality with factoring

Worked example

Solve: (x+1)(x−4)≤0(x+1)(x-4)\leq 0.

Solution

IdeaThe factored form already gives the roots.
  1. Roots: −1-1 and 44. a=1>0a=1>0.
  2. ≤0\leq 0 — between the roots, including them.

    Why: At the roots the expression equals 00, and 0≤00\leq 0 is true.

  3. Answer: −1≤x≤4-1\leq x\leq 4.
Checkx=0x=0: 1⋅(−4)=−4≤01\cdot(-4)=-4\leq 0 ✓.
Common mistakeForgetting to include the endpoints in a non-strict inequality.
1.3Fractional coefficients

Worked example

Solve: 12x2−x−4>0\frac{1}{2}x^2-x-4>0.

Solution

IdeaMultiplying by a positive number does not change the direction of the inequality.
  1. Multiply by 22: x2−2x−8>0x^2-2x-8>0.

    Why: 2>02>0, so the >> sign is kept.

  2. (x−4)(x+2)>0(x-4)(x+2)>0: roots −2-2 and 44.
  3. >0>0 — outside the roots: x<−2x<-2 or x>4x>4.
Checkx=5x=5: 12.5−5−4=3.5>012.5-5-4=3.5>0 ✓.
Common mistakeMultiplying by −2-2 and forgetting to flip the sign.
2

Negative coefficient

When a<0a<0 the parabola is upside down, and it is easy to mix up the direction.

Worked example

Solve: −x2+2x+3>0-x^2+2x+3>0.

Solution

  1. The roots: −x2+2x+3=0-x^2+2x+3=0, i.e. x2−2x−3=0x^2-2x-3=0, so x=−1x=-1 and x=3x=3.
  2. a=−1<0a=-1<0, the parabola opens downward, so it is above the axis between the roots.
  3. Answer: −1<x<3-1<x<3.
-3-2-112345-5-4-3-2-112345xy(-1, 0)(3, 0)

Variants of this type · 1

2.1Negative coefficient and a non-strict inequality

Worked example

Solve: −2x2+8≥0-2x^2+8\geq 0.

Solution

IdeaYou can divide by −2-2 and flip the sign, or work with a downward-opening parabola.
  1. Divide by −2-2: x2−4≤0x^2-4\leq 0.

    Why: Dividing by a negative number flips the sign.

  2. Roots ±2\pm 2, between the roots.
  3. Answer: −2≤x≤2-2\leq x\leq 2.
Checkx=0x=0: 8≥08\geq 0 ✓; x=3x=3: −10≥0-10\geq 0 ✗ ✓.
Common mistakeDividing by −2-2 without flipping the sign and getting the opposite interval.
3

no roots

Δ<0\Delta<0: the graph does not cross the xx axis.

Worked example

Solve: x2+x+1>0x^2+x+1>0.

Solution

  1. Δ=1−4=−3<0\Delta=1-4=-3<0, no roots.
  2. a=1>0a=1>0, so the whole parabola is above the xx axis.
  3. Answer: every real xx.
-3-2-1123-2-1123456xy

Variants of this type · 1

3.1Double root (Δ=0\Delta=0)

Here the answer depends on the sign: sometimes "every xx except a point", sometimes "a single point", sometimes "no solution".

Worked example

Solve: (a) x2−6x+9>0x^2-6x+9>0; (b) x2−6x+9≤0x^2-6x+9\leq 0.

Solution

Ideax2−6x+9=(x−3)2x^2-6x+9=(x-3)^2 — a square, always ≥0\geq 0, and equal to 00 only at x=3x=3.
  1. (a) (x−3)2>0(x-3)^2>0 for every x≠3x\neq 3.
  2. (b) (x−3)2≤0(x-3)^2\leq 0 only when (x−3)2=0(x-3)^2=0, that is, x=3x=3.

    Why: A square cannot be negative.

Checkx=3x=3 makes the expression zero; every other point gives a positive number ✓.
Common mistakeAnswering "no solution" in (b) and forgetting the point x=3x=3.
What if…(x−3)2<0(x-3)^2<0 — no solution; (x−3)2≥0(x-3)^2\geq 0 — every xx.
4

System of inequalities

Two inequalities that must hold together, or a double inequality such as 3<x2−1<83<x^2-1<8.

Worked example

Solve the system: x2−5x+4≤0x^2-5x+4\leq 0 and x2−9<0x^2-9<0.

Solution

IdeaSolve each inequality separately and take the intersection on the number line.
  1. x2−5x+4=(x−1)(x−4)≤0x^2-5x+4=(x-1)(x-4)\leq 0: 1≤x≤41\leq x\leq 4.
  2. x2−9<0x^2-9<0: −3<x<3-3<x<3.
  3. Intersection: 1≤x<31\leq x<3.

    Why: "And" — only the xx values that satisfy both.

Checkx=2x=2: 4−10+4=−2≤04-10+4=-2\leq 0 ✓ and 4−9<04-9<0 ✓. x=3.5x=3.5: 12.25−9>012.25-9>0 ✗ ✓.
Common mistakeTaking the union instead of the intersection, or losing the difference between ≤\leq and << at an endpoint.
What if…The double inequality 3<x2−1<83<x^2-1<8 is exactly the system x2>4x^2>4 and x2<9x^2<9: −3<x<−2-3<x<-2 or 2<x<32<x<3.
-4-3-2-112345-5-4-3-2-1123456xy12

Variants of this type · 2

4.1Double inequality

Worked example

Solve: 3<x2−1<83<x^2-1<8.

Solution

IdeaSplit into two inequalities and take the intersection.
  1. x2−1>3x^2-1>3: x2>4x^2>4, that is, x<−2x<-2 or x>2x>2.
  2. x2−1<8x^2-1<8: x2<9x^2<9, that is, −3<x<3-3<x<3.
  3. Intersection: −3<x<−2-3<x<-2 or 2<x<32<x<3.
Checkx=2.5x=2.5: 6.25−1=5.256.25-1=5.25, between 33 and 88 ✓.
Common mistakeTaking the root of every part and getting only 2<x<32<x<3 — losing the negative side.
4.2Quadratic and linear

Worked example

Solve: x2−x−6≤0x^2-x-6\leq 0 and 2x−1>02x-1>0.

Solution

IdeaThe same method — each inequality on its own, then the intersection.
  1. (x−3)(x+2)≤0(x-3)(x+2)\leq 0: −2≤x≤3-2\leq x\leq 3.
  2. 2x−1>02x-1>0: x>12x>\frac{1}{2}.
  3. Intersection: 12<x≤3\frac{1}{2}<x\leq 3.
Checkx=1x=1: 1−1−6<01-1-6<0 ✓, 2−1>02-1>0 ✓.
Common mistakeIncluding x=12x=\frac{1}{2} — the inequality is strict.
5

Inequality with a parameter

"For which values of mm does the inequality hold for every xx?" or "have no solution?"

Worked example

For which values of mm does x2+mx+4>0x^2+mx+4>0 hold for every xx?

Solution

IdeaAn upward-opening parabola is always positive when it has no roots: Δ<0\Delta<0.
  1. a=1>0a=1>0 ✓.
  2. Δ=m2−16<0\Delta=m^2-16<0, that is, m2<16m^2<16.
  3. Answer: −4<m<4-4<m<4.
Checkm=4m=4: (x+2)2>0(x+2)^2>0 fails at x=−2x=-2, so 44 is not included ✓.
Common mistakeAnswering only m<4m<4 — forgetting that m=−5m=-5 also gives Δ>0\Delta>0.
What if…"≥0\geq 0 for every xx" — Δ≤0\Delta\leq 0 is enough, and then −4≤m≤4-4\leq m\leq 4.

Variants of this type · 2

5.1Parameter in the coefficient of x2x^2

When the parameter is in aa — check a=0a=0 separately and also require a sign for aa.

Worked example

For which values of mm does mx2−4x+m<0mx^2-4x+m<0 hold for every xx?

Solution

IdeaAlways negative: a<0a<0 and Δ<0\Delta<0.
  1. m=0m=0: −4x<0-4x<0 — not for every xx, rejected.

    Why: Without x2x^2 it is a line, and a line is not negative everywhere.

  2. m<0m<0 and Δ=16−4m2<0\Delta=16-4m^2<0, that is, m2>4m^2>4.
  3. Intersection: m<−2m<-2.
Checkm=−3m=-3: −3x2−4x−3-3x^2-4x-3, Δ=16−36<0\Delta=16-36<0 ✓.
Common mistakeAnswering m<−2m<-2 or m>2m>2 — but for m>2m>2 the parabola opens upward.
5.2Inequality with no solution

Worked example

For which values of kk does x2−2x+k<0x^2-2x+k<0 have no solution?

Solution

IdeaNo solution of <0<0 ⇔ the expression is ≥0\geq 0 for every xx ⇔ Δ≤0\Delta\leq 0 (when a>0a>0).
  1. Δ=4−4k≤0\Delta=4-4k\leq 0.
  2. k≥1k\geq 1.
Checkk=1k=1: (x−1)2<0(x-1)^2<0 — no solution ✓.
Common mistakeRequiring Δ<0\Delta<0 and losing k=1k=1.

Exam-style problems

One problem with several parts on the same data, as on the exam. Each part adds something to the drawing.

Practice · 20

Test yourself with problems and full solutions.

Go to practice