26 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.

  1. Graph x>2 on a number line.

    If you missed this problem, review (Figure).

  2. Solve: 4x+3>23.

    If you missed this problem, review (Figure).

  3. Translate: 8<x>3.

    If you missed this problem, review (Figure).

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.

Linear Inequality

A linear inequality is an inequality that can be written in one of the following forms:

\begin{array}{cccccccccc}Ax+By>C\hfill & & & Ax+By\ge C\hfill & & & Ax+By<C\hfill & & & Ax+By\le C\hfill \end{array}

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 x>3 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).

Image of the number line with the integers from negative 5 to 5. The part of the number line to the right of 3 is marked with a blue line. The number 3 is marked with a blue open parenthesis.

Similarly, linear inequalities in two variables have many solutions. Any ordered pair \left(x,y\right) that makes an inequality true when we substitute in the values is a solution to a linear inequality.

Solution to a Linear Inequality

An ordered pair \left(x,y\right) 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 y>x+4:

\left(0,0\right)\left(1,6\right)\left(2,6\right)\left(-5,-15\right)\left(-8,12\right)

\left(0,0\right) .
.\phantom{\rule{1em}{0ex}} .
Simplify. .
So, \left(0,0\right) is not a solution to y>x+4.

\left(1,6\right) .
.\phantom{\rule{1em}{0ex}} .
Simplify. .
So, \left(1,6\right) is a solution to y>x+4.

\left(2,6\right) .
.\phantom{\rule{1em}{0ex}} .
Simplify. .
So, \left(2,6\right) is not a solution to y>x+4.

\left(-5,-15\right) .
. .
Simplify. .
So, \left(-5,-15\right) is not a solution to y>x+4.

\left(-8,12\right) .
.\phantom{\rule{0.3em}{0ex}} .
Simplify. .
So, \left(-8,12\right) is a solution to y>x+4.

Determine whether each ordered pair is a solution to the inequality y>x-3:

\left(0,0\right)\left(4,9\right)\left(-2,1\right)\left(-5,-3\right)\left(5,1\right)

yes yes yes yes no

Determine whether each ordered pair is a solution to the inequality y<x+1:

\left(0,0\right)\left(8,6\right)\left(-2,-1\right)\left(3,4\right)\left(-1,-4\right)

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 x=3 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).

The solution to x>3 is the shaded part of the number line to the right of x=3.

Image of the number line with the integers from negative 5 to 5. The part of the number line to the right of 3 is marked with a blue line. The number 3 is marked with a blue open parenthesis. The part of the number line to the right of 3 is labeled “numbers greater than 3”. The part of the number line to the left of 3 is labeled “numbers less than 3”.

Similarly, the line y=x+4 separates the plane into two regions. On one side of the line are points with y<x+4. On the other side of the line are the points with y>x+4. We call the line y=x+4 a boundary line.

Boundary Line

The line with equation Ax+By=C is the boundary line that separates the region where Ax+By>C from the region where Ax+By<C.

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:

Two number lines are shown with the middle labeled with the number “a”. In both number lines, the part to the left of the number a is marked with red. The first number line is labeled “x is less than a” and the number a is marked with an open parenthesis. The second number line is labeled “x is less than or equal to a” and the number a is marked with an open bracket.

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.

\begin{array}{cccccc}Ax+By<C\hfill & & & & & Ax+By\le C\hfill \\ Ax+By>C\hfill & & & & & Ax+By\ge C\hfill \\ \text{Boundary line is}\phantom{\rule{0.2em}{0ex}}Ax+By=C\hfill & & & & & \text{Boundary line is}\phantom{\rule{0.2em}{0ex}}Ax+By=C\hfill \\ \text{Boundary line is not included in solution.}\hfill & & & & & \text{Boundary line is included in solution.}\hfill \\ \mathbf{\text{Boundary line is dashed.}}\hfill & & & & & \mathbf{\text{Boundary line is solid.}}\hfill \end{array}

Now, let’s take a look at what we found in (Figure). We’ll start by graphing the line y=x+4, and then we’ll plot the five points we tested, as shown in the graph. See (Figure).

This figure has the graph of some points and a straight line on the x y-coordinate plane. The x and y axes run from negative 16 to 16. The points (negative 8, 12), (negative 5, negative 15), (0, 0), (1, 6), and (2, 6) are plotted and labeled with their coordinates. A straight line is drawn through the points (negative 4, 0), (0, 4), and (2, 6).

In (Figure) we found that some of the points were solutions to the inequality y>x+4 and some were not.

Which of the points we plotted are solutions to the inequality y>x+4?

The points \left(1,6\right) and \left(-8,12\right) are solutions to the inequality y>x+4. Notice that they are both on the same side of the boundary line y=x+4.

The two points \left(0,0\right) and \left(-5,-15\right) are on the other side of the boundary line y=x+4, and they are not solutions to the inequality y>x+4. For those two points, y<x+4.

What about the point \left(2,6\right)? Because 6=2+4, the point is a solution to the equation y=x+4, but not a solution to the inequality y>x+4. So the point \left(2,6\right) 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 y>x+4. The point \left(0,10\right) clearly looks to above the boundary line, doesn’t it? Is it a solution to the inequality?

\begin{array}{ccc}\hfill y& >\hfill & x+4\hfill \\ \hfill 10& \stackrel{?}{>}\hfill & 0+4\hfill \\ \hfill 10& >\hfill & 4\hfill \end{array}

So, \left(0,10\right) is a solution to y>x+4.

Any point you choose above the boundary line is a solution to the inequality y>x+4. All points above the boundary line are solutions.

Similarly, all points below the boundary line, the side with \left(0,0\right) and \left(-5,-15\right), are not solutions to y>x+4, as shown in (Figure).

This figure has the graph of some points and a straight line on the x y-coordinate plane. The x and y axes run from negative 16 to 16. The points (negative 8, 12), (negative 5, negative 15), (0, 0), (1, 6), and (2, 6) are plotted and labeled with their coordinates. A straight line is drawn through the points (negative 4, 0), (0, 4), and (2, 6). The line divides the x y-coordinate plane into two halves. The top left half is labeled y is greater than x plus 4. The bottom right half is labeled y is less than x plus 4.

The graph of the inequality y>x+4 is shown in below.

The line y=x+4 divides the plane into two regions. The shaded side shows the solutions to the inequality y>x+4.

The points on the boundary line, those where y=x+4, are not solutions to the inequality y>x+4, so the line itself is not part of the solution. We show that by making the line dashed, not solid.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight dashed line is drawn through the points (negative 4, 0), (0, 4), and (2, 6). The line divides the x y-coordinate plane into two halves. The top left half is colored red to indicate that this is where the solutions of the inequality are.

The boundary line shown in this graph is y=2x-1. Write the inequality shown by the graph.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight dashed line is drawn through the points (0, negative 1), (1, 1), and (2, 3). The line divides the x y-coordinate plane into two halves. The top left half is colored red to indicate that this is where the solutions of the inequality are.

The line y=2x-1 is the boundary line. On one side of the line are the points with y>2x-1 and on the other side of the line are the points with y<2x-1.

Let’s test the point \left(0,0\right) and see which inequality describes its position relative to the boundary line.

At \left(0,0\right), which inequality is true: y>2x-1 or y<2x-1?

\begin{array}{cccccc}y>2x-1\hfill & & & & & y<2x-1\hfill \\ 0\stackrel{?}{>}2·0-1\hfill & & & & & 0\stackrel{?}{<}2·0-1\hfill \\ 0>-1\phantom{\rule{0.2em}{0ex}}\text{True}\hfill & & & & & 0<-1\phantom{\rule{0.2em}{0ex}}\text{False}\hfill \end{array}

Since, y>2x-1 is true, the side of the line with \left(0,0\right), is the solution. The shaded region shows the solution of the inequality y>2x-1.

Since the boundary line is graphed with a solid line, the inequality includes the equal sign.

The graph shows the inequality y\ge 2x-1.

We could use any point as a test point, provided it is not on the line. Why did we choose \left(0,0\right)? 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 y<2x-1.

Write the inequality shown by the graph with the boundary line y=-2x+3.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight line is drawn through the points (0, 3), (1, 1), and (3, negative 3). The line divides the x y-coordinate plane into two halves. The line itself and the top right half are colored red to indicate that this is where the solutions of the inequality are.

y\ge -2x+3

Write the inequality shown by the graph with the boundary line y=\frac{1}{2}x-4.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight line is drawn through the points (0, negative 4), (2, negative 3), and (4, negative 2). The line divides the x y-coordinate plane into two halves. The line itself and the bottom right half are colored red to indicate that this is where the solutions of the inequality are.

y\le \frac{1}{2}x-4

The boundary line shown in this graph is 2x+3y=6. Write the inequality shown by the graph.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight dashed line is drawn through the points (0, 2), (3, 0), and (6, negative 2). The line divides the x y-coordinate plane into two halves. The bottom left half is colored red to indicate that this is where the solutions of the inequality are.

The line 2x+3y=6 is the boundary line. On one side of the line are the points with 2x+3y>6 and on the other side of the line are the points with 2x+3y<6.

Let’s test the point \left(0,0\right) and see which inequality describes its side of the boundary line.

At \left(0,0\right), which inequality is true: 2x+3y>6 or 2x+3y<6?

\begin{array}{cccccc}\begin{array}{ccc}\hfill 2x+3y& >\hfill & 6\hfill \\ \hfill 2\left(0\right)+3\left(0\right)& \stackrel{?}{>}\hfill & 6\hfill \\ \hfill 0& >\hfill & 6\phantom{\rule{0.2em}{0ex}}\text{False}\hfill \end{array}\hfill & & & & & \begin{array}{ccc}\hfill 2x+3y& <\hfill & 6\hfill \\ \hfill 2\left(0\right)+3\left(0\right)& \stackrel{?}{<}\hfill & 6\hfill \\ \hfill 0& <\hfill & 6\phantom{\rule{0.2em}{0ex}}\text{True}\hfill \end{array}\hfill \end{array}

So the side with \left(0,0\right) is the side where 2x+3y<6.

(You may want to pick a point on the other side of the boundary line and check that 2x+3y>6.)

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 2x+3y<6.

Write the inequality shown by the shaded region in the graph with the boundary line x-4y=8.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight line is drawn through the points (0, negative 2), (4, negative 1), and (8, 0). The line divides the x y-coordinate plane into two halves. The line itself and the top left half are colored red to indicate that this is where the solutions of the inequality are.

x-4y\le 8

Write the inequality shown by the shaded region in the graph with the boundary line 3x-y=6.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight line is drawn through the points (0, negative 6), (1, negative 3), and (2, 0). The line divides the x y-coordinate plane into two halves. The line itself and the bottom right half are colored red to indicate that this is where the solutions of the inequality are.

3x-y\ge 6

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.

How to Graph a Linear Equation in Two Variables

Graph the linear inequality y\ge \frac{3}{4}x-2.

Step 1 is to Identify and graph the boundary line. If the inequality is less than or equal or greater than or equal, the boundary line is solid. If the inequality is less than or greater than, the boundary line is dashed. In this example the inequality sign is greater than or equal, so we draw a solid line. Replace the inequality sign with an equal sign to find the boundary line. Graph the boundary line y = 3 divided by 4 times x minus 2. The figure then shows the graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 12 to 12. The line goes through the points (0, negative 2), (4, 1), and (8, 4).Step 2 is to test a point that is not on the boundary line. Is it a solution of the inequality? We will test (0, 0). At (0, 0) is y greater than or equal to 3 divided by 4 times x minus 2? Is 0 greater than or equal to 3 divided by 4 times 0 minus 2? 0 is greater than or equal to negative 2 so (0, 0) is a solution.Step 3 is to 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. The test point (0, 0), is a solution to y greater than or equal to 3 divided by 4 times x minus 2. So we shade in the side that contains (0, 0). The figure then shows the graph of a straight line on the x y-coordinate plane. The x and y-axes run from negative 12 to 12. The line goes through the points (0, negative 2), (4, 1), and (8, 4). The top left half of the coordinate plane is shaded to indicate that this is where the solution set is located.

Graph the linear inequality y>\frac{5}{2}x-4.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 4), (2, 1), and (4, 6). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region and on the boundary line, represent the solutions to y>\frac{5}{2}x-4.

Graph the linear inequality y<\frac{2}{3}x-5.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 5), (3, negative 3), and (5, negative 1). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to y<\frac{2}{3}x-5.

The steps we take to graph a linear inequality are summarized here.

Graph a linear inequality in two variables.
  1. Identify and graph the boundary line.
    • If the inequality is \le \text{or}\ge , the boundary line is solid.
    • If the inequality is <\text{or}>, the boundary line is dashed.
  2. Test a point that is not on the boundary line. Is it a solution of the inequality?
  3. 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 x-2y<5.

First, we graph the boundary line x-2y=5. The inequality is < so we draw a dashed line.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight dashed line is drawn through the points (negative 3, negative 4), (1, negative 2), and (5, 0).

Then, we test a point. We’ll use \left(0,0\right) again because it is easy to evaluate and it is not on the boundary line.

Is \left(0,0\right) a solution of x-2y<5?

Is 0 minus 2 times 0 less than 5? Is 0 minus 0 less than 5? 0 is less than 5.

The point \left(0,0\right) is a solution of x-2y<5, so we shade in that side of the boundary line.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight dashed line is drawn through the points (negative 3, negative 4), (1, negative 2), and (5, 0). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to x-2y<5.

Graph the linear inequality: 2x-3y<6.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 2), (3, 0), and (6, 2). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to 2x-3y<6.

Graph the linear inequality: 2x-y>3.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 3), (1, negative 1), and (2, 1). The line divides the x y-coordinate plane into two halves. The bottom right half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to 2x-y>3.

What if the boundary line goes through the origin? Then, we won’t be able to use \left(0,0\right) as a test point. No problem—we’ll just choose some other point that is not on the boundary line.

Graph the linear inequality: y\le \text{​}-4x.

First, we graph the boundary line y=-4x. It is in slope–intercept form, with m=-4 and b=0. The inequality is \le so we draw a solid line.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A straight is drawn through the points (0, 0), (1, negative 4), and (negative 1, 4).

Now we need a test point. We can see that the point \left(1,0\right) is not on the boundary line.

Is \left(1,0\right) a solution of y\le -4x?

.

The point \left(1,0\right) is not a solution to y\le \text{​}-4x, so we shade in the opposite side of the boundary line.

Is 0 less than or equal to negative 4 times 1? 0 is not less than or equal to negative 4.

All points in the shaded region and on the boundary line represent the solutions to y\le \text{​}-4x.

Graph the linear inequality: y>-3x.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (negative 1, 3), (0, 0), and (1, negative 3). The line divides the x y-coordinate plane into two halves. The top right half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to y>-3x.

Graph the linear inequality: y\ge -2x.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (negative 1, 2), (0, 0), and (1, negative 2). The line divides the x y-coordinate plane into two halves. The top right half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region and on the boundary line, represent the solutions to y\ge -2x.

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:

\begin{array}{cccccc}x=a\hfill & & & & & \text{vertical line}\hfill \\ y=b\hfill & & & & & \text{horizontal line}\hfill \end{array}

Graph the linear inequality: y>3.

First, we graph the boundary line y=3. It is a horizontal line. The inequality is > so we draw a dashed line.

We test the point \left(0,0\right).

\begin{array}{}\\ y>3\hfill \\ 0\overline{)>}3\hfill \end{array}

So, \left(0,0\right) is not a solution to y>3.

So we shade the side that does not include \left(0,0\right) as shown in this graph.

This figure has the graph of a straight horizontal dashed line on the x y-coordinate plane. The x and y axes run from negative 8 to 8. A horizontal dashed line is drawn through the points (negative 1, 3), (0, 3), and (1, 3). The line divides the x y-coordinate plane into two halves. The top half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to y>3.

Graph the linear inequality: y<5.

This figure has the graph of a straight horizontal dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A horizontal dashed line is drawn through the points (negative 1, 5), (0, 5), and (1, 5). The line divides the x y-coordinate plane into two halves. The bottom half is shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region, but not those on the boundary line, represent the solutions to y<5.

Graph the linear inequality: y\le -1.

This figure has the graph of a straight horizontal line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A horizontal line is drawn through the points (negative 1, negative 1), (0, negative 1), and (1, negative 1). The line divides the x y-coordinate plane into two halves. The line and the bottom half are shaded red to indicate that this is where the solutions of the inequality are.

All points in the shaded region and on the boundary line represent the solutions to y\le -1.

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 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. Write an inequality that would model this situation.

Graph the inequality.

Find three ordered pairs \left(x,y\right) 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.

10 x plus 15 y is greater than 240. The “10 x” is labeled “Amount earned at the food service job”. The “15 y” is labeled “the amount earned tutoring”. The “is greater than 240” is labeled “is at least 240”.

To graph the inequality, we put it in slope–intercept form.

\begin{array}{ccc}\hfill 10x+15y& \ge \hfill & 240\hfill \\ \hfill 15y& \ge \hfill & -10x+240\hfill \\ \hfill y& \ge \hfill & -\frac{2}{3}x+16\hfill \end{array}

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from 0 to 25. A line is drawn through the points (0, 16), (15, 6), and (24, 0). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

From the graph, we see that the ordered pairs \left(15,10\right),\left(0,16\right),\left(24,0\right) represent three of infinitely many solutions. Check the values in the inequality.

First we test the point (15, 10) in the inequality 10 x plus 15 y greater than or equal to 240. Is 10 times 15 plus 15 times 10 greater than or equal to 240? Since 300 is greater than or equal to 240 (15, 10) is a solution. Next we test the point (0, 16) in the inequality 10 x plus 15 y greater than or equal to 240. Is 10 times 0 plus 15 times 16 greater than or equal to 240? Since 240 is greater than or equal to 240 (0, 16) is a solution. Then we test the point (24, 0) in the inequality 10 x plus 15 y greater than or equal to 240. Is 10 times 24 plus 15 times 0 greater than or equal to 240? Since 240 is greater than or equal to 240 (24, 0) is a solution.

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.

10x+13y\ge 260

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from 0 to 30. A line is drawn through the points (0, 20), (13, 10), and (26, 0). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

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

10x+17.5y\ge 280

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from 0 to 25. A line is drawn through the points (0, 16) and (28, 0). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

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.
    1. Identify and graph the boundary line.

      If the inequality is \le \text{or}\ge , the boundary line is solid.

      If the inequality is <\phantom{\rule{0.2em}{0ex}}\text{or}>, the boundary line is dashed.

    2. Test a point that is not on the boundary line. Is it a solution of the inequality?
    3. 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.

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 y>x-1:

\left(0,1\right)

\left(-4,-1\right)

\left(4,2\right)

\left(3,0\right)

\left(-2,-3\right)

yes yes no no no

Determine whether each ordered pair is a solution to the inequality y>x-3:

\left(0,0\right)

\left(2,1\right)

\left(-1,-5\right)

\left(-6,-3\right)

\left(1,0\right)

Determine whether each ordered pair is a solution to the inequality y<3x+2:

\left(0,3\right)

\left(-3,-2\right)

\left(-2,0\right)

\left(0,0\right)

\left(-1,4\right)

no no yes yes no

Determine whether each ordered pair is a solution to the inequality y<-2x+5:

\left(-3,0\right)

\left(1,6\right)

\left(-6,-2\right)

\left(0,1\right)

\left(5,-4\right)

Determine whether each ordered pair is a solution to the inequality 3x-4y>4:

\left(5,1\right)

\left(-2,6\right)

\left(3,2\right)

\left(10,-5\right)

\left(0,0\right)

yes no no no no

Determine whether each ordered pair is a solution to the inequality 2x+3y>2:

\left(1,1\right)

\left(4,-3\right)

\left(0,0\right)

\left(-8,12\right)

\left(3,0\right)

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 y=3x-4.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 4), (1, negative 1), and (2, 2). The line divides the x y-coordinate plane into two halves. The line and the bottom right half are shaded red to indicate that this is where the solutions of the inequality are.

y\le 3x-4

Write the inequality shown by the graph with the boundary line y=2x-4.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 4), (1, negative 2), and (2, 0). The line divides the x y-coordinate plane into two halves. The line and the bottom right half are shaded red to indicate that this is where the solutions of the inequality are.

Write the inequality shown by the graph with the boundary line y=-\frac{1}{2}x+1.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, 1), (2, 0), and (4, negative 1). The line divides the x y-coordinate plane into two halves. The line and the bottom right half are shaded red to indicate that this is where the solutions of the inequality are.

y\le -\frac{1}{2}x+1

Write the inequality shown by the graph with the boundary line y=-\frac{1}{3}x-2.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 2), (3, negative 3), and (6, negative 4). The line divides the x y-coordinate plane into two halves. The line and the bottom left half are shaded red to indicate that this is where the solutions of the inequality are.

Write the inequality shown by the shaded region in the graph with the boundary line x+y=5.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, 5), (1, 4), and (5, 0). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

x+y\ge 5

Write the inequality shown by the shaded region in the graph with the boundary line x+y=3.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, 3), (1, 2), and (3, 0). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

Write the inequality shown by the shaded region in the graph with the boundary line 3x-y=6.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 6), (1, negative 3), and (2, 0). The line divides the x y-coordinate plane into two halves. The line and the top left half are shaded red to indicate that this is where the solutions of the inequality are.

3x-y\le 6

Write the inequality shown by the shaded region in the graph with the boundary line 2x-y=4.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 4), (1, negative 2), and (2, 0). The line divides the x y-coordinate plane into two halves. The line and the top left half are shaded red to indicate that this is where the solutions of the inequality are.

Graph Linear Inequalities in Two Variables

In the following exercises, graph each linear inequality.

Graph the linear inequality: y>\frac{2}{3}x-1.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 1), (3, 1), and (6, 3). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: y<\frac{3}{5}x+2.

Graph the linear inequality: y\le -\frac{1}{2}x+4.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, 4), (2, 3), and (4, 2). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: y\ge -\frac{1}{3}x-2.

Graph the linear inequality: x-y\le 3.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 3), (1, negative 2), and (3, 0). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: x-y\ge -2.

Graph the linear inequality: 4x+y>-4.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 4), (negative 1, 0), and (1, negative 8). The line divides the x y-coordinate plane into two halves. The top right half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: x+5y<-5.

Graph the linear inequality: 3x+2y\ge -6.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 3), (3, negative 5), and (negative 2, 0). The line divides the x y-coordinate plane into two halves. The top right half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: 4x+2y\ge -8.

Graph the linear inequality: y>4x.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, 0), (negative 1, negative 4), and (1, 4). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: y\le -3x.

Graph the linear inequality: y<-10.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, 0), (negative 1, 3), and (1, negative 3). The line divides the x y-coordinate plane into two halves. The bottom left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: y\ge 2.

Graph the linear inequality: x\le 5.

This figure has the graph of a straight vertical dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A vertical dashed line is drawn through the points (5, negative 1), (5, 0), and (5, 1). The line divides the x y-coordinate plane into two halves. The left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: x\ge 0.

Graph the linear inequality: x-y<4.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, negative 4), (1, negative 3), and (4, 0). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: x-y<-3.

Graph the linear inequality: y\ge \frac{3}{2}x.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, 0), (2, 3), and (negative 2, negative 3). The line divides the x y-coordinate plane into two halves. The top left half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: y\le \frac{5}{4}x.

Graph the linear inequality: y>-2x+1.

This figure has the graph of a straight dashed line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A straight dashed line is drawn through the points (0, 1), (1, negative 1), and (2, negative 3). The line divides the x y-coordinate plane into two halves. The top right half is shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: y<-3x-4.

Graph the linear inequality: 2x+y\ge -4.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 4), (1, negative 6), and (negative 2, 0). The line divides the x y-coordinate plane into two halves. The line and the bottom left half are shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: x+2y\le -2.

Graph the linear inequality: 2x-5y>10.

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from negative 10 to 10. A line is drawn through the points (0, negative 2), (5, 0), and (negative 5, negative 4). The line divides the x y-coordinate plane into two halves. The line and the bottom right half are shaded red to indicate that this is where the solutions of the inequality are.

Graph the linear inequality: 4x-3y>12.

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 \text{?}16.50 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 \left(x,y\right) that would be solutions to the inequality. Then, explain what that means for Harrison.

11x+16.5y\ge 330

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from 0 to 35. A line is drawn through the points (0, 20), (15, 10), and (30, 0). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

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 \left(x,y\right) 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?

15x+10y\ge 500

This figure has the graph of a straight line on the x y-coordinate plane. The x and y axes run from 0 to 60. A line is drawn through the points (0, 50) and (20, 20). The line divides the x y-coordinate plane into two halves. The line and the top right half are shaded red to indicate that this is where the solutions of the inequality are.

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.

This table has 4 rows and 4 columns. The first row is a header row and it labels each column. The first column header is “I can…”, the second is “Confidently”, the third is “With some help”, and the fourth is “No, I don’t get it”. Under the first column are the phrases “verify solutions to an inequality in two variables.”, “recognize the relation between the solutions of an inequality and its graph”, and “graph linear inequalities”. The other columns are left blank so that the learner may indicate their mastery level for each topic.

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 Ax+By=C is the boundary line that separates the region where Ax+By>C from the region where Ax+By<C.
linear inequality
A linear inequality is an inequality that can be written in one of the following forms: Ax+By>C,\phantom{\rule{0.4em}{0ex}}Ax+By\ge C,\phantom{\rule{0.4em}{0ex}}Ax+By<C, or Ax+By\le C, where A and B are not both zero.
solution to a linear inequality
An ordered pair \left(x,y\right) is a solution to a linear inequality if the inequality is true when we substitute the values of x and y.

License

Icon for the Creative Commons Attribution 4.0 International License

Intermediate Algebra but cloned this time not imported Copyright © 2017 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book