← 2016 Paper 2

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

Find the maximum value of 5x+2y5x+2y with constraints x+2y1, 2x+y1, x0x+2y\ge1,\ 2x+y\le1,\ x\ge0 and y0y\ge0 by graphical method.

Technique

Graphical LP — plot half-planes, identify feasible polygon, test each candidate vertex for feasibility, evaluate objective at feasible vertices.

Solution

A two-variable LP is solved graphically: sketch the feasible region (intersection of the half-planes), find its corner points (vertices), and evaluate the objective at each — the optimum of a bounded LP occurs at a vertex.

Step 1 — Boundary lines and feasible region

The constraint boundaries are

L1: x+2y=1,L2: 2x+y=1,x=0,y=0.L_1:\ x+2y=1,\qquad L_2:\ 2x+y=1,\qquad x=0,\quad y=0.

Intercepts: L1L_1 meets axes at (1,0)(1,0) and (0,12)(0,\tfrac12); L2L_2 at (12,0)(\tfrac12,0) and (0,1)(0,1).

Step 2 — Corner points of the feasible region

The feasible region is bounded by L1L_1 (below), L2L_2 (above), and the yy-axis. Candidate vertices come from intersecting active constraints:

(a) L1yL_1\cap y-axis (x=0x=0): 2y=1(0,12)2y=1\Rightarrow(0,\tfrac12). Check 2x+y=1212x+y=\tfrac12\le1 ✓ — feasible.

(b) L2yL_2\cap y-axis (x=0x=0): y=1(0,1)y=1\Rightarrow(0,1). Check x+2y=21x+2y=2\ge1 ✓ — feasible.

(c) L1L2L_1\cap L_2: solve x+2y=1, 2x+y=1x+2y=1,\ 2x+y=1. Subtract: (x+2y)(2x+y)=0yx=0x=y(x+2y)-(2x+y)=0\Rightarrow y-x=0\Rightarrow x=y; then 3x=1x=y=133x=1\Rightarrow x=y=\tfrac13. Point (13,13)(\tfrac13,\tfrac13), both 0\ge0 ✓ — feasible.

(d) L2xL_2\cap x-axis (12,0)(\tfrac12,0) and L1xL_1\cap x-axis (1,0)(1,0): check x+2y1x+2y\ge1 at (12,0)(\tfrac12,0): 121\tfrac12\ge1 false — infeasible; (1,0)(1,0) gives 2x+y=212x+y=2\le1 false — infeasible. So no vertex on the xx-axis.

Thus the feasible region is the triangle with vertices

(0,12),(13,13),(0,1).\Big(0,\tfrac12\Big),\quad\Big(\tfrac13,\tfrac13\Big),\quad(0,1).

Step 3 — Evaluate z=5x+2yz=5x+2y at the vertices

vertexz=5x+2y(0,12)0+1=1(0,1)0+2=2(13,13)53+23=732.333\begin{array}{c|c} \text{vertex} & z=5x+2y\\\hline (0,\tfrac12) & 0+1=1\\ (0,1) & 0+2=2\\ (\tfrac13,\tfrac13) & \tfrac53+\tfrac23=\tfrac73\approx2.333\\ \end{array}

The maximum is at (13,13)(\tfrac13,\tfrac13):

Answer

  zmax=73 at (x,y)=(13,13).  \boxed{\;z_{\max}=\frac73\ \text{at}\ (x,y)=\Big(\tfrac13,\tfrac13\Big).\;}
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.