Did you know that you can use an inequality to describe a real-world situation? Take a look at this dilemma.
You’re going to a party! You’re supposed to bring sodas and chips but you only have $20 to spend. Sodas cost $1.50 per bottle and chips cost $2.50 per bag. How many of each can you buy?
This situation can be modeled with a linear inequality. Here, you will learn how to solve this inequality by graphing.
Listing solutions to single variable inequalities is useful but, because there are infinitely many solutions, it is impossible to show the entire solution set with a list. For that reason, we use number lines. So when , we show it like this.
With the less than , greater than , and not equal to symbols, we use an open circle because, although the solution set is infinitely close to the endpoint, the endpoint itself is not actually a solution. With the less than or equal to and greater than or equal to symbols, the endpoint is a solution so we use a closed circle.
Just as we graphed linear equations, we can also graph linear inequalities. We will graph the linear inequalities using slope-intercept form. As the circle on a number line marks the end of the solution set of a single variable inequality, so the line on the coordinate plane will mark the boundary of the solution set of a linear inequality.
The solution set will be on one side of the line or the other. We will take a test point to figure out which side makes the inequality true and then shade that half of the coordinate plane to indicate the solution set.
With the less than , greater than , and not equal to symbols, we will use a dotted line instead of an open circle because, although the solution set is infinitely close to the line, the points on the line itself are not actually solutions. With the less than or equal to and greater than or equal to symbols, the points on the line are solutions so we use a solid line.
Take a look at this situation.
Graph the solution set of the inequality .
Graph using . Use a dotted line because the symbol is .
Now, the solution set is on one side of the line or the other. In order to determine which side, we will just try a point that is not on the line itself. Try, for example, (1, 1). Does the point make the inequality true? No! The solution set must be on the other side of the line. As you can see in the graph, we shaded the opposite side.
We can graph any inequality in this way. First, graph the equation of the line. Then check if it is a solid or dashed line. Then shade above or below the line based on the inequality symbol.
Write these steps down in your notebook.
Answer each question about graphing inequalities.
True or false. If the inequality is less than, then a graph will show that the area below a dotted line is shaded.
True or false. If the inequality is greater than or equal to, then a graph will show that the area above a dotted line is shaded.
Solution: False. The line will be a solid line.
True or false. With a system of linear inequalities, the area that is shaded must be shared by both inequalities.
Now let's go back to the dilemma from the beginning of the Concept.
This situation can be modeled with a linear inequality.
Let equal the number of sodas you buy and the number of chips that you buy.
The inequality is because the cost of the sodas plus the cost of the chips must not be more than $20.
Graph the inequality and shade the correct region. Find 5 combinations of sodas and chips that you could buy by looking at the ordered pairs within the solution on the graph.
You can buy any combination that is one of the ordered pairs in the shaded region. Possible answers are (11, 1) (9, 2) (7, 3) (6, 4) etc.
Here is one for you to try on your own.
Write the inequality represented by this graph.
First, notice that the area shaded is greater than the line. Also, it is a solid line, so we know that the solution to the inequality is above the line and includes the values on the line.
The slope of the line is . The y-intercept is .
This is our answer.
Directions: Write an inequality for each graph.
Directions: Graph the following inequalities on the coordinate plane.
Directions: Answer each question true or false.
- You can't shade less than a vertical line.
- A dotted line can only be used in an inequality with greater than.
- A dotted line is used when the inequality sign does not include an equals.
- You can shade less than or greater than a horizontal line.
- You can graph a linear inequality in two variables.