Skip to main content

Polynomial and rational inequalities: sign analysis, critical points and excluded values

Syllabus dot point

“Solve polynomial and rational inequalities by factoring and analysing the sign of each factor across critical values”

HSCMaths Extension 1Functions (ME-F1, ME-F2)14 min read

Quick answer

Solve polynomial and rational inequalities by factoring, identifying critical values where each factor is zero or undefined, building a sign table across the intervals, and combining intervals according to the inequality direction with care over open versus closed endpoints.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

NESA wants you to solve polynomial inequalities like P(x)≥0P(x) \ge 0 and rational inequalities like P(x)Q(x)<0\frac{P(x)}{Q(x)} < 0 by analysing the sign of the expression across the intervals carved out by its critical values.

The answer

The sign-table method

  1. Factor the polynomial or rational expression completely.
  2. Identify critical values: where each factor equals zero (sign-change candidates) and, for rational expressions, where the denominator is zero (excluded values).
  3. Order the critical values on a number line.
  4. Determine the sign of each factor in each interval.
  5. Multiply the signs to get the sign of the whole expression.
  6. Combine intervals based on the direction of the inequality and the type of endpoint (open or closed).

The whole method rests on a single idea: a product (or quotient) of factors can only switch sign where one of the factors is zero or undefined. Between consecutive critical values nothing can flip, so the sign of the expression is constant on each interval, and you can read it off from a single test point. That is why the line is carved at the critical values and tested interval by interval.

Key fact

A factored expression changes sign only at a critical value: a zero of a factor or (for a quotient) a zero of the denominator. So order all the critical values on a number line, and on each open interval between them the expression has one constant sign, found from any test point. Combine the intervals that satisfy the inequality, then fix the endpoints: include a numerator zero for ≥\ge or ≤\le, exclude any value that makes the expression zero for a strict >> or <<, and always exclude a denominator zero (undefined there, even for ≥\ge or ≤\le).

Critical values

A polynomial P(x)P(x) changes sign across each root of odd multiplicity, and does not change sign across roots of even multiplicity.

A rational expression P(x)Q(x)\frac{P(x)}{Q(x)} has critical values at the zeros of both PP and QQ. Zeros of QQ are excluded from the solution because the expression is undefined there.

Handling multiplicity

A factor like (x−2)2(x - 2)^2 touches the x-axis but does not cross. The sign is the same either side. Treat it as not changing the sign of the product.

A factor like (x−2)3(x - 2)^3 behaves like (x−2)(x - 2) for sign purposes: sign changes across x=2x = 2.

The shortcut: for sign analysis, count multiplicities modulo 22. Even multiplicities can be ignored.

Rational inequalities: never multiply by an expression of unknown sign

A common rookie error is to multiply both sides of AB≥0\frac{A}{B} \ge 0 by BB to clear the denominator. This is invalid because BB might be negative. Instead, move everything to one side and analyse the sign of the rational expression as a single object.

If you must clear the denominator, multiply by B2B^2 (always non-negative) instead. Or split into cases based on the sign of BB. The sign-table method avoids these pitfalls.

Quadratic inequalities

For ax2+bx+c≥0a x^2 + b x + c \ge 0 with a>0a > 0, the parabola opens upward.

  • If Δ>0\Delta > 0 (two real roots α<β\alpha < \beta): expression is positive outside the roots, that is x≤αx \le \alpha or x≥βx \ge \beta.
  • If Δ=0\Delta = 0: expression is ≥0\ge 0 everywhere.
  • If Δ<0\Delta < 0: expression is positive everywhere.

For a<0a < 0, all signs flip.

Endpoint conventions

  • Strict inequality (>> or <<): exclude critical values where the expression equals zero. Always exclude where the expression is undefined.
  • Weak inequality (≥\ge or ≤\le): include zeros of the numerator, exclude zeros of the denominator (still undefined).

Build the sign diagram, stage by stage

A sign diagram is the cleanest way to show your working, and markers can follow it at a glance. Below, the inequality x3−4x≥0x^3 - 4x \ge 0 is solved by building the sign diagram one stage at a time. Factor first: x3−4x=x(x−2)(x+2)x^3 - 4x = x(x - 2)(x + 2), so the critical values are x=−2,0,2x = -2, 0, 2.

Stage 1, mark the critical values on a number line. Each factor gives one zero: x+2=0x + 2 = 0 at x=−2x = -2, x=0x = 0, and x−2=0x - 2 = 0 at x=2x = 2. Plot the three values; they cut the line into four intervals to test. (Draw them as open circles for now; whether they end up included depends on the inequality sign, decided at the end.)

Mark the critical values on a number lineA number line with the three critical values minus two, zero and two marked as open circles, dividing the line into four intervals. These come from the factors x plus two, x and x minus two.Stage 1Factor: x³ - 4x = x(x - 2)(x + 2). Zeros at x = -2, 0, 2.-202The three zeros split the line into four intervals to test.

Stage 2, find the sign of each factor in every interval. Pick a convenient test point inside each interval, here x=−3,−1,1,3x = -3, -1, 1, 3, and record whether each factor is positive or negative. A linear factor (x−r)(x - r) is negative to the left of its own zero rr and positive to the right, so each row is a clean run of minuses then pluses.

Find the sign of each factor in every intervalA table of three rows, one per factor x plus two, x and x minus two, showing a plus or minus sign in each of the four intervals, with a sample value tested in each interval.Stage 2Pick a test point in each interval and record the sign of each factor.x = -3x = -1x = 1x = 3(x + 2)-+++x--++(x - 2)---+-202Each factor is negative left of its own zero, positive to the right.

Stage 3, multiply the columns to get the product row. In each interval, multiply the three factor signs together: three negatives give a negative, two negatives and a positive give a positive, and so on. Reading left to right the product runs −,+,−,+-, +, -, +. Because every root here is simple (multiplicity 11), the sign alternates at every critical value; a double root would break that alternation by repeating a sign.

Multiply the signs to get the sign of the whole expressionThe same three factor-sign rows with a fourth product row beneath, obtained by multiplying the signs in each interval, giving minus, plus, minus, plus across the four intervals.Stage 3Multiply the three factor signs column by column.(x + 2)-+++x--++(x - 2)---+product-+-+-202The product alternates sign here because every root is simple.

Stage 4, read off the solution and fix the endpoints. The inequality is ≥0\ge 0, so keep the intervals where the product is positive, (−2,0)(-2, 0) and (2,∞)(2, \infty), and because it is a weak inequality, include the zeros −2,0,2-2, 0, 2 where the expression equals 00. Shade those intervals with closed endpoints.

Read off the solution for the inequalityThe number line with the product signs above it and the solution shaded: the intervals where the product is positive or zero, namely from minus two to zero and from two onwards, drawn as heavy accent bars with closed endpoints because the inequality is greater than or equal to zero.Stage 4Want x³ - 4x ≥ 0: keep the intervals where the product is + (and include the zeros).-+-+-202Solution: -2 ≤ x ≤ 0 or x ≥ 2.

The solution is −2≤x≤0-2 \le x \le 0 or x≥2x \ge 2, that is x∈[−2,0]∪[2,∞)x \in [-2, 0] \cup [2, \infty). (This is the same answer as the cubic worked example below, reached via the diagram instead of a table; either presentation earns full marks.)

How exam questions ask about inequalities

The wording signals which type of sign analysis is wanted:

  • "Solve P(x)>0P(x) > 0" or "find all xx such that..." Factor, build a sign diagram or table, and give the answer in interval notation. The direction of the inequality and the strict-versus-weak distinction control the endpoints.
  • "Solve P(x)Q(x)≥0\frac{P(x)}{Q(x)} \ge 0" (a rational inequality). Do not cross-multiply. Move everything to one side, combine over a common denominator, then sign-analyse numerator and denominator together. Exclude every zero of the denominator, even under ≥\ge.
  • "Solve AB>c\frac{A}{B} > c" with a constant on the right. Subtract cc first to get AB−c>0\frac{A}{B} - c > 0, combine into a single fraction, then analyse. Multiplying both sides by BB is the classic trap because BB's sign is unknown.
  • "For what values of xx is the curve above the line y=g(x)y = g(x)?" Rewrite as P(x)−g(x)>0P(x) - g(x) > 0 and sign-analyse the difference. "Above" means the difference is positive; "below" means negative.
  • "Hence solve [inequality]" after a factorise or graph part. Use the factorisation or sketch you just produced; the sign diagram is often just reading the graph's position relative to the x-axis.
Worked example

Solve a quadratic inequality

To solve x2−x−6<0x^2 - x - 6 < 0, factor the left side: (x−3)(x+2)<0(x - 3)(x + 2) < 0. The critical values where the expression equals zero are x=−2x = -2 and x=3x = 3. These divide the number line into three intervals.

Build the sign table and read off the solution:

Interval (x+2)(x + 2) (x−3)(x - 3) Product
x<−2x < -2 −- −- ++
−2<x<3-2 < x < 3 ++ −- −-
x>3x > 3 ++ ++ ++

The expression is negative on (−2,3)(-2, 3). Since the inequality is strict, the critical values are excluded.

Final answer: −2<x<3-2 < x < 3.


Solve a cubic inequality

To solve x3−4x≥0x^3 - 4x \ge 0, factor: x(x−2)(x+2)≥0x(x - 2)(x + 2) \ge 0. The critical values are x=−2,0,2x = -2, 0, 2.

Analyse signs across four intervals:

Interval xx (x+2)(x + 2) (x−2)(x - 2) Product
x<−2x < -2 −- −- −- −-
−2<x<0-2 < x < 0 −- ++ −- ++
0<x<20 < x < 2 ++ ++ −- −-
x>2x > 2 ++ ++ ++ ++

The inequality is weak (≥\ge), so include the critical values where the expression equals zero.

Final answer: −2≤x≤0-2 \le x \le 0 or x≥2x \ge 2.


Solve an inequality with a repeated factor

To solve (x−1)2(x+3)>0(x - 1)^2(x + 3) > 0, note that (x−1)2≥0(x - 1)^2 \ge 0 for all xx and is zero only at x=1x = 1. For the sign of the whole expression, (x−1)2(x - 1)^2 effectively contributes a non-negative factor. The only sign change comes from (x+3)(x + 3) at the simple root x=−3x = -3.

Read the sign and state the solution:

For x<−3x < -3: (x+3)<0(x + 3) < 0, so the product is (non-negative)⋅(negative)≤0(\text{non-negative}) \cdot (\text{negative}) \le 0.
For x>−3x > -3 (and x≠1x \ne 1): (x+3)>0(x + 3) > 0 and (x−1)2>0(x - 1)^2 > 0, so the product is positive.

At x=1x = 1, the expression is zero, which is excluded by the strict inequality.

Final answer: x>−3x > -3 and x≠1x \ne 1, that is x∈(−3,1)∪(1,∞)x \in (-3, 1) \cup (1, \infty).


Solve a rational inequality

For x+1x−2≤0\frac{x + 1}{x - 2} \le 0, the numerator is zero at x=−1x = -1 and the denominator is zero at x=2x = 2 (excluded from the domain). These give three intervals.

Interval (x+1)(x + 1) (x−2)(x - 2) Quotient
x<−1x < -1 −- −- ++
−1<x<2-1 < x < 2 ++ −- −-
x>2x > 2 ++ ++ ++

Apply the endpoint rules for a weak inequality:

Include x=−1x = -1 (numerator zero, expression equals 00, satisfies ≤\le). Exclude x=2x = 2 (expression undefined).

Final answer: −1≤x<2-1 \le x < 2.


Solve a rational inequality with a constant on one side

To solve xx−1>1\frac{x}{x - 1} > 1, subtract 11 from both sides (valid since we are not multiplying by an expression of unknown sign):

xx−1−1>0  ⟹  x−(x−1)x−1>0  ⟹  1x−1>0.\frac{x}{x - 1} - 1 > 0 \implies \frac{x - (x - 1)}{x - 1} > 0 \implies \frac{1}{x - 1} > 0.

Determine when the resulting expression is positive:

The numerator is 1>01 > 0. The fraction is positive exactly when the denominator is positive, that is x−1>0x - 1 > 0.

Final answer: x>1x > 1.

Common traps
Multiplying through by an unknown-sign expression
x+1x−2>3\frac{x + 1}{x - 2} > 3 cannot be solved by multiplying both sides by x−2x - 2 unless you split into cases on its sign. Always move to one side first.
Including a zero of the denominator
The expression is undefined there; never include it, even in a weak inequality.
Forgetting multiplicity
(x−1)2(x+2)>0(x - 1)^2 (x + 2) > 0 does not change sign at x=1x = 1. Sketching the graph helps.
Sign sloppiness in factored form
If the leading coefficient is negative, every interval sign flips. Factor out the negative explicitly: −x2+3x−2=−(x−1)(x−2)-x^2 + 3 x - 2 = -(x - 1)(x - 2).
Open versus closed endpoints in the final answer
Translate the inequality direction and excluded-value rules into interval notation carefully: [−2,1)∪(3,∞)[-2, 1) \cup (3, \infty) has very different meaning from (−2,1]∪[3,∞)(-2, 1] \cup [3, \infty).
Exam technique

A sign diagram is the presentation markers most want to see; lay it out cleanly and the marks follow.

  • Factor fully and list every critical value first, including denominator zeros for a rational expression. A missed critical value silently merges two intervals and corrupts the answer.
  • Show the sign diagram or table, not just the final intervals. A correct diagram earns method marks even if you slip on an endpoint.
  • Never multiply both sides by something whose sign you do not know. Move to one side, combine over a common denominator, then analyse. This is the single most penalised error in rational inequalities.
  • State the answer in interval notation and double-check each endpoint. Use a square bracket for an included numerator zero (weak inequality), a round bracket for a strict inequality or any denominator zero.
  • Sanity-check with one test value from your final solution set: substitute it back into the original inequality and confirm it holds.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style3 marks
Solve the inequality x−1x+2≥0\frac{x - 1}{x + 2} \ge 0.
Show worked answer →

Critical values: numerator zero at x=1x = 1, denominator zero at x=−2x = -2 (excluded).

Sign table across (−∞,−2)(-\infty, -2), (−2,1)(-2, 1) and (1,∞)(1, \infty):

  • x<−2x < -2: numerator negative, denominator negative, quotient positive.
  • −2<x<1-2 < x < 1: numerator negative, denominator positive, quotient negative.
  • x>1x > 1: numerator positive, denominator positive, quotient positive.

The inequality is ≥0\ge 0, so include the value where the expression equals zero (x=1x = 1) but exclude where it is undefined (x=−2x = -2).

Solution: x<−2x < -2 or x≥1x \ge 1, that is x∈(−∞,−2)∪[1,∞)x \in (-\infty, -2) \cup [1, \infty).

Markers reward identifying critical values, building a sign table, handling the strict-versus-equality endpoints correctly, and excluding the undefined value.

HSC-style3 marks
Find all real values of xx for which (x−1)(x+3)(x−2)>0(x - 1)(x + 3)(x - 2) > 0.
Show worked answer →

Critical values: x=−3,1,2x = -3, 1, 2.

Build a sign table across (−∞,−3)(-\infty, -3), (−3,1)(-3, 1), (1,2)(1, 2), (2,∞)(2, \infty):

  • x<−3x < -3: (−)(−)(−)=−(-)(-)(-) = -.
  • −3<x<1-3 < x < 1: (−)(+)(−)=+(-)(+)(-) = +.
  • 1<x<21 < x < 2: (+)(+)(−)=−(+)(+)(-) = -.
  • x>2x > 2: (+)(+)(+)=+(+)(+)(+) = +.

The inequality is strict (>>), so exclude the critical values.

Solution: −3<x<1-3 < x < 1 or x>2x > 2, that is x∈(−3,1)∪(2,∞)x \in (-3, 1) \cup (2, \infty).

Markers reward critical values, sign analysis (alternation in this case because all roots have multiplicity 1), and correct interval notation.

Practise this

Sources & how we know this

ExamExplained