# 6.7: Linear Inequalities in Two Variables

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

When a linear equation is graphed in a coordinate plane, the line splits the plane into two pieces. Each piece is called a **half plane**. The diagram below shows how the half planes are formed when graphing a linear equation.

A linear inequality in two variables can also be graphed. Instead of graphing only the **boundary line** \begin{align*}(y=mx+b)\end{align*}, you must also include all the other ordered pairs that could be solutions to the inequality. This is called the **solution set** and is shown by shading, or coloring, the half plane that includes the appropriate solutions.

When graphing inequalities in two variables, you must remember when the value is included (\begin{align*}\le\end{align*} *or* \begin{align*}\ge\end{align*}) or not included (\begin{align*} < \end{align*} *or* \begin{align*} > \end{align*}). To represent these inequalities on a coordinate plane, instead of shaded or unshaded circles, we use solid and dashed lines. We can tell which half of the plane the solution is by looking at the inequality sign.

- \begin{align*} > \end{align*} The solution is the half plane above the line.
- \begin{align*} \ge \end{align*} The solution is the half plane above the line and also all the points on the line.
- \begin{align*} < \end{align*} The solution is the half plane below the line.
- \begin{align*} \le \end{align*} The solution is the half plane below the line and also all the points on the line.

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 \ge 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 \le mx+b\end{align*} is the half plane below the line and all the points on the line.

**Example 1:** *Graph the inequality* \begin{align*}y \ge 2x-3\end{align*}.

**Solution:** This inequality is in a slope-intercept form. Begin by graphing the line. Then determine the half plane to color.

- The inequality is \begin{align*}\ge\end{align*}, so the line is solid.
- The inequality states to shade the half plane above the boundary line.

In general, the process used to graph a linear inequality in two variables is:

** Step 1:** Graph the equation using the most appropriate method.

- Slope-intercept form uses the \begin{align*}y-\end{align*}intercept and slope to find the line.
- Standard form uses the intercepts to graph the line.
- Point-slope uses a point and the slope to graph the line.

** Step 2:** If the equal sign is not included, draw a dashed line. Draw 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: *A pound of coffee blend is made by mixing two types of coffee beans. One type costs $9.00 per pound and another type costs $7.00 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: Begin by determining the appropriate letters to represent the varying quantities.

Let \begin{align*}x =\end{align*} weight of $9.00 per pound coffee beans in pounds and let \begin{align*}y =\end{align*} weight of $7.00 per pound coffee beans in pounds.

Translate the information into an inequality. \begin{align*}9x+7y \le 8.50\end{align*}.

*Because the inequality is in standard form, it will be easier to graph using its intercepts.*

When \begin{align*}x=0, y=1.21\end{align*}. When \begin{align*}y=0, x=0.944\end{align*}.

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

We graphed only the first quadrant of the coordinate plane because neither bag should have a negative weight.

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 2:** *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 to make $1,000 or more in commission?*

**Solution:** Determine the appropriate variables for the unknown quantities. Let \begin{align*}x =\end{align*} number of washing machines Julian sells and let \begin{align*}y =\end{align*} number of refrigerators Julian sells.

Now translate the situation into an inequality. \begin{align*}60x + 130y \ge 1,000\end{align*}.

Graph the standard form inequality using its intercepts. When \begin{align*}x=0, y=7.692\end{align*}. When \begin{align*}y=0, x=16.667\end{align*}. The line will be solid.

We want the ordered pairs that are solutions to Julian making more than $1,000, so we shade the half plane above the boundary line.

## Graphing Horizontal and Vertical Linear Inequalities

Linear inequalities in one variable can also be graphed in the coordinate plane. They take the form of horizontal and vertical lines, however the process is identical to graphing **oblique**, or slanted, lines.

Example: *Graph the inequality \begin{align*}x>4\end{align*} on*: 1) *a number line and* 2) *the coordinate plane.*

Solution: Remember what the solution to \begin{align*}x>4\end{align*} looks like on a 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.

On a coordinate plane, the line \begin{align*}x=4\end{align*} is a vertical line four units to the right of the origin. The inequality **does not equal** four, so the vertical line is dashed. This shows the reader that the ordered pairs on the vertical line \begin{align*}x=4\end{align*} are not solutions to the inequality.

The inequality is looking for all \begin{align*}x-\end{align*}coordinates larger than four. We then color the half plane to the right, symbolizing \begin{align*}x>4\end{align*}.

Graphing absolute value inequalities can also be done in the coordinate plane. To graph the inequality \begin{align*}|x|\ge 2\end{align*}, we remember Lesson 6.6 and rewrite the absolute value inequality.

\begin{align*}x \le -2\end{align*} or \begin{align*}x \ge 2\end{align*}

Then graph each inequality on a coordinate plane.

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.

## Practice Set

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both.

CK-12 Basic Algebra: Graphing Inequalities (8:03)

- Define
*half plane.* - In which cases would the boundary line be represented by a dashed line?
- In which cases would the boundary line be represented by a solid line?
- What is a method to help you determine which half plane to color?

In 5 – 26, graph each inequality in a coordinate plane.

- \begin{align*}x < 20\end{align*}
- \begin{align*}y \ge -5\end{align*}
- \begin{align*}y \le 6\end{align*}
- \begin{align*}|x| > 10\end{align*}
- \begin{align*}|y| \le 7 \end{align*}
- \begin{align*}y \le 4x+3\end{align*}
- \begin{align*}y > -\frac{x}{2}-6\end{align*}
- \begin{align*}y\le -\frac{1}{2} x+5\end{align*}
- \begin{align*}3x-4y \ge 12\end{align*}
- \begin{align*}x+7y < 5\end{align*}
- \begin{align*}y < -4x+4\end{align*}
- \begin{align*}y > \frac{7}{2}x+3\end{align*}
- \begin{align*}6x+5y>1\end{align*}
- \begin{align*}6x-5y\le 15\end{align*}
- \begin{align*}2x-y<5\end{align*}
- \begin{align*}y+5 \le -4x+10\end{align*}
- \begin{align*}x-\frac{1}{2}y \ge 5\end{align*}
- \begin{align*}y+4 \le -\frac{x}{3}+5\end{align*}
- \begin{align*}5x-2y > 4\end{align*}
- \begin{align*}30x+5y < 100\end{align*}
- \begin{align*}y \ge -x\end{align*}
- \begin{align*}6x-y < 4\end{align*}
- Lili can make yarn ankle bracelets and wrist bracelets. She has 600 yards of yarn available. It takes 6 yards to make one wrist bracelet and 8 yards to make one ankle bracelet. Find all the possible combinations of ankle bracelets and wrist bracelets she can make without going over her available yarn.
- 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 (combination of metals) that costs less than $600 per ounce.
- A phone company charges 50 cents per minute during the daytime and 10 cents per minute at night. How many daytime minutes and nighttime minutes would you have to use to pay more than $20.00 over a 24-hour period?
- Jesu has $30 to spend on food for a class barbeque. Hot dogs cost $0.75 each (including the bun) and burgers cost $1.25 (including bun and salad). Plot a graph that shows all the combinations of hot dogs and burgers he could buy for the barbecue, spending less than $30.00.
- At the local grocery store, strawberries cost $3.00 per pound and bananas cost $1.00 per pound. If I have $10 to spend between strawberries and bananas, draw a graph to show what combinations of each I can buy and spend at most $10.

**Mixed Review**

- Graph \begin{align*}y=3|x-3|\end{align*}.
- Graph \begin{align*}y=\frac{5}{4} x-2\end{align*}.
- What is 14.75% of 29?
- A shirt was sold for $31.99 after a 15% markup. What was the original price?
- Using the formula to convert Celsius to Fahrenheit found in Lesson 4.7, determine the Fahrenheit equivalent to \begin{align*}16^\circ C\end{align*}.
- Charlene has 18 more apples than Raul. Raul has 36 apples. Write an equation to represent this situation and determine how many apples Charlene has.
- Suppose you flip a coin. What are its possible outcomes?
- How many degrees are in a circle?