# 6.7: Linear Inequalities in Two Variables

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** , 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 ( *or* ) or not included ( *or* ). 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.

- The solution is the half plane above the line.
- 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.
- The solution is the half plane below the line and also all the points on the line.

The solution of 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 is the half plane above the line and all the points on the line.

The solution of is the half plane below the line.

The solution of is the half plane below the line and all the points on the line.

**Example 1:** *Graph the inequality* .

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

- The inequality is , 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 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 weight of $9.00 per pound coffee beans in pounds and let weight of $7.00 per pound coffee beans in pounds.

Translate the information into an inequality. .

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

When . When .

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 number of washing machines Julian sells and let number of refrigerators Julian sells.

Now translate the situation into an inequality. .

Graph the standard form inequality using its intercepts. When . When . 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 on*: 1) *a number line and* 2) *the coordinate plane.*

Solution: Remember what the solution to looks like on a number line.

The solution to this inequality is the set of all real numbers that are bigger than four but not including four.

On a coordinate plane, the line 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 are not solutions to the inequality.

The inequality is looking for all coordinates larger than four. We then color the half plane to the right, symbolizing .

Graphing absolute value inequalities can also be done in the coordinate plane. To graph the inequality , we remember Lesson 6.6 and rewrite the absolute value inequality.

or

Then graph each inequality on a coordinate plane.

In other words, the solution is all the coordinate points for which the value of 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 and the plane to the right of line .

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.

- 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 .
- Graph .
- 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 .
- 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?