1B

The sign of a function

Build a table of signs using test points around zeroes and discontinuities, and use it to solve polynomial and fraction inequations and to start a sketch.

You have already used test points to solve quadratic inequations and sketch cubics. This section turns that into one method that works for any function you can factor, including fractions. It is also the first step of every curve sketch you will do in Year 12 calculus.

Where can a function change sign?

Notice the word can. The graph might only touch the axis at a zero, or come back down on the same side of an asymptote. That is why we test, rather than guess.

Building a table of signs

  1. Move everything to one side, so the other side is $0$.
  2. Factor fully, and find every zero and every discontinuity.
  3. Put them in order in a table, with one test value in each gap.
  4. Read off the sign in each gap.
Example 1●●

Solve $x^3 + 2x^2 \le 3x$.

$x^3 + 2x^2 - 3x \le 0$
Get zero on one side first. You can't read the sign of a function until you are comparing it with zero.
$x(x + 3)(x - 1) \le 0$
Take out the common factor x, then factor the quadratic.
$x$$-4$$-3$$-1$$0$$\tfrac12$$1$$2$
$y$$-20$$0$$4$$0$$-\tfrac78$$0$$10$
sign$-$$0$$+$$0$$-$$0$$+$
Zeroes at −3, 0 and 1. A polynomial has no discontinuities. Test x = −4, −1, 0.5 and 2.
$x \le -3$ or $0 \le x \le 1$
We want negative or zero, so include the zeroes.

Fractions: dodge the discontinuities too

A fraction can change sign where its denominator is zero, so those $x$-values go in the table as well. Mark them with a star, since the function is undefined there. A discontinuity is never part of the solution.

Sign of y = (x + 2)(x − 1) / (x − c)

The shading shows where y is positive. The sign changes only at the zeroes and at the asymptote.

Try this

Before moving anything, predict where $y \gt 0$ when $c = 3$. Then drag $c$ to $-0.5$ and predict again. What happens to the pattern when $c = 1$?

Example 2●●●

Solve $\dfrac{2}{x - 1} \le x$ using a table of signs.

$\dfrac{2}{x - 1} - x \le 0$
Move x to the left so we compare with zero.
$\dfrac{2 - x(x - 1)}{x - 1} = \dfrac{-x^2 + x + 2}{x - 1} = \dfrac{-(x - 2)(x + 1)}{x - 1} \le 0$
Combine into a single fraction over the common denominator.
$x$$-2$$-1$$0$$1$$1.5$$2$$3$
LHS$\tfrac43$$0$$-2$$*$$2.5$$0$$-2$
sign$+$$0$$-$$*$$+$$0$$-$
Zeroes at −1 and 2, discontinuity at 1. Test x = −2, 0, 1.5 and 3.
$-1 \le x \lt 1$ or $x \ge 2$
Negative or zero. Include the zeroes, never the star.

You could also solve Example 2 the 1A way: multiply by $(x - 1)^2$ to get $2(x - 1) \le x(x - 1)^2$, then factor out $(x - 1)$. Both methods give the same answer. The table of signs is better when the fraction is messy, and it doubles as a sketch.

From table to sketch

The table tells you which side of the axis the graph is on in each gap. For $y = \dfrac{x + 1}{x - 3}$, the zero is $x = -1$, the vertical asymptote is $x = 3$, and the signs are $+$, $-$, $+$. Writing $y = 1 + \dfrac{4}{x - 3}$ shows $y \to 1$ as $x \to \pm\infty$, so $y = 1$ is a horizontal asymptote. With the intercept $(0, -\tfrac13)$, that is enough for a good sketch.

Your turn

Solve $\dfrac{x + 4}{x - 2} \gt 0$.

Show the working

Zero at $x = -4$, discontinuity at $x = 2$. Test $x = -5$: $\tfrac{-1}{-7} \gt 0$. Test $x = 0$: $\tfrac{4}{-2} \lt 0$. Test $x = 3$: $\tfrac71 \gt 0$. So $x \lt -4$ or $x \gt 2$.

Flashcards
Where can a function change sign?
Only at its zeroes and its discontinuities.
Is a discontinuity ever part of the solution?
No. The function is undefined there.
A squared factor such as $(x - a)^2$
The graph touches the axis at $a$ and the sign does not change.
Practice
  1. A function can only change sign at:

  2. Solve $(x + 1)(x - 2)(x - 5) \lt 0$.

  3. How many positive integers satisfy $x(x + 3)(x - 4) \lt 0$?

  4. Solve $(x - 2)^2(x + 1) \gt 0$.

  5. Solve $\dfrac{x - 3}{x + 2} \le 0$.

  6. For $y = \dfrac{x + 1}{x - 2}$, find the value of $y$ at the test point $x = 0$.

  7. Write $y = \dfrac{x + 1}{x - 3}$ as $1 + \dfrac{4}{x - 3}$. Enter the value $y$ approaches as $x \to \infty$.

  8. Solve $x^3 \ge 4x$.

  9. Exam style: solve $\dfrac{2}{x - 1} \le x$. The solution is $a \le x \lt b$ or $x \ge c$. Enter $a$.

  10. Exam style: solve $\dfrac{x^2 - 4}{x} \ge 0$. The solution is $-a \le x \lt 0$ or $x \ge a$. Enter $a$.

Formula sheet