# 6.7: Linear Inequalities in Two Variables

**At Grade**Created by: CK-12

## Learning Objectives

- Graph linear inequalities in one variable on the coordinate plane.
- Graph linear inequalities in two variables.
- Solve real-world problems using linear inequalities

## Introduction

A linear inequality in two variables takes the form

\begin{align*} y > mx+b\end{align*} or \begin{align*} y < mx+b\end{align*}

Linear inequalities are closely related to graphs of straight lines. A straight line has the equation \begin{align*} y = mx+b\end{align*}. When we graph a line in the coordinate plane, we can see that it divides the plane in two halves.

The solution to a linear inequality includes all the points in one of the plane halves. We can tell which half of the plane the solution is by looking at the inequality sign.

> The solution is the half plane above the line.

\begin{align*}\geq\end{align*} The solution is the half plane above the line and also all the points on the line.

< The solution is the half plane below the line.

\begin{align*}\leq\end{align*} The solution is the half plane below the line and also all the points on the line.

(Above the line means for a given \begin{align*}x-\end{align*}coordinate, all points with \begin{align*}y-\end{align*}values greater than the \begin{align*}y-\end{align*}value are on the line)

For a strict inequality, we draw a **dashed line** to show that the points on the line are not part of the solution.

For an inequality that includes the equal sign, we draw a **solid line** to show that the points on the line are part of the solution.

Here is what you should expect linear inequality graphs to look like.

The solution of \begin{align*} y>mx+b\end{align*} is the half plane above the line. The dashed line shows that the points on the line are not part of the solution.

The solution of \begin{align*} y \geq mx+b\end{align*} is the half plane above the line and all the points on the line.

The solution of \begin{align*} y<mx+b\end{align*} is the half plane below the line.

The solution of \begin{align*} y\leq mx+b\end{align*} is the half plane below the line and all the points on the line.

## Graph Linear Inequalities in One Variable in the Coordinate Plane

In the last few sections, we graphed inequalities in one variable on the number line. We can also graph inequalities in one variable on the coordinate plane. We just need to remember that when we graph an equation of the type \begin{align*}x=a\end{align*} we get a vertical line and when we graph an equation of the type \begin{align*}y=b\end{align*} we get a horizontal line.

**Example 1**

*Graph the inequality \begin{align*}x>4\end{align*} on the coordinate plane.*

**Solution**

First, let’s remember what the solution to \begin{align*}x>4\end{align*} looks like on the number line.

The solution to this inequality is the set of all real numbers \begin{align*}x\end{align*} that are bigger than four but not including four. The solution is represented by a line.

In two dimensions we are also concerned with values of \begin{align*} y\end{align*}, and the solution to \begin{align*} x>4\end{align*} consists of all coordinate points for which the value of \begin{align*}x\end{align*} is bigger than four. The solution is represented by the half plane to the right of \begin{align*}x=4\end{align*}.

The line \begin{align*}x=4\end{align*} is dashed because the equal sign is not included in the inequality and therefore points on the line are not included in the solution.

**Example 2**

*Graph the inequality* \begin{align*} y \leq 6\end{align*} *on the coordinate plane.*

**Solution**

The solution is all coordinate points for which the value of \begin{align*}y\end{align*} is less than or equal than 6. This solution is represented by the half plane below the line \begin{align*}y=6\end{align*}.

The line \begin{align*}y=6\end{align*} is solid because the equal sign is included in the inequality sign and the points on the line are included in the solution.

**Example 3**

*Graph the inequality \begin{align*} \mid 6 \mid <5\end{align*}*

**Solution**

The absolute value inequality \begin{align*} \mid 6 \mid <5\end{align*} can be re-written as \begin{align*}-5 < y <5\end{align*}. This is a compound inequality which means

\begin{align*}y>-5\end{align*} and \begin{align*}y<5\end{align*}

In other words, the solution is all the coordinate points for which the value of \begin{align*}y\end{align*} is larger than -5 **and** smaller than 5. The solution is represented by the plane between the horizontal lines \begin{align*}y=-5\end{align*} and \begin{align*}y=5\end{align*}.

Both horizontal lines are dashed because points on the line are not included in the solution.

**Example 4**

Graph the inequality \begin{align*}\mid x \mid \geq 2\end{align*}.

**Solution**

The absolute value inequality \begin{align*} \mid x \mid \geq 2\end{align*} can be re-written as a compound inequality:

\begin{align*} x \leq -2 \end{align*} or \begin{align*} x \geq 2 \end{align*}

In other words, the solution is all the coordinate points for which the value of \begin{align*}x\end{align*} is smaller than or equal to -2 and greater than or equal to 2. The solution is represented by the plane to the left of the vertical line \begin{align*}x= -2\end{align*} and the plane to the right of line \begin{align*}x=2\end{align*}.

Both vertical lines are solid because points on the line are included in the solution.

## Graph Linear Inequalities in Two Variables

The general procedure for graphing inequalities in two variables is as follows.

*Step 1:* Re-write the inequality in slope-intercept form \begin{align*}y=mx+b\end{align*}. Writing the inequality in this form lets you know the direction of the inequality

*Step 2* Graph the line of equation \begin{align*}y=mx+b\end{align*} using your favorite method. (For example, plotting two points, using slope and \begin{align*}y-\end{align*}intercept, using \begin{align*}y-\end{align*}intercept and another point, etc.). Draw a dashed line if the equal sign in not included and a solid line if the equal sign is included.

*Step 3* Shade the half plane above the line if the inequality is greater than. Shade the half plane under the line if the inequality is less than.

**Example 5**

*Graph the inequality* \begin{align*} y \geq 2x-3\end{align*}.

**Solution**

*Step 1*

The inequality is already written in slope-intercept form \begin{align*} y \geq 2x-3\end{align*}.

\begin{align*}x\end{align*} | \begin{align*}y\end{align*} |
---|---|

\begin{align*}-1\end{align*} | \begin{align*}2(-1) - 3 = -5\end{align*} |

0 | \begin{align*}2(0) - 3 = -3\end{align*} |

1 | \begin{align*}2(1) - 3 = -1\end{align*} |

*Step 2*

Graph the equation \begin{align*}y=2x-3\end{align*} by making a table of values.

*Step 3*

Graph the inequality. We shade the plane above the line because \begin{align*}y\end{align*} is greater than. The value \begin{align*}2x-3\end{align*} defines the line. The line is solid because the equal sign is included.

**Example 6**

*Graph the inequality* \begin{align*} 5x - 2y > 4\end{align*}.

**Solution**

*Step 1*

Rewrite the inequality in slope-intercept form.

\begin{align*} -2y & > -5x + 4\\ y & > \frac{5} {2}x - 2\end{align*}

Notice that the inequality sign changed direction due to division of negative sign.

*Step 2*

Graph the equation \begin{align*} y>\frac{5} {2}x - 2\end{align*} by making a table of values.

\begin{align*}x\end{align*} | \begin{align*}y\end{align*} |
---|---|

\begin{align*}-2\end{align*} | \begin{align*}\frac{5} {2}(-2) - 2 = -7\end{align*} |

0 | \begin{align*}\frac{5} {2}(0) - 2 = -2\end{align*} |

2 | \begin{align*}\frac{5} {2}(2) - 2 = 3\end{align*} |

*Step 3*

Graph the inequality. We shade the plane **below** the line because the inequality in slope-intercept form is less than. The line is dashed because the equal sign in not included.

**Example 7**

*Graph the inequality \begin{align*} y+4 \leq -\frac{x} {3}+5\end{align*}.*

**Solution**

*Step 1*

Rewrite the inequality in slope-intercept form \begin{align*} y \leq -\frac{x} {3}+1\end{align*}

*Step 2*

Graph the equation \begin{align*} y= -\frac{x} {3}+1\end{align*} by making a table of values.

\begin{align*}x\end{align*} | \begin{align*}y\end{align*} |
---|---|

\begin{align*}-3\end{align*} | \begin{align*}-\frac{(-3)} {3}+1=2\end{align*} |

0 | \begin{align*}-\frac{0} {3}(0)+1=1\end{align*} |

3 | \begin{align*}-\frac{3} {3}+1=0\end{align*} |

*Step 3*

Graph the inequality. We shade the plane below the line. The line is solid because the equal sign in included.

## Solve Real-World Problems Using Linear Inequalities

In this section, we see how linear inequalities can be used to solve real-world applications.

**Example 8**

*A pound of coffee blend is made by mixing two types of coffee beans. One type costs $9 per pound and another type costs $7 per pound. Find all the possible mixtures of weights of the two different coffee beans for which the blend costs $8.50 per pound or less.*

**Solution**

Let’s apply our problem solving plan to solve this problem.

*Step 1:*

Let \begin{align*}x =\end{align*} weight of $9 per pound coffee beans in pounds

Let \begin{align*}y =\end{align*} weight of $7 per pound coffee beans in pounds

*Step 2*

The cost of a pound of coffee blend is given by \begin{align*}9x + 7y\end{align*}.

We are looking for the mixtures that cost $8.50 or less.

We write the inequality \begin{align*}9x + 7y \leq 8.50\end{align*}.

*Step 3*

To find the solution set, graph the inequality \begin{align*}9x + 7y \leq 8.50\end{align*}.

Rewrite in slope-intercept \begin{align*}y \leq -1.29x + 1.21\end{align*}.

Graph \begin{align*}y=-1.29x+1.21\end{align*} by making a table of values.

\begin{align*}x\end{align*} | \begin{align*}y\end{align*} |
---|---|

0 | 1.21 |

1 | -0.08 |

2 | -1.37 |

*Step 4*

Graph the inequality. The line will be solid. We shade below the line.

Notice that we show only the first quadrant of the coordinate plane because the weight values should be positive.

The blue-shaded region tells you all the possibilities of the two bean mixtures that will give a total less than or equal to $8.50.

**Example 9**

*Julian has a job as an appliance salesman. He earns a commission of $60 for each washing machine he sells and $130 for each refrigerator he sells. How many washing machines and refrigerators must Julian sell in order to make $1000 or more in commission?*

**Solution** Let’s apply our problem solving plan to solve this problem.

*Step 1*

Let \begin{align*}x =\end{align*} number of washing machines Julian sells

Let \begin{align*}y =\end{align*} number of refrigerators Julian sells

*Step 2*

The total commission is given by the expression \begin{align*}60x+130y\end{align*}.

We are looking for total commission of $1000 or more. We write the inequality. \begin{align*}60x + 130y \geq 1000\end{align*}.

*Step 3*

To find the solution set, graph the inequality \begin{align*}60x + 130y \geq 1000\end{align*}.

Rewrite it in slope-intercept \begin{align*}y \geq -.46x + 7.7\end{align*}.

Graph \begin{align*}y = -.46x + 7.7\end{align*} by making a table of values.

\begin{align*}x\end{align*} | \begin{align*}y\end{align*} |
---|---|

0 | 7.7 |

2 | 6.78 |

4 | 5.86 |

*Step 4*

Graph the inequality. The line will be solid. We shade above the line.

Notice that we show only the first quadrant of the coordinate plane because dollar amounts should be positive. Also, only the points with integer coordinates are possible solutions.

## Lesson Summary

- The general procedure for graphing inequalities in two variables is as follows:

*Step 1*

Rewrite the inequality in slope-intercept form \begin{align*}y=mx+b\end{align*}.

*Step 2*

Graph the line of equation \begin{align*}y=mx+b\end{align*} by building a table of values.

Draw a dashed line if the equal sign in not included and a solid line if the it is included.

*Step 3*

Shade the half plane above the line if the inequality is greater than.

Shade the half plane under the line if the inequality is less than.

## Review Questions

Graph the following inequalities on the coordinate plane.

- \begin{align*}x<20\end{align*}
- \begin{align*}y \geq -5\end{align*}
- \begin{align*} \mid x \mid >10 \end{align*}
- \begin{align*} \mid y \mid \leq 7 \end{align*}
- \begin{align*} y \leq 4x+3\end{align*}
- \begin{align*}y > -\frac{x}{2}-6\end{align*}
- \begin{align*}3x-4y \geq 12\end{align*}
- \begin{align*} x+7y <5 \end{align*}
- \begin{align*}6x + 5y>1\end{align*}
- \begin{align*}y + 5 \leq -4x + 10\end{align*}
- \begin{align*}x-\frac{1}{2}y \geq 5\end{align*}
- \begin{align*}30x + 5y< 100\end{align*}
- An ounce of gold costs $670 and an ounce of silver costs $13. Find all possible weights of silver and gold that makes an alloy that costs less than $600 per ounce.
- A phone company charges 50 cents cents per minute during the daytime and 10 cents per minute at night. How many daytime minutes and night time minutes would you have to use to pay more than $20 over a 24 hour period?

## Review Answers

## Texas Instruments Resources

*In the CK-12 Texas Instruments Algebra I FlexBook, there are graphing calculator activities designed to supplement the objectives for some of the lessons in this chapter. See http://www.ck12.org/flexr/chapter/9616.*

### Notes/Highlights Having trouble? Report an issue.

Color | Highlighted Text | Notes | |
---|---|---|---|

Show More |