01 · Learn the idea
A solution is a point, and there are many
A linear inequality in two variables looks like a linear equation with <, >, ≤ or ≥ in place of the equals sign. An example is y > x + 1. A solution is an ordered pair (x, y) that makes the inequality true.
Test (0, 3): is 3 > 0 + 1? Yes, 3 > 1, so (0, 3) is a solution. Test (2, 0): is 0 > 2 + 1? No, 0 is not greater than 3, so (2, 0) is not a solution.
There are far too many solutions to list. So you draw them. The line y = x + 1 is called the boundary line. It splits the plane into two halves, called half-planes. Every point in one half-plane is a solution, and no point in the other is. You shade the half that holds the solutions.
The boundary itself needs a decision. With < or >, points on the line are not solutions, so the line is drawn dashed. With ≤ or ≥, points on the line are solutions, so the line is drawn solid. For y > x + 1, the point (0, 1) is on the line, and 1 > 1 is false, so the line is dashed.
- y = x + 1
02 · Build understanding
Worked example: graph an inequality in standard form
Graph the solution set of 2x + 3y ≤ 12.
Step 1: Graph the boundary line 2x + 3y = 12. Setting x = 0 gives 3y = 12, so the y-intercept is (0, 4). Setting y = 0 gives 2x = 12, so the x-intercept is (6, 0). Draw the line through those two points.
Step 2: Decide solid or dashed. The symbol is ≤, which includes "equal to", so points on the line are solutions. Draw it solid.
Step 3: Pick a test point that is not on the line. The origin (0, 0) is the easiest. Substituting gives 2(0) + 3(0) = 0, and 0 ≤ 12 is true. So the origin is a solution.
Step 4: Shade the side of the line that contains the test point. The origin is below this line, so shade below it.
Step 5: Check with a point on the other side. Try (6, 4): 2(6) + 3(4) = 24, and 24 ≤ 12 is false. That point is in the unshaded half, as it should be.
- 2x + 3y = 12
03 · Build understanding
Worked example: write the inequality from a graph
A graph shows a dashed line through (0, −2) and (4, 0). The region above the line is shaded. Write the inequality.
Step 1: Write the equation of the boundary. The slope is (0 − (−2))/(4 − 0) = 2/4 = 1/2, and the y-intercept is −2. The boundary is y = (1/2)x − 2.
Step 2: Choose between "or equal to" and not. The line is dashed, so points on it are not solutions. The symbol is < or >.
Step 3: Choose the direction. The shading is above the line, where the y-values are greater than the y-value on the line. So the inequality is y > (1/2)x − 2.
Step 4: Check with a shaded point. The origin is above the line, in the shading. Substituting gives 0 > (1/2)(0) − 2, which is 0 > −2. That is true, so the inequality matches the graph.
y > (1/2)x − 2
04 · Build understanding
When one variable is missing
An inequality such as x ≥ −3 still describes a region of the plane. Think of it as x + 0y ≥ −3: the coefficient of y is zero, so y can be anything. The boundary is the vertical line x = −3, drawn solid, and the solutions are every point on it or to its right. The point (−3, 5) is a solution, and so is (2, −4).
In the same way, y < 2 has a horizontal boundary, the line y = 2. It is dashed because the symbol is <, and the solutions are every point below it. The point (7, 1) is a solution, but (7, 2) is not.
- x = −3
05 · Build understanding
Worked example: a budget at the fair
Mateo has $60 to spend at the fair. Each ride costs $5 and each food item costs $4. Write and graph an inequality for the numbers of rides and food items he can buy.
Step 1: Name the variables. Let r be the number of rides and f be the number of food items.
Step 2: Write the inequality. Rides cost 5r dollars and food costs 4f dollars. The total can be $60 or less, so 5r + 4f ≤ 60.
Step 3: Graph the boundary 5r + 4f = 60 with r across and f up. If f = 0, then r = 12. If r = 0, then f = 15. Draw a solid line through (12, 0) and (0, 15), because spending exactly $60 is allowed.
Step 4: Shade. Test (0, 0): spending $0 is within the budget, so shade the side with the origin.
Step 5: Read the graph. The point (4, 6) is in the shading: 5(4) + 4(6) = 44, and $44 is within the budget. The point (8, 5) is on the line: 5(8) + 4(5) = 60, which uses every dollar. The point (10, 4) is outside: 5(10) + 4(4) = 66, which is $6 too much.
In this situation only points with whole-number coordinates that are 0 or more make sense, because Mateo can’t buy half a ride or a negative number of snacks.
- 5r + 4f = 60
06 · Build understanding
Three mistakes to watch for
Trusting the symbol without solving for y. In x − 2y < 6 the symbol is <, but the region is not below the line. Solving for y means dividing by −2, which reverses the symbol: y > (1/2)x − 3. The shading goes above. A test point settles it: (0, 0) gives 0 < 6, which is true, and the origin is above that line.
Drawing the wrong kind of line. For y ≥ 4x − 1 the boundary is solid, because points on it count. For y > 4x − 1 it is dashed. The shaded side is the same in both.
Testing a point that is on the boundary. For 2x + 3y ≤ 12, the point (6, 0) is on the line, so it can’t tell you which side to shade. Pick a point that is clearly off the line.
Apply and explain
Your turn
Jo graphs 3x − y ≥ 6 by drawing a solid line through (2, 0) and (0, −6) and shading the region above the line. Is her graph right? Explain how you know, and fix anything that is wrong.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
Her boundary is right: 3(2) − 0 = 6 and 3(0) − (−6) = 6, and the line is solid because the symbol is ≥. Her shading is wrong. Test (0, 0), which is above the line: 3(0) − 0 = 0, and 0 ≥ 6 is false. So the origin is not a solution and the other side should be shaded, below the line. Solving for y shows the same thing: −y ≥ −3x + 6 becomes y ≤ 3x − 6 when both sides are divided by −1.
- Confirms the boundary line and that it should be solid.
- Uses a test point or solves for y to show the shading belongs below the line.
- Mentions that dividing by a negative number reverses the symbol, or gives y ≤ 3x − 6.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Linear inequalities in two variables: practice →