We've updated our

TEXT

# Graph a Linear Inequality in Two Variables

### Learning Outcome

• Identify and graph a linear inequality in two variables
So how do you get from the algebraic form of an inequality, like $y>3x+1$, to a graph of that inequality? Plotting inequalities is fairly straightforward if you follow a couple steps. To graph an inequality:
• Graph the related boundary line. Replace the given inequality symbol, <, >, ≤ or ≥, in the inequality with the equality symbol, =, to find the equation of the boundary line.
• Identify at least one ordered pair on either side of the boundary line and substitute those $(x,y)$ values into the inequality. Shade the region that contains the ordered pairs that make the inequality a true statement.
• If points on the boundary line are solutions, then use a solid line for drawing the boundary line. This will be the case for inequality with equality, ≤ or ≥.
• If points on the boundary line are not solutions, then use a dotted line for the boundary line. This will be the case for strict inequality, < or >.
Graph the inequality $x+4y\leq4$. To graph the boundary line, find at least two values that lie on the line $x+4y=4$. You can use the and y-intercepts for this equation by substituting $0$ in for x first and finding the value of y; then substitute $0$ in for y and find x.
 x y $0$ $1$ $4$ $0$
Plot the points $(0,1)$ and $(4,0)$, and draw a line through these two points for the boundary line. The line is solid because ≤ means “less than or equal to,” so all ordered pairs along the line are included in the solution set. The next step is to find the region that contains the solutions. Is it above or below the boundary line? To identify the region where the inequality holds true, you can test a couple of ordered pairs, one on each side of the boundary line. If you substitute $(−1,3)$ into $x+4y\leq4$:

$\begin{array}{r}−1+4\left(3\right)\leq4\\−1+12\leq4\\11\leq4\end{array}$

This is a false statement since $11$ is not less than or equal to $4$. On the other hand, if you substitute $(2,0)$ into $x+4y\leq4$:

$\begin{array}{r}2+4\left(0\right)\leq4\\2+0\leq4\\2\leq4\end{array}$

This is true! The region that includes $(2,0)$ should be shaded, as this is the region of solutions for the inequality. And there you have it, the graph of the set of solutions for $x+4y\leq4$. Below is a video about how to graph inequalities with two variables. https://youtu.be/2VgFg2ztspI

### Example

Graph the inequality $2y>4x–6$.

$\displaystyle \begin{array}{r}2y>4x-6\\\\\dfrac{2y}{2}>\dfrac{4x}{2}-\dfrac{6}{2}\\\\y>2x-3\\\end{array}$

Create a table of values to find two points on the line $\displaystyle y=2x-3$.
x y
$0$ $−3$
$2$ $1$
Plot the points and graph the line. The line is dotted because the sign in the inequality is >, not ≥ and therefore points on the line are not solutions to the inequality.

The inequality is $2y>4x–6$. Find an ordered pair on either side of the boundary line. Insert the x and y-values into the inequality. If the simplified result is true, then shade on the side of the line the point is located.

$\begin{array}{l}\\\text{Test }1:\left(−3,1\right)\\2\left(1\right)>4\left(−3\right)–6\\\,\,\,\,\,\,\,2>–12–6\\\,\,\,\,\,\,\,2>−18\\\,\,\,\,\,\,\,\,\text{TRUE}\\\\\text{Test }2:\left(4,1\right)\\2(1)>4\left(4\right)– 6\\\,\,\,\,\,\,2>16–6\\\,\,\,\,\,\,2>10\\\,\,\,\,\,\text{FALSE}\end{array}$

Since $(−3,1)$ results in a true statement, the region that includes $(−3,1)$ should be shaded.

The graph of the inequality $2y>4x–6$ is:

A quick note about the problem above: notice that you can use the points $(0,−3)$ and $(2,1)$ to graph the boundary line, but these points are not included in the region of solutions since the region does not include the boundary line.

Below is a video about how to graph inequalities with two variables when the equation is in slope-intercept form.

https://youtu.be/Hzxc4HASygU

## Summary

When inequalities are graphed on a coordinate plane, the solutions are located in a region of the coordinate plane which is represented as a shaded area on the plane. The boundary line for the inequality is drawn as a solid line if the points on the line itself do satisfy the inequality, as in the cases of inequality with equality, $\leq$ and $\geq$. It is drawn as a dashed line if the points on the line do not satisfy the inequality, as in the cases of strict inequality, < and >. You can tell which region to shade by testing some points in the inequality. Using a coordinate plane is especially helpful for visualizing the region of solutions for inequalities with two variables.