Skip to main content
NSWMaths Extension 1Syllabus dot point

Where can a function change sign, and how do we use that to solve inequations and to begin a sketch?

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

The Year 11 Extension 1 dot point on the sign of a function. Why a function can only change sign at a zero or a discontinuity, how to build a table of signs with test values, the repeated-factor exception, rational functions with vertical asymptotes, and using the sign pattern both to solve inequations and to begin a sketch.

Generated by Claude Opus 4.817 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

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 x2x>0x^2 - x > 0, and we prove an inequality such as (x2)20(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.

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=(x1)(x3)(x5)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 (x1)(x3)(x5)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: x1x \le 1 or 3x53 \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 (x2)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)(x2)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.

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=x1x4y = \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 x1x4=1+3x4\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+x211 + 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+2x\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+2x\dfrac{3}{x + 2} \le x. Collect everything on the left over the common denominator x+2x + 2:

3x+2x0    3x(x+2)x+20    32xx2x+20.\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 32xx2=(x2+2x3)=(x+3)(x1)3 - 2x - x^2 = -(x^2 + 2x - 3) = -(x + 3)(x - 1), so the inequation is (x+3)(x1)x+20\dfrac{-(x + 3)(x - 1)}{x + 2} \le 0, equivalently (x+3)(x1)x+20\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)(x1)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), (x1)(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 3x<2-3 \le x < -2 or x1x \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+dm\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-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

HSC-style3 marksDraw up a table of signs for y=(x1)(x3)(x5)y = (x - 1)(x - 3)(x - 5), and hence solve (x1)(x3)(x5)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 y0y \le 0, so keep the intervals where yy is negative and, because the inequality is weak, include the zeroes where y=0y = 0:

x1or3x5.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 marksFind the zero and the discontinuity of y=x1x4y = \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)=14=14>0,y(2)=12=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 marksSolve x(x2)(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 marksSolve (x2)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 (x2)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 (x2)20(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 marksFind the zero and the discontinuity of x+4x1\dfrac{x + 4}{x - 1}, and hence solve x+4x10\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+451=16=16>0,0+401=41=4<0,2+421=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: x4x \le -4 or x>1x > 1.

exam4 marksSolve x1x+21\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:

x1x+210    (x1)(x+2)x+20    3x+20.\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+20\dfrac{-3}{x + 2} \le 0 is equivalent to 1x+20\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 30-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, 010+2=121\dfrac{0 - 1}{0 + 2} = -\tfrac{1}{2} \le 1, true. At x=3x = -3, 313+2=41=41\dfrac{-3 - 1}{-3 + 2} = \dfrac{-4}{-1} = 4 \le 1, false, so x=3x = -3 is correctly excluded.
Answer
x>2x > -2.
exam4 marksFor y=(x+2)(x1)2y = (x + 2)(x - 1)^2, draw up a table of signs, state the yy-intercept, and hence solve (x+2)(x1)20(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 (x1)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
x2x \ge -2.

Related dot points