Module 4: Systems of Linear Equations and Inequalities
4.5: Systems of Linear Inequalities
section 4.5 Learning Objective
4.5: Systems of Linear Inequalities
Graph systems of two-variable linear inequalities
Graph a system of two inequalities
Remember from Module 3 on graphing linear inequalities that the graph of a single linear inequality splits the coordinate plane into two regions. On one side lie all the solutions to the inequality. On the other side, there are no solutions. Consider the graph of the inequality [latex]y<2x+5[/latex].
The dashed line is [latex]y=2x+5[/latex]. Every ordered pair in the shaded area below the line is a solution to [latex]y<2x+5[/latex], as all of the points below the line will make the inequality true. Try substituting the x and y coordinates of Points A and B into the inequality—you’ll see that they work. On the other hand, if you plug in the coordinates of any point on the opposite side of the line into the inequality, they will result in a false statement. So, the shaded area shows all of the solutions for this inequality.
The boundary line divides the coordinate plane in half. In this case, it is shown as a dashed line as the points on the line don’t satisfy the inequality. If the inequality had been [latex]y\leq2x+5[/latex], then the boundary line would have been solid.
Let’s graph another inequality: [latex]y>−x[/latex]. You can check a couple of points to determine which side of the boundary line to shade. Checking points M and N yield true statements. So, we shade the area above the line. The line is dashed as points on the line do not satisfy the inequality.
To create a system of inequalities, you need to graph two or more inequalities together. Let’s use [latex]y<2x+5[/latex] and [latex]y>−x[/latex] since we have already graphed each of them.
The purple area shows where the solutions of the two inequalities overlap. This area is the solution to the system of inequalities. Any point within this purple region will be true for both [latex]y>−x[/latex] and [latex]y<2x+5[/latex].
In the next example, you are given a system of two inequalities whose boundary lines are parallel to each other.
Example 1
Graph the system [latex]\begin{array}{c}y\ge2x+1\\y\lt2x-3\end{array}[/latex]
The inequality [latex]y\lt2x-3[/latex] requires that we draw a dashed line (shown in blue), while the inequality [latex]y\ge2x+1[/latex] will require a solid line (in red). The graphs will look like this:
Now we need to add the regions that represent the inequalities. For the inequality [latex]y\ge2x+1[/latex] we can test a point on either side of the line to see which region to shade. Let’s test [latex]\left(0,0\right)[/latex] to make it easy.
Substitute [latex]\left(0,0\right)[/latex] into [latex]y\ge2x+1[/latex]
This is not true, so we know that we need to shade the other side of the boundary line for the inequality [latex]y\ge2x+1[/latex]. The graph will now look like this:
Now let’s shade the region that shows the solutions to the inequality [latex]y\lt2x-3[/latex]. Again, we can pick [latex]\left(0,0\right)[/latex] to make it easy.
Substitute [latex]\left(0,0\right)[/latex] into [latex]y\lt2x-3[/latex]
This is not true, so we know that we need to shade the other side of the boundary line for the inequality[latex]y\lt2x-3[/latex]. The graph will now look like this:
The graph above has been used to help us identify that this system of inequalities shares no points in common. So, the system of inequalities has no solutions. If we were to graph the solution set, it would be an empty graph.
Consider This
What would the graph look like if the system had looked like this? (Notice the direction of one of the inequalities has changed).
Testing the point [latex]\left(0,0\right)[/latex] would result in a true statement for the inequality [latex]y\gt2x-3[/latex], and the graph would then look like this:
The purple region is the region of overlap for both inequalities.
In other words, the solution set to this system of inequalities is only the region shown below.
In a previous section, we determined whether or not a point was a solution to a system of equations. Next, we will verify algebraically whether a point is a solution to a linear inequality.
Determine whether an ordered pair is a solution to a system of linear inequalities
On the graph above, you can see that the points B and N are solutions for the system because their coordinates will make both inequalities true statements.
In contrast, points M and A both lie outside the solution region (purple). While point M is a solution for the inequality [latex]y>−x[/latex] and point A is a solution for the inequality [latex]y<2x+5[/latex], neither point is a solution for the system. The following example shows how to test a point to see whether it is a solution to a system of inequalities.
Example 2
Is the point (2, 1) a solution of the system [latex]x+y>1[/latex] and [latex]2x+y<8[/latex]?
Show Solution
Check the point with each of the inequalities. Substitute 2 for x and 1 for y. Is the point a solution of both inequalities?
Since (2, 1) is a solution of each inequality, it is also a solution of the system.
Answer
The point (2, 1) is a solution of the system [latex]x+y>1[/latex] and [latex]2x+y<8[/latex].
Here is a graph of the system in the example above. Notice that (2, 1) lies in the purple area, which is the overlapping area for the two inequalities.
Example 3
Is the point (2, 1) a solution of the system [latex]x+y>1[/latex] and [latex]3x+y<4[/latex]?
Show Solution
Check the point with each of the inequalities. Substitute 2 for x and 1 for y. Is the point a solution of both inequalities?
(2, 1) is not a solution for [latex]3x+y<4[/latex].
Since (2, 1) is not a solution of one of the inequalities, it is not a solution of the system.
Answer
The point (2, 1) is not a solution of the system [latex]x+y>1[/latex] and [latex]3x+y<4[/latex].
Here is a graph of this system. Notice that (2, 1) is not in the purple area, which is the overlapping area; it is a solution for one inequality (the red region), but it is not a solution for the second inequality (the blue region).
As shown above, finding the solutions of a system of inequalities can be done by graphing each inequality and identifying the region they share. Below, you are given more examples that show the entire process of defining the region of solutions on a graph for a system of two linear inequalities. The general steps are outlined below:
Graph each inequality as a line and determine whether it will be solid or dashed
Determine which side of each boundary line represents solutions to the inequality by testing a point on each side
Shade the region that represents solutions for both inequalities
Example 4
Shade the region of the graph that represents solutions for both inequalities. [latex]x+y\geq1[/latex] and [latex]y–x\geq5[/latex].
Show Solution
Graph one inequality. First graph the boundary line, using a table of values, intercepts, or any other method you prefer. The boundary line for [latex]x+y\geq1[/latex] is [latex]x+y=1[/latex], or [latex]y=−x+1[/latex]. Since the equal sign is included with the greater than sign, the boundary line is solid.
Choose an ordered pair on either side of the boundary line. Insert the x– and y-values into the inequality [latex]x+y\geq1[/latex] and see which ordered pair results in a true statement.
Since (4, 1) results in a true statement, the region that includes (4, 1) should be shaded.
Do the same with the second inequality. Graph the boundary line, then test points to find which region is the solution to the inequality. In this case, the boundary line is [latex]y–x=5\left(\text{or }y=x+5\right)[/latex] and is solid. Test point (−3, 0) is not a solution of [latex]y–x\geq5[/latex], and test point (0, 6) is a solution.
Answer
The purple region in this graph shows the set of all solutions of the system.