← 2017 Paper 2

UPSC 2017 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

Using graphical method, find the maximum value of 2x+y2x+y subject to

4x+3y124x+y84xy8x,y0.\begin{aligned}4x+3y&\le 12\\ 4x+y&\le 8\\ 4x-y&\le 8\\ x,y&\ge 0.\end{aligned}

Technique

Graphical LPP — plot half-planes, identify feasible polygon, evaluate the linear objective at each corner (fundamental theorem of LP: optimum at a vertex).

Solution

For a linear objective over a (bounded) convex polygon, the optimum occurs at a vertex (corner point) of the feasible region. We find the feasible polygon, list its vertices, and evaluate Z=2x+yZ=2x+y at each.

Step 1 — Boundary lines

Step 2 — Identify binding constraints near the optimum

The objective Z=2x+yZ=2x+y increases to the upper-right, so the optimum lies on the “north-east” boundary, formed by L1L_1 and L2L_2 (with x,y0x,y\ge0). Note L3:4xy8L_3:\,4x-y\le8 is slack in this region. Find the intersection of L1L_1 and L2L_2:

{4x+3y=124x+y=8  subtract: 2y=4y=2,4x=8y=6x=32.\begin{cases}4x+3y=12\\ 4x+y=8\end{cases}\ \Rightarrow\ \text{subtract: }2y=4\Rightarrow y=2,\quad 4x=8-y=6\Rightarrow x=\tfrac32.

So L1L2=(32,2)L_1\cap L_2=\left(\tfrac32,\,2\right). Check feasibility: 4xy=62=484x-y=6-2=4\le8 ✓ (so L3L_3 is indeed non-binding here).

Step 3 — Corner points of the feasible region

The feasible region (intersection of all half-planes with x,y0x,y\ge0) is the polygon with vertices

O=(0,0),A=(2,0) (on L2,L3, x-axis),B=(32,2) (L1L2),C=(0,4) (on L1, y-axis).O=(0,0),\quad A=(2,0)\ (\text{on }L_2,L_3,\text{ x-axis}),\quad B=\left(\tfrac32,2\right)\ (L_1\cap L_2),\quad C=(0,4)\ (\text{on }L_1,\text{ y-axis}).

(Why these: along the x-axis the tightest bound is x2x\le2 from L2,L3L_2,L_3; the top-right edge is L2L_2 from AA up to BB, then L1L_1 from BB to CC; the left edge is the y-axis up to (0,4)(0,4), since L1L_1 gives the tightest yy-intercept.)

Step 4 — Evaluate Z=2x+yZ=2x+y at the vertices

Vertex(x,y)(x,y)Z=2x+yZ=2x+y
OO(0,0)(0,0)00
AA(2,0)(2,0)44
BB(3/2,2)(3/2,\,2)3+2=53+2=5
CC(0,4)(0,4)44

The maximum is at B=(32,2)B=\left(\tfrac32,2\right):

Answer

  Zmax=5at (x,y)=(32,2).  \boxed{\;Z_{\max}=5\quad\text{at }(x,y)=\left(\tfrac32,\,2\right).\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.