Skip to main content
ExamExplained
SA · General Mathematics
General Mathematics study scene
§-Syllabus dot point
SAGeneral MathematicsSyllabus dot point

How do we find the best decision when several linear constraints limit our choices?

Formulate linear programming problems with constraints and an objective function, identify the feasible region, and find the optimal solution at a vertex.

How to set up constraints and an objective function, graph and shade the feasible region, and use the corner-point principle to maximise or minimise the objective.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Setting up the problem
  3. Graphing the feasible region
  4. Why the optimum is always at a vertex
  5. Finding the vertices
  6. Interpreting the solution
  7. Integer solutions
  8. Minimisation problems

What this dot point is asking

You must translate a worded problem into inequalities and an objective function, graph the feasible region, and find the vertex that optimises the objective.

Setting up the problem

Define decision variables (often xx and yy for the number of each product). Then write:

  • Constraints: linear inequalities from limits on resources (time, material, demand), plus x≥0x \ge 0 and y≥0y \ge 0.
  • Objective function: the quantity to maximise or minimise, such as P=5x+8yP = 5x + 8y.

Graphing the feasible region

For each inequality, graph the boundary line (replace the inequality with ==), then shade the side that satisfies it. The feasible region is where all shadings overlap.

Why the optimum is always at a vertex

The objective function P=ax+byP = ax + by has straight, parallel level lines - one for each value of PP. Increasing PP slides this line across the plane in a fixed direction. As it sweeps over the feasible region, the last point it touches before leaving is always a corner (or, in a tie, an entire edge). This is why you never need to test interior points: the extreme value of a linear objective over a polygon is reached at a vertex. Understanding this corner-point principle, rather than just applying it, is what examiners look for when they ask you to justify your method.

Finding the vertices

Each vertex is the intersection of two boundary lines, found by solving the corresponding pair of equations simultaneously. Some vertices lie on the axes (where x=0x = 0 or y=0y = 0) and are read off directly; the crucial interior vertex is where two sloping constraints cross, which you must solve for. List every vertex of the feasible region, evaluate the objective at each, and the best value is your answer. Missing the interior intersection is the most common way to get a wrong optimum.

Interpreting the solution

The optimal vertex gives the best combination. Always state the answer in context: how many of each item and the resulting objective value. Check the solution uses whole numbers if the items are indivisible.

Integer solutions

Many linear-programming contexts involve indivisible items - you cannot make 6.46.4 tables. When the optimal vertex has non-integer coordinates, the true answer is the best integer point inside the feasible region near that vertex, found by testing the nearby whole-number combinations that still satisfy every constraint. SACE problems are usually designed so the optimum lands on integers, but you should always confirm the solution is feasible and sensible in context, rounding toward the interior of the region rather than blindly to the nearest integer, which might violate a constraint.

Minimisation problems

Not every objective is a profit to maximise; some are costs to minimise. The method is identical - graph the feasible region and test the vertices - but you choose the corner giving the smallest objective value rather than the largest. For minimisation the feasible region is often unbounded above (for example, "use at least this much of each ingredient"), and the optimum sits at the lowest-cost corner of the bounded part. Reading whether the question asks to maximise or minimise, and selecting the corresponding vertex, is essential.

Exam-style practice questions

Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SACE 20235 marksCalculator-assumed. A workshop makes tables (xx) and chairs (yy). Each table needs 4 hours and each chair 2 hours, with 40 hours available, so 4x+2y≤404x + 2y \le 40. Wood limits total items to x+y≤14x + y \le 14. Profit is P=30x+20yP = 30x + 20y dollars. With x,y≥0x, y \ge 0, find the production that maximises profit and state the maximum profit.
Show worked answer →

Find the feasible-region vertices. The constraint lines 4x+2y=404x + 2y = 40 and x+y=14x + y = 14 meet where, substituting y=14−xy = 14 - x, 4x+2(14−x)=404x + 2(14 - x) = 40, giving 2x=122x = 12, so x=6x = 6, y=8y = 8.

The vertices are (0,0)(0, 0), (10,0)(10, 0), (6,8)(6, 8) and (0,14)(0, 14). Test P=30x+20yP = 30x + 20y:
(0,0):0(0,0): 0; (10,0):300(10,0): 300; (6,8):340(6,8): 340; (0,14):280(0,14): 280.

The maximum profit is 340 dollars, making 6 tables and 8 chairs.

Marks: one for both constraints, two for the vertices including the intersection, one for testing the corners, one for the optimal answer in context.

SACE 20224 marksCalculator-assumed. A grower plants apple trees (xx) and pear trees (yy). Land allows x+y≤100x + y \le 100 and labour allows 2x+y≤1602x + y \le 160. Each apple tree yields 50 dollars profit and each pear tree 40 dollars, so P=50x+40yP = 50x + 40y. Find the planting that maximises profit, with x,y≥0x, y \ge 0.
Show worked answer →

The lines x+y=100x + y = 100 and 2x+y=1602x + y = 160 meet where subtracting gives x=60x = 60, then y=40y = 40.

Vertices: (0,0)(0, 0), (80,0)(80, 0), (60,40)(60, 40), (0,100)(0, 100). Test P=50x+40yP = 50x + 40y:
(0,0):0(0,0): 0; (80,0):4000(80,0): 4000; (60,40):3000+1600=4600(60,40): 3000 + 1600 = 4600; (0,100):4000(0,100): 4000.

The maximum profit is 4600 dollars, planting 60 apple trees and 40 pear trees.

Marks: one for the constraints, one for the intersection vertex, one for testing corners, one for the answer.

ExamExplained