Mathematics Topic

Graphing Inequalities in Two Variables

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. A solution of an inequality in x and y is a point (x, y); all the solutions together fill a region of the plane on one side of a boundary line
  2. Draw the boundary line first (dashed for < and >, solid for ≤ and ≥), then use a test point such as (0, 0) to decide which side is wanted
  3. Exam answers usually shade the unwanted region, so the solution is left clear; with several inequalities the solution is the region that satisfies all of them, and its corners come from solving pairs of boundary equations

Visual notes

Graph of 3x + 2y < 12
A coordinate plane with x from -1 to 6 and y from -1 to 8. A dashed line passes through (4, 0) and (0, 6). The side of the line away from the origin, where 3x + 2y is 12 or more, is shaded as the unwanted region. The clear side contains the origin and is the solution.

3x + 2y < 12 with a dashed boundary through (4, 0) and (0, 6). The shading marks the UNWANTED side (3x + 2y ≥ 12). The clear side, containing the origin, is the solution. Points on the dashed line are not solutions.

Graph of y ≥ 2x - 1
A coordinate plane with x from -2 to 5 and y from -3 to 7. A solid line y = 2x - 1 passes through (0, -1) and (1, 1). The part of the plane below the line is shaded as the unwanted region. The clear part, on and above the line, is the solution.

y ≥ 2x - 1 with a solid boundary through (0, -1) and (1, 1). The shading marks the UNWANTED region below the line. The clear region on and above the line is the solution.

Region for x ≥ 0, y ≥ 0, x + y ≤ 7 and y ≥ x - 1
A coordinate plane from 0 to 8 on both axes. Two solid lines, x + y = 7 and y = x - 1, are drawn. Everything outside the four-sided clear region is shaded as unwanted. The clear region has corners (0, 0), (1, 0), (4, 3) and (0, 7).

Two inequalities plus the two axes. The shading marks the UNWANTED part of the plane; the clear four-sided region is where all four inequalities hold. Its corners are (0, 0), (1, 0), (4, 3) and (0, 7).

Section 1What a solution looks like

An inequality such as y > 2x - 1 has two variables, so one solution is a pair of values, which is a point (x, y) on the plane. The point (3, 8) is a solution because 8 > 2 × 3 - 1 = 5 is true. The point (3, 2) is not, because 2 > 5 is false. There are infinitely many solutions, and together they fill a whole region of the plane. The graph of the inequality is a picture of that region.

Section 2Step 1: the boundary line

Replace the inequality symbol by = and draw that straight line. Find two points on it: the easiest are the intercepts, found by putting x = 0 and then y = 0. For 3x + 2y = 12 the intercepts are (4, 0) and (0, 6). The line splits the plane into two sides. Draw it solid if the symbol is ≤ or ≥, because points on the line are solutions. Draw it dashed if the symbol is < or >, because points on the line are not solutions. For a single-variable boundary, x = 4 is a vertical line and y = 4 is a horizontal line.

Section 3Step 2: choose the side with a test point

Pick one point that is not on the line and put its coordinates into the ORIGINAL inequality. If the statement is true, the side containing the point is the wanted side. If it is false, the other side is wanted. The origin (0, 0) is the easiest test point, but only when the line does not pass through it. Check with 3x + 2y < 12: at (0, 0) we get 0 < 12, which is true, so the side with the origin is wanted. When the inequality is written as y > mx + c or y < mx + c, the wanted side is above the line for > and below the line for <.

Section 4Step 3: shade the unwanted region

In CSEC graph questions you are usually told to shade the unwanted region, so that the solution is left clear and easy to see. The diagrams in this topic follow that rule: the shading marks the side that is NOT a solution. Always read the instruction in the question, because some questions ask you to shade the wanted region instead. Either way, label your lines, say whether each boundary is solid or dashed, and mark the answer region clearly.

Section 5Rearranging and the negative rule

To compare with the 'above or below' idea, make y the subject. For 2x - y > 4, subtract 2x from both sides to get -y > -2x + 4, then divide by -1. Dividing or multiplying an inequality by a negative number reverses the sign, so y < 2x - 4. The region is below the line, not above. A test point gives the same answer without any rearranging: (0, 0) gives 0 > 4, which is false, so the origin side is NOT wanted, and the wanted side is the one below the line y = 2x - 4.

Section 6Several inequalities at once

When two or more inequalities must all be true, the solution is the part of the plane that is wanted for every one of them. Draw all the boundary lines on one set of axes and shade the unwanted region for each, so that only the common region stays clear. Often the inequalities x ≥ 0 and y ≥ 0 are included, which keep the region inside the first quadrant. The corners of the clear region are the points where two boundary lines cross; find them by solving the two boundary equations together. For x + y = 7 and y = x - 1: substitute to get x + x - 1 = 7, so x = 4 and y = 3. A corner that lies on a solid line belongs to the region.

Examples

Draw the graph of 3x + 2y < 12, shading the unwanted region. Then decide which of A(1, 2), B(3, 2) and C(2, 3) are solutions.

Boundary: 3x + 2y = 12. When x = 0, 2y = 12 and y = 6. When y = 0, 3x = 12 and x = 4. The line passes through (0, 6) and (4, 0). The symbol is <, so draw the line dashed. Test point (0, 0): 3 × 0 + 2 × 0 = 0, and 0 < 12 is true, so the origin side is wanted. Shade the other side (the unwanted region), as in the first diagram. Points: A(1, 2) gives 3 + 4 = 7 and 7 < 12 is true, so A is a solution. B(3, 2) gives 9 + 4 = 13 and 13 < 12 is false, so B is not. C(2, 3) gives 6 + 6 = 12, and 12 < 12 is false: C lies on the dashed line, so it is not a solution.

A region is defined by x ≥ 0, y ≥ 0, x + y ≤ 7 and y ≥ x - 1. Find the corners of the region and decide whether P(2, 2) and Q(5, 2) lie in it.

Draw the lines x = 0, y = 0, x + y = 7 and y = x - 1; all four symbols include equality, so all lines are solid. Test the origin in x + y ≤ 7: 0 ≤ 7 is true, so keep the origin side. For y ≥ x - 1: 0 ≥ -1 is true, so keep the origin side as well. Corners: x = 0 and y = 0 meet at (0, 0). y = 0 and y = x - 1 meet where 0 = x - 1, so x = 1, giving (1, 0). x = 0 and x + y = 7 meet at (0, 7). x + y = 7 and y = x - 1 meet where x + (x - 1) = 7, so 2x = 8, x = 4 and y = 3, giving (4, 3). The corners are (0, 0), (1, 0), (4, 3) and (0, 7). Check (4, 3): 4 + 3 = 7 and 3 = 4 - 1, so it is on both lines. P(2, 2): 2 + 2 = 4 ≤ 7 is true and 2 ≥ 2 - 1 = 1 is true, so P is in the region. Q(5, 2): 5 + 2 = 7 ≤ 7 is true, but 2 ≥ 5 - 1 = 4 is false, so Q is outside the region.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from