59 Graph Linear Inequalities in Two Variables
Learning Objectives
By the end of this section, you will be able to:
- Verify solutions to an inequality in two variables.
- Recognize the relation between the solutions of an inequality and its graph.
- Graph linear inequalities in two variables
- Solve applications using linear inequalities in two variables
Before you get started, take this readiness quiz.
Verify Solutions to an Inequality in Two Variables
Previously we learned to solve inequalities with only one variable. We will now learn about inequalities containing two variables. In particular we will look at linear inequalities in two variables which are very similar to linear equations in two variables.
Linear inequalities in two variables have many applications. If you ran a business, for example, you would want your revenue to be greater than your costs—so that your business made a profit.
A linear inequality is an inequality that can be written in one of the following forms:
Where A and B are not both zero.
Recall that an inequality with one variable had many solutions. For example, the solution to the inequality is any number greater than 3. We showed this on the number line by shading in the number line to the right of 3, and putting an open parenthesis at 3. See (Figure).
Similarly, linear inequalities in two variables have many solutions. Any ordered pair that makes an inequality true when we substitute in the values is a solution to a linear inequality.
An ordered pair is a solution to a linear inequality if the inequality is true when we substitute the values of x and y.
Determine whether each ordered pair is a solution to the inequality
ⓐⓑⓒⓓⓔ
ⓐ
| Simplify. | |
| So, is not a solution to |
ⓑ
| Simplify. | |
| So, is a solution to |
ⓒ
| Simplify. | |
| So, is not a solution to |
ⓓ
| Simplify. | |
| So, is not a solution to |
ⓔ
| Simplify. | |
| So, is a solution to |
Determine whether each ordered pair is a solution to the inequality
ⓐⓑⓒⓓⓔ
ⓐ yes ⓑ yes ⓒ yes ⓓ yes ⓔ no
Determine whether each ordered pair is a solution to the inequality
ⓐⓑⓒⓓⓔ
ⓐ yes ⓑ yes ⓒ no ⓓ no
ⓔ yes
Recognize the Relation Between the Solutions of an Inequality and its Graph
Now, we will look at how the solutions of an inequality relate to its graph.
Let’s think about the number line in shown previously again. The point separated that number line into two parts. On one side of 3 are all the numbers less than 3. On the other side of 3 all the numbers are greater than 3. See (Figure).
Similarly, the line separates the plane into two regions. On one side of the line are points with On the other side of the line are the points with We call the line a boundary line.
The line with equation is the boundary line that separates the region where from the region where
For an inequality in one variable, the endpoint is shown with a parenthesis or a bracket depending on whether or not a is included in the solution:
Similarly, for an inequality in two variables, the boundary line is shown with a solid or dashed line to show whether or not it the line is included in the solution.
Now, let’s take a look at what we found in (Figure). We’ll start by graphing the line and then we’ll plot the five points we tested, as shown in the graph. See (Figure).
In (Figure) we found that some of the points were solutions to the inequality and some were not.
Which of the points we plotted are solutions to the inequality
The points and are solutions to the inequality Notice that they are both on the same side of the boundary line
The two points and are on the other side of the boundary line and they are not solutions to the inequality For those two points,
What about the point Because the point is a solution to the equation but not a solution to the inequality So the point is on the boundary line.
Let’s take another point above the boundary line and test whether or not it is a solution to the inequality The point clearly looks to above the boundary line, doesn’t it? Is it a solution to the inequality?
So, is a solution to
Any point you choose above the boundary line is a solution to the inequality All points above the boundary line are solutions.
Similarly, all points below the boundary line, the side with and are not solutions to as shown in (Figure).
The graph of the inequality is shown in below.
The line divides the plane into two regions. The shaded side shows the solutions to the inequality
The points on the boundary line, those where are not solutions to the inequality so the line itself is not part of the solution. We show that by making the line dashed, not solid.
The boundary line shown in this graph is Write the inequality shown by the graph.
The line is the boundary line. On one side of the line are the points with and on the other side of the line are the points with
Let’s test the point and see which inequality describes its position relative to the boundary line.
At which inequality is true: or
Since, is true, the side of the line with is the solution. The shaded region shows the solution of the inequality
Since the boundary line is graphed with a solid line, the inequality includes the equal sign.
The graph shows the inequality
We could use any point as a test point, provided it is not on the line. Why did we choose Because it’s the easiest to evaluate. You may want to pick a point on the other side of the boundary line and check that
Write the inequality shown by the graph with the boundary line
Write the inequality shown by the graph with the boundary line
The boundary line shown in this graph is Write the inequality shown by the graph.
The line is the boundary line. On one side of the line are the points with and on the other side of the line are the points with
Let’s test the point and see which inequality describes its side of the boundary line.
At which inequality is true: or
So the side with is the side where
(You may want to pick a point on the other side of the boundary line and check that )
Since the boundary line is graphed as a dashed line, the inequality does not include an equal sign.
The shaded region shows the solution to the inequality
Write the inequality shown by the shaded region in the graph with the boundary line
Write the inequality shown by the shaded region in the graph with the boundary line
Graph Linear Inequalities in Two Variables
Now that we know what the graph of a linear inequality looks like and how it relates to a boundary equation we can use this knowledge to graph a given linear inequality.
Graph the linear inequality
Graph the linear inequality
All points in the shaded region and on the boundary line, represent the solutions to
Graph the linear inequality
All points in the shaded region, but not those on the boundary line, represent the solutions to
The steps we take to graph a linear inequality are summarized here.
- Identify and graph the boundary line.
- If the inequality is the boundary line is solid.
- If the inequality is the boundary line is dashed.
- Test a point that is not on the boundary line. Is it a solution of the inequality?
- Shade in one side of the boundary line.
- If the test point is a solution, shade in the side that includes the point.
- If the test point is not a solution, shade in the opposite side.
Graph the linear inequality
First, we graph the boundary line The inequality is so we draw a dashed line.
Then, we test a point. We’ll use again because it is easy to evaluate and it is not on the boundary line.
Is a solution of
The point is a solution of so we shade in that side of the boundary line.
All points in the shaded region, but not those on the boundary line, represent the solutions to
Graph the linear inequality:
All points in the shaded region, but not those on the boundary line, represent the solutions to
Graph the linear inequality:
All points in the shaded region, but not those on the boundary line, represent the solutions to
What if the boundary line goes through the origin? Then, we won’t be able to use as a test point. No problem—we’ll just choose some other point that is not on the boundary line.
Graph the linear inequality:
First, we graph the boundary line It is in slope–intercept form, with and The inequality is so we draw a solid line.
Now we need a test point. We can see that the point is not on the boundary line.
Is a solution of
The point is not a solution to so we shade in the opposite side of the boundary line.
All points in the shaded region and on the boundary line represent the solutions to
Graph the linear inequality:
All points in the shaded region, but not those on the boundary line, represent the solutions to
Graph the linear inequality:
All points in the shaded region and on the boundary line, represent the solutions to
Some linear inequalities have only one variable. They may have an x but no y, or a y but no x. In these cases, the boundary line will be either a vertical or a horizontal line.
Recall that:
Graph the linear inequality:
First, we graph the boundary line It is a horizontal line. The inequality is so we draw a dashed line.
We test the point
So, is not a solution to
So we shade the side that does not include as shown in this graph.
All points in the shaded region, but not those on the boundary line, represent the solutions to
Graph the linear inequality:
All points in the shaded region, but not those on the boundary line, represent the solutions to
Graph the linear inequality:
All points in the shaded region and on the boundary line represent the solutions to
Solve Applications using Linear Inequalities in Two Variables
Many fields use linear inequalities to model a problem. While our examples may be about simple situations, they give us an opportunity to build our skills and to get a feel for how thay might be used.
Hilaria works two part time jobs in order to earn enough money to meet her obligations of at least ?240 a week. Her job in food service pays ?10 an hour and her tutoring job on campus pays ?15 an hour. How many hours does Hilaria need to work at each job to earn at least ?240?
ⓐ Let be the number of hours she works at the job in food service and let y be the number of hours she works tutoring. Write an inequality that would model this situation.
ⓑ Graph the inequality.
ⓒ Find three ordered pairs that would be solutions to the inequality. Then, explain what that means for Hilaria.
ⓐ We let x be the number of hours she works at the job in food service and let y be the number of hours she works tutoring.
She earns ?10 per hour at the job in food service and ?15 an hour tutoring. At each job, the number of hours multiplied by the hourly wage will gives the amount earned at that job.
ⓑ To graph the inequality, we put it in slope–intercept form.
ⓒ From the graph, we see that the ordered pairs represent three of infinitely many solutions. Check the values in the inequality.
For Hilaria, it means that to earn at least ?240, she can work 15 hours tutoring and 10 hours at her fast-food job, earn all her money tutoring for 16 hours, or earn all her money while working 24 hours at the job in food service.
Hugh works two part time jobs. One at a grocery store that pays ?10 an hour and the other is babysitting for ?13 hour. Between the two jobs, Hugh wants to earn at least ?260 a week. How many hours does Hugh need to work at each job to earn at least ?260?
ⓐ Let x be the number of hours he works at the grocery store and let y be the number of hours he works babysitting. Write an inequality that would model this situation.
ⓑ Graph the inequality.
ⓒ Find three ordered pairs (x, y) that would be solutions to the inequality. Then, explain what that means for Hugh.
ⓐ
ⓑ
ⓒ Answers will vary.
Veronica works two part time jobs in order to earn enough money to meet her obligations of at least ?280 a week. Her job at the day spa pays ?10 an hour and her administrative assistant job on campus pays ?17.50 an hour. How many hours does Veronica need to work at each job to earn at least ?280?
ⓐ Let x be the number of hours she works at the day spa and let y be the number of hours she works as administrative assistant. Write an inequality that would model this situation.
ⓑ Graph the inequality.
ⓒ Find three ordered pairs (x, y) that would be solutions to the inequality. Then, explain what that means for Veronica
ⓐ
ⓑ
ⓒ Answers will vary.
Access this online resource for additional instruction and practice with graphing linear inequalities in two variables.
Key Concepts
- How to graph a linear inequality in two variables.
- Identify and graph the boundary line.
If the inequality is the boundary line is solid.
If the inequality is the boundary line is dashed.
- Test a point that is not on the boundary line. Is it a solution of the inequality?
- Shade in one side of the boundary line.
If the test point is a solution, shade in the side that includes the point.
If the test point is not a solution, shade in the opposite side.
- Identify and graph the boundary line.
Practice Makes Perfect
Verify Solutions to an Inequality in Two Variables
In the following exercises, determine whether each ordered pair is a solution to the given inequality.
Determine whether each ordered pair is a solution to the inequality
ⓐ
ⓑ
ⓒ
ⓓ
ⓔ
ⓐ yes ⓑ yes ⓒ no ⓓ no ⓔ no
Determine whether each ordered pair is a solution to the inequality
ⓐ
ⓑ
ⓒ
ⓓ
ⓔ
Determine whether each ordered pair is a solution to the inequality
ⓐ
ⓑ
ⓒ
ⓓ
ⓔ
ⓐ no ⓑ no ⓒ yes ⓓ yes ⓔ no
Determine whether each ordered pair is a solution to the inequality
ⓐ
ⓑ
ⓒ
ⓓ
ⓔ
Determine whether each ordered pair is a solution to the inequality
ⓐ
ⓑ
ⓒ
ⓓ
ⓔ
ⓐ yes ⓑ no ⓒ no ⓓ no ⓔ no
Determine whether each ordered pair is a solution to the inequality
ⓐ
ⓑ
ⓒ
ⓓ
ⓔ
Recognize the Relation Between the Solutions of an Inequality and its Graph
In the following exercises, write the inequality shown by the shaded region.
Write the inequality shown by the graph with the boundary line
Write the inequality shown by the graph with the boundary line
Write the inequality shown by the graph with the boundary line
Write the inequality shown by the graph with the boundary line
Write the inequality shown by the shaded region in the graph with the boundary line
Write the inequality shown by the shaded region in the graph with the boundary line
Write the inequality shown by the shaded region in the graph with the boundary line
Write the inequality shown by the shaded region in the graph with the boundary line
Graph Linear Inequalities in Two Variables
In the following exercises, graph each linear inequality.
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Graph the linear inequality:
Solve Applications using Linear Inequalities in Two Variables
Harrison works two part time jobs. One at a gas station that pays ?11 an hour and the other is IT troubleshooting for an hour. Between the two jobs, Harrison wants to earn at least ?330 a week. How many hours does Harrison need to work at each job to earn at least ?330?
ⓐ Let x be the number of hours he works at the gas station and let y be the number of (hours he works troubleshooting. Write an inequality that would model this situation.
ⓑ Graph the inequality.
ⓒ Find three ordered pairs that would be solutions to the inequality. Then, explain what that means for Harrison.
ⓐ
ⓑ
ⓒ Answers will vary.
Elena needs to earn at least ?450 a week during her summer break to pay for college. She works two jobs. One as a swimming instructor that pays ?9 an hour and the other as an intern in a genetics lab for ?22.50 per hour. How many hours does Elena need to work at each job to earn at least ?450 per week?
ⓐ Let x be the number of hours she works teaching swimming and let y be the number of hours she works as an intern. Write an inequality that would model this situation.
ⓑ Graph the inequality.
ⓒ Find three ordered pairs that would be solutions to the inequality. Then, explain what that means for Elena.
The doctor tells Laura she needs to exercise enough to burn 500 calories each day. She prefers to either run or bike and burns 15 calories per minute while running and 10 calories a minute while biking.
ⓐ If x is the number of minutes that Laura runs and y is the number minutes she bikes, find the inequality that models the situation.
ⓑ Graph the inequality.
ⓒ List three solutions to the inequality. What options do the solutions provide Laura?
ⓐ
ⓑ
ⓒ Answers will vary.
Armando’s workouts consist of kickboxing and swimming. While kickboxing, he burns 10 calories per minute and he burns 7 calories a minute while swimming. He wants to burn 600 calories each day.
ⓐ If x is the number of minutes that Armando will kickbox and y is the number minutes he will swim, find the inequality that will help Armando create a workout for today.
ⓑ Graph the inequality.
ⓒ List three solutions to the inequality. What options do the solutions provide Armando?
Writing Exercises
Lester thinks that the solution of any inequality with a sign is the region above the line and the solution of any inequality with a sign is the region below the line. Is Lester correct? Explain why or why not.
Answers will vary.
Explain why, in some graphs of linear inequalities, the boundary line is solid but in other graphs it is dashed.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ On a scale of 1–10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?
Glossary
- boundary line
- The line with equation is the boundary line that separates the region where from the region where
- linear inequality
- A linear inequality is an inequality that can be written in one of the following forms: or where A and B are not both zero.
- solution to a linear inequality
- An ordered pair is a solution to a linear inequality if the inequality is true when we substitute the values of x and y.