This is “Solving Inequalities with Two Variables”, section 2.7 from the book Advanced Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. You may also download a PDF copy of this book (41 MB) or just this chapter (13 MB), suitable for printing or most e-readers, or a .zip file containing this book's HTML files (for use in a web browser offline).

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

2.7 Solving Inequalities with Two Variables

Learning Objectives

  1. Identify and check solutions to inequalities with two variables.
  2. Graph solution sets of linear inequalities with two variables.

Solutions to Inequalities with Two Variables

We know that a linear equation with two variables has infinitely many ordered pair solutions that form a line when graphed. A linear inequality with two variablesAn inequality relating linear expressions with two variables. The solution set is a region defining half of the plane., on the other hand, has a solution set consisting of a region that defines half of the plane.

Linear Equation

Linear Inequality

y=32x+3

y32x+3

For the inequality, the line defines the boundary of the region that is shaded. This indicates that any ordered pair in the shaded region, including the boundary line, will satisfy the inequality. To see that this is the case, choose a few test pointsA point not on the boundary of the linear inequality used as a means to determine in which half-plane the solutions lie. and substitute them into the inequality.

Test point

y32x+3

(0, 0)

032(0)+303

(2, 1)

132(2)+313+316

(−2, −1)

132(2)+313+310

Also, we can see that ordered pairs outside the shaded region do not solve the linear inequality.

Test point

y32x+3

(−2, 3)

332(2)+333+330

The graph of the solution set to a linear inequality is always a region. However, the boundary may not always be included in that set. In the previous example, the line was part of the solution set because of the “or equal to” part of the inclusive inequality . If given a strict inequality <, we would then use a dashed line to indicate that those points are not included in the solution set.

Non-Inclusive Boundary

Inclusive Boundary

y<32x+3

y32x+3

Consider the point (0, 3) on the boundary; this ordered pair satisfies the linear equation. It is the “or equal to” part of the inclusive inequality that makes the ordered pair part of the solution set.

y<32x+3

y32x+3

3<32(0)+33<0+33<3

332(0)+330+333

So far we have seen examples of inequalities that were “less than.” Now consider the following graphs with the same boundary:

Greater Than (Above)

Less Than (Below)

y32x+3

y32x+3

Given the graphs above, what might we expect if we use the origin (0, 0) as a test point?

y32x+3

y32x+3

032(0)+300+303

032(0)+300+303

Example 1

Determine whether or not (2,12) is a solution to 5x2y<10.

Solution:

Substitute the x- and y-values into the equation and see if a true statement is obtained.

5x2y<105(2)2(12)<10101<109<10

Answer: (2,12) is a solution.

These ideas and techniques extend to nonlinear inequalities with two variables. For example, all of the solutions to y>x2 are shaded in the graph below.

The boundary of the region is a parabola, shown as a dashed curve on the graph, and is not part of the solution set. However, from the graph we expect the ordered pair (−1,4) to be a solution. Furthermore, we expect that ordered pairs that are not in the shaded region, such as (−3, 2), will not satisfy the inequality.

Check (−1,4)

Check (−3, 2)

y>x24>(1)24>1

y>x22>(3)22>9

Following are graphs of solutions sets of inequalities with inclusive parabolic boundaries.

y(x1)22

y(x1)22

You are encouraged to test points in and out of each solution set that is graphed above.

 

Try this! Is (3,2) a solution to 2x3y<0?

Answer: No

Graphing Solutions to Inequalities with Two Variables

Solutions to linear inequalities are a shaded half-plane, bounded by a solid line or a dashed line. This boundary is either included in the solution or not, depending on the given inequality. If we are given a strict inequality, we use a dashed line to indicate that the boundary is not included. If we are given an inclusive inequality, we use a solid line to indicate that it is included. The steps for graphing the solution set for an inequality with two variables are shown in the following example.

Example 2

Graph the solution set y>3x+1.

Solution:

  • Step 1: Graph the boundary. Because of the strict inequality, we will graph the boundary y=3x+1 using a dashed line. We can see that the slope is m=3=31=riserun and the y-intercept is (0, 1).

  • Step 2: Test a point that is not on the boundary. A common test point is the origin, (0, 0). The test point helps us determine which half of the plane to shade.

    Test point

    y>3x+1

    (0, 0)

    0>3(0)+10>1

  • Step 3: Shade the region containing the solutions. Since the test point (0, 0) was not a solution, it does not lie in the region containing all the ordered pair solutions. Therefore, shade the half of the plane that does not contain this test point. In this case, shade above the boundary line.

Answer:

Consider the problem of shading above or below the boundary line when the inequality is in slope-intercept form. If y>mx+b, then shade above the line. If y<mx+b, then shade below the line. Shade with caution; sometimes the boundary is given in standard form, in which case these rules do not apply.

Example 3

Graph the solution set 2x5y10.

Solution:

Here the boundary is defined by the line 2x5y=10. Since the inequality is inclusive, we graph the boundary using a solid line. In this case, graph the boundary line using intercepts.

To find the x-intercept, set y = 0.

To find the y-intercept, set x = 0.

2x5y=10

2x5(0)=102x=10x=5

2x5y=10

2(0)5y=105y=10y=2

x-intercept: (−5, 0)

y-intercept: (0, 2)

Next, test a point; this helps decide which region to shade.

Test point

2x5y10

(0, 0)

2(0)5(0)10010

Since the test point is in the solution set, shade the half of the plane that contains it.

Answer:

In this example, notice that the solution set consists of all the ordered pairs below the boundary line. This may seem counterintuitive because the original inequality involved “greater than” . This illustrates that it is a best practice to actually test a point. Solve for y and you see that the shading is correct.

2x5y102x5y2x102x5y2x105y52x105Reversetheinequality.y25x+2

In slope-intercept form, you can see that the region below the boundary line should be shaded. An alternate approach is to first express the boundary in slope-intercept form, graph it, and then shade the appropriate region.

Example 4

Graph the solution set y<2.

Solution:

First, graph the boundary line y=2 with a dashed line because of the strict inequality. Next, test a point.

Test point

y<2

(0, 0)

0<2

In this case, shade the region that contains the test point.

Answer:

Try this! Graph the solution set 2x3y<0.

Answer:

The steps are the same for nonlinear inequalities with two variables. Graph the boundary first and then test a point to determine which region contains the solutions.

Example 5

Graph the solution set y<(x+2)21.

Solution:

The boundary is a basic parabola shifted 2 units to the left and 1 unit down. Begin by drawing a dashed parabolic boundary because of the strict inequality.

Next, test a point.

Test point

y<(x+2)21

(0, 0)

0<(0+2)210<410<3

In this case, shade the region that contains the test point (0,0).

Answer:

Example 6

Graph the solution set yx2+3.

Solution:

The boundary is a basic parabola shifted 3 units up. It is graphed using a solid curve because of the inclusive inequality.

Next, test a point.

Test point

yx2+3

(0, 0)

002+303

In this case, shade the region that does not contain the test point (0,0).

Answer:

Try this! Graph the solution set y<|x1|3.

Answer:

Key Takeaways

  • Linear inequalities with two variables have infinitely many ordered pair solutions, which can be graphed by shading in the appropriate half of a rectangular coordinate plane.
  • To graph the solution set of an inequality with two variables, first graph the boundary with a dashed or solid line depending on the inequality. If given a strict inequality, use a dashed line for the boundary. If given an inclusive inequality, use a solid line. Next, choose a test point not on the boundary. If the test point solves the inequality, then shade the region that contains it; otherwise, shade the opposite side.
  • Check your answer by testing points in and out of the shading region to verify that they solve the inequality or not.

Topic Exercises

    Part A: Solutions to Inequalities with Two Variables

      Is the ordered pair a solution to the given inequality?

    1. 5xy>2;   (3,4)

    2. 4xy<8;   (3,10)

    3. 6x15y1;   (12,13)
    4. x2y2;   (23,56)
    5. 34x23y<32;   (1,1)
    6. 25x+43y>12;   (2,1)
    7. yx21;   (1,1)

    8. yx2+3;   (2,0)

    9. y(x5)2+1;   (3,4)

    10. y2(x+1)23;   (1,2)

    11. y>3|x|;   (4,3)

    12. y<|x|8;   (5,7)

    13. y>|2x1|3;   (1,3)

    14. y<|3x2|+2;   (2,10)

    Part B: Graphing Solutions to Inequalities with Two Variables.

      Graph the solution set.

    1. y<2x1

    2. y>4x+1

    3. y23x+3

    4. y43x3

    5. 2x+3y18

    6. 5x+2y8

    7. 6x5y>30

    8. 8x6y<24

    9. 3x4y<0

    10. x3y>0

    11. x+y0

    12. xy0

    13. y2

    14. y>3

    15. x<2

    16. x3

    17. 16x+110y12
    18. 38x+12y34
    19. 112x16y<23
    20. 13x19y>43
    21. 5x4y12

    22. 4x123y

    23. 4y+2<3x

    24. 8x<96y

    25. 53x15y

    26. 2x69y
    27. Write an inequality that describes all points in the upper half-plane above the x-axis.

    28. Write an inequality that describes all points in the lower half-plane below the x-axis.

    29. Write an inequality that describes all points in the half-plane left of the y-axis.

    30. Write an inequality that describes all points in the half-plane right of the y-axis.

    31. Write an inequality that describes all ordered pairs whose y-coordinate is at least k units.

    32. Write an inequality that describes all ordered pairs whose x-coordinate is at most k units.

      Graph the solution set.

    1. yx2+3

    2. y>x22

    3. yx2

    4. yx2

    5. y>(x+1)2

    6. y>(x2)2

    7. y(x1)2+2

    8. y(x+3)21

    9. y<x2+1

    10. y>(x2)2+1

    11. y|x|2

    12. y<|x|+1

    13. y<|x3|

    14. y|x+2|

    15. y>|x+1|

    16. y|x2|

    17. y|x+3|2

    18. y|x2|1

    19. y<|x+4|+2

    20. y>|x4|1

    21. y>x31

    22. yx3+2

    23. yx

    24. y>x1

    25. A rectangular pen is to be constructed with at most 200 feet of fencing. Write a linear inequality in terms of the length l and the width w. Sketch the graph of all possible solutions to this problem.

    26. A company sells one product for $8 and another for $12. How many of each product must be sold so that revenues are at least $2,400? Let x represent the number of products sold at $8 and let y represent the number of products sold at $12. Write a linear inequality in terms of x and y and sketch the graph of all possible solutions.

Answers

  1. No

  2. Yes

  3. Yes

  4. No

  5. No

  6. No

  7. Yes

  1. y>0

  2. x<0

  3. yk

  4. l+w100;