Graphing Linear Inequalities in Two Variables (Part 1)

Student Summary

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

We can represent all the solutions to x+y=7x+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=7x+y = 7.

<p>Graph of a line, origin O, with grid. Scale is negative 8 to 10, by 2’s on both axes. Line passes through 0 comma 7 and 5 comma 2.</p>
​​​​​

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

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

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

<p>Graph of an inequality.</p>
Inequality graphed on a coordinate plane, origin O. Each axis from negative 8 to 10, by 2’s. Solid line goes through 0 comma 7 and 5 comma 2. The region below the solid line is shaded. The points negative 6 comma 0 and 4 comma negative 7 are labeled.
​​​​​​

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

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

On a coordinate plane, the solution does not include points on the line that represent x+y=7x+y=7 (because those points are xx and yy 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)(x,y) pairs that make x+y<7x+y<7 true. The region on that side of the line can be shaded to show that it contains the solutions. 

<p>Graph of an inequality.</p>
Inequality graphed on a coordinate plane, origin O. Each axis from negative 8 to 10, by 2’s. Dashed line goes through 0 comma 7 and 7 comma 0. The region below the dashed line is shaded.
​​​​​​

Visual / Anchor Chart

Standards

Addressing
A-REI.124 questions

Graph the solutions to a linear inequality in two variables as a half-plane (excluding the boundary in the case of a strict inequality), and graph the solution set to a system of linear inequalities in two variables as the intersection of the corresponding half-planes.

Q34 · 4ptJune 2024
Regents June 2024 Question 34
Q7 · 2ptJanuary 2025
Regents January 2025 Question 7
Q33 · 4ptAugust 2025
Regents August 2025 Question 33
Q34 · 4ptJanuary 2026
Regents January 2026 Question 34
Building Toward
A-REI.124 questions

Graph the solutions to a linear inequality in two variables as a half-plane (excluding the boundary in the case of a strict inequality), and graph the solution set to a system of linear inequalities in two variables as the intersection of the corresponding half-planes.

Q34 · 4ptJune 2024
Regents June 2024 Question 34
Q7 · 2ptJanuary 2025
Regents January 2025 Question 7
Q33 · 4ptAugust 2025
Regents August 2025 Question 33
Q34 · 4ptJanuary 2026
Regents January 2026 Question 34