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.
- 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 textText 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).
- Gradient is −3, point (0, 5)
- Use y = mx + c
- m = −3, c = 5 because line passes through (0, 5)
- 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.
- Draw vertical line at x = 6
- Draw horizontal line at y = 2
- Draw line y = x + 1 from x = 1 to x = 6
- Identify region where x ≤ 6 (left of x=6)
- y ≥ 2 (above y=2)
- y ≤ x + 1 (below the line y = x + 1)
- Shade the common region
- 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
— 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
— Same move. Every point on y = −1 is at height −1, so it is a flat line through −1 on the y-axis.
- 3
— Same move again. This edge has x in it, so it slopes. You need two points to draw it.
- 4
— Put an easy x into y = x + 1. With x = 0 you get the point (0, 1).
- 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.
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
— The inequality. Its edge is the line y = x + 1 from the last card.
- 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
— True. (0, 0) is below the line, so below is the side you want.
- 4
— Check with a point from the other side. (0, 3) is above the line.
- 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.
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
— The question. Take one inequality at a time.
- 2
— Draw x = 3 solid, because ≤ includes the line. Smaller x is to the left, so keep the left side.
- 3
— Draw y = −1 solid, because ≥ includes it. Bigger y is higher up, so keep the side above.
- 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
— The part kept by all three is a triangle. Its corners are where each pair of lines cross.
- 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.
Step 4 of 4
Which Method? Read the Question
Draw each line first, then choose each side.
| You see | You do |
| x ≤ a or x ≥ a | upright line x = a |
| y ≤ b or y ≥ b | flat line y = b |
| y ≤ mx + c | sloped line, then a test point |
| Less than, or more than | dashed line |
| Solve 3x + 1 < 7 | See Linear Inequalities |
Key idea
For y, greater than means above the line. For x, greater than means to the right.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0580/12May/Jun 2025 · Q193 marksFind a prime P lying strictly between 13 and 19, and state the inequality shown on a number line running from −3 to 8.Solve it →
- 0580/41Oct/Nov 2024 · Q712 marksGiven inequalities for daily production of x scientific and y graphic calculators, complete statements, derive a cost inequality, graph region R, and find the maximum daily profit.Solve it →
- 4MA1/2HRJan 2022 · Q75 marksWrite a line's equation from its gradient −3 and point (0, 5), then shade the region where x ≤ 6, y ≥ 2 and y ≤ x + 1.Solve it →
- 0580/21Oct/Nov 2020 · Q112 marksA rectangle has symmetry line x = 2 and two vertices at (−1, 1) and (−1, 4). Find a, b, c and d in its shading inequalities.Solve it →
- 4MA1/2FRNov 2020 · Q243 marksOn a grid spanning x from −5 to 6 and y from −4 to 7, shade and label R for the area meeting x ≤ 4, y ≥ −2 and y ≤ x.Solve it →
- 4MA1/2HRNov 2020 · Q113 marksOn a grid, shade the region where x ≤ 4, y ≥ −2 and y ≤ x, and label it R.Solve it →
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.