Graphing Linear Inequalities

This is a graph of a linear inequality:

linear inequality y <= x +2
The inequality y ≤ x + 2

We can see the y = x + 2 line, and the shaded area is where y is less than or equal to x + 2

Linear Inequality

A Linear Inequality is like a Linear Equation (such as y = 2x+1) ...

... but it will have an Inequality like <, >, ≤, or ≥ instead of an =.

How to Graph a Linear Inequality

Graph the "equals" line, then shade in the correct area.

Follow these steps:

Let us try some examples:

Example: y ≤ 2x−1

1. The inequality already has "y" on the left and everything else on the right, so no need to rearrange.

2. Plot y = 2x−1 (as a solid line because y≤ includes equal to):

y = 2x -1

3. Shade the area below (because y is less than or equal to):

linear inequality y <= 2x -1 shaded

Example: 2y − x ≤ 6

1. We will need to rearrange this one so "y" is on its own on the left:

Start with: 2y − x ≤ 6
Add x to both sides: 2y ≤ x + 6
Divide all by 2: y ≤ x/2 + 3

 2. Now plot y = x/2 + 3 (as a solid line because y≤ includes equal to):

y = x/2 + 3

3. Shade the area below (because y is less than or equal to):

linear inequality y <= x/2 + 3 shaded

Example: y/2 + 2 > x

1. We will need to rearrange this one so "y" is on its own on the left:

Start with: y/2 + 2 > x
Subtract 2 from both sides: y/2 > x − 2
Multiply all by 2: y > 2x − 4

 2. Now plot y = 2x − 4 (as a dashed line because y> does not include equals to):

y = 2x - 4

3. Shade the area above (because y is greater than):

linear inequality y greater than 2x-4

The dashed line shows that the inequality does not include the line y = 2x−4.

Two Special Cases

We can also have a horizontal, or vertical, line:

linear inequality y less than 4 linear inequality x greater than or equal to 1
This shows where y is less than 4
(from, but not including, the line y=4 on down)
Notice that we have a dashed line to show that it does not include where y=4
This one doesn't even have y in it!
It has the line x=1, and is shaded for all values of x greater than (or equal to) 1

 

7426, 7427, 7428, 7429, 7430, 7431, 7432, 7433, 7434, 7435