PYQ Vault

HSC Maths · Linear Programming

Solving an L.P.P. by the Graphical Method

Finding the maximum or minimum of the objective function by drawing the feasible region, listing its corner points and comparing the value of z at each corner: the corner-point method.

Why this matters

43 questions, twelve of them from board papers, the most of any page: the board set one in every year from 2016 to 2026 except 2021, and two in each of 2025 and 2026. Six ask for a maximum (2017, 2019, 2020, 2024, 2025 twice) and five for a minimum (2016, 2018, 2022, 2026 twice); the 2023 question is an MCQ that gives the corner points. The textbook rows are Exercise 7.4, its four solved examples and Parts I and II of the Miscellaneous Exercise.

Concept 1 of 4: Feasible region, optimal solution and the corner-point theorem

The feasible region holds every point that obeys all the constraints, and the textbook's theorem says the best value of zz is always reached at a vertex. So out of infinitely many feasible points, only the few corners need testing.

Definition

  • The textbook solves an L.P.P. by the graphical method only; it names the other method, the simplex method, but does not teach it.
  • Theorem 1: the set of all feasible solutions of an L.P.P. is a convex set.
  • Theorem 2 (convex polygon theorem): the objective function attains its optimum value (maximum or minimum) at least at one vertex of the convex polygon.
  • Both theorems are stated without proof; quote them, do not prove them.
  • The optimum is decided by the values of zz, not by where a corner sits: it need not be the vertex farthest from the origin.
TermWhat the textbook says
Solution of an L.P.P.A set of values of the decision variables which satisfies the conditions of the problem
Feasible solutionA solution which satisfies the given constraints
Feasible regionThe common region determined by all the constraints of the L.P.P.Q
The Miscellaneous Exercise asks this as an MCQ: the feasible region satisfies ALL of the given constraints, not some of them.
Optimal feasible solutionA feasible solution which maximizes or minimizes the objective function as required
Corner-point theoremThe optimum value of the objective function occurs at least at one vertex of the feasible regionQ
In a written answer, one line such as 'by the corner-point theorem, z is optimum at a vertex' justifies the table of corner values.
Practise this conceptself-check · 2 quick reps

The same idea in a textbook question:

Balbharati textbook · Misc I (7)Easy

Example 1 · Linear Programming · Graphical Solution of a Linear Programming Problem

Of all the points of the feasible region, the optimal value of zz obtained at the point lies _______.

Choosing the vertex farthest from the origin

Distance from the origin decides nothing. Work out zz at every vertex; the largest value of zz gives the maximum, wherever that vertex is.

Testing the centre of the region

The optimum of a linear objective is never found by testing an inside point. The theorem sends you to the vertices.

Concept 2 of 4: Corner-point method: the maximum

With '≤' constraints the feasible region is a closed polygon around the origin. Find its corners, put each into zz, and the largest value is the maximum. A corner where two slanting lines meet often wins, so never skip it.

Definition

  • Step 1: convert every inequation into an equation and draw the lines from their intercepts.
  • Step 2: decide each side by the origin test; the common region is the feasible region. Shade it.
  • Step 3: find its vertices: the origin, the nearer intercept on each axis, and the meeting point of each pair of slanting lines, found by solving the two equations together. Check each in the other constraints.
  • Step 4: make a table of zz at every vertex.
  • Step 5: the largest value is the maximum. State it with the point: 'z is maximum at x = ..., y = ...'.

Corner-point method for a maximum

zmax⁡=max⁡{ z(O), z(A), z(B), z(C), …}  over the vertices of the feasible regionz_{\max} = \max\{\,z(O),\ z(A),\ z(B),\ z(C),\ \ldots\} \ \text{ over the vertices of the feasible region}

Worked example

Solve graphically: Maximize z=2x+5yz = 2x + 5y subject to x+y≤6x + y \le 6, x+3y≤12x + 3y \le 12, x≥0x \ge 0, y≥0y \ge 0.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2025 · Q. 30Moderate

Example 2 · Linear Programming · Graphical Solution of a Linear Programming Problem

Solve the following L.P.P. using graphical method : Maximize, z=9x+13yz = 9x + 13y Subject to, 2x+3y≤182x + 3y \leq 18, 2x+y≤102x + y \leq 10 x≥0,y≥0x \geq 0, y \geq 0

Stopping at the first good corner

Two corners can be very close in value (21 against 20 in the worked example above). Work out zz at every vertex before you choose.

Keeping the far intercept

With '≤' constraints, an intercept on an axis is a corner only if it satisfies the other constraints, which is usually the nearer one. A far intercept left in the table can give a false maximum.

A table but no graph

'Solve by graphical method' asks for the feasible region drawn, shaded and with its corners labelled. The table of zz alone is not the graphical method.

Concept 3 of 4: The minimum, and regions that are not closed

With '≥' constraints (requirements) the origin fails every test, so the feasible region lies away from the origin and runs on without end. The minimum is still at a corner; the corners are where the lines meet the axes and each other.

Definition

  • For a '≥\ge' constraint the origin test fails, so its region is the non-origin side of the line.
  • Then the feasible region is unbounded: it is not a closed polygon.
  • On each axis the corner is the intercept that satisfies the other constraints, usually the farther one.
  • Put every corner into zz; the smallest value is the minimum.
  • On an unbounded region, check the answer: draw the line z=z = (least corner value). If the whole feasible region lies on its non-origin side, the minimum is accepted.
  • A region can also mix '≤\le' and '≥\ge' constraints and be bounded; then find the minimum exactly as you find a maximum.

Corner-point method for a minimum

zmin⁡=min⁡{ z(A), z(B), z(C), …}  over the vertices of the feasible regionz_{\min} = \min\{\,z(A),\ z(B),\ z(C),\ \ldots\} \ \text{ over the vertices of the feasible region}

Worked example

Solve graphically: Minimize z=3x+2yz = 3x + 2y subject to x+y≥5x + y \ge 5, 3x+y≥93x + y \ge 9, x≥0x \ge 0, y≥0y \ge 0.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2026 · Q. 30Moderate

Example 3 · Linear Programming · Graphical Solution of a Linear Programming Problem

Solve the L.P.P. graphically : Minimize : z=5x+2yz = 5x + 2y, Subject to, 5x+y≥105x + y \geq 10, x+y≥6x + y \geq 6, x≥0x \geq 0, y≥0y \geq 0

Taking the nearer intercept for '≥'

With '≥' constraints, the corner on an axis is the intercept that satisfies the other constraint, usually the farther one. Test both intercepts before writing a corner.

Putting the origin in the table

The origin fails every '≥' constraint, so it is not a corner of such a region. A minimum of 0 at the origin is a sign the region was drawn on the wrong side.

Concept 4 of 4: Special cases: infinitely many optimal solutions and no finite maximum

Two things can happen that a plain table does not show. If two corners give the same best value, the line of zz lies along an edge, and every point of that edge is optimal. If the region is unbounded and zz is to be maximized, the line of zz can be pushed away forever, so there is no finite maximum.

Definition

  • Infinitely many optimal solutions: if two distinct corners give the same maximum (or minimum) value, zz has that value at every point of the segment joining them. Say so in the answer.
  • So if an L.P.P. has two optimal solutions, it has an infinite number of them.
  • No finite maximum: if the feasible region in the first quadrant is unbounded and z=ax+byz = ax + by has positive aa and bb, the line z=cz = c can be moved away from the origin indefinitely, so zz has no finite maximum value in the region.
  • If a question asks to maximize over a region with only '≥\ge' constraints, show the region is unbounded and write that zz has no finite maximum.

Two optimal corners

z(A)=z(B)=zopt ⇒ z=zopt at every point of the segment ABz(A) = z(B) = z_{\text{opt}} \ \Rightarrow\ z = z_{\text{opt}} \text{ at every point of the segment } AB

Worked example

Solve graphically: Maximize z=4x+6yz = 4x + 6y subject to 2x+3y≤122x + 3y \le 12, x≤3x \le 3, x≥0x \ge 0, y≥0y \ge 0.
Practise this conceptself-check · 2 quick reps

The same idea in a textbook question:

Balbharati textbook · Misc II Q.5 iii)Moderate

Example 4 · Linear Programming · Graphical Solution of a Linear Programming Problem

Solve each of the following L.P.P.
Maximize z=6x+10yz = 6x + 10y subject to 3x+5y≤103x + 5y \le 10, 5x+3y≤155x + 3y \le 15, x≥0x \ge 0, y≥0y \ge 0

Giving one point when two corners tie

When two corners give the same best value, write 'at every point of the segment joining them'. Naming only one corner leaves the answer incomplete.

A maximum from the table on an unbounded region

On an unbounded region the largest value in the corner table is not a maximum: zz grows without limit. Decide first whether the region is closed.

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 (3)

  • Corner-point method: the maximum

    Corner-point method for a maximum

    zmax⁡=max⁡{ z(O), z(A), z(B), z(C), …}  over the vertices of the feasible regionz_{\max} = \max\{\,z(O),\ z(A),\ z(B),\ z(C),\ \ldots\} \ \text{ over the vertices of the feasible region}
  • The minimum, and regions that are not closed

    Corner-point method for a minimum

    zmin⁡=min⁡{ z(A), z(B), z(C), …}  over the vertices of the feasible regionz_{\min} = \min\{\,z(A),\ z(B),\ z(C),\ \ldots\} \ \text{ over the vertices of the feasible region}
  • Special cases: infinitely many optimal solutions and no finite maximum

    Two optimal corners

    z(A)=z(B)=zopt ⇒ z=zopt at every point of the segment ABz(A) = z(B) = z_{\text{opt}} \ \Rightarrow\ z = z_{\text{opt}} \text{ at every point of the segment } AB

Reference tables (1)

Feasible region, optimal solution and the corner-point theorem5 rows
TermWhat the textbook says
Solution of an L.P.P.A set of values of the decision variables which satisfies the conditions of the problem
Feasible solutionA solution which satisfies the given constraints
Feasible regionThe common region determined by all the constraints of the L.P.P.Q
The Miscellaneous Exercise asks this as an MCQ: the feasible region satisfies ALL of the given constraints, not some of them.
Optimal feasible solutionA feasible solution which maximizes or minimizes the objective function as required
Corner-point theoremThe optimum value of the objective function occurs at least at one vertex of the feasible regionQ
In a written answer, one line such as 'by the corner-point theorem, z is optimum at a vertex' justifies the table of corner values.

Watch out for (9)

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.