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.

This book is licensed under a Creative Commonsby-nc-sa 3.0 license. See the license for more details, but that basically means you can share this book as long as you credit the author (but see below), don't make money from it, and do make it available to everyone else under the same terms.

This content was accessible as of December 29, 2012, and it was downloaded then by Andy Schmitz in an effort to preserve the availability of this book.

Normally, the author and publisher would be credited here. However, the publisher has asked for the customary Creative Commons attribution to the original publisher, authors, title, and book URI to be removed. Additionally, per the publisher's request, their name has been removed in some passages. More information is available on this project's attribution page.

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. To download a .zip file containing this book to use offline, simply click here.

2.7 Solving Inequalities with Two Variables

Learning Objectives

Identify and check solutions to inequalities with two variables.

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

y≤32x+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

y≤32x+3

(0, 0)

0≤32(0)+30≤3✓

(2, 1)

1≤32(2)+31≤3+31≤6✓

(−2, −1)

−1≤32(−2)+3−1≤−3+3−1≤0✓

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

Test point

y≤32x+3

(−2, 3)

3≤32(−2)+33≤−3+33≤0✗

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

y≤32x+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

y≤32x+3

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

3≤32(0)+33≤0+33≤3✓

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)

y≥32x+3

y≤32x+3

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

y≥32x+3

y≤32x+3

0≥32(0)+30≥0+30≥3✗

0≤32(0)+30≤0+30≤3✓

Example 1

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

Solution:

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

5x−2y<105(2)−2(12)<1010−1<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≤(x−1)2−2

y≥(x−1)2−2

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

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 2x−5y≥−10.

Solution:

Here the boundary is defined by the line 2x−5y=−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.

2x−5y=−10

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

2x−5y=−10

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

x-intercept: (−5, 0)

y-intercept: (0, 2)

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

Test point

2x−5y≥−10

(0, 0)

2(0)−5(0)≥−100≥−10✓

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.

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.

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?

5x−y>−2; (−3,−4)

4x−y<−8; (−3,−10)

6x−15y≥−1; (12,−13)

x−2y≥2; (23,−56)

34x−23y<32; (1,−1)

25x+43y>12; (−2,1)

y≤x2−1; (−1,1)

y≥x2+3; (−2,0)

y≥(x−5)2+1; (3,4)

y≤2(x+1)2−3; (−1,−2)

y>3−|x|; (−4,−3)

y<|x|−8; (5,−7)

y>|2x−1|−3; (−1,3)

y<|3x−2|+2; (−2,10)

Part B: Graphing Solutions to Inequalities with Two Variables.

Graph the solution set.

y<2x−1

y>−4x+1

y≥−23x+3

y≤43x−3

2x+3y≤18

5x+2y≤8

6x−5y>30

8x−6y<24

3x−4y<0

x−3y>0

x+y≥0

x−y≥0

y≤−2

y>−3

x<−2

x≥−3

16x+110y≤12

38x+12y≥34

112x−16y<23

13x−19y>43

5x≤−4y−12

−4x≤12−3y

4y+2<3x

8x<9−6y

5≥3x−15y

2x≥6−9y

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

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

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

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

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

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

Graph the solution set.

y≤x2+3

y>x2−2

y≤−x2

y≥−x2

y>(x+1)2

y>(x−2)2

y≤(x−1)2+2

y≤(x+3)2−1

y<−x2+1

y>−(x−2)2+1

y≥|x|−2

y<|x|+1

y<|x−3|

y≤|x+2|

y>−|x+1|

y≤−|x−2|

y≥|x+3|−2

y≥|x−2|−1

y<−|x+4|+2

y>−|x−4|−1

y>x3−1

y≤x3+2

y≤x

y>x−1

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.

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.