Lemmara logo

Graphing a Single Inequality

Graphing inequalities: the boundary line, solid or dashed, choosing a side with a test point, and three inequalities together to find region R.

7real exam questions on this topic
  • 4 steps
  • 4 min
  • 2 syllabuses

Try a real exam question on this

4MA1/2FR · Jan 2022 · Q24 · 5 marks · Solve it step by step, the way the examiner marks it.

Loading the animated solution…

See the solution as text
Text version of the solution

Find the equation of a line with gradient −3 through (0, 5), then shade and label region R satisfying x ≤ 6, y ≥ 2 and y ≤ x + 1 on a grid.

(a) 2 marks

Write the equation of the straight line having gradient −3 that passes through the point (0, 5).

  1. Gradient is −3, point (0, 5)
  2. Use y = mx + c
  3. m = −3, c = 5 because line passes through (0, 5)
  4. So y = −3x + 5

Answer y = −3x + 5

(b) 3 marks

On the grid, shade and label R, the region where x ≤ 6, y ≥ 2 and y ≤ x + 1 all hold.

  1. Draw vertical line at x = 6
  2. Draw horizontal line at y = 2
  3. Draw line y = x + 1 from x = 1 to x = 6
  4. Identify region where x ≤ 6 (left of x=6)
  5. y ≥ 2 (above y=2)
  6. y ≤ x + 1 (below the line y = x + 1)
  7. Shade the common region
  8. Label shaded region R

Answer Region R is the region satisfying x ≤ 6, y ≥ 2, and y ≤ x + 1, shown by shading on the grid

The lesson, step by step

Step 1 of 4

The Boundary Line

An inequality in x and y is a whole region of the grid. Its edge is a straight line: change the sign to = and draw that line.

Worked example

  1. 1

    — Swap the sign for = to get the edge. Every point on x = 3 has x equal to 3, so it is an upright line through 3 on the x-axis.

  2. 2

    — Same move. Every point on y = −1 is at height −1, so it is a flat line through −1 on the y-axis.

  3. 3

    — Same move again. This edge has x in it, so it slopes. You need two points to draw it.

  4. 4

    — Put an easy x into y = x + 1. With x = 0 you get the point (0, 1).

  5. 5

    — Pick a second x to get a second point, (2, 3). Join the two points with a ruler and carry the line across the grid.

Rule

A solid line for and : the line is included. A dashed line for and : the line is not included.

See this step move in Lemmara

Step 2 of 4

Which Side?

Pick a test point that is not on the line. If it makes the inequality true, its side is the one you want.

Worked example

  1. 1

    — The inequality. Its edge is the line y = x + 1 from the last card.

  2. 2

    — Test (0, 0). It is not on the line, since 0 + 1 is 1, not 0. Put x = 0 and y = 0 in.

  3. 3

    — True. (0, 0) is below the line, so below is the side you want.

  4. 4

    — Check with a point from the other side. (0, 3) is above the line.

  5. 5

    — False, so above is not wanted. This agrees with the first test.

Common mistake

Using a test point on the line, like (1, 2) for . It gives , which is true whichever side you want, so it tells you nothing. Pick a point clearly off the line.

See this step move in Lemmara

Step 3 of 4

Three Inequalities Together

The 3-mark question gives three inequalities. Draw all three lines, then find the part of the grid that obeys every one.

Worked example

  1. 1

    — The question. Take one inequality at a time.

  2. 2

    — Draw x = 3 solid, because ≤ includes the line. Smaller x is to the left, so keep the left side.

  3. 3

    — Draw y = −1 solid, because ≥ includes it. Bigger y is higher up, so keep the side above.

  4. 4

    — Draw y = x + 1 through (0, 1) and (2, 3). The test point (0, 0) gave 0 ≤ 1, true, so keep the side below.

  5. 5

    — The part kept by all three is a triangle. Its corners are where each pair of lines cross.

  6. 6

    — Check a point inside the triangle in every inequality. All three are true, so this triangle is R. Write R inside it.

Key idea

Read the instruction. Some questions say shade the region you want; others say shade the parts you do not want. Either way, write R in the region: the label and each correct line earn marks.

See this step move in Lemmara

Step 4 of 4

Which Method? Read the Question

Draw each line first, then choose each side.

You seeYou do
x ≤ a or x ≥ aupright line x = a
y ≤ b or y ≥ bflat line y = b
y ≤ mx + csloped line, then a test point
Less than, or more thandashed line
Solve 3x + 1 < 7See Linear Inequalities

Key idea

For y, greater than means above the line. For x, greater than means to the right.

See this step move in Lemmara

More real exam questions on this

Solve one in Lemmara and see where every mark goes.

All 7 questions on this topic

Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.

Try a real exam question on this

Solve it →