HSC Maths · Linear Programming
Linear Inequations in Two Variables
Showing the solution set of a linear inequation, or of a system of them, as a region of the XY plane: draw the boundary line, use a test point to pick the side, and take the region common to all of them.
Why this matters
57 questions, one of them from a board paper: in 2023 the board asked for four inequations to be solved graphically and the corner points of the feasible region written down, a problem taken straight from Exercise 7.2. The textbook rows are Exercises 7.1 and 7.2, their solved examples and Parts I and II of the Miscellaneous Exercise: single inequations, pairs of inequations, and systems with x ≥ 0 and y ≥ 0, some of them built from word problems. Every later page draws its feasible region this way.
Concept 1 of 4: Lines parallel to the axes: x ≤ h and y ≥ k
Definition
- Simplify to one of , , , . Dividing both sides by a negative number reverses the sign.
- is a line parallel to the Y-axis; is a line parallel to the X-axis.
- is the region on and to the left of ; is on and to the right.
- is the region on and below ; is on and above.
- is the Y-axis and everything to its right; is the X-axis and everything above it. Together, and give the first quadrant.
- With or , the boundary line belongs to the solution set.
Half planes of lines parallel to the axes
- the point where the vertical line x = h cuts the X-axis
- the point where the horizontal line y = k cuts the Y-axis
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a textbook question:
Example 1 · Linear Programming · Linear Inequations in Two Variables
Not reversing the sign
Shading the wrong side of a vertical line
Concept 2 of 4: One inequation ax + by ≤ c: the test point
Definition
- Step 1: change the sign to and draw the line through its two intercepts: put for the point on the X-axis, for the point on the Y-axis.
- Step 2: test the origin. If satisfies the inequation, the region is the origin side of the line; if not, it is the non-origin side.
- Step 3: shade that half plane. With or the line itself is part of the solution set.
- If the line passes through the origin (), the origin cannot be the test point. Take another point not on the line, such as or .
- The line can also be drawn from its double intercept form: dividing by 6 gives , so the intercepts are 2 and 3.
Intercepts and the origin test
- the coefficients of x and y, not both zero
- the constant on the right-hand side
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a textbook question:
Example 2 · Linear Programming · Linear Inequations in Two Variables
Testing the origin on a line through it
Writing 'above' or 'below' the line
Concept 3 of 4: Two inequations: the common region
Definition
- Draw both boundary lines from their intercepts.
- Decide the side of each line by its own test point; one region may be the origin side and the other the non-origin side.
- The solution set is the region common to both half planes.
- Find where the lines meet by solving their two equations together; that point is a corner of the common region.
- Without and the region can stretch into other quadrants, and it is usually unbounded.
- The textbook sets out each line in a table: the equation, two points on it, the sign, and the side on which the region lies.
Solution set of a pair of inequations
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a textbook question:
Example 3 · Linear Programming · Linear Inequations in Two Variables
Shading each region and stopping
One test for both lines
Concept 4 of 4: Feasible solution of a system with x ≥ 0, y ≥ 0
Definition
- and are the non-negativity constraints; they keep the region in the first quadrant.
- A solution which satisfies all the constraints is a feasible solution. The common region of all the inequations is the feasible region.
- Corners on the axes: an intercept is a corner only if it satisfies every other inequation.
- Corners inside the quadrant: solve two boundary equations together, then check the point in the rest.
- A set is convex if the segment joining any two of its points lies wholly in the set. A feasible region is always convex.
- In a word problem, let and be the numbers of the two items, turn each limit into an inequation, add , , then draw.
Corner of the feasible region
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 4 · Linear Programming · Linear Inequations in Two Variables
Keeping an intercept that breaks another inequation
Leaving out x ≥ 0, y ≥ 0 in a word problem
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (4)
- Lines parallel to the axes: x ≤ h and y ≥ k
Half planes of lines parallel to the axes
- One inequation ax + by ≤ c: the test point
Intercepts and the origin test
- Two inequations: the common region
Solution set of a pair of inequations
- Feasible solution of a system with x ≥ 0, y ≥ 0
Corner of the feasible region
Watch out for (8)
- Not reversing the sign→ Lines parallel to the axes: x ≤ h and y ≥ k
- Shading the wrong side of a vertical line→ Lines parallel to the axes: x ≤ h and y ≥ k
- Testing the origin on a line through it→ One inequation ax + by ≤ c: the test point
- Writing 'above' or 'below' the line→ One inequation ax + by ≤ c: the test point
- Shading each region and stopping→ Two inequations: the common region
- One test for both lines→ Two inequations: the common region
- Keeping an intercept that breaks another inequation→ Feasible solution of a system with x ≥ 0, y ≥ 0
- Leaving out x ≥ 0, y ≥ 0 in a word problem→ Feasible solution of a system with x ≥ 0, y ≥ 0
Test yourself on Linear Programming
10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.