Linear Inequalities and Systems of Linear Inequalities in Two Variables
Learning Objectives
- Define solutions to a linear inequality in two variables
- Identify and follow steps for graphing a linear inequality in two variables
- Identify whether an ordered pair is in the solution set of a linear inequality
- Define solutions to systems of linear inequalities
- Graph a system of linear inequalities and define the solutions region
- Verify whether a point is a solution to a system of inequalities
- Identify when a system of inequalities has no solution
- Solutions from graphs of linear inequalities
- Solve systems of linear inequalities by graphing the solution region
- Graph solutions to a system that contains a compound inequality
- Applications of systems of linear inequalities
- Write and graph a system that models the quantity that must be sold to achieve a given amount of sales
- Write a system of inequalities that represents the profit region for a business
- Interpret the solutions to a system of cost/ revenue inequalities
Inequalities in two variables
Did you know that you use linear inequalities when you shop online? When you use the option to view items within a specific price range, you are asking the search engine to use a linear inequality based on price. Essentially, you are saying "show me all the items for sale between $50 and $100," which can be written as 50≤x≤100, where x is price. In this section, you will apply what you know about graphing linear equations to graphing linear inequalities.
So how do you get from the algebraic form of an inequality, like y>3x+1, to a graph of that inequality? Plotting inequalities is fairly straightforward if you follow a couple steps.
Graphing Inequalities
To graph an inequality:
- Graph the related boundary line. Replace the <, >, ≤ or ≥ sign in the inequality with = to find the equation of the boundary line.
- Identify at least one ordered pair on either side of the boundary line and substitute those (x,y) values into the inequality. Shade the region that contains the ordered pairs that make the inequality a true statement.
- If points on the boundary line are solutions, then use a solid line for drawing the boundary line. This will happen for ≤ or ≥ inequalities.
- If points on the boundary line aren’t solutions, then use a dotted line for the boundary line. This will happen for < or > inequalities.
Let’s graph the inequality x+4y≤4.
To graph the boundary line, find at least two values that lie on the line x+4y=4. You can use the x- and y-intercepts for this equation by substituting 0 in for x first and finding the value of y; then substitute 0 in for y and find x.
Plot the points (0,1) and (4,0), and draw a line through these two points for the boundary line. The line is solid because ≤ means “less than or equal to,” so all ordered pairs along the line are included in the solution set.
The next step is to find the region that contains the solutions. Is it above or below the boundary line? To identify the region where the inequality holds true, you can test a couple of ordered pairs, one on each side of the boundary line.
If you substitute (−1,3) into x+4y≤4:
−1+4(3)≤4−1+12≤411≤4
This is a false statement, since 11 is not less than or equal to 4.
On the other hand, if you substitute (2,0) into x+4y≤4:
2+4(0)≤42+0≤42≤4
This is true! The region that includes (2,0) should be shaded, as this is the region of solutions.
And there you have it—the graph of the set of solutions for x+4y≤4.
Graphing Linear Inequalities in Two Variables
https://youtu.be/2VgFg2ztspI
Example
Graph the inequality
2y>4x–6.
Answer:
Solve for y.
2y>4x−622y>24x−26y>2x−3
Create a table of values to find two points on the line
y=2x−3, or graph it based on the slope-intercept method, the
b value of the
y-intercept is
−3 and the slope is 2.
Plot the points, and graph the line. The line is dotted because the sign in the inequality is >, not ≥ and therefore points on the line are not solutions to the inequality.
y=2x−3
Find an ordered pair on either side of the boundary line. Insert the
x- and
y-values into the inequality
2y>4x–6 and see which ordered pair results in a true statement. Since
(−3,1) results in a true statement, the region that includes
(−3,1) should be shaded.
2y>4x–6Test 1:(−3,1)2(1)>4(−3)–62>–12–62>−18TRUETest 2:(4,1)2(1)>4(4)–62>16–62>10FALSE
Answer
The graph of the inequality
2y>4x–6 is:
A quick note about the problem above—notice that you can use the points (0,−3) and (2,1) to graph the boundary line, but that these points are not included in the region of solutions, since the region does not include the boundary line!
https://youtu.be/Hzxc4HASygU
Solution Sets of Inequalities
The graph below shows the region of values that makes the inequality 3x+2y≤6 true (shaded red), the boundary line 3x+2y=6, as well as a handful of ordered pairs. The boundary line is solid because points on the boundary line 3x+2y=6 will make the inequality 3x+2y≤6 true.
You can substitute the x- and y-values in each of the (x,y) ordered pairs into the inequality to find solutions. Sometimes making a table of values makes sense for more complicated inequalities.
Ordered Pair |
Makes the inequality
3x+2y≤6
a true statement |
Makes the inequality
3x+2y≤6
a false statement |
(−5,5) |
3(−5)+2(5)≤6−15+10≤6−5≤6 |
|
(−2,−2) |
3(−2)+2(–2)≤6−6+(−4)≤6–10≤6 |
|
(2,3) |
|
3(2)+2(3)≤66+6≤612≤6 |
(2,0) |
3(2)+2(0)≤66+0≤66≤6 |
|
(4,−1) |
|
3(4)+2(−1)≤612+(−2)≤610≤6 |
If substituting (x,y) into the inequality yields a true statement, then the ordered pair is a solution to the inequality, and the point will be plotted within the shaded region or the point will be part of a solid boundary line. A false statement means that the ordered pair is not a solution, and the point will graph outside the shaded region, or the point will be part of a dotted boundary line.
Example
Use the graph to determine which ordered pairs plotted below are solutions of the inequality
x–y<3.
Answer:
Solutions will be located in the shaded region. Since this is a “less than” problem, ordered pairs on the boundary line are not included in the solution set.
These values are located in the shaded region, so are solutions. (When substituted into the inequality x–y<3, they produce true statements.)
(−1,1)
(−2,−2)
These values are not located in the shaded region, so are not solutions. (When substituted into the inequality
x−y<3, they produce false statements.)
(1,−2)
(3,−2)
(4,0)
Answer
(−1,1)(−2,−2)
The following video show an example of determining whether an ordered pair is a solution to an inequality.
https://youtu.be/GQVdDRVq5_o
Example
Is
(2,−3) a solution of the inequality
y<−3x+1?
Answer:
If (2,−3) is a solution, then it will yield a true statement when substituted into the inequality y<−3x+1.
y<−3x+1
Substitute
x=2 and
y=−3 into inequality.
−3<−3(2)+1
Evaluate.
−3<−6+1−3<−5
This statement is
not true, so the ordered pair
(2,−3) is
not a solution.
Answer
(2,−3) is not a solution.
The following video shows another example of determining whether an ordered pair is a solution to an inequality.
https://youtu.be/-x-zt_yM0RM
Graph a system of two inequalities
Consider the graph of the inequality y<2x+5.
The dashed line is y=2x+5. Every ordered pair in the shaded area below the line is a solution to y<2x+5, as all of the points below the line will make the inequality true. If you doubt that, try substituting the x and y coordinates of Points A and B into the inequality—you’ll see that they work. 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 y≤2x+5, then the boundary line would have been solid.
Let’s graph another inequality: y>−x. 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 are not true.
To create a system of inequalities, you need to graph two or more inequalities together. Let’s use y<2x+5 and y>−x 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 y>−x and y<2x+5.
In the following video examples, we show how to graph a system of linear inequalities, and define the solution region.
https://youtu.be/ACTxJv1h2_c
https://youtu.be/cclH2h1NurM
In the next section, we will see that points can be solutions to systems of equations and inequalities. We will verify algebraically whether a point is a solution to a linear equation or 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 y>−x and point A is a solution for the inequality y<2x+5, 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
Is the point (2, 1) a solution of the system
x+y>1 and
2x+y<8?
Answer: Check the point with each of the inequalities. Substitute 2 for x and 1 for y. Is the point a solution of both inequalities?
x+y>12+1>13>1TRUE
(2, 1) is a solution for x+y>1.
2x+y<82(2)+1<84+1<85<8TRUE
(2, 1) is a solution for 2x+y<8.
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
x+y>1 and
2x+y<8.
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
Is the point (2, 1) a solution of the system
x+y>1 and
3x+y<4?
Answer:
Check the point with each of the inequalities. Substitute 2 for x and 1 for y. Is the point a solution of both inequalities?
x+y>12+1>13>1TRUE
(2, 1) is a solution for x+y>1.
3x+y<43(2)+1<46+1<47<4FALSE
(2, 1) is not a solution for 3x+y<4.
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 x+y>1 and
3x+y<4.
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).
In the following video we show another example of determining whether a point is in the solution of a system of linear inequalities.
https://youtu.be/o9hTFJEBcXs
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
Systems with no solutions
In the next example, we will show the solution to a system of two inequalities whose boundary lines are parallel to each other. When the graphs of a system of two linear equations are parallel to each other, we found that there was no solution to the system. We will get a similar result for the following system of linear inequalities.
Examples
Graph the system
y≥2x+1y<2x−3
Answer:
The boundary lines for this system are parallel to each other, note how they have the same slopes.
y=2x+1y=2x−3
Plotting the boundary lines will give the graph below. Note that the inequality
y<2x−3 requires that we draw a dashed line, while the inequality
y≥2x+1 will require a solid line.

Now we need to add the regions that represent the inequalities. For the inequality
y≥2x+1 we can test a point on either side of the line to see which region to shade. Let's test
(0,0) to make it easy.
Substitute
(0,0) into
y≥2x+1
y≥2x+10≥2(0)+10≥1
This is not true, so we know that we need to shade the other side of the boundary line for the inequality
y≥2x+1. The graph will now look like this:

Now let's shade the region that shows the solutions to the inequality
y<2x−3. Again, we can pick
(0,0) to test because it makes easy algebra.
Substitute
(0,0) into
y<2x−3
y<2x−30<2(0,)x−30<−3
This is not true, so we know that we need to shade the other side of the boundary line for the inequality
y<2x−3. The graph will now look like this:

This system of inequalities shares no points in common.
In the following examples, we will continue to practice graphing the solution region for systems of linear inequalities. We will also graph the solutions to a system that includes a compound inequality.
Example
Shade the region of the graph that represents solutions for both inequalities.
x+y≥1 and
y–x≥5.
Answer: Graph one inequality. First graph the boundary line, using a table of values, intercepts, or any other method you prefer. The boundary line for x+y≥1 is x+y=1, or y=−x+1. Since the equal sign is included with the greater than sign, the boundary line is solid.
Find an ordered pair on either side of the boundary line. Insert the x- and y-values into the inequality x+y≥1 and see which ordered pair results in a true statement.
Test 1:(−3,0)x+y≥1−3+0≥1−3≥1FALSETest 2:(4,1)x+y≥14+1≥15≥1TRUE
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 y–x=5(or y=x+5) and is solid. Test point (−3, 0) is not a solution of y–x≥5, and test point (0, 6) is a solution.
Answer
The purple region in this graph shows the set of all solutions of the system.
The videos that follow show more examples of graphing the solution set of a system of linear inequalities.
https://youtu.be/ACTxJv1h2_c
https://youtu.be/cclH2h1NurM
The system in our last example includes a compound inequality. We will see that you can treat a compound inequality like two lines when you are graphing them.
Example
Find the solution to the system 3
x + 2
y < 12 and −1 ≤
y ≤ 5.
Answer:
Graph one inequality. First graph the boundary line, then test points.
Remember, because the inequality 3x + 2y < 12 does not include the equal sign, draw a dashed border line.
Testing a point (like (0, 0) will show that the area below the line is the solution to this inequality.
The inequality −1 ≤ y ≤ 5 is actually two inequalities: −1 ≤ y, and y ≤ 5. Another way to think of this is y must be between −1 and 5. The border lines for both are horizontal. The region between those two lines contains the solutions of −1 ≤ y ≤ 5. We make the lines solid because we also want to include y = −1 and y = 5.
Graph this region on the same axes as the other inequality.
The purple region in this graph shows the set of all solutions of the system.
Answer
In the video that follows, we show how to solve another system of inequalities.
https://youtu.be/ACTxJv1h2_c
Applications
In our first example we will show how to write and graph a system of linear inequalities that models the amount of sales needed to obtain a specific amount of money.
Example
Cathy is selling ice cream cones at a school fundraiser. She is selling two sizes: small (which has 1 scoop) and large (which has 2 scoops). She knows that she can get a maximum of 70 scoops of ice cream out of her supply. She charges $3 for a small cone and $5 for a large cone.
Cathy wants to earn at least $120 to give back to the school. Write and graph a system of inequalities that models this situation.
Answer:
First, identify the variables. There are two variables: the number of small cones and the number of large cones.
s = small cone
l = large cone
Write the first equation: the maximum number of scoops she can give out. The scoops she has available (70) must be greater than or equal to the number of scoops for the small cones (s) and the large cones (2l) she sells.
s+2l≤70
Write the second equation: the amount of money she raises. She wants the total amount of money earned from small cones (3s) and large cones (5l) to be at least $120.
3s+5l≥120
Write the system.
{s+2l≤703s+5l≥120
Now graph the system. The variables
x and
y have been replaced by
s and
l; graph
s along the
x-axis, and
l along the
y-axis.
First graph the region
s + 2
l ≤ 70. Graph the boundary line and then test individual points to see which region to shade. The graph is shown below.

Now graph the region
3s+5l≥120 Graph the boundary line and then test individual points to see which region to shade. The graph is shown below.

Graphing the regions together, you find the following:

And represented just as the overlapping region, you have:
Answer
The region in purple is the solution. As long as the combination of small cones and large cones that Cathy sells can be mapped in the purple region, she will have earned at least $120 and not used more than 70 scoops of ice cream.
In a previous example for finding a solution to a system of linear equations, we introduced a manufacturer’s cost and revenue equations:
Cost: y=0.85x+35,000
Revenue: y=1.55x
The cost equation is shown in blue in the graph below, and the revenue equation is graphed in orange.The point at which the two lines intersect is called the break-even point, we learned that this is the solution to the system of linear equations that in this case comprise the cost and revenue equations.
The shaded region to the right of the break-even point represents quantities for which the company makes a profit. The region to the left represents quantities for which the company suffers a loss.
In the next example, you will see how the information you learned about systems of linear inequalities can be applied to answering questions about cost and revenue.
Note how the blue shaded region between the Cost and Revenue equations is labeled Profit. This is the "sweet spot" that the company wants to achieve where they produce enough bike frames at a minimal enough cost to make money. They don't want more money going out than coming in!
Example
Define the profit region for the skateboard manufacturing business using inequalities, given the system of linear equations:
Cost:
y=0.85x+35,000
Revenue:
y=1.55x
Answer:
We know that graphically, solutions to linear inequalities are entire regions, and we learned how to graph systems of linear inequalities earlier in this module. Based on the graph below and the equations that define cost and revenue, we can use inequalities to define the region for which the skateboard manufacturer will make a profit.
Let's start with the revenue equation. We know that the break even point is at (50,000, 77,500) and the profit region is the blue area. If we choose a point in the region and test it like we did for finding solution regions to inequalities, we will know which kind of inequality sign to use.
Let's test the point (65,00,100,000) in both equations to determine which inequality sign to use.
Cost:
y=0.85x+35,000100,000 ? 0.85(65,000)+35,000100,000 ? 90,250
We need to use > because 100,000 is greater than 90,250
The cost inequality that will ensure the company makes profit - not just break even - is
y>0.85x+35,000
Now test the point in the revenue equation:
Revenue:
y=1.55x100,000 ? 1.55(65,000)100,000 ? 100,750
We need to use < because 100,000 is less than 100,750
The revenue inequality that will ensure the company makes profit - not just break even - is
y<1.55x
The systems of inequalities that defines the profit region for the bike manufacturer:
y>0.85x+35,000y<1.55x
Answer
The cost to produce 50,000 units is $77,500, and the revenue from the sales of 50,000 units is also $77,500. To make a profit, the business must produce and sell more than 50,000 units. The system of linear inequalities that represents the number of units that the company must produce in order to earn a profit is:
y>0.85x+35,000y<1.55x
In the following video you will see an example of how to find the break even point for a small sno-cone business.
https://youtu.be/qey3FmE8saQ
And here is one more video example of solving an application using a sustem of linear inequalities.
https://youtu.be/gbHl6K-dJ8o
We have seen that systems of linear equations and inequalities can help to define market behaviors that are very helpful to businesses. The intersection of cost and revenue equations gives the break even point, and also helps define the region for which a company will make a profit.Licenses & Attributions
CC licensed content, Original
- Ex 1: Graphing Linear Inequalities in Two Variables (Slope Intercept Form). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
- System of Equations App: Break-Even Point.. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
- Revision and Adaptation. Provided by: Lumen Learning License: CC BY: Attribution.
CC licensed content, Shared previously
- Ex 2: Graphing Linear Inequalities in Two Variables (Standard Form). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
- Unit 13: Graphing, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education Located at: https://www.nroc.org/. License: CC BY: Attribution.
- Use a Graph Determine Ordered Pair Solutions of a Linear Inequalty in Two Variable. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
- Ex: Determine if Ordered Pairs Satisfy a Linear Inequality. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
- Ex 1: Graph a System of Linear Inequalities. . Authored by: James Sousa (Mathispower4u.com) .. License: CC BY: Attribution.
- Ex 2: Graph a System of Linear Inequalities.. Authored by: James Sousa (Mathispower4u.com). License: CC BY: Attribution.
- Unit 14: Systems of Equations and Inequalities, from Developmental Math: An Open Program.. Provided by: Monterey Institute of Technology. Located at: https://www.nroc.org/. License: CC BY: Attribution.
- Determine the Solution to a System of Inequalities (Compound).. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
- College Algebra. Provided by: OpenStax Authored by: Jay Abrams, et al.. Located at: https://openstax.org/textbooks/college-algebra.. License: CC BY: Attribution.