← 2016 Paper 2
UPSC 2016 Maths Optional Paper 2 Q1e — Step-by-Step Solution
10 marks · Section A
Graphical method · Linear Programming · asked 5× in 13 yrs · Read the full method →
Question
Find the maximum value of 5x+2y with constraints x+2y≥1, 2x+y≤1, x≥0 and y≥0 by graphical method.
Technique
Graphical LP — plot half-planes, identify feasible polygon, test each candidate vertex for feasibility, evaluate objective at feasible vertices.
Solution
A two-variable LP is solved graphically: sketch the feasible region (intersection of the half-planes), find its corner points (vertices), and evaluate the objective at each — the optimum of a bounded LP occurs at a vertex.
Step 1 — Boundary lines and feasible region
The constraint boundaries are
L1: x+2y=1,L2: 2x+y=1,x=0,y=0.
- x+2y≥1: the side of L1 away from the origin (origin gives 0≥1, false).
- 2x+y≤1: the side of L2 toward the origin (origin gives 0≤1, true).
- x≥0, y≥0: first quadrant.
Intercepts: L1 meets axes at (1,0) and (0,21); L2 at (21,0) and (0,1).
Step 2 — Corner points of the feasible region
The feasible region is bounded by L1 (below), L2 (above), and the y-axis. Candidate vertices come from intersecting active constraints:
(a) L1∩y-axis (x=0): 2y=1⇒(0,21). Check 2x+y=21≤1 ✓ — feasible.
(b) L2∩y-axis (x=0): y=1⇒(0,1). Check x+2y=2≥1 ✓ — feasible.
(c) L1∩L2: solve x+2y=1, 2x+y=1. Subtract: (x+2y)−(2x+y)=0⇒y−x=0⇒x=y; then 3x=1⇒x=y=31. Point (31,31), both ≥0 ✓ — feasible.
(d) L2∩x-axis (21,0) and L1∩x-axis (1,0): check x+2y≥1 at (21,0): 21≥1 false — infeasible; (1,0) gives 2x+y=2≤1 false — infeasible. So no vertex on the x-axis.
Thus the feasible region is the triangle with vertices
(0,21),(31,31),(0,1).
Step 3 — Evaluate z=5x+2y at the vertices
vertex(0,21)(0,1)(31,31)z=5x+2y0+1=10+2=235+32=37≈2.333
The maximum is at (31,31):
Answer
zmax=37 at (x,y)=(31,31).