← 2021 Paper 2

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

Convert into dual:

Min Z=x1−3x2−2x3\text{Min } Z=x_1-3x_2-2x_3

subject to

3x1−x2+2x3≤7,2x1−4x2≥12,−4x1+3x2+8x3=10,3x_1-x_2+2x_3\le 7,\quad 2x_1-4x_2\ge 12,\quad -4x_1+3x_2+8x_3=10,

x1,x2≥0x_1,x_2\ge 0, x3x_3 unrestricted.

Technique

Apply primal-dual conversion rules; track sign restrictions based on Min/Max and ≤/≥/=\le/\ge/= direction.

Solution

Step 1 — Convert to standard primal form (Min with ≥\ge constraints)

For minimisation, the standard dual form uses ≥\ge constraints.

Convert:

Better approach: use the direct rules for primal–dual:

Primal (Min)Dual (Max)
variable xj≥0x_j\ge 0constraint ≤cj\le c_j
variable xjx_j unrestrictedconstraint =cj=c_j
constraint ≥bi\ge b_ivariable yi≥0y_i\ge 0
constraint ≤bi\le b_ivariable yi≤0y_i\le 0
constraint =bi=b_ivariable yiy_i unrestricted

Step 2 — Apply rules

Primal (Min):

Primal variables:

Step 3 — Build dual

Dual: Maximize W=7y1+12y2+10y3W=7y_1+12y_2+10y_3

subject to:

with y1≤0y_1\le 0, y2≥0y_2\ge 0, y3y_3 unrestricted.

Answer

  Dual: Max W=7y1+12y2+10y3,  y1≤0,  y2≥0,  y3 unrestricted; 3 constraints as above.  \boxed{\;\text{Dual: Max }W=7y_1+12y_2+10y_3,\;y_1\le 0,\;y_2\ge 0,\;y_3\text{ unrestricted; 3 constraints as above.}\;}
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.