Math Lab
Home/Class XII/Ch 12/The corner-point method

The corner-point method

The fundamental theorem of linear programming states: if a linear function attains its maximum (or minimum) on a bounded convex polygon, the optimum occurs at a corner point (or possibly along an entire edge, if the objective is parallel to it). This reduces the search for an optimum from an infinite region to a finite set of vertices.

The corner-point theorem (intuition)

A linear function Z=ax+byZ = ax + by has level lines (curves of constant ZZ) that are straight lines parallel to ax+by=0ax + by = 0. As ZZ varies, the level lines sweep across the plane. On a polygon, the level line eventually leaves through a vertex , the optimum sits at that vertex.

If the level line happens to be parallel to an edge of the polygon, the entire edge gives the same value of ZZ. Then there are infinitely many optima (all on that edge), and the two endpoints (corners) are among them.

The algorithm

  1. Identify and list all corner points of the feasible region.
  2. Compute Z=ax+byZ = ax + by at each corner.
  3. Choose the largest (for maximisation) or smallest (for minimisation) value of ZZ.
  4. The corresponding corner is the optimal (x,y)(x, y).

If the feasible region is unbounded and the objective is to maximise (or minimise), check whether the maximum (or minimum) actually exists by examining the objective at infinity:

  • For maximisation: if the feasible region extends in a direction where ZZ grows without bound, no maximum exists.
  • For minimisation: similar check on the other end.

A useful rule of thumb: for an unbounded feasible region defined by \ge constraints, the minimum (typically the smallest value of ZZ) is finite and attained at a corner; the maximum is usually infinite. The opposite for \le constraints.

Worked examples

Example 1. Maximise Z=5x+4yZ = 5x + 4y subject to x+y4x + y \le 4, 2x+y62x + y \le 6, x,y0x, y \ge 0.

Corners (from earlier analysis): (0,0),(3,0),(2,2),(0,4)(0, 0), (3, 0), (2, 2), (0, 4).

Values:

  • (0,0)(0, 0): Z=0Z = 0.
  • (3,0)(3, 0): Z=15Z = 15.
  • (2,2)(2, 2): Z=10+8=18Z = 10 + 8 = 18.
  • (0,4)(0, 4): Z=16Z = 16.

Maximum: Z=18Z = 18 at (2,2)(2, 2).

Example 2. Minimise Z=3x+5yZ = 3x + 5y subject to x+3y3x + 3y \ge 3, x+y2x + y \ge 2, x,y0x, y \ge 0.

Lines: x+3y=3x + 3y = 3 at (3,0),(0,1)(3, 0), (0, 1); x+y=2x + y = 2 at (2,0),(0,2)(2, 0), (0, 2).

Region is above both lines. Corners:

  • (3,0)(3, 0) (on first line; check second: 3+023 + 0 \ge 2, yes).
  • (0,2)(0, 2) (on second line; check first: 0+630 + 6 \ge 3, yes).
  • Intersection of two lines: x+3y=3,x+y=22y=1,y=1/2,x=3/2x + 3y = 3, x + y = 2 \Rightarrow 2y = 1, y = 1/2, x = 3/2.

Values: (3,0)(3, 0): 99. (0,2)(0, 2): 1010. (3/2,1/2)(3/2, 1/2): 9/2+5/2=79/2 + 5/2 = 7.

Region is unbounded toward upper-right. Minimum is Z=7Z = 7 at (3/2,1/2)(3/2, 1/2). (Max doesn't exist , ZZ grows without bound.)

Example 3. Maximise Z=3x+2yZ = 3x + 2y subject to x+2y10x + 2y \le 10, 3x+y153x + y \le 15, x,y0x, y \ge 0.

Corners: (0,0),(5,0),(0,5)(0, 0), (5, 0), (0, 5), and intersection of x+2y=10,3x+y=15x + 2y = 10, 3x + y = 15: solve 3x+y=15,x+2y=103x + y = 15, x + 2y = 10. From first: y=153xy = 15 - 3x. Substitute: x+306x=10x + 30 - 6x = 10, so 5x=20,x=4,y=35x = 20, x = 4, y = 3.

Values: (0,0):0(0,0): 0; (5,0):15(5, 0): 15; (4,3):18(4, 3): 18; (0,5):10(0, 5): 10.

Maximum Z=18Z = 18 at (4,3)(4, 3).

Example 4. Minimise Z=3x+5yZ = 3x + 5y subject to 2x+y4-2x + y \le 4, x+y3x + y \ge 3, x2y2x - 2y \le 2, x,y0x, y \ge 0.

The constraint 2x+y4-2x + y \le 4 is y2x+4y \le 2x + 4 , region below this line. The constraint x+y3x + y \ge 3 , region above this line. The constraint x2y2x - 2y \le 2 , region above the line y=(x2)/2y = (x - 2)/2, which crosses xx-axis at (2,0)(2, 0), yy-axis at (0,1)(0, -1) (outside first quadrant).

Sketch: in first quadrant, constraints intersect. Corners are at intersections:

  • x+y=3,x=0x + y = 3, x = 0: (0,3)(0, 3). Check others: 0+3=34-0 + 3 = 3 \le 4 ✓; 06=620 - 6 = -6 \le 2 ✓.
  • x+y=3,y=0x + y = 3, y = 0: (3,0)(3, 0). 6+04-6 + 0 \le 4 ✓; 30=3>23 - 0 = 3 > 2 ✗. Excluded.
  • x2y=2,y=0x - 2y = 2, y = 0: (2,0)(2, 0). 4+04-4 + 0 \le 4 ✓; 2+0=22 + 0 = 2 not 3\ge 3 ✗. Excluded.
  • x+y=3,x2y=2x + y = 3, x - 2y = 2: solve: from first x=3yx = 3 - y, sub: 3y2y=23 - y - 2y = 2, y=1/3y = 1/3, x=8/3x = 8/3. Check: 16/3+1/3=54-16/3 + 1/3 = -5 \le 4 ✓.
  • 2x+y=4,x=0-2x + y = 4, x = 0: (0,4)(0, 4). Check: 0+4=430 + 4 = 4 \ge 3 ✓; 08=820 - 8 = -8 \le 2 ✓.

(More corners on unbounded boundaries... but for minimisation typically the relevant corners are toward the lower-left.)

At (0,3)(0, 3): Z=15Z = 15. At (8/3,1/3)(8/3, 1/3): Z=8+5/39.67Z = 8 + 5/3 \approx 9.67. At (0,4)(0, 4): Z=20Z = 20.

Minimum at (8/3,1/3)(8/3, 1/3): Z=29/3Z = 29/3.

Example 5. Maximise Z=x+yZ = x + y subject to 2x+3y62x + 3y \le 6, x+4y4x + 4y \le 4, x,y0x, y \ge 0.

Lines: 2x+3y=62x + 3y = 6 at (3,0),(0,2)(3, 0), (0, 2). x+4y=4x + 4y = 4 at (4,0),(0,1)(4, 0), (0, 1). Region is bounded.

Corners:

  • (0,0)(0, 0): Z=0Z = 0.
  • (3,0)(3, 0) , but check 343 \le 4, yes (from x+4y4x + 4y \le 4, with y=0y = 0 gives x4x \le 4). Valid. Z=3Z = 3.
  • (0,1)(0, 1) , on x+4y=4x + 4y = 4, y=1y = 1. Check 2(0)+3(1)62(0) + 3(1) \le 6, yes. Valid. Z=1Z = 1.
  • Intersection of 2x+3y=62x + 3y = 6 and x+4y=4x + 4y = 4: from second x=44yx = 4 - 4y, sub: 88y+3y=68 - 8y + 3y = 6, so 5y=2-5y = -2, y=2/5y = 2/5, x=48/5=12/5x = 4 - 8/5 = 12/5. Valid. Z=12/5+2/5=14/5Z = 12/5 + 2/5 = 14/5.

Best of {0,3,1,14/5}\{0, 3, 1, 14/5\} is 33 at (3,0)(3, 0).

Example 6. A diet problem. Minimise Z=4x+3yZ = 4x + 3y subject to 2x+y82x + y \ge 8, x+2y10x + 2y \ge 10, x,y0x, y \ge 0.

Lines 2x+y=82x + y = 8 at (4,0),(0,8)(4, 0), (0, 8); x+2y=10x + 2y = 10 at (10,0),(0,5)(10, 0), (0, 5). Region is above both, unbounded.

Corners: (0,8)(0, 8) on first axis (x=0x = 0), check 0+16100 + 16 \ge 10 ✓; (10,0)(10, 0), check 20+0820 + 0 \ge 8 ✓; intersection of 2x+y=82x + y = 8 and x+2y=10x + 2y = 10: solve: multiply first by 2: 4x+2y=164x + 2y = 16, subtract second: 3x=63x = 6, x=2x = 2, y=4y = 4.

Values: (0,8)(0, 8): 2424; (10,0)(10, 0): 4040; (2,4)(2, 4): 8+12=208 + 12 = 20. Minimum is 2020 at (2,4)(2, 4).

Try it yourself

  1. Maximise Z=4x+3yZ = 4x + 3y subject to 3x+4y243x + 4y \le 24, 8x+6y488x + 6y \le 48, x5x \le 5, y6y \le 6, x,y0x, y \ge 0.
  2. Minimise Z=4x+5yZ = 4x + 5y subject to x+2y8x + 2y \ge 8, 2x+y102x + y \ge 10, x,y0x, y \ge 0.
  3. Maximise Z=5x+8yZ = 5x + 8y subject to 3x+2y603x + 2y \le 60, x+y25x + y \le 25, x,y0x, y \ge 0.
  4. Minimise Z=6x+3yZ = 6x + 3y subject to 4x+y804x + y \ge 80, x+5y115x + 5y \ge 115, 3x+2y1503x + 2y \le 150, x,y0x, y \ge 0.
  5. Maximise Z=2x+3yZ = 2x + 3y subject to x+2y8x + 2y \le 8, 4x+3y124x + 3y \le 12, x,y0x, y \ge 0.
  6. Minimise Z=3x+4yZ = 3x + 4y subject to x+y5x + y \ge 5, x+2y6x + 2y \ge 6, x,y0x, y \ge 0.
  7. Maximise Z=7x+8yZ = 7x + 8y subject to x+2y16x + 2y \le 16, 3x+y243x + y \le 24, x,y0x, y \ge 0.
  8. Minimise Z=2x+yZ = 2x + y subject to 4x+y44x + y \ge 4, 2x+3y62x + 3y \ge 6, x+y2x + y \ge 2, x,y0x, y \ge 0.
  9. Maximise Z=9x+12yZ = 9x + 12y subject to x+y50x + y \le 50, 2x+y802x + y \le 80, x,y0x, y \ge 0.
  10. Minimise Z=50x+70yZ = 50x + 70y subject to 2x+y82x + y \ge 8, x+2y10x + 2y \ge 10, x,y0x, y \ge 0.
  11. Maximise Z=x+yZ = x + y subject to the constraints in Try-it-yourself #8 above.
  12. Minimise Z=3x+9yZ = 3x + 9y subject to x+3y60x + 3y \le 60, x+y10x + y \ge 10, xyx \le y, x,y0x, y \ge 0.
  13. Maximise Z=60x+40yZ = 60x + 40y subject to 5x+6y455x + 6y \le 45, 3x+2y183x + 2y \le 18, x,y0x, y \ge 0.
  14. A unique-edge case: Z=x+2yZ = x + 2y subject to x+2y10x + 2y \le 10, x,y0x, y \ge 0. (Predict the answer.)

Pitfalls and tricks

  • Compute ZZ carefully at each corner , arithmetic mistakes cost marks.
  • Check feasibility of each candidate corner. Not every intersection of two constraint lines lies in the feasible region.
  • For unbounded regions, check whether the optimum exists. Plot the gradient of ZZ (the direction of fastest increase) and see if the feasible region extends in that direction.
  • Equal ZZ at two adjacent corners means infinitely many optima along the edge connecting them. Mention this in your answer.
  • Round only at the end , keep exact fractions throughout to avoid drift.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Corner-point method
6 questions · pick the best answer
Q1

To use the corner-point method

Q2

If ZZ is the same at two adjacent corners

Q3

Maximum of ZZ on unbounded region

Q4

Evaluation order at corners doesn't matter, but

Q5

Z=2x+3yZ = 2x + 3y at corner (4,5)(4, 5) is

Q6

Origin is always a corner if