Before you get started, take this readiness quiz.

Solve: $4x+3>23$.

If you missed this problem, review Example 2.73.

Translate from algebra to English: $x<5$.

If you missed this problem, review Example 1.12.

Evaluate $3x-2y$ when $x=1$, $y=\mathrm{-2}$.

If you missed this problem, review Example 1.55.

### Verify Solutions to an Inequality in Two Variables

We have learned how to solve inequalities in one variable. Now, we will look at inequalities in two variables. 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 would make a profit.

### Linear Inequality

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

where $A\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}B$ are not both zero.

Do you remember that an inequality with one variable had many solutions? 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 4.30.

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

### Solution of a Linear Inequality

An ordered pair $\left(x,y\right)$ is a solution of a linear inequality if the inequality is true when we substitute the values of *x* and *y*.

### Example 4.69

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(\mathrm{-5},\mathrm{-15}\right)$ ⓔ $\left(\mathrm{-8},12\right)$

- ⓐ

$(0,0)$ Simplify.

So, $(0,0)$ is not a solution to $y>x+4$. - ⓑ

$(1,6)$ Simplify.

So, $(1,6)$ is a solution to $y>x+4$. - ⓒ

$(2,6)$ Simplify.

So, $(2,6)$ is not a solution to $y>x+4$. - ⓓ

$(\mathrm{-5},\mathrm{-15})$ Simplify.

So, $(\mathrm{-5},\mathrm{-15})$ is not a solution to $y>x+4$. - ⓔ

$(\mathrm{-8},12)$ Simplify.

So, $(\mathrm{-8},12)$ 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(\mathrm{-2},1\right)$ ⓓ $\left(\mathrm{-5},\mathrm{-3}\right)$ ⓔ $\left(5,1\right)$

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

ⓐ $\left(0,0\right)$ ⓑ $\left(8,6\right)$ ⓒ $\left(\mathrm{-2},\mathrm{-1}\right)$ ⓓ $\left(3,4\right)$ ⓔ $\left(\mathrm{-1},\mathrm{-4}\right)$

### 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 Figure 4.30 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 4.31.

The solution to $x>3$ is the shaded part of the number line to the right of $x=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:

Similarly, for an inequality in two variables, the boundary line is shown with a solid or dashed line to indicate whether or not it the line is included in the solution. This is summarized in Table 4.48

$Ax+By<C$ | $Ax+By\le C$ |

$Ax+By>C$ | $Ax+By\ge C$ |

Boundary line is not included in solution. | Boundary line is included in solution. |

Boundary line is dashed. |
Boundary line is solid. |

Now, let’s take a look at what we found in Example 4.69. We’ll start by graphing the line $y=x+4$, and then we’ll plot the five points we tested. See Figure 4.32.

In Example 4.69 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(\mathrm{-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(\mathrm{-5},\mathrm{-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$. So the point $\left(2,6\right)$ is on the boundary line.

Let’s take another point on the left side of 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 be to the left of the boundary line, doesn’t it? Is it a solution to the inequality?

Any point you choose on the left side of the boundary line is a solution to the inequality $y>x+4$. All points on the left are solutions.

Similarly, all points on the right side of the boundary line, the side with $\left(0,0\right)$ and $\left(\mathrm{-5},\mathrm{-15}\right)$, are not solutions to $y>x+4$. See Figure 4.33.

The graph of the inequality $y>x+4$ is shown in Figure 4.34 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.

### Example 4.70

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

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 side of the boundary line.

At $\left(0,0\right)$, which inequality is true:

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=\mathrm{-2}x+3$.

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

### Example 4.71

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

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:

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 graph 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$.

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

### Graph Linear Inequalities

Now, we’re ready to put all this together to graph linear inequalities.

### Example 4.72 How to Graph Linear Inequalities

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

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

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

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

### How To

#### Graph a linear inequality.

- Step 1. Identify and graph the boundary line.
- If the inequality is $\le \text{or}\ge $, the boundary line is solid.
- If the inequality is < or >, the boundary line is dashed.

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

### Example 4.73

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.

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$?

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

Graph the linear inequality $2x-3y\le 6$.

Graph the linear inequality $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.

### Example 4.74

Graph the linear inequality $y\le \mathrm{-4}x$.

First we graph the boundary line $y=\mathrm{-4}x$. It is in slope–intercept form, with $m=\mathrm{-4}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}b=0$. The inequality is $\le $ so we draw a solid line.

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 \mathrm{-4}x$?

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

Graph the linear inequality $y>\mathrm{-3}x$.

Graph the linear inequality $y\ge \mathrm{-2}x$.

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. Do you remember?

### Example 4.75

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)$.

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

So we shade the side that does not include (0, 0).

Graph the linear inequality $y<5$.

Graph the linear inequality $y\le \mathrm{-1}$.

### Section 4.7 Exercises

#### 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(\mathrm{-4},\mathrm{-1}\right)$
- ⓒ $\left(4,2\right)$
- ⓓ $\left(3,0\right)$
- ⓔ $\left(\mathrm{-2},\mathrm{-3}\right)$

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

- ⓐ $\left(0,0\right)$
- ⓑ $\left(2,1\right)$
- ⓒ $\left(\mathrm{-1},\mathrm{-5}\right)$
- ⓓ $\left(\mathrm{-6},\mathrm{-3}\right)$
- ⓔ $\left(1,0\right)$

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

- ⓐ $\left(0,3\right)$
- ⓑ $\left(\mathrm{-3},\mathrm{-2}\right)$
- ⓒ $\left(\mathrm{-2},0\right)$
- ⓓ $\left(0,0\right)$
- ⓔ $\left(\mathrm{-1},4\right)$

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

- ⓐ $\left(\mathrm{-3},0\right)$
- ⓑ $\left(1,6\right)$
- ⓒ $\left(\mathrm{-6},\mathrm{-2}\right)$
- ⓓ $\left(0,1\right)$
- ⓔ $\left(5,\mathrm{-4}\right)$

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

- ⓐ $\left(5,1\right)$
- ⓑ $\left(\mathrm{-2},6\right)$
- ⓒ $\left(3,2\right)$
- ⓓ $\left(10,\mathrm{-5}\right)$
- ⓔ $\left(0,0\right)$

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

- ⓐ $\left(1,1\right)$
- ⓑ $\left(4,\mathrm{-3}\right)$
- ⓒ $\left(0,0\right)$
- ⓓ $\left(\mathrm{-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.$

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

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

Write the inequality shown by the shaded region in the graph with the boundary line $2x+y=\mathrm{-4}.$

Write the inequality shown by the shaded region in the graph with the boundary line $x+2y=\mathrm{-2}.$

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

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

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

**Graph Linear Inequalities**

In the following exercises, graph each linear inequality.

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

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

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

Graph the linear inequality $4x+y>\mathrm{-4}$.

Graph the linear inequality $3x+2y\ge \mathrm{-6}$.

Graph the linear inequality $y>4x$.

Graph the linear inequality $y\le \text{\u2212}x$.

Graph the linear inequality $y\ge \mathrm{-2}$.

Graph the linear inequality $y<4$.

Graph the linear inequality $x\le 5$.

Graph the linear inequality $x>\mathrm{-3}$.

Graph the linear inequality $x-y<4$.

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

Graph the linear inequality $y>\mathrm{-2}x+1$.

Graph the linear inequality $x\le \mathrm{-1}$.

#### Everyday Math

**Money.** Gerry wants to have a maximum of $100 cash at the ticket booth when his church carnival opens. He will have $1 bills and $5 bills. If *x* is the number of $1 bills and *y* is the number of $5 bills, the inequality $x+5y\le 100$ models the situation.

- ⓐ Graph the inequality.
- ⓑ List three solutions to the inequality $x+5y\le 100$ where both
*x*and*y*are integers.

**Shopping.** Tula has $20 to spend at the used book sale. Hardcover books cost $2 each and paperback books cost $0.50 each. If *x* is the number of hardcover books Tula can buy and *y* is the number of paperback books she can buy, the inequality $2x+\frac{1}{2}y\le 20$ models the situation.

- ⓐ Graph the inequality.
- ⓑ List three solutions to the inequality $2x+\frac{1}{2}y\le 20$ where both
*x*and*y*are whole numbers.

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

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.

ⓑ What does this checklist tell you about your mastery of this section? What steps will you take to improve?