Inequalities · Lesson 2 of 2

Inequalities on a graph

Showing an inequality in x and y as a region: the boundary line, solid or dashed, testing a point to choose the side, several inequalities at once, reading inequalities from a graph, and quadratic inequalities.

20 minYou should already know: Linear & simultaneous equations
  1. 1
  2. 2

An inequality in two letters, such as y≤12x+1y \le \frac12x + 1, is satisfied by a whole region of the graph: every point on one side of a straight line.

xy
y ≤ ½x + 1Solid line: points on the line count. Shade below.
xy
y > ½x + 1Dashed line: points on the line don't count. Shade above.

The method

  1. Draw the boundary line: replace the inequality sign with == and plot two or three points.
  2. Solid or dashed? Solid for ≤\le or ≥\ge (the line is included); dashed for << or >> (it isn’t).
  3. Test a point not on the line, usually the origin (0,0)(0, 0). Put its coordinates into the inequality.
  4. Shade: if the test point satisfies the inequality, its side is the region; if not, it’s the other side.

Try it

Regions on a graphSwitch inequalities on and off, and drag the test point
−2−112345678−2−112345678xy
3 ≤ 6 ✓x + y ≤ 62 ≥ 1 ✓x ≥ 11 > 0 ✓y > 0
The test point is (2, 1). Put its coordinates into each inequality: it satisfies all of them, so it is inside the shaded region. A solid boundary line (≤, ≥) is part of the region; a dashed one (<, >) is not.

The region that satisfies all the inequalities is where every one of them is true at once. Drag the test point in and out of the shaded region and watch which inequality fails.

More: regions on a graph

Worked example · WAEC 2017

WAEC 2017 · Paper 2 · Q12 (b)

Using a scale of 2 cm to 1 unit on both axes, draw on a graph sheet the region which satisfies the following inequalities simultaneously: y<x+1y < x + 1; 2y≥−2x+32y \ge -2x + 3; 2x<32x < 3; y+1>0y + 1 > 0.

  1. The boundary lines

    y=x+1y = x + 1 (dashed); 2y=−2x+32y = -2x + 3, that is y=−x+112y = -x + 1\frac12 (solid); 2x=32x = 3, that is x=112x = 1\frac12 (dashed, a vertical line); y+1=0y + 1 = 0, that is y=−1y = -1 (dashed, a horizontal line).

    Think first. Replace each sign with = and tidy up.

  2. Test the origin

    0<0+10 < 0 + 1 ✓ so shade the origin’s side of y=x+1y = x + 1 (below it). 0≥0+30 \ge 0 + 3 ✗ so the region is the side of 2y=−2x+32y = -2x + 3 away from the origin (above it). 0<30 < 3 ✓, to the left of x=112x = 1\frac12. 0+1>00 + 1 > 0 ✓, above y=−1y = -1.

    Think first. Put (0, 0) into each inequality.

  3. The region

    The region is the triangle between y=x+1y = x + 1, y=−x+112y = -x + 1\frac12 and x=112x = 1\frac12, with corners at (14,114)\left(\frac14, 1\frac14\right), (112,212)\left(1\frac12, 2\frac12\right) and (112,0)\left(1\frac12, 0\right). The line y=−1y = -1 lies below the triangle, so it doesn’t cut any of it off.

    Think first. Where do the lines meet?

Reading an inequality from a graph

To go the other way, find the equation of the boundary line, then choose the sign: ≥\ge or >> for the region above the line, ≤\le or << for below, and solid or dashed to decide whether the equals sign is included.

The same idea works with a curve. On the graph of y=x2−2x−3y = x^2 - 2x - 3, "x2−2x−3<0x^2 - 2x - 3 < 0" means "y<0y < 0": the part of the curve below the xx-axis, between the roots. Read the range of xx from the graph.

More: reading an inequality from a graph

Quadratic inequalities without a graph

You don’t need to draw the curve, only picture it. Get 0 on one side, then:

  1. solve the equation to find the roots aa and bb (where the curve crosses the axis);
  2. for a U-shaped curve (positive x2x^2 term), it is below the axis between the roots and above it outside them.
xab< 0 between> 0> 0
Between or outside< 0 between the roots; > 0 outside them

So x2−3x−10>0x^2 - 3x - 10 > 0 becomes (x−5)(x+2)>0(x - 5)(x + 2) > 0, with roots −2-2 and 55. “Greater than 0” is outside: x<−2x < -2 or x>5x > 5. If the x2x^2 term is negative, multiply through by −1-1 first and turn the sign round.

More: quadratic inequalities

Your turn

WAEC 2012 · Paper 2 · Q7 (a)

  1. (a)

    (i) Using a scale of 2 cm to 1 unit on both axes, draw on the same graph sheet the graphs of y−3x4=3y - \frac{3x}{4} = 3 and y+2x=6y + 2x = 6. (ii) From your graph, find the coordinates of the point of intersection of the two graphs. (iii) Show, on the graph sheet, the region satisfied by the inequality y−34x≥3y - \frac34x \ge 3.

    Separate values with commas, e.g. 3, −2

Try it on a graph

The two lines; the shaded region is y − ¾x ≥ 3.

Worked solution (try it first)

(a)(i)

  1. Rearrange each equation for yy: y=34x+3y = \frac34x + 3 and y=6−2xy = 6 - 2x.
  2. Plot points for each.
  3. For y=34x+3y = \frac34x + 3: (−4,0)(-4, 0), (0,3)(0, 3), (4,6)(4, 6).
  4. For y=6−2xy = 6 - 2x: (0,6)(0, 6), (1,4)(1, 4), (3,0)(3, 0).
  5. Join each set with a straight line.

Report a problem with this question

More past questions like this