Learn · Algebra 1

Systems of inequalities and constraints

Graph the overlap region of two linear inequalities, write constraints from a situation, and decide whether an option is viable.

Lesson 2 of 2About 25 minutesMA.912.AR.9.4MA.912.AR.9.6

Written with AI assistance. No teacher has reviewed these lessons and questions yet.

01 · Learn the idea

Two conditions at the same time

A system of linear inequalities is two inequalities that share the same variables. A solution of the system is a point (x, y) that makes both inequalities true. One true and one false is not enough.

Take the system y > x − 2 and y ≤ −x + 4. Try the point (1, 1). The first inequality says 1 > 1 − 2, which is 1 > −1, and that is true. The second says 1 ≤ −1 + 4, which is 1 ≤ 3, also true. So (1, 1) is a solution.

Now try (3, 0). The first inequality says 0 > 3 − 2, which is 0 > 1. That is false, so (3, 0) is not a solution, even though the second inequality, 0 ≤ 1, is true.

A system like this has too many solutions to list, so you graph them. Each inequality shades half of the plane. The solution set of the system is the overlap: the region shaded by both.

The boundary lines follow the usual rule. A dashed line (for < or >) is not part of the solution. A solid line (for ≤ or ≥) is. The point (0, 4) sits on the solid line and is a solution, because 4 > −2 and 4 ≤ 4. The two lines cross at (3, 1), and that point is not a solution, because it sits on the dashed line: 1 > 1 is false.

(1, 1)
  • y = x − 2
  • y = −x + 4
The dashed line y = x − 2 and the solid line y = −x + 4, with the region above the first and below the second shaded. The point (1, 1) is in the overlap.

02 · Build understanding

Worked example: graph a system

Graph the solution set of y < 2x + 3 and y ≥ −2.

Step 1: Draw the first boundary. The line y = 2x + 3 has y-intercept 3 and slope 2. The symbol is <, so points on the line are not solutions. Draw it dashed.

Step 2: Pick the side to shade. Test (0, 0) in y < 2x + 3: 0 < 3 is true, so shade the side that holds (0, 0). That is the region below the line.

Step 3: Draw the second boundary. The inequality y ≥ −2 has no x in it. You can read it as 0x + y ≥ −2, so x has a coefficient of zero and x can be anything. The boundary is the horizontal line y = −2. The symbol is ≥, so draw it solid and shade above it.

Step 4: Find the overlap. The solution set is the region that is below the dashed line and on or above the solid line. The lines meet where 2x + 3 = −2, which gives x = −2.5. The corner (−2.5, −2) is drawn as an open point because it lies on the dashed line.

Step 5: Check with a point from the overlap, such as (1, 0). First inequality: 0 < 2(1) + 3, which is 0 < 5. True. Second: 0 ≥ −2. True. Then check a point outside, such as (−3, 0): 0 < 2(−3) + 3 is 0 < −3, which is false, so the unshaded side is right too.

(1, 0)
  • y = 2x + 3
  • y = −2
The dashed line y = 2x + 3 shaded below and the solid horizontal line y = −2 shaded above. The overlap is a wedge that opens to the right.

03 · Build understanding

Worked example: standard form and a vertical line

Graph the solution set of 3x − y < 6 and x ≤ 2.

Step 1: Solve the first inequality for y so you can see the slope and intercept. Subtract 3x from both sides: −y < −3x + 6.

Step 2: Multiply both sides by −1. Multiplying or dividing an inequality by a negative number reverses the symbol, so you get y > 3x − 6. The boundary y = 3x − 6 is dashed, and you shade above it.

Step 3: Graph x ≤ 2. This time y has a coefficient of zero. The boundary is the vertical line x = 2, drawn solid, and the solutions are on it or to its left.

Step 4: The solution set is the region above the dashed line and on or left of the solid line.

Step 5: Check with (0, 0) in the original system. 3(0) − 0 < 6 is 0 < 6. True. 0 ≤ 2. True. So (0, 0) belongs in the overlap, and it is above y = 3x − 6 because 0 > −6. A point such as (4, 0) fails both: 3(4) − 0 = 12 is not less than 6, and 4 is not at most 2.

(0, 0)
  • y = 3x − 6
  • x = 2
The dashed line y = 3x − 6 shaded above and the solid vertical line x = 2 shaded to the left. The origin is in the overlap.

04 · Build understanding

Worked example: constraints and viable options

A constraint is a limit that a situation puts on the variables. A viable option is a choice that meets every constraint and also makes sense in the situation. A non-viable option breaks at least one of them.

A band club sells small candles for $4 each and large candles for $10 each. The club wants to bring in at least $200. It has only 40 candles to sell. Which sales plans work?

Step 1: Name the variables. Let x be the number of small candles sold and y the number of large candles sold.

Step 2: Write the money constraint. The money brought in is 4x + 10y dollars. "At least $200" means 200 or more, so 4x + 10y ≥ 200.

Step 3: Write the supply constraint. The club sells x + y candles in all. "Only 40" means 40 or fewer, so x + y ≤ 40.

Step 4: Test options. Selling 20 small and 15 large brings in 4(20) + 10(15) = 230 dollars and uses 35 candles. Both constraints hold, so (20, 15) is viable. Selling 30 small and 5 large brings in 4(30) + 10(5) = 170 dollars, which is under $200, so (30, 5) is non-viable. Selling 10 small and 35 large would bring in $390, but that is 45 candles and the club has 40, so (10, 35) is non-viable.

Step 5: Think about what the numbers stand for. The point (12.5, 15) makes both inequalities true: it gives exactly $200 and uses 27.5 candles. Nobody sells half a candle, so it is still non-viable. Here only whole numbers that are 0 or greater make sense.

(20, 15)(30, 5)
  • 4x + 10y = 200
  • x + y = 40
The lines 4x + 10y = 200 and x + y = 40, both solid. The overlap is above the first and below the second. (20, 15) is inside it and (30, 5) is not.

05 · Build understanding

Three mistakes to watch for

Keeping the symbol after dividing by a negative. To solve −2y < 4x − 6 for y you divide by −2, and the symbol must reverse: y > −2x + 3. If you write y < −2x + 3 you shade the wrong side of the line. A test point catches this: (0, 0) makes −2(0) < 4(0) − 6 false, and it also makes 0 > 3 false, so the two forms agree.

Counting a point that passes only one test. In the system y > x − 2 and y ≤ −x + 4, the point (3, 0) makes the second inequality true. It still is not a solution, because 0 > 1 is false. Check every point in both inequalities.

Treating a point on a dashed line as a solution. The point where two boundary lines cross is a solution only when both lines are solid. If either line is dashed, the crossing point is left out.

Apply and explain

Your turn

Dario says the point where the two boundary lines of a system of inequalities cross is always a solution of the system. Use the system y > x − 2 and y ≤ −x + 4 to explain whether he is right.

Use paper or explain your thinking aloud before opening the solution.

Check your reasoning

Dario is wrong. The lines y = x − 2 and y = −x + 4 cross at (3, 1). Putting (3, 1) into the first inequality gives 1 > 1, which is false, because the symbol > leaves out points on that line. A crossing point is a solution only when both inequalities include their boundary lines, with ≤ or ≥.

  • Finds the crossing point (3, 1) or tests a point on the dashed line.
  • Shows that the point fails y > x − 2 because 1 > 1 is false.
  • States that the crossing point counts only when both boundary lines are solid.

Ready to practice?

Try the questions, get feedback, and review your reasoning.

Systems of inequalities and constraints: practice →