audio read-through The Test Point Method for Sentences Like:  $f(x) \gt 0$

In Precalculus, it's essential that you can easily and efficiently solve sentences like:

$\displaystyle\frac{3x}{2}-1 \ge \frac 15 - 7x$
and
$\,x^2 \ge 3\,$

The first sentence is an example of a linear inequality in one variable; a prior lesson covers this type of sentence. For linear inequalities, the variable appears in the simplest possible way—all you have are numbers, times $\,x\,$ to the first power (i.e., terms of the form $\,kx\,,$ where $\,k\,$ is a real number).

The second sentence is an example of a nonlinear inequality in one variable. In nonlinear sentences, the variable appears in a more complicated way—perhaps you have an $\,x^2\,$ (or higher power), or $\,|x|\,,$ or $\,\sin x\,.$ For solving nonlinear inequalities, more advanced tools are needed, which are discussed in detail in this lesson and the next.

There are two basic methods for solving nonlinear inequalities in one variable. These two methods were introduced in the prior lesson, Solving Nonlinear Inequalities in One Variable (Introduction). Both are called ‘test point methods’, because they involve identifying important intervals, and then ‘testing’ a number from each of these intervals.

The two methods are:

There are a few key ideas before we get started:

RE-ARRANGING A SENTENCE TO COMPARE TO ZERO

Every equation/inequality can be written with zero on the right-hand side.

If there are any nonzero terms on the right initially, just use the Addition Property of Equality (which also works for inequalities) to subtract them from both sides.

Thus, we can always get an equivalent sentence in one of these forms:

$\cssId{s21}{f(x) = 0}$
$\cssId{s22}{f(x) > 0}$
$\cssId{s23}{f(x) \ge 0}$
$\cssId{s24}{f(x) \lt 0}$
$\cssId{s25}{f(x) \le 0}$

For example, subtracting $\,3\,$ from both sides of $\,x^2 \ge 3\,$ gives the equivalent inequality $\,x^2 - 3\ge 0\,.$

ONLY TWO PLACES WHERE A FUNCTION CAN CHANGE ITS SIGN: ZEROES and BREAKS

There are only two types of places where the graph of a function $\,f\,$ can go from above to below the $x$-axis (or vice versa):

where $\,f(x) = 0$
(at a zero of the function)
sign can change at a zero SIGN CAN CHANGE AT A ZERO
where there's a break in the graph of $\,f$ sign can change at a break SIGN CAN CHANGE AT A BREAK

In other words, there are only two types of places where a function can change its sign (from positive to negative, or from negative to positive): at a zero, or at a break.

It's important to note that there doesn't have to be a sign change at a zero, and there doesn't have to be a sign change at a break. These are just the candidates for places where a sign change can occur.

That is, the following implications are true:

no sign change at this zero; no sign change at this break No sign change at this zero;
No sign change at this break

The Test Point Method For Sentences Like $\,f(x) \ge 0\,$: Complete Solution With Full Discussion

In this first example, ‘$\,x^2 \ge 3\,$’ is solved using the ‘compare to zero’ (or ‘one-function’) method. A full discussion accompanies this first solution. After, an in-a-nutshell version of the solution is given.

Use the addition property of equality (which also works for inequalities) to rewrite the inequality with zero on the right-hand side:  $\,x^2 - 3\ge 0\,$

Identify the function $\,f\,$ (the function on the left-hand side):

$$ \cssId{s54}{\overbrace{x^2 - 3}^{f(x)}\ge 0} $$ $$ \cssId{s55}{\text{Define: } \ \ f(x) := x^2 - 3} $$

Recall that ‘$\,:=\,$’ means ‘equal, by definition’.  Since the inequality symbol is ‘$\,\ge\,$’, we need to find the values of $\,x\,$ for which the graph of $\,f\,$ lies on or above the $x$-axis.

Identify the candidates for sign changes:

Mark the candidates on a number line, using $\,z\,$ (for ‘zero’) as the tick mark. In the diagram below, note the $\,z\,$ at $\,-\sqrt 3\,$ and the $\,z\,$ at $\,\sqrt 3\,.$

(If there were any breaks, they would be marked using ‘$\,B\,$’ as the tick mark.)

The number line itself should be labeled ‘Sign of $\,f(x)\,$’, since you'll be marking the sign (plus or minus) of the function on each subinterval.

the test point method Sign of $\,f(x)$

Choose a simple number (the ‘test point’) from each subinterval.

In this example, there are three subintervals:  $(-\infty,-\sqrt 3)\,,$  $(-\sqrt 3,\sqrt 3)\,,$  and  $(\sqrt 3,\infty)\,.$

Since $\,-\sqrt 3\approx -1.7\,,$ the number $-2$ is a good, simple choice from the first subinterval (notice the label ‘$\,T = -2\,$’ above). The function $\,f\,$ is evaluated at $\,-2\,,$ and the result is positive (notice the ‘$\,(-2)^2 - 3 \gt 0\,$’ above). Thus, ‘$\,+\,$’ signs are put on the first subinterval.

Similarly, simple test points are chosen and evaluated for the remaining subintervals. A good rule of thumb—when zero is available as a test point, choose it! Most functions are very easy to evaluate at zero!

Of course, when the graph of the function $\,f\,$ is easy to obtain, it's not necessary to choose test points! The graph of $\,f(x) = x^2 - 3\,$ is shown in the test point sketch above (the holding-water parabola, crossing the $x$-axis at $\,\pm\sqrt 3\,$).

This is much quicker than actually choosing test points!

This test point sketch efficiently displays the sign (plus or minus) of $\,x^2 - 3\,$ everywhere: we know where it is positive (the plus signs), negative (the minus signs), and zero (the ‘$\,z\,$’ tick marks).

So, which values of $\,x\,$ do we want? Since we're solving ‘$\,x^2 - 3 \ge 0\,$’, we need to read off all values of $\,x\,$ corresponding to the plus signs, together with the zeroes.

Using interval notation, the solution set is:

$$\cssId{s94}{(-\infty,-\sqrt 3\,] \cup [\,\sqrt 3,\infty)}$$

Recall:

At first glance, this may seem like a lot of work. Usually, the hardest part is in determining where the function is zero. The web exercise below will give you lots of practice to make you very efficient at the process!

The In-a-Nutshell Version of the Solution

Here is the ‘in-a-nutshell’ version of the previous solution. This is probably the minimum amount of work that a teacher would want you to show.

In the exercises in this section, you will be expected to show all of these steps. The comments are for your information, and do not need to be included in your solutions.

You Write This Down:
$x^2 \ge 3$
Comments:
Original Sentence
$x^2 - 3\ge 0$
Rewrite the inequality with zero on the right-hand side. Since the inequality symbol is ‘$\,\ge\,$’, we need to determine where the graph of $\,x^2 - 3\,$ lies on ($\,=\,$) or above ($\,\gt\,$) the $x$-axis.
$f(x) := x^2 - 3$
If desired, name the function on the left-hand side $\,f\,,$ so it can be easily referred to in later steps. Recall that ‘$:=$’ means ‘equals, by definition’.
$x^2 - 3 = 0$
$x^2 = 3$
$x = \pm\sqrt 3$

(no breaks in graph of $\,f\,$)

Identify the candidates for sign changes for $\,f\,$:

  • where $\,f(x)\,$ is zero
  • breaks in the graph of $f$
test point method Sign of $\,f(x)\,$

Mark the candidates from the previous step on a number line which is labeled ‘Sign of $\,f(x)\,$’.

Mark zeroes with the tick mark ‘$\,z\,$’.

Test each subinterval to see if $\,f(x)\,$ is $\,+\,$ or $\,-\,.$ Since $\,\sqrt 3\approx 1.7\,,$ test points $\,-2\,$ and $\,2\,$ are easy.

If the graph of $\,f\,$ is easy to obtain, then draw it in. In this case, you don't even need the test points! Graph above the $x$-axis? Then $\,f(x)\,$ is positive. Graph below the $x$-axis? Then $\,f(x)\,$ is negative.

In this test point sketch, both the test points and graph are shown.

Solution set:
$(-\infty,-\sqrt 3\ ] \cup [\ \sqrt 3,\infty)$

Sentence Form of Solution:
$x\le -\sqrt 3\ \ \text{ or }\ \ x\ge \sqrt 3$

Read off the solution set, using correct interval notation. Or, give the sentence form of the solution.

For this problem, since the inequality symbol is ‘$\,\ge\,$’, we need to read off all values corresponding to plus signs and zeroes.

A Second Example: A Function With Both a Break and a Zero

Here is a second example, where there is both a break in the graph and a zero. Only the in-a-nutshell version of the solution is given.

You Write This Down:
$\displaystyle \frac 1x \lt 2$
Comments:
Original Sentence
$\displaystyle \frac 1x - 2 \lt 0$

Rewrite the inequality with zero on the right-hand side.

Since the inequality symbol is ‘$\,\lt\ $’, we need to determine where the graph of $\,\frac 1x - 2\,$ lies below the $x$-axis.

$\displaystyle f(x) := \frac 1x - 2$
If desired, name the function on the left-hand side $\,f\,,$ so it can be easily referred to in later steps. Recall that ‘$:=$’ means ‘equals, by definition’.

When $\,x = 0\,$ there is a break, since division by zero is not allowed. For $\,x\ne 0\,$:

$$ \begin{gather} \cssId{s153}{\frac 1x - 2 = 0}\cr\cr \cssId{s154}{\frac 1x = 2}\cr\cr \cssId{s155}{x = \frac 12} \end{gather} $$

(Take reciprocals of both sides: if two numbers are equal, so are their reciprocals.)

Identify the candidates for sign changes for $\,f\,$:

  • where $\,f(x)\,$ is zero
  • breaks in the graph of $f$
test point method Sign of $\,f(x)\,$

Mark the candidates from the previous step on a number line which is labeled ‘Sign of $\,f(x)\,$’.

Mark zeroes with the tick mark ‘$\,z\,$ ’. Mark breaks with the tick mark ‘$\,B\,$ ’.

Test each subinterval to see if $\,f(x)\,$ is $\,+\,$ or $\,-\,.$

If the graph of $\,f\,$ is easy to obtain, then draw it in. In this case, you don't even need the test points! Graph above the $x$-axis? Then $\,f(x)\,$ is positive. Graph below the $x$-axis? Then $\,f(x)\,$ is negative.

In this test point sketch, both the test points and graph are shown.

Solution Set:
$(-\infty,0) \cup (\frac 12,\infty)$

Sentence Form of Solution:
$x \lt 0\ \ \text{ or }\ \ x \gt \frac 12$

Read off the solution set, using correct interval notation. Or, give the sentence form of the solution.

For this problem, since the inequality symbol is ‘$\,\lt\,$’, we need to read off all values corresponding to minus signs.

Using WolframAlpha to Solve Nonlinear Inequalities

Just for fun, jump up to wolframalpha.com and key in the two examples explored in this lesson:

x^2 >= 3
1/x < 2

Voila!

Concept Practice

For graphical insight into the solution set, a graph is sometimes displayed.

For example, the inequality ‘$\,x^2 \ge 3\,$’ is optionally accompanied by:

  • Graph of $\,y = x^2\,$ (the left side of the inequality, dashed green)
  • Graph of $\,y = 3\,$ (the right side of the inequality, dashed purple)
  • Graph of $\,y = x^2 - 3\,$ (the function used for the ‘compare with zero’ test point method; solid red)

In this example, you are finding the values of $\,x\,$ where the green graph lies on or above the purple graph. Equivalently, you are finding where the red graph lies on or above the $x$-axis.

Click the ‘Show/Hide Graph’ button if you prefer not to see the graph.