Knaph

Systems of Equations and Inequalities35 of 1002 min read

Graphing Linear Inequalities

The equation y=2x−1y = 2x - 1 draws a line. What does y>2x−1y > 2x - 1 draw, and which side of the line do you color?

A line splits the plane in two

A pair (x,y)(x, y) is a solution if it makes y>2x−1y > 2x - 1 true. Endless pairs work, and they fill one side of a line, a half-plane.

Start with the boundary line: change the sign to equals and draw y=2x−1y = 2x - 1. Draw it dashed for >> and <<, because points on the line are not answers, and solid for ≥≥ and ≤≤.

A graph with a dashed line y equals 2x minus 1 and the half-plane above it shaded blue. A green dot at the origin lies above the line inside the shading. A second dot at the point 2, 0 lies below the line and is not shaded.

Which side? Try a point

Pick a test point off the line, often (0,0)(0, 0). Put it in: 0>2(0)−10 > 2(0) - 1 says 0>−10 > -1, which is true. So you shade the side that holds (0,0)(0, 0).

The line is at y=−1y = -1 when x=0x = 0, so the origin is above it, in the shading. But (2,0)(2, 0) gives 0>30 > 3, false, so that side stays blank. Rule: y>mx+by > mx + b shades above, y<mx+by < mx + b below.

Other forms

For 2x+3y≤122x + 3y ≤ 12 the intercepts are (6,0)(6, 0) and (0,4)(0, 4). Draw a solid line through them. The test point (0,0)(0, 0) gives 0≤120 ≤ 12, true, so shade the origin's side.

Dividing by a negative flips the sign. Your turn: 3x−y≥33x - y ≥ 3. Subtract 3x3x: −y≥−3x+3-y ≥ -3x + 3. Divide by −1-1 and flip: y≤3x−3y ≤ 3x - 3. Answer: a solid line, shaded below.

A graph with a solid line through the points 6, 0 and 0, 4 for 2x plus 3y at most 12. The side with the origin is shaded blue, and the origin is marked as a test point.

Careful

A test point on the line tells you nothing. Choose one clearly on a side, and pick another if the line passes through (0,0)(0, 0).

Try it at home

  1. Draw the line y=xy = x on graph paper, then the inequality y>xy > x.
  2. Pick a test point on each side and put it in the inequality.
  3. Shade the side that works, and draw the line dashed.

Words in this lesson

  • half-plane - all the points on one side of a line.
  • boundary line - the line between the points that work and those that do not.
  • test point - a point not on the line, put into the inequality to decide which side to shade.

Big idea

The solutions of a two-letter inequality fill a half-plane. Draw the boundary line (dashed or solid), test a point, and shade the side that is true.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.