D8 - Polynomial inequalities

D8 - Polynomial inequalities

An equation finds the inputs where a polynomial is zero; an inequality asks what happens between those inputs. You will use factors to determine the signs of cubics and quartics, explain what repeated roots do, and give complete exact solution sets with the right endpoints.

Cubic and quartic signs

Can three roots, together with one known interval sign, tell you where a cubic is positive? Consider p(x)=(x+2)(x−1)(x−3)p(x)=(x+2)(x-1)(x-3). At x=0x=0, its three factors have signs positive, negative, negative, so their product is positive. We can extend that conclusion throughout −2<x<1-2<x<1: none of the factors changes sign inside that interval.

A polynomial is continuous. It cannot change from positive to negative without passing through zero. Once you have found all its real roots, they split the real line into intervals on which the polynomial has a constant sign. A test value in each interval therefore determines the sign throughout that interval.

Sign chart

A sign chart records whether an expression is positive, zero or negative on the intervals separated by its critical values. For a polynomial, those critical values are its real roots. Zero itself is neither positive nor negative.

Factorise before choosing test values. Finding a few roots on a calculator is insufficient unless you know that the factorisation accounts for the remaining polynomial too. A factor such as x2+1x^2+1 has no real roots and stays positive, so it introduces no extra boundary.

Worked example 1: the intervals of a cubic

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

Plan. Put the three roots in order, then multiply the factor signs in each interval.

xx<−2−2<x<11<x<3x>3x+2−+++x−1−−++x−3−−−+p(x)−+−+\begin{array}{c|cccc} x&x<-2&-2<x<1&1<x<3&x>3\\ \hline x+2&-&+&+&+\\ x-1&-&-&+&+\\ x-3&-&-&-&+\\ \hline p(x)&-&+&-&+ \end{array}

The requested sign is positive, so select the second and fourth intervals. The roots give zero and cannot satisfy a strict inequality.

Answer. −2<x<1-2<x<1 or x>3x>3.

Check. In the expanded form p(x)=x3−2x2−5x+6p(x)=x^3-2x^2-5x+6, the test inputs −3,0,2,4-3,0,2,4 give −24,6,−4,18-24,6,-4,18, matching the four signs independently.

Now add just one factor, x−4x-4. Its sign reverses the old product to the left of 4 and leaves it unchanged to the right. This turns the cubic into a quartic without requiring a new solving method.

Worked example 2: one additional root

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

Plan. Insert the new boundary 4 and combine the cubic's signs with the sign of x−4x-4.

xx<−2−2<x<11<x<33<x<4x>4p(x)−+−++x−4−−−−+p(x)(x−4)+−+−+\begin{array}{c|ccccc} x&x<-2&-2<x<1&1<x<3&3<x<4&x>4\\ \hline p(x)&-&+&-&+&+\\ x-4&-&-&-&-&+\\ \hline p(x)(x-4)&+&-&+&-&+ \end{array}

Answer. x<−2x<-2, 1<x<31<x<3 or x>4x>4.

Check. The leading term is x4x^4, so both far ends must be positive. Direct substitution at x=0x=0 gives −24-24, and at x=2x=2 gives 8; these agree with the two interior choices.

The leading term gives a useful first sign: a cubic with positive leading coefficient goes down on the far left and up on the far right; a quartic with positive leading coefficient goes up at both ends. A negative leading coefficient reverses those directions. The actual roots still determine the intervening signs.

Roots alone cannot determine positivity: p(x)p(x) and −p(x)-p(x) have the same roots and multiplicities, but opposite signs wherever they are nonzero. You also need one known interval sign, which can come from a test value or the sign of the leading coefficient.

Watch out

Wrong: a positive product requires every factor to be positive. Two negative factors also make a positive contribution. Determine the sign of the whole product on each interval.

Try another quartic, with all four roots different.

Repeated roots and sign changes

Two identical factors change the picture. The square (x−1)2(x-1)^2 is positive on both sides of 1 and zero at 1. It cannot reverse the sign of the remaining factors when you pass through its root.

If p(x)=(x−r)mq(x)p(x)=(x-r)^m q(x), where q(r)≠0q(r)\ne0, then rr has multiplicity mm. Close to rr, the factor q(x)q(x) keeps its sign. An odd power (x−r)m(x-r)^m changes sign across rr; an even power does not. This proves the crossing rule rather than asking you to memorise a sketch.

Multiplicity and crossing

At a real root of odd multiplicity, a polynomial changes sign and its graph crosses the horizontal axis. At a root of even multiplicity, its sign is the same on both sides and the graph touches the axis. A triple root is repeated but still crosses.

The next pair changes only the exponent at 1. Notice that the degree changes too, from three to four.

Worked example 3: an isolated solution at a double root

Question. Solve (x+2)(x−1)2≤0(x+2)(x-1)^2\le0.

Plan. Use the square's non-negative sign, handling its zero separately.

x≠1⟹(x−1)2>0(x+2)(x−1)2≤0⟺x+2≤0(x≠1)\begin{aligned} x\ne1&\quad\Longrightarrow\quad (x-1)^2>0\\ (x+2)(x-1)^2\le0 &\quad\Longleftrightarrow\quad x+2\le0 \qquad (x\ne1) \end{aligned}

This gives x≤−2x\le-2. At x=1x=1, the original product is zero too, so that single input must be restored. The root 1 is a touch, not a boundary between positive and negative intervals.

Answer. x≤−2x\le-2 or x=1x=1, written (−∞,−2]∪{1}( -\infty,-2]\cup\{1\}.

Check. At x=0x=0 and x=2x=2, the values are 2 and 4, so neither neighbouring interval around 1 belongs. Directly at 1 the value is zero: an isolated solution is entirely possible.

Replace the squared factor by a cube. Now both roots have odd multiplicity and both must reverse the sign.

Worked example 4: a triple root crosses

Question. Solve (x+2)(x−1)3≤0(x+2)(x-1)^3\le0.

Plan. Track the signs on the three intervals and include zero-valued endpoints.

xx<−2−2<x<1x>1x+2−++(x−1)3−−+product+−+\begin{array}{c|ccc} x&x<-2&-2<x<1&x>1\\ \hline x+2&-&+&+\\ (x-1)^3&-&-&+\\ \hline \text{product}&+&-&+ \end{array}

Answer. −2≤x≤1-2\le x\le1.

Check. Substitution gives 64 at x=−3x=-3, −2-2 at x=0x=0, and 4 at x=2x=2. Both boundary substitutions give zero. The resulting closed interval matches all five checks.

The graph below shows why “repeated” alone does not determine whether a curve touches or crosses.

[DIAGRAM: asset_name: Double and triple roots have different sign behaviour; asset_slug: aqa7367-root-multiplicity; caption: A double root touches the axis while a triple root crosses it; description: Two coordinate panels compare y equals (x plus 2) times (x minus 1) squared with y equals (x plus 2) times (x minus 1) cubed. Both roots minus 2 and 1 are labelled. The cubic crosses at minus 2 and touches from above at 1. The quartic crosses at both roots, flattening as it crosses at 1. Positive and negative regions are visibly distinguished by the graph's position relative to the horizontal axis.]
A double root touches the axis while a triple root crosses it

A useful surprise is that a polynomial inequality can have a single isolated solution alongside an interval. Dividing by a squared factor and forgetting its zero would lose exactly that feature.

Watch out

Wrong: every repeated root is a touch. Even multiplicity gives a touch; odd multiplicity gives a crossing. Also, do not divide by (x−r)2(x-r)^2 until you have dealt separately with x=rx=r.

Keep the zero of the square when answering the next question.

Exact solution sets and endpoints

After finding the signs, express the answer as a set of inputs. The inequality symbol determines which roots belong: >> and << exclude zero-valued boundaries; ≥\ge and ≤\le include them. Polynomial expressions have no denominator restrictions.

Intervals and unions

(a,b)={x∈R:a<x<b}(a,b)=\{x\in\mathbb R:a<x<b\} is an open interval; [a,b][a,b] includes both endpoints. The mixed intervals [a,b)[a,b) and (a,b](a,b] include just their square-bracket endpoint. The union A∪BA\cup B means “in AA or BB”; the intersection A∩BA\cap B means “in both”. Infinity is not an endpoint you can include, so use a round bracket beside ±∞\pm\infty.

For example, 0 belongs to [−1,1][-1,1], written 0∈[−1,1]0\in[-1,1]; 2 does not, written 2∉[−1,1]2\notin[-1,1]. A single allowed value is a singleton such as {1}\{1\}, while no allowed values gives the empty set ∅\varnothing. If an extra domain DD is supplied, intersect your solution set with DD. Thus an interval is a subset of R\mathbb R, not a list of only its integer inputs.

Recall a few set symbols when a question restricts the domain:

NotationMeaning
A⊆BA\subseteq BEvery element of AA belongs to BB; equality is allowed.
A⊂BA\subset BAA is a proper subset of BB: it is a subset and A≠BA\ne B.
n(A)n(A)The number of elements of a finite set AA.
ε\varepsilon, A′A'The stated universal set, and the elements of that universal set outside AA.
N=Z+\mathbb N=\mathbb Z^+Positive integers 1,2,3,…1,2,3,\ldots, using this specification's convention for natural numbers.
Z\mathbb Z, Z0+\mathbb Z^+_0All integers 0,±1,±2,…0,\pm1,\pm2,\ldots, and nonnegative integers 0,1,2,…0,1,2,\ldots, respectively.
Q\mathbb Q, R\mathbb RRational numbers p/qp/q with integer p,qp,q and q≠0q\ne0, and real numbers, respectively.

For ε={−2,−1,0,1,2}\varepsilon=\{-2,-1,0,1,2\} and A={−1,0,1}A=\{-1,0,1\}, we have n(A)=3n(A)=3, A⊂εA\subset\varepsilon and A′={−2,2}A'=\{-2,2\}. Complements depend on the stated universal set. Restricting [−2,2][-\sqrt2,\sqrt2] to N\mathbb N leaves only {1}\{1\}; restricting it to Z\mathbb Z leaves {−1,0,1}\{-1,0,1\}.

The symbol ≡\equiv can mark an identity: x2−1≡(x−1)(x+1)x^2-1\equiv(x-1)(x+1) holds for every real xx, unlike an equation whose solutions you must find. In modular arithmetic, a≡b(modn)a\equiv b\pmod n instead means that a−ba-b is an integer multiple of the positive integer nn, for example 8≡2(mod3)8\equiv2\pmod3. Also, y∝xy\propto x means y=kxy=kx for a fixed constant kk; it does not mean y=xy=x.

Exact roots matter: 2≈1.414\sqrt2\approx1.414, but replacing it by 1.414 changes the exact boundary. Keep the surd in your final interval.

Worked example 5: exact quartic boundaries

Question. Solve x4−5x2+6≥0x^4-5x^2+6\ge0, giving an exact solution set.

Plan. Treat the expression as a quadratic in x2x^2, then order all four real roots.

x4−5x2+6=(x2−2)(x2−3)x2=2 or 3⟹x=±2, ±3\begin{aligned} x^4-5x^2+6&=(x^2-2)(x^2-3)\\ x^2=2\text{ or }3 &\quad\Longrightarrow\quad x=\pm\sqrt2,\ \pm\sqrt3 \end{aligned}

The ordered boundaries are −3,−2,2,3-\sqrt3,-\sqrt2,\sqrt2,\sqrt3. All are simple, and the leading term is positive, so the five signs are +,−,+,−,++,-,+,-,+. Include each root because equality is allowed.

Answer.

(−∞,−3]∪[−2,2]∪[3,∞)(-\infty,-\sqrt3]\cup[-\sqrt2,\sqrt2]\cup[\sqrt3,\infty)

Check. Put u=x2u=x^2. The quadratic (u−2)(u−3)(u-2)(u-3) is non-negative when u≤2u\le2 or u≥3u\ge3. With u≥0u\ge0, these give exactly the central and two outer intervals above.

Change only ≥\ge to >>. The interval signs stay the same; only endpoint membership changes.

Worked example 6: making the inequality strict

Question. Solve x4−5x2+6>0x^4-5x^2+6>0, giving an exact solution set.

Plan. Retain the positive intervals and remove all four zero-valued inputs.

(x2−2)(x2−3)>0⟺x2<2 or x2>3⟺−2<x<2 or x<−3 or x>3\begin{aligned} (x^2-2)(x^2-3)>0 &\quad\Longleftrightarrow\quad x^2<2\text{ or }x^2>3\\ &\quad\Longleftrightarrow\quad -\sqrt2<x<\sqrt2\text{ or }x<-\sqrt3\text{ or }x>\sqrt3 \end{aligned}

The condition x2>3x^2>3 gives two outer intervals, not just the positive branch x>3x>\sqrt3.

Answer.

(−∞,−3)∪(−2,2)∪(3,∞)(-\infty,-\sqrt3)\cup(-\sqrt2,\sqrt2)\cup(\sqrt3,\infty)

Check. At each of ±2,±3\pm\sqrt2,\pm\sqrt3, the original expression is exactly zero, so none belongs. The test values x=0x=0 and x=2x=2 give 6 and 2, confirming a central and an outer positive region.

This answers the opening question: the complete root list, each root's multiplicity and one interval sign determine every interval sign. You do not need to calculate the turning points to solve the inequality.

Problem-solving

Separate three decisions: locate the exact boundaries, determine each interval's sign, then decide endpoint membership. A list of roots answers an equation, not an inequality.

Use the same quadratic-in-a-square idea with a new quartic.

Quick Recap

  • Factorise completely enough to find every real root.
  • An odd-multiplicity root reverses the sign; an even-multiplicity root does not.
  • Strict inequalities exclude roots; non-strict inequalities may include isolated roots.
  • Use exact endpoints and join separate allowed intervals with ∪\cup.

Yes: the roots and their multiplicities, together with one known interval sign, determine where a cubic is positive without finding its turning points.