Inequalities in two variables · Mathematics Class 9–10 | StemPy Lab
Course 18.1·Lesson 3 of 3
Inequalities in two variables
One line cuts the plane into two sides, and an inequality with two letters picks one side. This lesson belongs to the Extended content. You test a point to find the side, draw solid or broken boundary lines, shade the unwanted region, and write down the inequalities that define a given region.
about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
This lesson is in the Extended content only.
A line cuts the plane in two
The equation x+y=6 is a straight line. The points (1,5), (3,3) and (6,0) lie on it. Now take x+y≤6. The point (1,2) gives 1+2=3, which is less than 6. The point (5,4) gives 9, which is more than 6.
The line splits the plane into two sides. Every point on one side satisfies x+y<6, and every point on the other side satisfies x+y>6. Points on the line itself satisfy x+y=6.
The three drawing rules
Line type. Draw a solid line when the points on the line are allowed (≤ or ≥). Draw a broken line when they are not allowed (< or >).
Find the side. Pick a test point that is not on the line, such as (0,0), and put it into the inequality. If it is true, the point's side is wanted. If it is false, the other side is wanted.
Shade the unwanted region. In this syllabus we shade the part that does not satisfy the inequalities. The wanted region stays clear. A question may tell you to shade the wanted region instead, so read it.
A graph with x from 0 to 9 and y from 0 to 9. The clear region is a triangle with corners at (1, 1), (6, 1) and (3.5, 3.5). The edge along y equals 1 and the edge along x plus y equals 7 are solid lines. The edge along y equals x is a broken line. The unwanted parts of the plane are shaded grey.
The picture shows the region with y≥1, y<x and x+y≤7. Its corners are (1,1), (6,1) and (3.5,3.5). The edge y=x is broken, because the points on it are not allowed. The other two edges are solid.
Writing the inequalities of a region
You are given a region and asked for its inequalities. Take one edge at a time.
Find the equation of the edge. Use two points on it. For the sloping edge through (1,1) and (3,5): the gradient is 3−15−1=2, and the line is y=2x−1.
Choose solid or broken. A solid edge means ≤ or ≥. A broken edge means < or >.
Test a point inside the region. The point (3,2) is inside. For the line y=2x−1, we check 2 against 2×3−1=5. Since 2<5, the region is below the line, so the inequality is y≤2x−1 if the edge is solid.
Do this for every edge. The region is where all the inequalities are true together.
Linear programming, which finds the best point of such a region, is not in this syllabus. The site has a chapter on it in Class 12.
Practise with new numbers
Try it in Python
The program counts the points with whole-number coordinates in the region of the picture. It tests every pair (x,y) against all three inequalities.
Common mistakes
Using a solid line for < or >. The points on a strict edge are not allowed, so the line is broken.
Testing a point on the line. Then the test says nothing. Choose a point that is clearly on one side.
Shading the wrong region. Here we shade the unwanted part. Read what the question asks.
Swapping the sign. If the region is below the line, the inequality is y<… or y≤….
Remember these
Solid for ≤ and ≥. Broken for < and >.
Test a point to find the side of a line.
Shade the unwanted region, unless the question says otherwise.
The region is where all the inequalities are true together.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Does the point (2,3) satisfy y>x+1?
What kind of line do we draw for x+y<5?
For y≤2x−1, the test point (0,0) gives 0≤−1. Which side do we shade?
Find the corners of the region x≥2, y≥0 and x+y≤6.
The clear region lies to the left of the solid line x=3 and above the broken line y=1. Write its inequalities.
References
Cambridge International, IGCSE Mathematics 0580 syllabus (2025, 2026 and 2027), Extended section 2.6, parts 3 and 4, with the conventions for broken lines, solid lines and shading.
Enroll free in Formulas, Inequalities and Regions
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.