Graphical method of solving LPP

Once a linear programming problem has been formulated, someone still has to find the actual best values of xx and yy. For two-variable problems, CBSE's chosen tool is the graphical method: sketch every constraint as a straight line, shade the region where all of them hold at once, and read the answer off the corners of that region. The idea rests on one clean fact — a linear objective function never peaks in the middle of a region, only at its edges, and in fact only at its vertices. That single observation, the Corner Point Theorem, turns an infinite search over every point in the feasible region into a short, exact search over a handful of corner points. This article builds the theorem into a repeatable procedure, the Corner Point Method, extends it to the trickier case of an unbounded region, and works through two fully solved examples — one bounded maximisation and one unbounded minimisation — of exactly the kind the syllabus expects.

The core insight

Because the objective function Z=ax+byZ = ax + by is linear, its optimal value over a feasible region always occurs at a corner point, so evaluating ZZ at every vertex (with an extra half-plane check if the region is unbounded) finds the optimum.

The core idea

Why corners, not the interior. A linear function has no curvature — it rises (or falls) steadily in one direction and has no interior hill or valley to peak at. Over a convex region bounded by straight edges, that steady rise must therefore be carried furthest at a vertex, where two edges meet and the region can extend no further in the favourable direction. This is stated formally as the theorem below.

Z=ax+byZ = ax + by

where: x,yx, y are the decision variables, a,ba, b are the fixed cost/profit coefficients from the problem statement, and ZZ is the value of the objective function being maximised or minimised.

Corner Point Theorem. If a linear programming problem has an optimal solution, it occurs at a corner point (vertex) of the feasible region. If two adjacent corners both give the same optimal ZZ-value, then every point on the segment joining them is also optimal, and the LPP has infinitely many optimal solutions.

Corner Point Method — the standard procedure. Graph every constraint as a boundary line, shade the half-plane each inequality permits (test a convenient point such as the origin), and mark the region common to all of them, noting whether it is bounded or unbounded. List every corner point, finding coordinates either by inspection of intercepts or by solving pairs of boundary equations simultaneously. Evaluate Z=ax+byZ = ax + by at each corner. If the region is bounded, the largest and smallest of these values are the maximum and minimum of ZZ — full stop. If the region is unbounded, a candidate optimum needs one further check, given in the derivation below, before it can be trusted.

Figure
A shaded triangular feasible region in the first quadrant bounded by the x axis the y axis and a slanted line with its three corner points marked and labelled with their objective function values
Feasible region and its corner points x y x + y = 4 (0,0) Z = 0 (4,0) Z = 12 (0,4) Z = 16 (max) feasible region

Derivation

Derivation AWhy the maximum on an unbounded region needs an extra check

The goal is to show, using only the geometry of half-planes, why the largest corner-point value found on an unbounded feasible region is merely a candidate maximum, and to state the exact test that confirms or rejects it — this is the single most commonly mis-applied step in Class 12 LPP answers, so it deserves its own justification rather than being taken on faith.

Step 1. Suppose the corner points give a largest value Z=MZ = M at some vertex PP. On a bounded region this settles the matter immediately, because the whole region lies within a finite closed shape and ZZ, being linear, cannot exceed the largest value found on the vertices of that closed shape — no interior or edge point can beat every vertex.

Step 2. An unbounded region has no such finite boundary in every direction; it stretches out indefinitely along at least one direction. So the argument in Step 1 no longer closes off the possibility that ZZ keeps climbing as xx or yy grows without limit somewhere out along that unbounded stretch.

Step 3. The fix is to test the open half-plane ax+by>Max + by > M directly against the feasible region. If this half-plane shares no point at all with the feasible region, then no feasible point can reach a ZZ-value beyond MM, and MM is confirmed as the true maximum. If the half-plane does intersect the feasible region, ZZ can be pushed past MM somewhere out along the unbounded stretch, so MM was never the maximum — indeed the region may have no maximum at all.

Step 4. The same logic runs in reverse for a minimum on an unbounded region: test whether ax+by<max + by < m shares any point with the feasible region for the smallest corner value mm. Both checks reduce to one geometric question — does the region reach past the candidate value in the relevant direction — answered by inspection of the sketch, not by further algebra.

Worked example

Solve graphically: minimise Z=200x+500yZ = 200x + 500y subject to x+2y≥10x + 2y \ge 10, 3x+4y≤243x + 4y \le 24, x≥0x \ge 0, y≥0y \ge 0.

Step 1. Sketch the boundary lines. For x+2y=10x + 2y = 10: intercepts (10,0)(10, 0) and (0,5)(0, 5); testing the origin gives 0≥100 \ge 10, which is false, so the feasible side lies away from the origin. For 3x+4y=243x + 4y = 24: intercepts (8,0)(8, 0) and (0,6)(0, 6); testing the origin gives 0≤240 \le 24, true, so the feasible side includes the origin.

Step 2. Find where the two lines cross. Doubling x+2y=10x + 2y = 10 gives 2x+4y=202x + 4y = 20; subtracting this from 3x+4y=243x + 4y = 24 gives x=4x = 4, and back-substituting gives y=3y = 3. The lines meet at (4,3)(4, 3).

Step 3. List the corner points. Satisfying both inequalities together with x,y≥0x, y \ge 0 gives corners (0,5)(0, 5), (4,3)(4, 3) and (8,0)(8, 0); the region extends outward above the line x+2y=10x + 2y = 10, so it is unbounded.

Step 4. Evaluate Z=200x+500yZ = 200x + 500y at each corner: at (0,5)(0, 5), Z=2500Z = 2500; at (4,3)(4, 3), Z=800+1500=2300Z = 800 + 1500 = 2300; at (8,0)(8, 0), Z=1600Z = 1600. The smallest of these is Z=1600Z = 1600 at (8,0)(8, 0).

Step 5. Since the region is unbounded, apply the open half-plane test from the derivation: check whether 200x+500y<1600200x + 500y < 1600 shares any point with the feasible region. It does not, because the entire feasible region lies on the far side of 3x+4y≤243x + 4y \le 24 from that half-plane, so no feasible point can score below 16001600.

Answer: the minimum value is Z=1600Z = 1600, attained at x=8,y=0x = 8, y = 0.

Common traps

  • Testing only the "obvious" corners. Every vertex of the feasible region must be evaluated — skipping one, especially an intersection found by solving equations rather than reading an intercept, can silently produce the wrong optimum.
  • Skipping the half-plane check on an unbounded region. The largest or smallest corner value there is only a candidate; without the open half-plane test, a maximisation problem in particular can report a false optimum.
  • Misreading intercepts while plotting. A single arithmetic slip in finding where a line crosses the axes shifts the whole feasible region and every corner point that follows.
  • Confusing which corner gives the max versus the min. Tabulate every corner point with its ZZ-value systematically rather than judging the answer visually from the sketch.

Ask the tutor: Want to work through your own LPP constraints step by step, or check whether your feasible region is bounded before you commit to an answer?

Why does the optimal value always occur at a corner point and never somewhere along an edge or inside the region?

The objective function Z=ax+byZ = ax + by is a plane tilted at a constant slope — it has no interior peak or dip of its own, so it can only rise steadily in one direction across the feasible region. Since the region is bounded by straight edges, that steady rise is carried furthest at a vertex, where the boundary can extend no further in the favourable direction; an edge or interior point always has a neighbouring vertex that scores at least as well. The one exception is when two adjacent corners tie for the optimum, in which case the whole edge joining them is optimal too.

How do I decide whether a feasible region is bounded or unbounded just from the constraints?

Sketch the region and look at whether it can be enclosed inside some finite circle. Constraints of the form (something) ≤\le (a number), such as 3x+4y≤243x + 4y \le 24, tend to cap the region on that side, while constraints of the form (something) ≥\ge (a number), such as x+2y≥10x + 2y \ge 10, push the boundary outward and, if not capped by another constraint, let the region stretch away indefinitely. In the worked example, the ≥\ge constraint leaves the region open above the line x+2y=10x + 2y = 10, which is why it is unbounded even though a ≤\le constraint is also present.

If I forget the half-plane check on an unbounded region, could my "maximum" actually be wrong?

Yes, and this is the single most common mark-losing mistake in this topic. On an unbounded region, ZZ may keep climbing without limit as you move outward along the unbounded stretch, in which case the LPP has no maximum at all, even though every corner point gives some finite value. The corner values only tell you about the vertices you can see; the open half-plane test ax+by>Max+by>M is what checks the parts of the region you cannot read off a table. Always run it before declaring a maximum on an unbounded region — minimisation problems are safer, since ZZ is far less often unbounded below when x,y≥0x,y\ge0.

Before this

Where this leads