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. To download a .zip file containing this book to use offline, simply click here.
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 |
---|---|
|
|
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 |
|
(0, 0) |
|
(2, 1) |
|
(−2, −1) |
Also, we can see that ordered pairs outside the shaded region do not solve the linear inequality.
Test point |
|
(−2, 3) |
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 |
---|---|
|
|
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.
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) |
---|---|
|
|
Given the graphs above, what might we expect if we use the origin (0, 0) as a test point?
Determine whether or not is a solution to
Solution:
Substitute the x- and y-values into the equation and see if a true statement is obtained.
Answer: is a solution.
These ideas and techniques extend to nonlinear inequalities with two variables. For example, all of the solutions to 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) |
---|---|
Following are graphs of solutions sets of inequalities with inclusive parabolic boundaries.
|
|
You are encouraged to test points in and out of each solution set that is graphed above.
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.
Graph the solution set
Solution:
Step 1: Graph the boundary. Because of the strict inequality, we will graph the boundary using a dashed line. We can see that the slope is 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 |
|
(0, 0) |
Answer:
Consider the problem of shading above or below the boundary line when the inequality is in slope-intercept form. If , then shade above the line. If , then shade below the line. Shade with caution; sometimes the boundary is given in standard form, in which case these rules do not apply.
Graph the solution set
Solution:
Here the boundary is defined by the line 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. |
---|---|
|
|
x-intercept: (−5, 0) |
y-intercept: (0, 2) |
Next, test a point; this helps decide which region to shade.
Test point |
|
(0, 0) |
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.
Graph the solution set
Solution:
First, graph the boundary line with a dashed line because of the strict inequality. Next, test a point.
Test point |
|
(0, 0) |
In this case, shade the region that contains the test point.
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.
Graph the solution set
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 |
|
(0, 0) |
In this case, shade the region that contains the test point
Answer:
Graph the solution set
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 |
|
(0, 0) |
In this case, shade the region that does not contain the test point
Answer:
Is the ordered pair a solution to the given inequality?
;
;
;
;
;
;
;
;
Graph the solution set.
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.
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.
No
Yes
Yes
No
No
No
Yes
;