Linear Inequalities

Linear inequalities are often easy to solve. We just need to isolate the variable on one side of the inequality sign.

  • Recall that we can
    • add (or subtract) the same quantity (+ or โˆ’) from both sides of the inequality, or
    • multiply (or divide) both sides of the inequality by a positive quantity, and the inequality will still hold.
  • If we multiply or divide both sides of an inequality by a negative quantity, the direction of the inequality will be reversed (See Section 1.4).

Never multiply or divide both sides of an inequality by a quantity whose sign is unknown!

Example 1
Solve each inequality
(a) 7xโˆ’5โ‰ฅ4x+4
(b) โˆ’4<7โˆ’5x2โ‰ค1
Solution
(a)
7xโˆ’5โ‰ฅ4x+4 (given inequality)7xโˆ’4xโˆ’5โ‰ฅ4xโˆ’4x+4 (subtract 4x from both sides)3xโˆ’5โ‰ฅ4(simplify)3xโ‰ฅ9 (add 5 to both sides)xโ‰ฅ3(divide both sides by 3)
(b)
โˆ’4<7โˆ’5x2โ‰ค1

Multiply each term by 2:
โˆ’8<7โˆ’5xโ‰ค2

Subtract 7 from each term:
โˆ’15<โˆ’5xโ‰คโˆ’5 Divide each term by โˆ’5
3>xโ‰ฅ1 which can alternatively be rewritten as 1โ‰คx<3. For the last step, recall that when we divide both sides of an inequality by a negative number, the direction of the inequality changes (see Section 1.4).

The graph of y=โˆ’52x+72 shows that for 1โ‰คx<3, we have โˆ’4<yโ‰ค1.

Graph of y=(7โˆ’5x)/2 shows for 1โ‰คx<3, we have โˆ’4<yโ‰ค1.
  • For part (b) of the above example, note that
    โˆ’4<7โˆ’5x2โ‰ค1 means
    โˆ’4<7โˆ’5x2and7โˆ’5x2โ‰ค1. In fact, we have to solve two inequalities.

Nonlinear Inequalities

To solve nonlinear inequalities, we follow these steps:

  1. Move all terms to one side of the inequality sign and express the inequality in the form
    P>0,orP<0 or
    Pโ‰ฅ0,orPโ‰ค0 where P is an expression in the variable (usually x) [to indicate its dependence on x, we may write it as P(x) if we wish]
  2.  Factor P
    P=Q1Q2โ‹ฏQn where Q1,โ€ฆ,Qn are expressions in x.
  3. Determine the zeros of each factor of P (find the values for which each Qi is zero). These values divide the real line into intervals.
  4. Make a sign table. Determine the sign of each factor in each interval.
  5. Determine the sign of P in each interval using the sign table. Recall that a product (or a quotient) that involves an even number of negative factors is positive and one that involves an odd number of negative factors is negative. If the inequality sign is โ‰ฅ or โ‰ค, pay attention to the endpoints of the intervals and check if they satisfy the inequality.
  • For fractions; that is, when
    P=Q1Q2 we follow the same steps.
  • To determine the sign of each factor, we can choose an arbitrary number (called a test value) in that interval and find the sign of the factor. Alternatively, you can use the following facts:

  • If ax2+bx+c does not have any real roots, then its sign is always the same as the sign of a
    [because in this case the graph of y=ax2+bx+c is completely above or completely below the x-axis, and never intersects it]

 

  • If ax2+bx+c has two real roots r1 and r2, then when x is between r1 and r2 , its sign is the opposite of the sign of a and outside that interval, its sign is the same as the sign of a.
    [Because when ax2+bx+c has two real roots, then
    ax2+bx+c=a(xโˆ’r1)(xโˆ’r2)
Example 2
Solve x2+6>5x
Solution
x2+6>5x

Subtract 5x from each term:
x2โˆ’5x+6>0

Factor:
(xโˆ’2)(xโˆ’3)>0

Because the sign of a product depends on the signs of its factors, we need to determine where each factor is positive or negative. We identify that the zeros of these factors are x=2 and x=3 and using these values we construct the following sign table. Because the product is positive where both factors are positive or both are negative, the solutions are the real numbers in the union (โˆ’โˆž,2)โˆช(3,โˆž)
or
{x| x<2 or x>3}, as illustrated in the last row of the following sign table.

Alternatively we can say because the multiple of x2 (a=1) is positive, as discussed above we know that when 2<x<3, the sign of the polynomial is opposite to the sign of a (here negative) and outside of that interval, the sign of the polynomial is the same as the sign of a (here positive).

The graph of y=x2โˆ’5x+6 shows that when x<2 or x>3, we have y>0 (see the following figure)

Graph of y=x2โˆ’5x+6
Example 3
Solve x3+2x2โ‰คx+2
Solution

Given inequality:
x3+2x2โ‰คx+2

Move all terms to one side:
x3+2x2โˆ’xโˆ’2โ‰ค0 Now we need to factor x3+2x2โˆ’xโˆ’2. We can do that by grouping terms as follows
x3+2x2โˆ’xโˆ’2=(x3+2x2)โˆ’(x+2)=x2(x+2)โˆ’(x+2)

Now factor out (x+2) and then use the Difference of Squares formula in Section 1.13 

x3+2x2โˆ’xโˆ’2=(x+2)(x2โˆ’1)=(x+2)(xโˆ’1)(x+1)
So we need to find x such that
(x+2)(xโˆ’1)(x+1)โ‰ค0 To determine the sign, first we identify the zeros that are x=โˆ’2, x=โˆ’1, and x=1, and then construct the following sign table

The last row of the sign table is obtained from the fact that the polynomial is the product of the three factors. We read from this table that (x+2)(xโˆ’1)(x+1) or x3+2x2โˆ’xโˆ’2 is negative or zero on the interval (โˆ’โˆž,โˆ’2] and [โˆ’1,1]. We have included x=โˆ’2 and x=ยฑ1 because at these points, the polynomial is zero and the inequality is satisfied. The solution set can be expressed
as
{x| xโ‰คโˆ’2orโˆ’1โ‰คxโ‰ค1}=(โˆ’โˆž,2]โˆช[โˆ’1,1]. The graph of y=x3+2xโˆ’xโˆ’2 shows that when xโ‰ค2 or โˆ’1โ‰คxโ‰ค1, we have yโ‰ค0 (see the following figure).

Graph of y=x3+2xโˆ’xโˆ’2

 

Example 4
Solve xx+1โ‰ค2.
Solution
Recall that if we multiply both sides by a positive quantity, the direction of the inequality will be preserved but if we multiply both sides by a negative quantity, the direction of the inequality will be reversed. We do not know the sign of x+1, so if we wanted to multiply both sides by x+1, we would not be sure about the direction of the inequality.

Given inequality:
xx+1โ‰ค2

Subtract 2 from both sides
xx+1โˆ’2โ‰ค0

The common denominator is x+1, so we get
xx+1โˆ’2(x+1)x+1โ‰ค0

Combine fractions:
xโˆ’2xโˆ’2x+1โ‰ค0

Simplify:
โˆ’xโˆ’2x+1โ‰ค0 The sign of (โˆ’2โˆ’x)/(x+1) is solely determined by the signs of (โˆ’xโˆ’2) and (x+1). To construct the sign table, we need to identify the zeros of the numerator and denominator: x=โˆ’1 and x=โˆ’2. These are the only values at which the fraction may change sign. Now we construct the following sign table.


For x=โˆ’1, the denominator becomes zero, and because division by zero is not defined, we must eliminate x=โˆ’1.

From the sign table, we read that (โˆ’xโˆ’2)/(x+1)โ‰ค0 when
xโ‰คโˆ’2orx>โˆ’1 and the solution set is
(โˆ’โˆž,โˆ’2]โˆช(โˆ’1,โˆž) We have included x=โˆ’2 because for x=โˆ’2 the numerator and hence the fraction are zero and the inequality is satisfied.

The graph of y=x/(x+1) is plotted in the following figure. The solutions are the x-values for which the corresponding y-values lie on or below the horizontal line y=2.

Graph of y=x/(x+1) is on or below the horizontal line y=2 when xโ‰คโˆ’2 or x>โˆ’1.

Example 5
Solve x+1x2+1>1.
Solution

Given equation

x+1x2+1>1

Move all terms to one side
x+1x2+1โˆ’1>0

The common denominator is x2+1, so:
x+1x2+1โˆ’x2+1x2+1>0

Combine the fractions:
xโˆ’x2x2+1>0

Factor:
x(1โˆ’x)x2+1>0

Because x2+1>0, the sign of the fraction is the same as the sign of the numerator x(1โˆ’x). The zeros of the numerator are x=0 and x=1 that divide the real line into three intervals. Then we construct the sign table as follows.


The sign table shows that x(1โˆ’x)/(x2+1)>0 when 0<x<1. In other words, the solution set is
{x| 0<x<1}=(0,1). Because the denominator is never zero, we do not have to exclude any value of x.

The graph of y=(x+1)/(x2+1), illustrated in the following figure, shows that y>1 only when 0<x<1.

Graph of y=(x+1)/(x2+1) is above the horizontal line y=1 when 0<x<1.