# Lesson 21

Graphing Linear Inequalities in Two Variables (Part 1)

• Let’s find out how to use graphs to represent solutions to inequalities in two variables.

### 21.1: Math Talk: Less Than, Equal to, or More Than 12?

Here is an expression: $$2x+3y$$.

Decide if the values in each ordered pair, $$(x, y)$$, make the value of the expression less than, greater than, or equal to 12.

$$(0, 5)$$

$$(6,0)$$

$$(\text-1, \text-1)$$

$$(\text-5,10)$$

### 21.2: Solutions and Not Solutions

Here are four inequalities. Study each inequality assigned to your group and work with your group to:

• Find some coordinate pairs that represent solutions to the inequality and some coordinate pairs that do not represent solutions.
• Plot both sets of points. Either use two different colors or two different symbols like X and O.
• Plot enough points until you start to see the region that contains solutions and the region that contains non-solutions. Look for a pattern describing the region where solutions are plotted.

### 21.3: Sketching Solutions to Inequalities

1. Here is a graph that represents solutions to the equation $$x-y=5$$.

Sketch 4 quick graphs representing the solutions to each of these inequalities:

$$x-y<5$$

$$x-y \le 5$$

$$x-y>5$$

$$x-y \ge 5$$

2. For each graph, write an inequality whose solutions are represented by the shaded part of the graph.

1. The points $$(7,3)$$ and $$(7,5)$$ are both in the solution region of the inequality $$x - 2y < 3$$.
1. Compute $$x-2y$$ for both of these points.
2. Which point comes closest to satisfying the equation $$x-2y=3$$? That is, for which $$(x,y)$$ pair is $$x-2y$$ closest to 3?
2. The points $$(3,2)$$ and $$(5,2)$$ are also in the solution region. Which of these points comes closest to satisfying the equation $$x-2y=3$$?
3. Find a point in the solution region that comes even closer to satisfying the equation $$x-2y=3$$. What is the value of $$x-2y$$?
4. For the points $$(5,2)$$ and $$(7,3)$$, $$x-2y=1$$. Find another  point in the solution region for which $$x-2y=1$$.
5. Find $$x-2y$$ for the point $$(5,3)$$. Then find two other points that give the same answer.

### Summary

The equation $$x+y = 7$$ is an equation in two variables. Its solution is any pair of $$x$$ and $$y$$ whose sum is 7. The pairs $$x=0, y=7$$ and $$x =\text5, y= 2$$ are two examples.

We can represent all the solutions to $$x+y = 7$$ by graphing the equation on a coordinate plane.

The graph is a line. All the points on the line are solutions to $$x+y = 7$$.

​​​​​

The inequality $$x+y \leq 7$$ is an inequality in two variables. Its solution is any pair of $$x$$ and $$y$$ whose sum is 7 or less than 7.

This means it includes all the pairs that are solutions to the equation $$x+y=7$$, but also many other pairs of $$x$$ and $$y$$ that add up to a value less than 7. The pairs $$x=4, y=\text-7$$ and $$x=\text-6, y=0$$ are two examples.

On a coordinate plane, the solution to $$x+y \leq 7$$ includes the line that represents $$x+y=7$$. If we plot a few other $$(x,y)$$ pairs that make the inequality true, such as $$(4, \text-7)$$ and $$(\text-6,0)$$, we see that these points fall on one side of the line. (In contrast, $$(x,y)$$ pairs that make the inequality false fall on the other side of the line.)

We can shade that region on one side of the line to indicate that all points in it are solutions.

​​​​​​

What about the inequality $$x+y <7$$?

The solution is any pair of $$x$$ and $$y$$ whose sum is less than 7. This means pairs like $$x=0, y=7$$ and $$x =5, y=2$$ are not solutions.

On a coordinate plane, the solution does not include points on the line that represent $$x+y=7$$ (because those points are $$x$$ and $$y$$ pairs whose sum is 7).

To exclude points on that boundary line, we can use a dashed line.

All points below that line are $$(x,y)$$ pairs that make $$x+y<7$$ true. The region on that side of the line can be shaded to show that it contains the solutions.

​​​​​​