Skip to main content

The sign of a function and sign tables

Syllabus dot point

“Examine the sign of a function by building a table of test values that dodge around its zeroes and discontinuities, and use the resulting sign pattern to solve inequations and to start a curve sketch”

HSCMaths Extension 1Functions (ME-F1)17 min read

Quick answer

A function can only change sign at a zero or a discontinuity, so to examine its sign you factor it, mark every zero and every denominator zero on a number line, and test one value in each interval. The resulting sign pattern solves inequations (keep the intervals with the sign you want, include numerator zeroes for a weak inequality but always exclude denominator zeroes) and gives the skeleton of a sketch. A factor of even multiplicity does not change the sign, and an inequation with the unknown in the denominator is handled either by this single-fraction sign table or by multiplying through by the square of the denominator.

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

What this dot point is asking

NESA wants you to work out the sign of a function, that is, the set of xx for which it is positive, negative or zero, by building a short table of test values, and then to use that sign pattern for two purposes: to solve inequations and to begin a sketch of the curve. It is the engine room behind a surprising amount of the course.

The whole technique rests on one idea, and it is worth stating before anything else: a function can only change sign at a zero or at a discontinuity. Everywhere else its sign is locked. So if you know the zeroes and the discontinuities, the sign of the function is settled on each interval between them, and a single test value reveals it.

A quick note on language, the same one made on the companion inequations page: we solve an inequation such as x2−x>0x^2 - x > 0, and we prove an inequality such as (x−2)2≥0(x - 2)^2 \ge 0. NESA uses the word "inequality" for both, so do not be thrown if a question says "solve the inequality".

The answer

Where can a function change sign?

Picture tracing a continuous curve from left to right. To get from below the xx-axis to above it, the pen must cross the axis, that is, pass through a zero. It cannot jump from negative to positive without either touching zero or lifting off the page. "Lifting off the page" is a discontinuity: a break in the graph, which for the functions in this course happens only where a denominator is zero. This is the intuition behind the Intermediate Value Theorem, and for Year 11 the picture is all the justification you need.

So the candidate places for a sign change are exactly the zeroes and the discontinuities. The word "candidate" matters: the sign changes at some of them but not necessarily all. The figure below shows a curve with a simple zero (sign flips) and a double zero (sign holds).

Where a function can change signA cubic curve that crosses the x-axis at x equals minus one, changing from negative to positive, and touches the x-axis at x equals two without changing sign. The candidate places for a sign change are the zeros, but the curve only changes sign at the simple zero.xy-12-++simple zero:sign flipsdouble zero:sign holdsA function can only change sign at a zero or a discontinuity, and not at every one.

Key fact

A function can only change sign at a zero (where f(x)=0f(x) = 0) or at a discontinuity (where f(x)f(x) is undefined, which in this course means a zero of a denominator). Between consecutive such points the sign is constant, so it can be read off from any single test value in that interval.

Building a table of signs

The method turns that idea into a routine you can lay out cleanly for a marker.

  1. Factor the expression completely so the zeroes and any denominator are visible.
  2. List the critical values: every zero (of the whole expression) and every discontinuity (every zero of a denominator). Mark each discontinuity as already excluded.
  3. Order them on a number line; they carve it into intervals.
  4. Test one value in each interval, dodging around the critical values, and record the sign.
  5. To solve an inequation, keep the intervals with the sign you want; to start a sketch, use the signs to know which side of the axis the curve sits on in each interval.

A small but real efficiency: you can find the sign of the whole expression either by substituting the test value into the function directly, or by reading the sign of each factor and multiplying. Both are examined; the factor method scales better when there are several factors, and is what the stage-by-stage figures below use.

Polynomials: a worked sign table

Polynomials are the easy case because they have no discontinuities at all, so the test values only have to dodge around the zeroes. Take y=(x−1)(x−3)(x−5)y = (x - 1)(x - 3)(x - 5), with zeroes at x=1,3,5x = 1, 3, 5. Testing x=0,2,4,6x = 0, 2, 4, 6 gives

y(0)=−15,y(2)=3,y(4)=−3,y(6)=15,y(0) = -15, \quad y(2) = 3, \quad y(4) = -3, \quad y(6) = 15,

so the sign row is −,+,−,+-, +, -, +. The graph below is the same information drawn as a curve: below the axis, above, below, above. The yy-intercept is y(0)=−15y(0) = -15.

A factored cubic and its signThe graph of y equals x minus one times x minus three times x minus five, crossing the x-axis at one, three and five. It is below the axis for x less than one, above between one and three, below between three and five, and above beyond five, giving the sign row minus, plus, minus, plus.xy135-15-+-+y = (x-1)(x-3)(x-5)Sign row: -, +, -, +. So (x-1)(x-3)(x-5) ≤ 0 on x ≤ 1 or 3 ≤ x ≤ 5.

To solve (x−1)(x−3)(x−5)≤0(x - 1)(x - 3)(x - 5) \le 0, keep the intervals where the sign is negative and, because the inequality is weak, include the zeroes: x≤1x \le 1 or 3≤x≤53 \le x \le 5. Notice that the sketch is incomplete, we have not found the turning points, but it is complete enough to confirm the inequality. That dual use, enough for the inequation, a head start on the sketch, is the point of the method.

The repeated-factor exception

There is one trap worth isolating. A factor raised to an even power, like (x−2)2(x - 2)^2, is never negative, so it does not change the sign of the product as xx passes its zero. A factor raised to an odd power behaves, for sign purposes, like a single factor and does change the sign. The shortcut: count each multiplicity modulo 22, so even powers can be ignored when you track sign changes.

Concretely, for y=(x+1)(x−2)2y = (x + 1)(x - 2)^2 the sign changes at the simple zero x=−1x = -1 but not at the double zero x=2x = 2, which is exactly the curve drawn in the first figure: it crosses at x=−1x = -1 and merely touches at x=2x = 2. This connects sign analysis to the graphing of polynomials by multiplicity: a simple zero is a crossing, an even zero is a touch.

Key fact

A factor (x−r)m(x - r)^m changes the sign of the expression at x=rx = r only when mm is odd. An even power keeps the sign the same on both sides (the curve touches the axis rather than crossing). So track sign changes by the multiplicity of each zero modulo 22.

Functions with discontinuities

When the function has a denominator, the test values must dodge around the discontinuities (zeroes of the denominator) as well as the zeroes. The method is otherwise identical. Take y=x−1x−4y = \dfrac{x - 1}{x - 4}: a zero at x=1x = 1 (numerator zero) and a discontinuity at x=4x = 4 (denominator zero). Testing x=0,2,5x = 0, 2, 5 gives 14,−12,4\tfrac{1}{4}, -\tfrac{1}{2}, 4, so the sign row is +,−,++, -, +. The sign genuinely flips at both the zero and the discontinuity.

A rational function and its signThe graph of y equals x minus one over x minus four, with a zero at x equals one and a vertical asymptote at x equals four. The curve is positive for x less than one, negative for one to four, and positive for x greater than four, so it changes sign at both the zero and the discontinuity.xyy = 1x = 414+-+Sign changes at the zero (x = 1) and the discontinuity (x = 4): +, -, +.

The dashed lines show the vertical asymptote x=4x = 4 (the function shoots off to ±∞\pm\infty at the discontinuity) and a horizontal asymptote y=1y = 1. Finding the vertical asymptote at a denominator zero is in your Year 11 toolkit; the horizontal asymptote (here y=1y = 1, found by writing x−1x−4=1+3x−4\tfrac{x - 1}{x - 4} = 1 + \tfrac{3}{x - 4}) is a Year 12 refinement and is shown only to make the sketch honest. For the sign, all you need is the table.

Not every candidate point produces a change. The function y=11+x2y = \dfrac{1}{1 + x^2} has denominator 1+x2≥11 + x^2 \ge 1, so it has no zeroes and no discontinuities at all; a single test value y(0)=1>0y(0) = 1 > 0 settles that it is positive everywhere. Always check whether the table is even needed.

Two routes for a rational inequation

For an inequation with the unknown in the denominator you now have two complete methods, and the HSC examines both. The companion page develops the first; this page develops the second.

  • Multiply by the square of the denominator. Since a square is never negative, the inequality sign is preserved, and you reduce the problem to a polynomial inequation. Fast for a single fraction against a constant.
  • Collect on one side as a single fraction, then sign-table. No multiplying by anything of unknown sign; you analyse the sign of one quotient directly. This is the more general method and the one that scales to the harder rational inequations met in the Year 12 polynomial and rational inequalities page.

The worked centrepiece below solves the same inequation, 3x+2≤x\dfrac{3}{x + 2} \le x, by the sign-table route; the final worked example solves it again by multiplying by the square, so you can compare them side by side and pick the right tool under exam pressure.

Solve a rational inequation by sign table, stage by stage

Take 3x+2≤x\dfrac{3}{x + 2} \le x. Collect everything on the left over the common denominator x+2x + 2:

3x+2−x≤0  ⟹  3−x(x+2)x+2≤0  ⟹  3−2x−x2x+2≤0.\frac{3}{x + 2} - x \le 0 \implies \frac{3 - x(x + 2)}{x + 2} \le 0 \implies \frac{3 - 2x - x^2}{x + 2} \le 0.

The numerator factors as 3−2x−x2=−(x2+2x−3)=−(x+3)(x−1)3 - 2x - x^2 = -(x^2 + 2x - 3) = -(x + 3)(x - 1), so the inequation is −(x+3)(x−1)x+2≤0\dfrac{-(x + 3)(x - 1)}{x + 2} \le 0, equivalently (x+3)(x−1)x+2≥0\dfrac{(x + 3)(x - 1)}{x + 2} \ge 0 after multiplying both sides by −1-1 (which flips the sign). Now sign-table (x+3)(x−1)x+2\dfrac{(x + 3)(x - 1)}{x + 2}.

Stage 1, mark the zeroes and the discontinuity. The numerator gives zeroes at x=−3x = -3 and x=1x = 1; the denominator gives a discontinuity at x=−2x = -2, which is excluded from the outset. These three values cut the line into four intervals.

Mark the zeros and the discontinuityA number line for the rearranged inequality x plus three times x minus one over x plus two greater than or equal to zero. The numerator gives zeros at x equals minus three and x equals one, and the denominator gives a discontinuity at x equals minus two, which is excluded.Stage 1Rearranged: (x + 3)(x - 1)/(x + 2) ≥ 0. Zeros at -3, 1; break at -2.1-3-2excludedx = -2 makes the denominator zero, so it can never be a solution.

Stage 2, find the sign of each factor in every interval. Test x=−4,−52,0,2x = -4, -\tfrac{5}{2}, 0, 2, one inside each interval, and record the sign of each of (x+3)(x + 3), (x−1)(x - 1) and (x+2)(x + 2). Each linear factor is negative to the left of its own zero and positive to the right, so every row is a clean run of minuses then pluses.

Sign of each factorA table giving the sign of each of the three factors x plus three, x minus one and x plus two in the four intervals carved out by minus three, minus two and one, tested at x equals minus four, minus two point five, zero and two.Stage 2Test one point per interval; record the sign of each factor.x = -4x = -2.5x = 0x = 2(x + 3)-+++(x - 1)---+(x + 2)--++1-3-2Each linear factor is negative left of its own zero, positive to the right.

Stage 3, combine the signs into the quotient row. In each interval, multiply the two numerator signs and divide by the denominator sign: (−)(−)(−)=−\tfrac{(-)(-)}{(-)} = -, then (+)(−)(−)=+\tfrac{(+)(-)}{(-)} = +, then (+)(−)(+)=−\tfrac{(+)(-)}{(+)} = -, then (+)(+)(+)=+\tfrac{(+)(+)}{(+)} = +. So the quotient row is −,+,−,+-, +, -, +. A quotient sign behaves just like a product sign, since dividing by a negative flips the result exactly as multiplying by one would.

Combine the signsThe quotient sign row obtained by multiplying and dividing the factor signs: minus, plus, minus, plus across the four intervals. The quotient is greater than or equal to zero on the second and fourth intervals.Stage 3Combine: (+/-)(+/-) over (+/-). We need the quotient ≥ 0.quotient-+-+1-3-2Dividing by (x + 2) flips the sign across its break at x = -2.

Stage 4, read off the solution and fix the endpoints. We need the quotient ≥0\ge 0, so keep the intervals where it is positive, (−3,−2)(-3, -2) and (1,∞)(1, \infty). Fix the endpoints: include the numerator zeroes x=−3x = -3 and x=1x = 1 (there the quotient equals 00, allowed by ≥\ge), and exclude the discontinuity x=−2x = -2. The solution is −3≤x<−2-3 \le x < -2 or x≥1x \ge 1.

Read off the solutionThe number line with the quotient signs above it and the solution shaded: from minus three included up to minus two excluded, and from one included onwards. The solution is minus three less than or equal to x less than minus two, or x greater than or equal to one.Stage 4Keep where the quotient is ≥ 0; include numerator zeros, exclude the break.-+-+1-3-2Solution: -3 ≤ x < -2 or x ≥ 1.open

How exam questions ask about the sign of a function

The wording tells you what the table is for:

  • "Draw up a table of signs for y=…y = \ldots" or "examine the sign of …\ldots". Factor, list zeroes and discontinuities, test one value per interval, and state the sign on each piece. This is the direct task.
  • "Hence solve …≤0\ldots \le 0 (or ≥0\ge 0, <0< 0, >0> 0)". Read the inequation straight off the sign row you just built: keep the intervals with the matching sign and fix the endpoints by the rules below.
  • "Find the zeroes and discontinuities, and hence sketch the curve". Use the sign table to know which side of the axis the curve is on in each interval, then add the intercepts and asymptotes. The sketch will be incomplete without turning points, but the sign pattern is the skeleton.
  • "For what values of xx is f(x)>g(x)f(x) > g(x)?" Rewrite as f(x)−g(x)>0f(x) - g(x) > 0 and sign-table the difference. "Above" means the difference is positive.
  • "Solve ax+bcx+d≥m\dfrac{ax + b}{cx + d} \ge m (a fraction against a constant)". Subtract mm first, combine into one fraction, then sign-table; or multiply by the square of the denominator. Never multiply by the bare denominator.
Exam technique

A clean table of signs is the presentation markers most want to see, and it earns method marks even if you slip on a single endpoint.

  • Factor fully and list every critical value first, zeroes and discontinuities together. A missed discontinuity silently merges two intervals and corrupts the sign row.
  • Show the table or sign diagram, not just the final intervals. Write the test value you used in each interval; that is the evidence the marker rewards.
  • Mark each discontinuity as excluded the moment you write it down. A value that makes a denominator zero is never a solution, even for ≥\ge or ≤\le.
  • Decide each endpoint deliberately. Include a numerator zero for a weak inequality (≤\le or ≥\ge); exclude it for a strict one; always exclude a denominator zero. Use open and closed circles on a number line.
  • Sanity-check with one test value from your final solution set, substituted back into the original. One quick check catches a flipped sign before it costs the answer mark.
Worked example

Solve a cubic inequation with a table of signs

Solve x3+1≤x2+xx^3 + 1 \le x^2 + x using a table of signs.

Collect everything on one side. Move all terms left: x3−x2−x+1≤0x^3 - x^2 - x + 1 \le 0.

Factor by grouping. Group in pairs: x2(x−1)−(x−1)≤0x^2(x - 1) - (x - 1) \le 0, so (x−1)(x2−1)≤0(x - 1)(x^2 - 1) \le 0, and since x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1) this is

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

List the zeroes. x=−1x = -1 (simple) and x=1x = 1 (double). No discontinuities. They cut the line into three intervals.

Test one value in each interval. Take x=−2,0,2x = -2, 0, 2:

f(−2)=(−1)(−3)2=−9,f(0)=(1)(−1)2=1,f(2)=(3)(1)2=3.f(-2) = (-1)(-3)^2 = -9, \quad f(0) = (1)(-1)^2 = 1, \quad f(2) = (3)(1)^2 = 3.

So the sign row is −,+,+-, +, +. The sign does not change at the double zero x=1x = 1, as expected.

Keep the right intervals and fix the endpoints. We want ≤0\le 0. The function is negative on x<−1x < -1, and equals 00 at the two zeroes. Include x=−1x = -1. At x=1x = 1 the function is also 00, which satisfies ≤0\le 0, so include the isolated point x=1x = 1 even though the curve only touches there.

Final answer: x≤−1x \le -1 or x=1x = 1.


Examine the sign of a rational function

Find the zeroes and discontinuities of y=x−1x−4y = \dfrac{x - 1}{x - 4}, and examine its sign.

Identify the critical values. The numerator is zero at x=1x = 1, so that is a zero of the function. The denominator is zero at x=4x = 4, so that is a discontinuity. These split the line into three intervals.

Test one value in each interval. Take x=0,2,5x = 0, 2, 5:

y(0)=−1−4=14>0,y(2)=1−2=−12<0,y(5)=41=4>0.y(0) = \frac{-1}{-4} = \frac{1}{4} > 0, \quad y(2) = \frac{1}{-2} = -\frac{1}{2} < 0, \quad y(5) = \frac{4}{1} = 4 > 0.

So the sign row is +,−,++, -, + across x<1x < 1, 1<x<41 < x < 4, x>4x > 4.

State the sign. yy is positive for x<1x < 1 or x>4x > 4, and negative for 1<x<41 < x < 4. The sign changes at the zero x=1x = 1 and again at the discontinuity x=4x = 4, the behaviour drawn in the rational-function figure above.

Final answer: positive for x<1x < 1 or x>4x > 4; negative for 1<x<41 < x < 4; zero at x=1x = 1; undefined at x=4x = 4.


Solve the same inequation by multiplying by the square of the denominator

Solve 3x+2≤x\dfrac{3}{x + 2} \le x by first multiplying through by the square of the denominator, then compare with the sign-table solution above.

State the excluded value. The left side is undefined at x=−2x = -2, so x≠−2x \ne -2 throughout.

Multiply by the square. (x+2)2>0(x + 2)^2 > 0 for all x≠−2x \ne -2, so the inequality sign is preserved:

3(x+2)≤x(x+2)2.3(x + 2) \le x(x + 2)^2.

Collect on one side and factor without expanding. Bring everything to the right; the factor (x+2)(x + 2) is common:

x(x+2)2−3(x+2)≥0  ⟹  (x+2)(x(x+2)−3)≥0  ⟹  (x+2)(x2+2x−3)≥0,x(x + 2)^2 - 3(x + 2) \ge 0 \implies (x + 2)\big(x(x + 2) - 3\big) \ge 0 \implies (x + 2)(x^2 + 2x - 3) \ge 0,

and since x2+2x−3=(x+3)(x−1)x^2 + 2x - 3 = (x + 3)(x - 1) this is (x+2)(x+3)(x−1)≥0(x + 2)(x + 3)(x - 1) \ge 0, with x≠−2x \ne -2.

Sign-table the cubic. Zeroes at x=−3,−2,1x = -3, -2, 1. Testing x=−4,−52,0,2x = -4, -\tfrac{5}{2}, 0, 2 gives

h(−4)=−10,h ⁣(−52)=78=0.875,h(0)=−6,h(2)=20,h(-4) = -10, \quad h\!\left(-\tfrac{5}{2}\right) = \tfrac{7}{8} = 0.875, \quad h(0) = -6, \quad h(2) = 20,

so the sign row is −,+,−,+-, +, -, +. We need ≥0\ge 0, giving −3≤x≤−2-3 \le x \le -2 or x≥1x \ge 1; but x=−2x = -2 is excluded as a discontinuity of the original, so it becomes −3≤x<−2-3 \le x < -2 or x≥1x \ge 1.

Final answer: −3≤x<−2-3 \le x < -2 or x≥1x \ge 1, the same solution reached by the sign-table route.

Common traps
Assuming the sign changes at every zero
A zero of even multiplicity, like (x−2)2(x - 2)^2, does not flip the sign; the curve touches the axis and turns back. Count multiplicities modulo 22.
Forgetting to dodge around discontinuities
A denominator zero is a candidate sign change just like a numerator zero. Leaving it out merges two intervals and gives the wrong sign row.
Including a denominator zero in the answer
The expression is undefined there, so it is never a solution, even under ≥\ge or ≤\le. State the exclusion when you first write the critical value.
Multiplying an inequation by the bare denominator
Multiplying AB≤c\dfrac{A}{B} \le c by BB is invalid because BB may be negative and would flip the sign. Subtract cc and combine into one fraction, or multiply by B2B^2.
Expanding a common factor
After multiplying by (x+2)2(x + 2)^2 you get (x+2)(x + 2) on both sides. Expanding everything forces you to re-factor a cubic and usually introduces a sign slip; collect to one side and factor the common term out.
Testing on a critical value instead of between them
Test points must lie strictly inside the intervals, dodging around the zeroes and discontinuities; a test exactly at a critical value gives 00 or undefined and tells you nothing about the interval.

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
Draw up a table of signs for y=(x−1)(x−3)(x−5)y = (x - 1)(x - 3)(x - 5), and hence solve (x−1)(x−3)(x−5)≤0(x - 1)(x - 3)(x - 5) \le 0.
Show worked answer →

The factored form already gives the zeroes: x=1x = 1, x=3x = 3 and x=5x = 5. A polynomial has no discontinuities, so these are the only places the sign can change. They cut the number line into four intervals; pick one test value in each.

y(0)=(−1)(−3)(−5)=−15,y(2)=(1)(−1)(−3)=3,y(4)=(3)(1)(−1)=−3,y(6)=(5)(3)(1)=15.y(0) = (-1)(-3)(-5) = -15, \quad y(2) = (1)(-1)(-3) = 3, \quad y(4) = (3)(1)(-1) = -3, \quad y(6) = (5)(3)(1) = 15.

So the sign row is −,+,−,+-, +, -, + across x<1x < 1, 1<x<31 < x < 3, 3<x<53 < x < 5, x>5x > 5.

We want y≤0y \le 0, so keep the intervals where yy is negative and, because the inequality is weak, include the zeroes where y=0y = 0:

x≤1or3≤x≤5.x \le 1 \quad \text{or} \quad 3 \le x \le 5.

Markers reward computing a test value in every interval, the correct sign row, and including the zeroes for the weak inequality.

HSC-style3 marks
Find the zero and the discontinuity of y=x−1x−4y = \dfrac{x - 1}{x - 4}, and state where the function is positive and where it is negative.
Show worked answer →

The function is zero where the numerator is zero, at x=1x = 1, and is undefined (discontinuous) where the denominator is zero, at x=4x = 4. These are the only two places the sign can change, so they split the line into three intervals. Test one value in each:

y(0)=−1−4=14>0,y(2)=1−2=−12<0,y(5)=41=4>0.y(0) = \frac{-1}{-4} = \frac{1}{4} > 0, \quad y(2) = \frac{1}{-2} = -\frac{1}{2} < 0, \quad y(5) = \frac{4}{1} = 4 > 0.

So the sign row is +,−,++, -, + across x<1x < 1, 1<x<41 < x < 4, x>4x > 4.

Hence yy is positive for x<1x < 1 or x>4x > 4, and negative for 1<x<41 < x < 4. The sign genuinely changes at both the zero x=1x = 1 and the discontinuity x=4x = 4.

Markers reward identifying both the zero and the discontinuity, testing each interval, and stating the sign on each piece.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marks
Solve x(x−2)(x+3)>0x(x - 2)(x + 3) > 0 using a table of signs.
Show worked solution →

List the zeroes. The factored form gives zeroes at x=−3x = -3, x=0x = 0 and x=2x = 2. A polynomial has no discontinuities, so these are the only places the sign can change. They cut the line into four intervals.

Test one value in each interval. Take x=−4,−1,1,3x = -4, -1, 1, 3:

f(−4)=(−4)(−6)(−1)=−24,f(−1)=(−1)(−3)(2)=6,f(-4) = (-4)(-6)(-1) = -24, \quad f(-1) = (-1)(-3)(2) = 6,

f(1)=(1)(−1)(4)=−4,f(3)=(3)(1)(6)=18.f(1) = (1)(-1)(4) = -4, \quad f(3) = (3)(1)(6) = 18.

So the sign row is −,+,−,+-, +, -, + across x<−3x < -3, −3<x<0-3 < x < 0, 0<x<20 < x < 2, x>2x > 2.

Keep the positive intervals. We want f(x)>0f(x) > 0, and the inequality is strict, so exclude the zeroes.

Answer: −3<x<0-3 < x < 0 or x>2x > 2.

core3 marks
Solve (x−2)2(x+1)<0(x - 2)^2 (x + 1) < 0, taking care over the repeated factor.
Show worked solution →

Find the zeroes and their multiplicities. The zeroes are x=−1x = -1 (from the single factor x+1x + 1) and x=2x = 2 (from the squared factor (x−2)2(x - 2)^2, a double zero). They cut the line into three intervals.

Test one value in each interval. Take x=−2,0,3x = -2, 0, 3:

f(−2)=(−4)2(−1)=−16,f(0)=(−2)2(1)=4,f(3)=(1)2(4)=4.f(-2) = (-4)^2(-1) = -16, \quad f(0) = (-2)^2(1) = 4, \quad f(3) = (1)^2(4) = 4.

So the sign row is −,+,+-, +, + across x<−1x < -1, −1<x<2-1 < x < 2, x>2x > 2.

Read the repeated factor
The sign does not change across the double zero x=2x = 2, because (x−2)2≥0(x - 2)^2 \ge 0 on both sides; the run of pluses confirms it. The only sign change is at the simple zero x=−1x = -1.
Keep the negative interval
We want f(x)<0f(x) < 0, which holds only on x<−1x < -1. The strict inequality excludes x=2x = 2 (where f=0f = 0) anyway.
Answer
x<−1x < -1.
core3 marks
Find the zero and the discontinuity of x+4x−1\dfrac{x + 4}{x - 1}, and hence solve x+4x−1≥0\dfrac{x + 4}{x - 1} \ge 0.
Show worked solution →

Locate the critical values. The expression is zero where the numerator is zero, at x=−4x = -4, and undefined where the denominator is zero, at x=1x = 1. These split the line into three intervals.

Test one value in each interval. Take x=−5,0,2x = -5, 0, 2:

−5+4−5−1=−1−6=16>0,0+40−1=4−1=−4<0,2+42−1=61=6>0.\frac{-5 + 4}{-5 - 1} = \frac{-1}{-6} = \frac{1}{6} > 0, \quad \frac{0 + 4}{0 - 1} = \frac{4}{-1} = -4 < 0, \quad \frac{2 + 4}{2 - 1} = \frac{6}{1} = 6 > 0.

So the sign row is +,−,++, -, + across x<−4x < -4, −4<x<1-4 < x < 1, x>1x > 1.

Fix the endpoints. We want the quotient ≥0\ge 0, so keep the positive intervals. Include x=−4x = -4, where the numerator is zero so the quotient equals 00 (allowed by ≥\ge). Exclude x=1x = 1, where the expression is undefined.

Answer: x≤−4x \le -4 or x>1x > 1.

exam4 marks
Solve x−1x+2≤1\dfrac{x - 1}{x + 2} \le 1 by collecting everything on one side as a single fraction, then using a table of signs.
Show worked solution →

Move the constant across first. Do not multiply by x+2x + 2, whose sign is unknown. Subtract 11 from both sides and combine over the common denominator x+2x + 2:

x−1x+2−1≤0  ⟹  (x−1)−(x+2)x+2≤0  ⟹  −3x+2≤0.\frac{x - 1}{x + 2} - 1 \le 0 \implies \frac{(x - 1) - (x + 2)}{x + 2} \le 0 \implies \frac{-3}{x + 2} \le 0.

Simplify the sign question
The numerator is the constant −3<0-3 < 0, so −3x+2≤0\dfrac{-3}{x + 2} \le 0 is equivalent to 1x+2≥0\dfrac{1}{x + 2} \ge 0, which (since the numerator 11 is positive) holds exactly when x+2>0x + 2 > 0.
Watch the discontinuity
The original expression is undefined at x=−2x = -2, and the rearranged fraction can never equal 00 (its numerator is −3≠0-3 \ne 0), so x=−2x = -2 is excluded and no endpoint is gained there.
Solve
x+2>0x + 2 > 0 gives x>−2x > -2.
Check
At x=0x = 0, 0−10+2=−12≤1\dfrac{0 - 1}{0 + 2} = -\tfrac{1}{2} \le 1, true. At x=−3x = -3, −3−1−3+2=−4−1=4≤1\dfrac{-3 - 1}{-3 + 2} = \dfrac{-4}{-1} = 4 \le 1, false, so x=−3x = -3 is correctly excluded.
Answer
x>−2x > -2.
exam4 marks
For y=(x+2)(x−1)2y = (x + 2)(x - 1)^2, draw up a table of signs, state the yy-intercept, and hence solve (x+2)(x−1)2≥0(x + 2)(x - 1)^2 \ge 0. Use the table to describe how the curve meets the xx-axis at each zero.
Show worked solution →

Find the zeroes and multiplicities. The zeroes are x=−2x = -2 (simple) and x=1x = 1 (double, from (x−1)2(x - 1)^2). They cut the line into three intervals.

Test one value in each interval. Take x=−3,0,2x = -3, 0, 2:

f(−3)=(−1)(−4)2=−16,f(0)=(2)(−1)2=2,f(2)=(4)(1)2=4.f(-3) = (-1)(-4)^2 = -16, \quad f(0) = (2)(-1)^2 = 2, \quad f(2) = (4)(1)^2 = 4.

So the sign row is −,+,+-, +, + across x<−2x < -2, −2<x<1-2 < x < 1, x>1x > 1.

Read the y-intercept
f(0)=(2)(−1)2=2f(0) = (2)(-1)^2 = 2, so the curve cuts the yy-axis at (0,2)(0, 2).
Describe each zero from the signs
At x=−2x = -2 the sign changes from −- to ++, so the curve crosses the xx-axis there. At x=1x = 1 the sign does not change (it stays ++), so the curve touches the xx-axis and turns back, the hallmark of a double zero.
Solve the inequation
We want f(x)≥0f(x) \ge 0. The function is positive on −2<x<1-2 < x < 1 and x>1x > 1, zero at x=−2x = -2 and x=1x = 1, and these two intervals plus the touching point join into one piece. Including the zeroes (weak inequality):
Answer
x≥−2x \ge -2.

Practise this

Sources & how we know this

ExamExplained