In short
A polynomial inequality like (x - 1)(x - 3)(x + 2) > 0 asks: for which values of x is the polynomial positive (or negative)? The sign scheme (also called the wavy curve or method of intervals) answers this by marking the roots on the number line and tracking where the polynomial changes sign. For linear inequalities, the answer is a single interval. For higher-degree polynomials, it is a union of intervals.
A shopkeeper stocks boxes of 12 mangoes each. She rejects a box if more than 2 mangoes are damaged. One morning she finds that the number of damaged mangoes in a box satisfies 3x - 7 > 5, where x is a count per box. Which boxes get rejected? You need to solve an inequality — find the set of values where a condition holds, not just a single solution.
Equations ask "where does this expression equal zero?" Inequalities ask "where is it positive?" or "where is it negative?" The answer is not a single number but a range — an interval or a union of intervals on the number line. The technique for finding these intervals systematically is the sign scheme, and it works for any polynomial.
Solving linear inequalities
A linear inequality has the form ax + b > 0 (or \geq, <, \leq). The rules for solving it are almost identical to solving a linear equation, with one critical difference.
Rule 1. You can add or subtract any number from both sides without changing the inequality direction.
Rule 2. You can multiply or divide both sides by a positive number without changing the direction.
Rule 3. Multiplying or dividing by a negative number reverses the inequality.
Take 3x - 7 > 5. Add 7: 3x > 12. Divide by 3 (positive): x > 4. The solution set is the interval (4, \infty).
Take -2x + 6 \leq 10. Subtract 6: -2x \leq 4. Divide by -2 (negative — flip the sign): x \geq -2. The solution set is [-2, \infty).
The critical point to remember: dividing by a negative number flips the inequality. Forgetting this is the single most common error in inequality problems.
From quadratic to polynomial: the sign scheme
You already know from quadratic inequalities that a quadratic like x^2 - 5x + 6 > 0 can be factored as (x-2)(x-3) > 0, and the solution comes from checking the sign in each interval created by the roots x = 2 and x = 3.
The same idea scales to any polynomial. Consider:
The roots are x = -2, 1, 3. These three points divide the number line into four intervals: (-\infty, -2), (-2, 1), (1, 3), (3, \infty). In each interval, the polynomial has a constant sign (positive or negative) because it is continuous and has no roots inside the interval.
The sign scheme (also called the wavy curve method or method of intervals) determines the sign in each interval without plugging in test points for every single one. Here is how it works.
The wavy curve method — step by step
Step 1. Factor the polynomial completely. Write the inequality in the form p(x) > 0 (or < 0, \geq 0, \leq 0), where p(x) is a product of linear factors.
Step 2. Mark the roots on the number line. Plot all real roots in increasing order.
Step 3. Determine the sign in the rightmost interval. For large positive x, the sign of p(x) is determined by the leading coefficient. If the leading coefficient is positive, p(x) > 0 in the rightmost interval.
Step 4. Alternate signs as you cross each root. Each time you pass through a root of odd multiplicity (simple root), the sign flips. Each time you pass through a root of even multiplicity (repeated root), the sign stays the same.
Step 5. Read off the solution intervals where the sign matches the inequality.
Why does the sign alternate? At a simple root x = a, the factor (x - a) changes from negative to positive (or vice versa) as x crosses a. All other factors are nonzero at x = a and do not change sign in a small neighbourhood of a. So the product flips sign exactly once.
Repeated roots — when the sign does not flip
If a factor appears with even multiplicity — say (x - 2)^2 — then the corresponding factor is always non-negative near x = 2. The polynomial touches the x-axis at x = 2 but does not cross it. The sign does not change.
Consider (x - 1)(x - 2)^2 > 0. The roots are x = 1 (simple) and x = 2 (double).
The rule to remember: odd multiplicity = sign change; even multiplicity = no sign change. This is the same behaviour you see in the graph of a polynomial — the curve crosses the axis at simple roots and bounces off at double roots.
Graphical interpretation
The sign scheme is really a shortcut for reading the graph. When p(x) > 0, the graph of y = p(x) lies above the x-axis. When p(x) < 0, the graph lies below.
The graph makes clear why the wavy curve works: a polynomial is continuous, so it can only change sign by passing through zero. Between consecutive roots, the sign is constant. The sign scheme extracts exactly this structural information without needing to plot the full graph.
Interactive: build your own wavy curve
Drag the three root points along the number line to set the roots of a cubic (x - a)(x - b)(x - c). The figure shows the sign in each interval and highlights the positive regions. Watch how the positive and negative regions shift as you move the roots.
Two worked examples
Example 1: Solve $(x + 3)(x - 1)(x - 4) \leq 0$
Step 1. Identify the roots. The roots are x = -3, 1, 4.
Why: each linear factor (x - a) is zero at x = a. These are the only points where the polynomial can change sign.
Step 2. Set up the sign scheme. Mark -3, 1, 4 on the number line. The leading coefficient is positive (x^3 term), so the polynomial is positive in the rightmost interval (4, \infty).
Why: for very large x, all three factors are positive, so the product is positive.
Step 3. Alternate signs moving left: positive in (4, \infty), negative in (1, 4), positive in (-3, 1), negative in (-\infty, -3).
Why: each root has multiplicity 1 (odd), so the sign flips at every root.
Step 4. Read the solution. The inequality is \leq 0, so include the negative intervals and the roots themselves.
Step 5. Verify with test points. At x = -4: (-1)(-5)(-8) = -40 < 0. At x = 0: (3)(-1)(-4) = 12 > 0. At x = 2: (5)(1)(-2) = -10 < 0. At x = 5: (8)(4)(1) = 32 > 0. Consistent with the sign scheme.
Result: x \in (-\infty, -3] \cup [1, 4].
The test points confirm the sign scheme. In practice, once you trust the method, you only need the leading coefficient and the multiplicity of each root — no test points required.
Example 2: Solve $x^2(x - 2)^3(x + 1) \geq 0$
Step 1. Identify the roots and their multiplicities. x = 0 (multiplicity 2, even), x = 2 (multiplicity 3, odd), x = -1 (multiplicity 1, odd).
Why: multiplicities matter because even-multiplicity roots do not cause a sign change, while odd-multiplicity roots do.
Step 2. Set up the sign scheme. Mark -1, 0, 2 on the number line. The leading term is x^6 (degree 2 + 3 + 1 = 6, positive coefficient), so p(x) > 0 in the rightmost interval (2, \infty).
Why: for large x, x^2 > 0, (x-2)^3 > 0, (x+1) > 0, so the product is positive.
Step 3. Apply the sign-change rule moving left from (2, \infty):
- At x = 2 (odd multiplicity 3): sign flips → negative in (0, 2).
- At x = 0 (even multiplicity 2): sign stays → negative in (-1, 0).
- At x = -1 (odd multiplicity 1): sign flips → positive in (-\infty, -1).
Why: the double root at x = 0 means x^2 is always non-negative near 0 — the polynomial does not cross the axis there.
Step 4. Read the solution. The inequality is \geq 0, so include all intervals where p(x) > 0 and all roots (where p(x) = 0).
Positive intervals: (-\infty, -1) and (2, \infty). Roots: x = -1, 0, 2.
Result: x \in (-\infty, -1] \cup \{0\} \cup [2, \infty).
The isolated point \{0\} in the solution is the hallmark of an even-multiplicity root under a non-strict inequality. The polynomial is negative on both sides of 0, but exactly zero at 0 — so 0 satisfies \geq 0 as a lone included point.
Common confusions
-
"I can just test one point and extend the sign to all intervals." Each interval has its own sign. Testing one point tells you the sign in that interval only. The wavy curve method avoids this confusion by systematically assigning signs to every interval.
-
"Multiplying both sides of an inequality by x is safe." The sign of x is unknown. If x is negative, the inequality reverses; if x = 0, you lose information. Never multiply an inequality by a variable unless you know its sign. Instead, move everything to one side and factor.
-
"A double root means two separate roots." A double root is a single root where the polynomial touches the axis without crossing. It is one point on the number line, not two. The sign does not change there.
-
"The wavy curve only works for polynomials." The sign scheme extends to rational functions \frac{p(x)}{q(x)} — you mark both the roots of p(x) (zeros) and the roots of q(x) (vertical asymptotes), and alternate signs using the same multiplicity rules. The only difference is that vertical asymptotes are always excluded from the solution (division by zero is undefined).
-
"Strict inequality (>) and non-strict (\geq) have the same solution." They differ at the roots. For p(x) > 0, roots are excluded (open circles). For p(x) \geq 0, roots are included (filled circles). This changes the solution set at finitely many points, but in exam problems, missing this distinction costs marks.
Going deeper
If you can factor a polynomial, apply the sign scheme with correct multiplicity rules, and write the solution as a union of intervals, you have the complete method for polynomial inequalities. What follows extends the technique.
Rational inequalities
The wavy curve method extends naturally to inequalities of the form \frac{p(x)}{q(x)} > 0. The key insight: the sign of a fraction depends on the signs of the numerator and denominator. The steps are:
- Factor both p(x) and q(x) completely.
- Mark all roots of p(x) and q(x) on the number line.
- Apply the sign scheme as before — each root of p or q contributes a potential sign change based on its multiplicity.
- Exclude the roots of q(x) from the solution (they make the expression undefined).
For example, \frac{(x-1)(x+3)}{(x-2)} > 0 has critical points at x = -3, 1, 2. The sign alternates: -, +, -, + from left to right (leading coefficient positive, degree of numerator minus denominator is 1, and the rightmost interval has positive sign). The solution is (-3, 1) \cup (2, \infty), with x = 2 excluded.
Why "wavy curve" is the right mental image
The name "wavy curve" comes from the shape of the polynomial graph between its roots. A polynomial of degree n with n distinct real roots crosses the x-axis n times, creating n + 1 regions that alternate in sign. The "wave" is the graph itself, rising and falling as it passes through each root. The sign scheme is a simplified one-dimensional projection of this two-dimensional picture — it keeps only the essential information (the sign) and discards the shape.
For polynomials with repeated roots, the graph "bounces" at even-multiplicity roots (like a ball bouncing off a wall) and "passes through" at odd-multiplicity roots. This physical intuition makes the multiplicity rule easy to remember.
Where this leads next
- Quadratic Inequalities — the special case where the polynomial has degree 2, with the discriminant playing a central role.
- Polynomial Factorization — the prerequisite skill: without factoring, you cannot set up the sign scheme.
- Absolute Value Inequalities — inequalities involving |f(x)|, which reduce to polynomial inequalities after case-splitting.
- Location of Roots — determining where the roots of a polynomial lie, which connects to the sign scheme in reverse.
- Intervals and Inequalities Preview — the foundational ideas about intervals and set notation used throughout this article.