Skip to content
SPM Tuition
Mathematics · Linear inequalities in two variables

Choosing the shaded side with a test point

Your line is right, but you are never sure which side to shade.

Pick a point not on the line, put its coordinates into the inequality, and see if the statement is true. If it is, shade the side with that point. If not, shade the other side.

This lesson is part of linear inequalities in two variables. Draw the boundary first, as in drawing an inequality boundary correctly.

How does the test point work?

Take x + 2y ≤ 6, where the line x + 2y = 6 is solid. Use (0, 0): 0 + 0 = 0, and 0 ≤ 6 is true. So shade the side of the line that contains the origin.

For 3x + 2y ≥ 12, use (0, 0): 0 ≥ 12 is false. So shade the side that does not contain the origin.

Worked example: when the rule breaks

An original inequality: x − y ≤ 3. The boundary is x − y = 3, through (0, −3) and (3, 0), and it is solid.

Some students shade “below” because of the ≤ sign. Test (0, 0): 0 − 0 = 0, and 0 ≤ 3 is true, so shade the side with the origin. The origin is above the line, so the region is above.

Rewrite to confirm: −y ≤ 3 − x gives y ≥ x − 3, which means above the line. The negative sign on y reversed the direction.

A line through the origin

Take y ≥ 2x. The line y = 2x passes through (0, 0), so the origin cannot be used. Test (1, 0): 0 ≥ 2 is false.

So shade the side that does not contain (1, 0). The point (1, 0) lies below the line, so the region is above and to the left.

The mistake that costs marks

The usual slip is testing a point that lies on the line. For 2x + y ≤ 8, the point (4, 0) gives 8 ≤ 8, which is true on the line and tells you nothing about the sides. Always choose a point clearly off the line.

The other slip is testing correctly but shading the wrong side, for instance shading away from (0, 0) although the test was true. Write “true, so shade the side with (0, 0)” next to the graph before you shade.

A self-check question

Shade the region for 3x + 2y ≥ 12 using a test point. Then decide whether (5, 2) is in the region.

Answer

The line 3x + 2y = 12 is solid, through (0, 6) and (4, 0). Test (0, 0): 0 ≥ 12 is false, so shade the side away from the origin. Check (5, 2): 15 + 4 = 19, and 19 ≥ 12 is true, so (5, 2) is in the region.

Continue with finding a region satisfying several inequalities, where each line gets its own test. The algebra step repair trainer gives extra substitution drills.

If shading still feels like a guess, SPM Mathematics one-to-one tuition lets a teacher watch your test-point step in real time.

Common questions

Why not just remember that less than means below the line?

That rule works only when the y term is positive and alone. When the y coefficient is negative or the inequality is written with x and y on the same side, the rule reverses. A test point is always correct.

Which test point should I use?

Use (0, 0) whenever the line does not pass through it, because the substitution is easy. If the line passes through the origin, pick a point such as (1, 0) or (0, 1) that is clearly off the line.

What do I do with the answer true or false?

If the test point makes the inequality true, shade the side of the line that contains it. If false, shade the other side.

Does the test point need to be in the final region?

No. It only tells you which side of one line to shade. Later regions combine several lines.

If shading is where your graph marks go, one-to-one Mathematics lessons let a teacher watch your test-point step on your own questions and fix the habit of shading by rule.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.