← 2023 Paper 2

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

A person requires 24, 24 and 20 units of chemicals A,BA,B and CC respectively for his garden. Product PP contains 2, 4 and 1 units of chemicals A,BA,B and CC respectively per jar and product QQ contains 2, 1 and 5 units of chemicals A,BA,B and CC respectively per jar. If a jar of PP costs ₹30 and a jar of QQ costs ₹50, then how many jars of each should be purchased in order to minimize the cost and meet the requirements?

Technique

Two-variable LPP, graphical method — enumerate corner-point feasible solutions.

Solution

Formulation. Let x1=x_1= jars of PP, x2=x_2= jars of QQ. Minimize

Z=30x1+50x2Z=30x_1+50x_2

subject to

(A)2x1+2x224        x1+x212,(B)4x1+x224,(C)x1+5x220,x1,x20.\begin{aligned}\text{(A)}&\quad 2x_1+2x_2\ge 24\;\;\Leftrightarrow\;\; x_1+x_2\ge 12,\\ \text{(B)}&\quad 4x_1+x_2\ge 24,\\ \text{(C)}&\quad x_1+5x_2\ge 20,\\ &\quad x_1,x_2\ge 0.\end{aligned}

This is a two-variable LPP — solve graphically by identifying vertices of the feasible region (an unbounded polygon in the first quadrant) and evaluating ZZ at each.

Step 1 — Find candidate vertices (pairwise intersections of boundary lines).

Lines intersectedSolutionAll other constraints?
A ∩ B: x1+x2=12,  4x1+x2=24x_1+x_2=12,\;4x_1+x_2=24(4,8)(4,8)C: 4+40=44204+40=44\ge 20
A ∩ C: x1+x2=12,  x1+5x2=20x_1+x_2=12,\;x_1+5x_2=20(10,2)(10,2)B: 40+2=422440+2=42\ge 24
B ∩ C: 4x1+x2=24,  x1+5x2=204x_1+x_2=24,\;x_1+5x_2=20(100/19,56/19)(100/19,56/19)A: 156/198.21<12156/19\approx 8.21<12
A ∩ axes: (12,0),(0,12)(12,0),(0,12)C and B fail respectively ✗
B ∩ axes: (6,0),(0,24)(6,0),(0,24)(6,0)(6,0): A fails (6<126<12); (0,24)(0,24): A ✓, C: 12020120\ge 20
C ∩ axes: (20,0),(0,4)(20,0),(0,4)(20,0)(20,0): A ✓, B ✓; (0,4)(0,4): A fails

Feasible vertices: (4,8),  (10,2),  (0,24),  (20,0)(4,8),\;(10,2),\;(0,24),\;(20,0).

Step 2 — Evaluate ZZ at each feasible vertex.

VertexZ=30x1+50x2Z=30x_1+50x_2
(4,8)(4,8)120+400=520120+400=520
(10,2)(10,2)300+100=400300+100=\mathbf{400}
(0,24)(0,24)0+1200=12000+1200=1200
(20,0)(20,0)600+0=600600+0=600

Step 3 — Optimal solution.

Minimum is at (x1,x2)=(10,2)(x_1,x_2)=(10,2) with Z=400Z=400.

Answer

  Buy 10 jars of P and 2 jars of Q; minimum cost =400.  \boxed{\;\text{Buy 10 jars of }P\text{ and 2 jars of }Q;\text{ minimum cost }=₹400.\;}
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.