Inequalities and Regions on Graphs

On this page

How to shade the region that satisfies several inequalities, and how to write down the inequalities that define a shaded region.

Key ideas

x=2 is a vertical line. x\geq2 is the region to its right.

y=1 is a horizontal line. y<1 is the region below it. The line is dashed: points on it are not included.

With y on its own, y\geq2x-1 is the region above the line y=2x-1, and y\leq2x-1 is below it.

To draw 4x+3y=12, put x=0, then y=0. The line crosses the axes at (0,4) and (3,0).

  • Draw a solid line for \leq or \geq, and a dashed line for < or >.
  • Not sure which side? Test a point not on the line, such as (0,0). If it makes the inequality true, the region is on its side.
  • The region is where every inequality is true at once. Check a point in it against each one.
  • A point on a solid line can be in the region: (3,2) satisfies 2x+y\leq8, because 6+2=8.

Edexcel's mark schemes accept solid or dashed lines for all the marks. What counts is each line in the right place and the right region shaded.

Worked example 1: Shading a region

On the grid, shade the region that satisfies all of these inequalities.

x\leq4\qquad y\geq-3\qquad y\leq x+1

Label the region R.

  1. Draw each boundary line by changing the sign to =. x=4 is vertical and y=-3 is horizontal. y=x+1 goes through (0,1) and (2,3). Every sign is \leq or \geq, so every line is solid.
  2. Choose each side. x\leq4: left of x=4. y\geq-3: above y=-3. y\leq x+1: below y=x+1. Check with (0,0): 0\leq0+1 is true, and (0,0) is below the line.
  3. Shade the triangle where all three overlap, and label it R.
  4. x=4 is vertical. Drawing it as the horizontal line y=4 is a slip the examiners report often.

Now try this

On the grid, shade the region that satisfies all of these inequalities.

x\geq-1\qquad y\leq5\qquad y\geq2x-1

Label the region R.

R is a triangle. Write down the coordinates of the corner of R that is furthest to the right.

  1. R is right of x=-1, below y=5 and above y=2x-1, which goes through (0,-1) and (3,5).
  2. The corner furthest to the right is where y=5 meets y=2x-1: 2x-1=5so x=3. It is (3,5).

More like this: practice questions

Worked example 2: Lines not in the form y = mx + c, and dashed lines

On the grid, show by shading the region that satisfies all of these inequalities.

2y>x+2\qquad y>6-2x\qquad x<4

Label the region R.

  1. 2y=x+2: put x=0so y=1. Put x=4so y=3. Draw the line through (0,1) and (4,3).
  2. y=6-2x goes through (0,6) and (3,0). x=4 is vertical. Every sign is < or >, so every line is dashed.
  3. Test (0,0). 2\times0>0+2 is false, so R is on the other side of 2y=x+2: above it. 0>6-2\times0 is false, so R is above y=6-2x too. x<4: left of x=4.
  4. R is open at the top. The triangle the three lines enclose is not R: its points are below 2y=x+2. Shading that triangle is the commonest wrong answer.

Now try this

On the grid, show by shading the region that satisfies all of these inequalities.

x+2y<2\qquad y+9<2x\qquad x<6

Label the region R.

R has two corners. Write down the coordinates of the higher one.

  1. x+2y=2 goes through (0,1) and (2,0). y+9=2x is y=2x-9, through (3,-3) and (5,1).
  2. Test (0,0). 0<2 is true, so R is below x+2y=2. 0+9<0 is false, so R is on the side of y=2x-9 away from (0,0): below it. R is left of x=6.
  3. The sloping lines meet where x+2(2x-9)=2: 5x=20so x=4so y=-1. The other corner, on x=6, is (6,-2).

More like this: practice questions

Worked example 3: An inequality that does not change the region

(a) On the grid, show by shading the region that satisfies all of these inequalities.

x>1\qquad y>0\qquad x+y<7\qquad y<2x+5

Label the region R.

(b) One of the inequalities can be removed without changing R. Which inequality can be removed?

  1. (a) Draw the dashed lines x=1, y=0 (the x-axis), x+y=7 through (0,7) and (7,0), and y=2x+5 through (0,5) and (1,7).
  2. R is right of x=1, above the x-axis and below x+y=7: the triangle with corners (1,0), (7,0) and (1,6). Every point of it is also below y=2x+5.
  3. (b) y<2x+5. Its line meets x=1 at (1,7), above the triangle, so it never touches R. Each of the other three lines is an edge of R, so none of them can go.

Now try this

The region R satisfies all of these inequalities.

x\leq4\qquad y\geq-3\qquad y\leq x+2\qquad x+y\geq2

One of the inequalities can be removed without changing R. Which inequality can be removed?

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. The other three lines enclose the triangle with corners (0,2), (4,6) and (4,-2).
  2. The lowest point of R is (4,-2), so every point of R already has y\geq-3. The line y=-3 does not touch R: y\geq-3 can be removed.

More like this: practice questions

Worked example 4: Writing the inequalities for a shaded region

Write down the three inequalities that define the shaded region.

  1. The vertical line is x=-1. The region is to its right: x\geq-1.
  2. The horizontal line is y=4. The region is below it: y\leq4.
  3. The sloping line goes through (0,0) and (2,4): gradient 4\div2=2, crossing the y-axis at 0. It is y=2x. The region is above it: y\geq2x.
  4. The lines are solid, so each sign is \leq or \geq. Decide each sign from its own line: they are not all the same.
  5. Check with (0,2), inside the region: 0\geq-1, 2\leq4 and 2\geq0 are all true.

Now try this

The shaded region is defined by three inequalities.

Write down the inequality given by the sloping line.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. The sloping line goes through (-3,0) and (0,3): gradient 3\div3=1, crossing the y-axis at 3. It is y=x+3.
  2. The region is below the line: y\leq x+3. The other two inequalities are y\geq-2 and x\leq2.

More like this: practice questions

Worked example 5: Four lines, one with a negative gradient

The shaded region is bounded by four straight lines.

Find the four inequalities that define the shaded region.

  1. The vertical line is x=3, with the region to its left: x\leq3. The horizontal line is y=-1, with the region above it: y\geq-1.
  2. The steep line goes through (-2,1) and (0,5): gradient 4\div2=2, crossing the y-axis at 5. The region is below it: y\leq2x+5.
  3. The other sloping line goes through (0,3) and (3,2). It goes down 1 for every 3 across, so its gradient is -\frac13 and it is y=-\frac13x+3. The region is below it: y\leq-\frac13x+3.
  4. A line going down from left to right has a negative gradient. This is the line examiners see wrong most often.
  5. Check with (0,0): 0\leq3, 0\geq-1, 0\leq5 and 0\leq3 are all true.

Now try this

The shaded region is bounded by four straight lines.

Write down the inequality given by the line with a negative gradient.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. The line goes through (0,3) and (4,0): down 3 for every 4 across, so its gradient is -\frac34. It is y=-\frac34x+3.
  2. The region is below the line: y\leq-\frac34x+3, which is the same as 3x+4y\leq12.

More like this: practice questions

Practice questions