← 2013 Paper 2

UPSC 2013 Maths Optional Paper 2 Q1e — Step-by-Step Solution

10 marks · Section A

Simplex method (basic) · Linear Programming · asked 9× in 13 yrs · Read the full method →

Question

Maximize z=2x1+3x25x3z=2x_1+3x_2-5x_3 subject to x1+x2+x3=7x_1+x_2+x_3=7 and 2x15x2+x3102x_1-5x_2+x_3\ge 10, xi0x_i\ge 0.

Technique

Eliminate the equality constraint to reduce dimension; graphical 2-variable analysis of the reduced LPP.

Solution

Strategy. The equality constraint reduces dimensionality by 1. Eliminate x3x_3, reducing to a 2-variable LPP that can be solved graphically.

Step 1 — Eliminate x3x_3

From x1+x2+x3=7x_1+x_2+x_3=7: x3=7x1x2x_3=7-x_1-x_2. Non-negativity x30x_3\ge 0 gives the new constraint

x1+x27.(C1)x_1+x_2\le 7. \tag{C1}

Substitute into the objective:

z=2x1+3x25(7x1x2)=7x1+8x235.z=2x_1+3x_2-5(7-x_1-x_2)=7x_1+8x_2-35.

So maximise z=7x1+8x2z'=7x_1+8x_2 (and report z=z35z=z'-35 at the end).

Step 2 — Reduce the inequality

2x15x2+x3102x_1-5x_2+x_3\ge 10 with x3=7x1x2x_3=7-x_1-x_2:

2x15x2+7x1x210    x16x23,  i.e.  x13+6x2.(C2)2x_1-5x_2+7-x_1-x_2\ge 10\;\Longrightarrow\;x_1-6x_2\ge 3,\;\text{i.e.}\;x_1\ge 3+6x_2. \tag{C2}

Step 3 — Reduced 2-variable LPP

Maximise z=7x1+8x2z'=7x_1+8x_2 subject to:

Combining (C1) and (C2): 3+6x2x17x23+6x_2\le x_1\le 7-x_2, so

3+6x27x2    7x24    x247.3+6x_2\le 7-x_2\;\Longrightarrow\;7x_2\le 4\;\Longrightarrow\;x_2\le\tfrac{4}{7}.

Range of x2x_2: [0,4/7][0,\,4/7].

Step 4 — Maximise zz' over the feasible region

For each fixed x2x_2, z=7x1+8x2z'=7x_1+8x_2 is increasing in x1x_1, so the optimum at fixed x2x_2 is on the upper boundary x1=7x2x_1=7-x_2:

z(x2)=7(7x2)+8x2=49+x2.z'(x_2)=7(7-x_2)+8x_2=49+x_2.

This is maximised at x2=4/7x_2=4/7 (the upper end of the feasible x2x_2 range):

zmax=49+4/7=343+47=3477.z'_{\max}=49+4/7=\tfrac{343+4}{7}=\tfrac{347}{7}.

Therefore zmax=zmax35=34772457=1027z_{\max}=z'_{\max}-35=\tfrac{347}{7}-\tfrac{245}{7}=\tfrac{102}{7}.

At the optimum: x2=4/7x_2=4/7, x1=74/7=45/7x_1=7-4/7=45/7, x3=745/74/7=0x_3=7-45/7-4/7=0.

Step 5 — Verify and report

Answer

  zmax=102714.57  at  (x1,x2,x3)=(457,47,0).  \boxed{\;z_{\max}=\dfrac{102}{7}\approx 14.57\;\text{at}\;(x_1,x_2,x_3)=\bigl(\tfrac{45}{7},\tfrac{4}{7},0\bigr).\;}
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.