Math Core

Lesson 2.4 · Polynomial and Rational Functions

Polynomial and rational inequalities

When is a profit positive? When does a projectile stay above a certain height? Questions like these ask where a function is above or below zero, and for polynomial and rational functions there is one reliable method: find the few places where the sign can change, then test the pieces in between.

Why a sign chart works

A polynomial's graph is unbroken, so by the intermediate value theorem it can only change from positive to negative by passing through a zero. A rational function can also change sign by jumping across a vertical asymptote. Everywhere else, the sign stays the same.

Definition

Critical numbers

The critical numbers of an inequality f(x)>0f(x) > 0 (or ≥\ge, <<, ≤\le) are the real zeros of ff and, for a rational function, the zeros of its denominator. They are the only places where ff can change sign.

The critical numbers cut the number line into intervals. On each interval ff has a single sign, so testing one value per interval tells you the sign on the whole interval.

Solving an inequality with a sign chart

  1. Move everything to one side so the other side is 00. For a rational inequality, combine into a single fraction.
  2. Factor the numerator and denominator completely.
  3. Find the critical numbers and mark them on a number line.
  4. Test one value in each interval (or use multiplicities) to find the sign of ff there.
  5. Choose the intervals that match the inequality. Include zeros of ff for ≤\le or ≥\ge; never include zeros of a denominator.

Polynomial inequalities

Worked example: A cubic inequality

Solve x3−x2−6x>0x^3 - x^2 - 6x > 0.

Factor: x3−x2−6x=x(x2−x−6)=x(x−3)(x+2)x^3 - x^2 - 6x = x(x^2 - x - 6) = x(x - 3)(x + 2). The critical numbers are −2-2, 00 and 33.

intervalxx below −2-2−2-2 to 0000 to 33xx above 33
test xx−3-3−1-11144
value−18-1844−6-62424
sign−-++−-++

The inequality is strict, so the zeros themselves are excluded. The solution is

−2<x<0orx>3.-2 < x < 0 \quad \text{or} \quad x > 3.

On the graph, these are exactly the xx-values where the curve is above the xx-axis.

y = x³ − x² − 6x is above the x-axis for −2 < x < 0 and for x > 3.Open in grapher →
−4−3−2−1012345
−2 < x < 0 or x > 3

A shortcut with multiplicities

You don't always need test values. Start at the far right, where the sign matches the leading coefficient (for large xx, the leading term wins). Then move left across each critical number: the sign flips at a zero of odd multiplicity and stays the same at a zero of even multiplicity.

Worked example: A repeated factor

Solve (x−1)2(x+3)(x−4)≤0(x - 1)^2(x + 3)(x - 4) \le 0.

The critical numbers are −3-3, 11 and 44. The leading term is x2⋅x⋅x=x4x^2 \cdot x \cdot x = x^4, so the sign is ++ to the right of 44.

  • Crossing 44 (multiplicity 11): flip to −- on the interval from 11 to 44.
  • Crossing 11 (multiplicity 22): stay −- on the interval from −3-3 to 11.
  • Crossing −3-3 (multiplicity 11): flip to ++ for xx below −3-3.

The expression is negative on −3<x<1-3 < x < 1 and 1<x<41 < x < 4, and it equals 00 at −3-3, 11 and 44. Because of the "or equal to," all three zeros are included, and the pieces join up:

−3≤x≤4.-3 \le x \le 4.

If the inequality had been strict, (x−1)2(x+3)(x−4)<0(x - 1)^2(x + 3)(x - 4) < 0, you would have to remove x=1x = 1, where the expression is 00: the answer would be −3<x<1-3 < x < 1 or 1<x<41 < x < 4.

Rational inequalities

Rational inequalities use the same chart, with two extra rules. First, the zeros of the denominator are critical numbers too, and they are always excluded, even for ≤\le and ≥\ge, because ff is undefined there. Second, you must get 00 on one side before you do anything else.

Common mistake

Never multiply both sides of an inequality by an expression like x−3x - 3. Its sign depends on xx: when it's negative the inequality should flip, and when it's positive it shouldn't, and you can't know which in advance. Subtract to get 00 on one side and combine into a single fraction instead.

Worked example: Getting zero on one side

Solve x+1x−3≥2\dfrac{x + 1}{x - 3} \ge 2.

Subtract 22 and use the common denominator x−3x - 3:

x+1x−3−2(x−3)x−3≥0⟹x+1−2x+6x−3≥0⟹7−xx−3≥0.\frac{x + 1}{x - 3} - \frac{2(x - 3)}{x - 3} \ge 0 \quad\Longrightarrow\quad \frac{x + 1 - 2x + 6}{x - 3} \ge 0 \quad\Longrightarrow\quad \frac{7 - x}{x - 3} \ge 0.

The critical numbers are 77 (a zero of the numerator, which is allowed) and 33 (a zero of the denominator, which is never allowed).

intervalxx below 3333 to 77xx above 77
test xx005588
value of 7−xx−3\dfrac{7 - x}{x - 3}−73-\dfrac{7}{3}11−15-\dfrac{1}{5}
sign−-++−-

The solution is 3<x≤73 < x \le 7. Check an endpoint in the original: at x=7x = 7, 84=2\dfrac{8}{4} = 2, and 2≥22 \ge 2 is true. ✓

012345678910
3 < x ≤ 7

If you had multiplied both sides by x−3x - 3, you would have gotten x+1≥2x−6x + 1 \ge 2x - 6, or x≤7x \le 7, which wrongly includes values like x=0x = 0 (where the left side is −13-\dfrac{1}{3}).

Worked example: Four critical numbers

Solve x2−4x2−2x−3<0\dfrac{x^2 - 4}{x^2 - 2x - 3} < 0.

Factor:

(x−2)(x+2)(x−3)(x+1)<0.\frac{(x - 2)(x + 2)}{(x - 3)(x + 1)} < 0.

The critical numbers are −2-2, −1-1, 22 and 33, each with multiplicity 11. Far to the right the fraction behaves like x2x2=1\dfrac{x^2}{x^2} = 1, which is positive. Every critical number has odd multiplicity, so the signs alternate moving left:

intervalxx below −2-2−2-2 to −1-1−1-1 to 2222 to 33xx above 33
sign++−-++−-++

The solution is −2<x<−1-2 < x < -1 or 2<x<32 < x < 3. All endpoints are excluded: −2-2 and 22 because the inequality is strict, and −1-1 and 33 because they make the denominator 00.

Tip

Spot-check one interval with an actual number even when you use the multiplicity shortcut. If x=0x = 0 lies in an interval you think is positive, f(0)f(0) is quick to compute and catches most sign slips. Here f(0)=−4−3=43>0f(0) = \dfrac{-4}{-3} = \dfrac{4}{3} > 0, matching the chart.

Practice

Practice 1

Solve (x−2)(x+5)<0(x - 2)(x + 5) < 0.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 2

Solve x3−4x≥0x^3 - 4x \ge 0.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 3

Solve (x+1)2(x−3)>0(x + 1)^2(x - 3) > 0.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 4

Solve x4−5x2+4<0x^4 - 5x^2 + 4 < 0.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 5

Solve x−4x+1≤0\dfrac{x - 4}{x + 1} \le 0.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 6

Solve 3x−2<1\dfrac{3}{x - 2} < 1.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 7

Solve x2−9x−1≥0\dfrac{x^2 - 9}{x - 1} \ge 0.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5

Practice 8

A student solves 2xx+3>1\dfrac{2x}{x + 3} > 1 by multiplying both sides by x+3x + 3 and gets x>3x > 3. Find the correct solution.

Enter an inequality, e.g. x >= 4, -2 < x <= 3, or x < 1 or x > 5