CSEC Mathematics · relations, functions and graphs
Graphs of Linear Inequalities in Two Variables
1. Boundary Lines: Solid or Broken
A linear equation such as y=2x+1 forms a straight line that divides the Cartesian plane into two halves. A linear inequality describes all the points on one side of that line.
To graph an inequality, we first draw its boundary line by temporarily replacing the inequality symbol with an equals sign (=):
- Broken (dashed) line: Use this for strict inequalities (< or >). The points lying directly on the line are not part of the solution.
- Solid line: Use this for inclusive inequalities (⩽ or ⩾). The points on the boundary line are included in the solution.
To draw any boundary line, find two points where it crosses the axes: the y-intercept (set x=0) and the x-intercept (set y=0).
Worked example
State the equation of the boundary line for 3x+4y<12, state whether the line should be solid or broken, and find the coordinates where the line crosses the x-axis and y-axis.
- Replace the inequality symbol with an equals sign to find the boundary equation: 3x+4y=12.
- Because the inequality uses <, the points on the line are not included, so draw a broken (dashed) line.
- Find the y-intercept by substituting x=0: 3(0)+4y=12⟹4y=12⟹y=3. This gives (0,3).
- Find the x-intercept by substituting y=0: 3x+4(0)=12⟹3x=12⟹x=4. This gives (4,0).
Answer: Boundary line: 3x+4y=12 (broken line); intercepts: (0,3) and (4,0).
Quick check
Which boundary line and line style should be used to represent the inequality 2x−5y⩾10?
2. Testing Points to Shade the Correct Region
Once the boundary line is drawn, it splits the plane into two regions. To determine which side satisfies the inequality, choose a test point that does not lie on the line:
- Substitute the coordinates of the test point into the original inequality.
- If the inequality is true, the test point lies in the solution region. Shade that side of the line.
- If the inequality is false, shade the opposite side of the line.
The origin (0,0) is almost always the easiest test point to use, provided the boundary line does not pass directly through (0,0). If the line does pass through the origin, pick a simple alternative point like (1,0) or (0,1).
Worked example
Represent the inequality x+2y⩽6 on a graph by drawing the boundary line and shading the required region.
- The boundary line is x+2y=6. Because the inequality is ⩽, draw a solid line.
- Find two points: when x=0, y=3; when y=0, x=6. Plot (0,3) and (6,0) and join them with a solid line.
- Test the origin (0,0): 0+2(0)=0⩽6. This statement is true.
- Since (0,0) makes the inequality true, shade the region containing (0,0) (the side below and to the left of the line).
Answer: Draw the solid line x+2y=6 through (0,3) and (6,0), then shade the region containing the origin (0,0).
Quick check
A student tests the point (0,0) to see if it satisfies 3x−y>6. Does (0,0) lie in the solution region?
3. Writing Inequalities and Graphing Systems
In CSEC exam questions, you are often given real-life situations and asked to write inequalities and find a common region satisfying all of them.
Look for key phrases:
- "at most" or "cannot exceed" means ⩽
- "at least" or "a minimum of" means ⩾
- "greater than" or "more than" means >
- "less than" means <
In practical problems (items bought, cakes baked, hours worked), quantities cannot be negative. This gives the non-negativity conditions: x⩾0 and y⩾0, which restrict the solution to the first quadrant.
When multiple inequalities are graphed together, the solution is the overlapping feasible region where every single inequality is satisfied at the same time.
Worked example
Devon bakes coconut bakes (x) and banana breads (y).
(a) He bakes at least 2 banana breads. Write an inequality for this.
(b) The total number of bakes and breads cannot exceed 8. Write an inequality for this.
(c) Graph the region R satisfying x⩾0, y⩾2, and x+y⩽8.
- For (a): 'at least 2' banana breads (y) means y⩾2.
- For (b): the total (x+y) 'cannot exceed 8' means x+y⩽8.
- Draw x⩾0: this is the region on and to the right of the y-axis.
- Draw y=2 as a solid horizontal line; shade above it for y⩾2.
- Draw x+y=8 as a solid line through (0,8) and (8,0); shade below it since 0+0⩽8 is true.
- The overlapping region is a triangle with vertices at (0,2), (0,8), and (6,2).
Answer: (a) y⩾2 (b) x+y⩽8 (c) Region R is the triangular region bounded by x=0, y=2, and x+y=8.
Quick check
Farmer Jack sells sweet potatoes (x bags) and eddoes (y bags). He must sell at least 3 bags of eddoes, and the number of bags of sweet potatoes must be greater than or equal to the number of bags of eddoes. Which pair of inequalities represents this?
Common mistakes
- Drawing a solid line instead of a broken line for strict inequalities (< or >). Remember: solid means the boundary points count; broken means they do not.
- Testing (0,0) when the line passes through the origin. For equations like y=2x, testing (0,0) gives 0=0, which gives no information. Choose a point clearly off the line, such as (1,0) or (0,1).
- Mixing up 'at least' and 'at most'. 'At least' means ⩾ (greater than or equal to); 'at most' means ⩽ (less than or equal to).
In the exam
- Always write out your test-point working clearly. CSEC examiners award method marks for showing the substitution of a coordinate to justify which side is shaded.
- Label every boundary line with its equation (e.g. x+y=8) and label the final solution region with the letter asked in the question (commonly R).
- Read the shading instructions carefully: standard graphing questions ask you to shade the solution, but some linear programming questions ask you to shade the unwanted region to leave the feasible region clean.
Key terms
- boundary line
- The straight line ax+by=c that separates the Cartesian plane into two half-planes.
- strict inequality
- An inequality using < or > where points lying directly on the boundary line are not included in the solution.
- non-negativity constraint
- The conditions x⩾0 and y⩾0, which ensure quantities cannot be negative in real-world contexts.
- feasible region
- The common region of the graph where all inequalities in a system are satisfied simultaneously.
Practice
Easier to harder. Use paper for your working.
Practice 1
A minibus driver charges 5foranadultticketand3 for a child ticket. He needs to collect at least 150onatrip.Ifxisthenumberofadultsandy$ is the number of children, write an inequality to represent this information.
Practice 2
A region R is defined by x⩾0, y⩾0, and 2x+3y⩽18. What is the maximum possible value of x for any point (x,y) in region R?
Practice 3
The region R satisfies x⩾0, y⩾0, x+y⩽6, and y⩽x. Which of the following points lies INSIDE the shaded region R?
Now try real past-paper questions
3 Paper 2 questions on this topic. Quelpr marks your working point by point, like an examiner.
- CSEC Mathematics · 2021 · Paper 2 · Q8 8(a)(ii) · 1 markMarla buys 2 types of mobile phones, B-Flo and C-Flex, from a company to retail. One B-Flo mobile phone costs 60whileoneC−Flexcosts80. She buys x number of B-Flo phones…
- Mathematics Q8 8(b)(ii) · 2 marksMr Thomas makes x bottles of juice and y cakes each day. The cost to make a bottle of juice is 3.50andacakeis5.25. Each day, he uses…
- Mathematics Q4 4(b)(ii) · 2 marksOn the same grid, shade the region which satisfies the FOUR inequalities x ≥ 0, y ≥ 0, x + y ≤ 10 and x ≥ y.
Finished the lesson?
0 of 6 checks right on this device.
Read more
- Collins - Concise Revision Course for CSEC Mathematics, pp. 362, 363
- CXC Study Guide - Mathematics for CSEC, pp. 126, 127
- CSEC Maths Study Guide - Maths Crash Course, p. 196