← 2024 Paper 2

UPSC 2024 Maths Optional Paper 2 Q3c — Step-by-Step Solution

15 marks · Section A

Duality · Linear Programming · asked 5× in 14 yrs · Read the full method →

Question

Using duality, solve: Minimise z=4x1+3x2+x3\text{Minimise }z=4x_1+3x_2+x_3 subject to x1+2x2+4x3≥12x_1+2x_2+4x_3\ge 12, 3x1+2x2+x3≥83x_1+2x_2+x_3\ge 8, x1,x2,x3≥0x_1,x_2,x_3\ge 0.

Technique

Form the dual (a two-variable max LP); solve graphically; recover primal via complementary slackness.

Solution

Step 1 — Dual formulation

Maximise w=12y1+8y2\text{Maximise }w=12y_1+8y_2

subject to y1+3y2≤4y_1+3y_2\le 4, 2y1+2y2≤32y_1+2y_2\le 3, 4y1+y2≤14y_1+y_2\le 1, y1,y2≥0y_1,y_2\ge 0.

Step 2 — Solve the dual graphically

The third constraint 4y1+y2≤14y_1+y_2\le 1 is the most restrictive. Feasible vertices:

Maximum is w=8w=8 at (y1,y2)=(0,1)(y_1,y_2)=(0,1). By strong duality, zmin⁡=8z_{\min}=8.

Step 3 — Recover primal via complementary slackness

At (y1,y2)=(0,1)(y_1,y_2)=(0,1):

Check primal constraint 1: 0+0+4(8)=32≥120+0+4(8)=32\ge 12 ✓.

Optimal solution

x1=0,  x2=0,  x3=8,  zmin⁡=4(0)+3(0)+1(8)=8.x_1=0,\;x_2=0,\;x_3=8,\;z_{\min}=4(0)+3(0)+1(8)=8.

Answer

  x1=0,  x2=0,  x3=8,  zmin⁡=8.  \boxed{\;x_1=0,\;x_2=0,\;x_3=8,\;z_{\min}=8.\;}
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 — 14 years, mapped. Get the take-away PDF free.