My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
NCERT · Class 12 · Maths · 2025-26

Chapter 12: Linear Programming

Practice each question, then open the answer or worked solution.

EXERCISE 12.1

Textbook page 403 · 10 questions
Q1Written answer
Maximise \(Z = 3x + 4y\) subject to the constraints : \(x + y \leq 4, x \geq 0, y \geq 0\).
Show solutionHide solution
Worked solution

The feasible region is the set of points satisfying all the constraints simultaneously:

\[x+y\le 4,\qquad x\ge 0,\qquad y\ge 0.\]

This is the triangular region in the first quadrant bounded by the axes and the line \(x+y=4\). Its vertices are found by intersecting the boundary lines:

  • \(x=0\) and \(y=0\): the point \((0,0)\);
  • \(x=0\) and \(x+y=4\): the point \((0,4)\);
  • \(y=0\) and \(x+y=4\): the point \((4,0)\).

Because the feasible region is a nonempty bounded polygon, the objective function \(Z=3x+4y\) attains its maximum at a vertex. Evaluate \(Z\) at each vertex:

\[ \begin{array}{c|c} \text{Vertex} & Z=3x+4y\\ \hline (0,0) & 3(0)+4(0)=0\\ (0,4) & 3(0)+4(4)=16\\ (4,0) & 3(4)+4(0)=12 \end{array} \]

The largest value is \(16\), attained at \((0,4)\).

Answer: The maximum value of \(Z\) is \(16\), occurring at \(x=0,\ y=4\).

Q2Written answer
Minimise \(Z = - 3x + 4 y\) subject to \(x + 2y \leq 8, 3x + 2y \leq 12, x \geq 0, y \geq 0\).
Show solutionHide solution
Worked solution

We minimise \(Z=-3x+4y\) subject to

\[x+2y\le 8,\qquad 3x+2y\le 12,\qquad x\ge 0,\ y\ge 0.\]

Step 1: Find the corner points of the feasible region.

The boundary lines are

\[x+2y=8,\qquad 3x+2y=12,\qquad x=0,\qquad y=0.\]

Intersection of \(x+2y=8\) with the \(y\)-axis \((x=0)\): \(2y=8\), so \(y=4\). This gives \((0,4)\).

Intersection of \(3x+2y=12\) with the \(y\)-axis \((x=0)\): \(2y=12\), so \(y=6\). This gives \((0,6)\).

Intersection of \(x+2y=8\) with the \(x\)-axis \((y=0)\): \(x=8\). This gives \((8,0)\).

Intersection of \(3x+2y=12\) with the \(x\)-axis \((y=0)\): \(3x=12\), so \(x=4\). This gives \((4,0)\).

Intersection of the two slanted lines: subtract \(x+2y=8\) from \(3x+2y=12\):

\[(3x+2y)-(x+2y)=12-8\ \Rightarrow\ 2x=4\ \Rightarrow\ x=2.\]

Then \(2+2y=8\), so \(2y=6\) and \(y=3\). This gives \((2,3)\).

Checking the constraints, the feasible region is the quadrilateral with vertices

\[(0,0),\quad (4,0),\quad (2,3),\quad (0,4).\]

Indeed, at \((0,6)\) the first constraint fails since \(0+2(6)=12>8\), and at \((8,0)\) the second fails since \(3(8)+0=24>12\).

Step 2: Evaluate \(Z=-3x+4y\) at each corner.

Corner point \((x,y)\)\(Z=-3x+4y\)
\((0,0)\)\(-3(0)+4(0)=0\)
\((4,0)\)\(-3(4)+4(0)=-12\)
\((2,3)\)\(-3(2)+4(3)=-6+12=6\)
\((0,4)\)\(-3(0)+4(4)=16\)

Step 3: Conclusion.

The smallest value in the table is \(-12\), attained at \((4,0)\). Since the feasible region is a nonempty bounded polygon, the corner-point principle guarantees that the minimum occurs at a corner.

Therefore the minimum value is

\[\boxed{Z_{\min}=-12}\quad\text{at}\quad \boxed{(x,y)=(4,0)}.\]
Q3Written answer
Maximise \(Z = 5x + 3y\) subject to \(3x + 5y \leq 15, 5x + 2y \leq 10, x \geq 0, y \geq 0\).
Show solutionHide solution
Worked solution

We must maximise \(Z=5x+3y\) over the feasible region defined by \[3x+5y\le 15,\qquad 5x+2y\le 10,\qquad x\ge 0,\ y\ge 0.\]

Step 1: Find the corner points.

The boundary lines are

\[3x+5y=15 \quad\text{and}\quad 5x+2y=10.\]

Intercepts of \(3x+5y=15\): setting \(y=0\) gives \(x=5\); setting \(x=0\) gives \(y=3\).

Intercepts of \(5x+2y=10\): setting \(y=0\) gives \(x=2\); setting \(x=0\) gives \(y=5\).

Because \(x\ge 0,\ y\ge 0\), the feasible region is bounded by the axes and the two lines. Its corner points are:

  • \(O=(0,0)\);
  • \(A=(2,0)\), from \(5x+2y=10\) on the \(x\)-axis;
  • \(B=(0,3)\), from \(3x+5y=15\) on the \(y\)-axis;
  • \(C\), the intersection of the two lines.

Step 2: Find the intersection \(C\).

\[3x+5y=15 \tag{1}\] \[5x+2y=10 \tag{2}\]

Multiply (1) by 2 and (2) by 5:

\[6x+10y=30,\qquad 25x+10y=50.\]

Subtracting gives \(19x=20\), so

\[x=\frac{20}{19}.\]

Substitute into (1):

\[3\cdot\frac{20}{19}+5y=15 \;\Rightarrow\; \frac{60}{19}+5y=\frac{285}{19} \;\Rightarrow\; 5y=\frac{225}{19} \;\Rightarrow\; y=\frac{45}{19}.\]

Thus

\[C=\left(\frac{20}{19},\frac{45}{19}\right).\]

Step 3: Evaluate \(Z=5x+3y\) at each corner point.

Corner point\(Z=5x+3y\)
\(O=(0,0)\)\(0\)
\(A=(2,0)\)\(5(2)+3(0)=10\)
\(B=(0,3)\)\(5(0)+3(3)=9\)
\(C=\left(\dfrac{20}{19},\dfrac{45}{19}\right)\)\(5\cdot\dfrac{20}{19}+3\cdot\dfrac{45}{19}=\dfrac{100+135}{19}=\dfrac{235}{19}\approx 12.37\)

The largest value is \(\dfrac{235}{19}\), attained at \(C=\left(\dfrac{20}{19},\dfrac{45}{19}\right)\).

Answer: The maximum value is

\[Z_{\max}=\frac{235}{19},\]

attained at

\[x=\frac{20}{19},\qquad y=\frac{45}{19}.\]
Q4Written answer
Minimise \(Z = 3x + 5y\) such that \(x + 3y \geq 3, x + y \geq 2, x, y \geq 0\).
Show solutionHide solution
Worked solution

We must minimise \(Z=3x+5y\) subject to \[x+3y\ge 3,\qquad x+y\ge 2,\qquad x\ge 0,\ y\ge 0.\]

Step 1: Find the corner points of the feasible region.

The boundary lines are \(x+3y=3\) and \(x+y=2\).

  • On \(x+3y=3\): intercepts are \((3,0)\) and \((0,1)\).
  • On \(x+y=2\): intercepts are \((2,0)\) and \((0,2)\).

Intersection of the two lines: subtracting \(x+y=2\) from \(x+3y=3\) gives \(2y=1\), so \(y=\tfrac12\) and \(x=\tfrac32\). Thus the intersection is \(\left(\tfrac32,\tfrac12\right)\).

The feasible region is unbounded, with corner points \[\left(\tfrac32,\tfrac12\right),\quad (3,0),\quad (0,2).\]

Step 2: Evaluate \(Z\) at each corner point.

Corner point\(Z=3x+5y\)
\(\left(\tfrac32,\tfrac12\right)\)\(3\cdot\tfrac32+5\cdot\tfrac12=\tfrac92+\tfrac52=7\)
\((3,0)\)\(3\cdot 3+5\cdot 0=9\)
\((0,2)\)\(3\cdot 0+5\cdot 2=10\)

The smallest corner value is \(7\) at \(\left(\tfrac32,\tfrac12\right)\).

Step 3: Check the unbounded region.

We check whether \(Z\) can be made smaller than \(7\) in the feasible region. Consider the inequality \[3x+5y<7.\] We test whether this half-plane intersects the feasible region. The line \(3x+5y=7\) passes through \(\left(\tfrac32,\tfrac12\right)\). At the point \((3,0)\), \(3x+5y=9>7\), and at \((0,2)\), \(3x+5y=10>7\). Since the feasible region lies on the side of the line \(3x+5y=7\) containing these corner points, there is no feasible point with \(3x+5y<7\).

Therefore the minimum value is \(7\), attained at \(\left(\tfrac32,\tfrac12\right)\).

Answer: \(Z_{\min}=7\) at \(x=\tfrac32,\ y=\tfrac12\).

Q5Written answer
Maximise \(Z = 3x + 2y\) subject to \(x + 2y \leq 10, 3x + y \leq 15, x, y \geq 0\).
Show solutionHide solution
Worked solution

We must maximise \(Z=3x+2y\) over the feasible region defined by

\[x+2y\le 10,\qquad 3x+y\le 15,\qquad x\ge 0,\ y\ge 0.\]

Step 1: Find the corner points.

The boundary lines are \(x+2y=10\) and \(3x+y=15\).

  • Intersection with the \(x\)-axis (\(y=0\)): from \(x+2y=10\), \(x=10\); from \(3x+y=15\), \(x=5\). The binding point is \((5,0)\).
  • Intersection with the \(y\)-axis (\(x=0\)): from \(x+2y=10\), \(y=5\); from \(3x+y=15\), \(y=15\). The binding point is \((0,5)\).
  • Origin: \((0,0)\).
  • Intersection of the two lines: solve \[x+2y=10,\qquad 3x+y=15.\] From the first, \(x=10-2y\). Substituting: \[3(10-2y)+y=15\ \Rightarrow\ 30-6y+y=15\ \Rightarrow\ -5y=-15\ \Rightarrow\ y=3.\] Then \(x=10-2(3)=4\). So the intersection is \((4,3)\).

Thus the corner points are \((0,0)\), \((5,0)\), \((4,3)\), and \((0,5)\).

Step 2: Evaluate \(Z=3x+2y\) at each corner.

Corner point \((x,y)\)\(Z=3x+2y\)
\((0,0)\)\(3(0)+2(0)=0\)
\((5,0)\)\(3(5)+2(0)=15\)
\((4,3)\)\(3(4)+2(3)=12+6=18\)
\((0,5)\)\(3(0)+2(5)=10\)

Step 3: Conclusion.

The largest value in the table is \(18\), attained at \((4,3)\). Since the feasible region is a nonempty bounded polygon, the maximum of the linear function occurs at a corner point, so this is the global maximum.

\[\boxed{Z_{\max}=18\ \text{at}\ (x,y)=(4,3)}\]
Q6Written answer
Minimise \(Z = x + 2y\) subject to \(2x + y \geq 3, x + 2y \geq 6, x, y \geq 0\). Show that the minimum of Z occurs at more than two points.
Show solutionHide solution
Worked solution

The feasible region is determined by the inequalities

\[2x+y\ge 3,\qquad x+2y\ge 6,\qquad x\ge 0,\ y\ge 0.\]

We first find the corner points of the feasible region.

  • Intersection of \(2x+y=3\) with the \(y\)-axis (\(x=0\)): \(y=3\), giving \((0,3)\).
  • Intersection of \(x+2y=6\) with the \(x\)-axis (\(y=0\)): \(x=6\), giving \((6,0)\).
  • Intersection of the two lines: solve \[2x+y=3,\qquad x+2y=6.\] From the first equation \(y=3-2x\). Substituting into the second, \[x+2(3-2x)=6 \;\Rightarrow\; x+6-4x=6 \;\Rightarrow\; -3x=0 \;\Rightarrow\; x=0.\] Then \(y=3\). So the lines meet at \((0,3)\).

Thus the feasible region is the unbounded region with vertices \((0,3)\) and \((6,0)\), together with the unbounded directions along the positive axes.

Evaluate \(Z=x+2y\) at the corner points:

\[ \begin{array}{c|c} \text{Point} & Z=x+2y\\ \hline (0,3) & 0+2(3)=6\\ (6,0) & 6+2(0)=6 \end{array} \]

Both corner points give \(Z=6\).

Now check whether \(Z\) can be smaller than \(6\) anywhere in the feasible region. The constraint \(x+2y\ge 6\) is exactly \(Z\ge 6\). Therefore every feasible point satisfies \(Z\ge 6\), and equality holds whenever \(x+2y=6\) with \(x,y\ge 0\).

The segment of the line \(x+2y=6\) between \((0,3)\) and \((6,0)\) lies in the feasible region, and at every point of this segment, \[Z=x+2y=6.\] Hence the minimum value of \(Z\) is \(6\), and it occurs at every point of the segment joining \((0,3)\) and \((6,0)\), which contains infinitely many points (more than two).

Conclusion: The minimum value is \(Z_{\min}=6\), attained at all points \((x,y)\) with \(x+2y=6\), \(x\ge 0\), \(y\ge 0\) — in particular at \((0,3)\), \((6,0)\), and every point between them. Thus the minimum occurs at more than two points.

Q7Written answer
Minimise and Maximise \(Z = 5x + 10 y\) subject to \(x + 2y \leq 120, x + y \geq 60, x - 2y \geq 0, x, y \geq 0\).
Show solutionHide solution
Worked solution

We must optimise \(Z=5x+10y\) over the feasible region defined by

\[ x+2y\le 120,\qquad x+y\ge 60,\qquad x-2y\ge 0,\qquad x\ge 0,\ y\ge 0. \]

Step 1: Find the corner points. The boundary lines are

\[ L_1:x+2y=120,\qquad L_2:x+y=60,\qquad L_3:x-2y=0\ (\text{i.e. }x=2y). \]

Intersections of pairs of boundary lines:

  • \(L_1\) and \(L_2\): subtracting gives \(y=60\), then \(x=0\). Point \((0,60)\).
  • \(L_1\) and \(L_3\): substituting \(x=2y\) into \(x+2y=120\) gives \(4y=120\), so \(y=30\), \(x=60\). Point \((60,30)\).
  • \(L_2\) and \(L_3\): substituting \(x=2y\) into \(x+y=60\) gives \(3y=60\), so \(y=20\), \(x=40\). Point \((40,20)\).

Also consider intersections with the axes, since \(x\ge0,\ y\ge0\):

  • \(L_1\) meets the \(y\)-axis at \((0,60)\) and the \(x\)-axis at \((120,0)\).
  • \(L_2\) meets the axes at \((60,0)\) and \((0,60)\).
  • \(L_3\) passes through the origin.

Step 2: Determine the feasible corner points. Testing the constraints:

  • \((0,60)\): \(x+2y=120\le120\) (ok), \(x+y=60\ge60\) (ok), \(x-2y=-120\not\ge0\) (fails).
  • \((60,30)\): \(60+60=120\le120\) (ok), \(60+30=90\ge60\) (ok), \(60-60=0\ge0\) (ok). Feasible.
  • \((40,20)\): \(40+40=80\le120\) (ok), \(40+20=60\ge60\) (ok), \(40-40=0\ge0\) (ok). Feasible.
  • \((120,0)\): \(120\le120\) (ok), \(120\ge60\) (ok), \(120-0=120\ge0\) (ok). Feasible.
  • \((60,0)\): \(60\le120\) (ok), \(60\ge60\) (ok), \(60\ge0\) (ok). Feasible.
  • \((0,0)\): \(x+y=0\not\ge60\) (fails).

The feasible region is the quadrilateral with vertices \((40,20)\), \((60,30)\), \((120,0)\), and \((60,0)\).

Step 3: Evaluate \(Z=5x+10y\) at each vertex.

\[ \begin{array}{c|c} \text{Vertex} & Z=5x+10y\\ \hline (40,20) & 5(40)+10(20)=200+200=400\\ (60,30) & 5(60)+10(30)=300+300=600\\ (120,0) & 5(120)+10(0)=600+0=600\\ (60,0) & 5(60)+10(0)=300+0=300 \end{array} \]

Step 4: Conclusion. The minimum value is \(Z=300\), attained at \((60,0)\). The maximum value is \(Z=600\), attained at both \((60,30)\) and \((120,0)\); hence it is attained at every point of the segment joining these two vertices.

Therefore, the minimum of \(Z\) is \(300\) and the maximum of \(Z\) is \(600\).

Q8Written answer
Minimise and Maximise \(Z = x + 2y\) subject to \(x + 2y \geq 100, 2x - y \leq 0, 2x + y \leq 200; x, y \geq 0\).
Show solutionHide solution
Worked solution

We must minimise and maximise \(Z=x+2y\) over the feasible region defined by

\[x+2y\ge 100,\qquad 2x-y\le 0,\qquad 2x+y\le 200,\qquad x\ge 0,\ y\ge 0.\]

Step 1: Find the corner points.

The boundary lines are

\[L_1:\ x+2y=100,\qquad L_2:\ 2x-y=0,\qquad L_3:\ 2x+y=200.\]

Intersection of \(L_1\) and \(L_2\): From \(2x-y=0\), \(y=2x\). Substituting in \(x+2y=100\):

\[x+4x=100\ \Rightarrow\ 5x=100\ \Rightarrow\ x=20,\quad y=40.\]

So \(A=(20,40)\).

Intersection of \(L_1\) and \(L_3\): Subtract \(x+2y=100\) from \(2x+y=200\):

\[x-y=100\ \Rightarrow\ x=y+100.\]

Substituting in \(x+2y=100\): \((y+100)+2y=100\Rightarrow 3y=0\Rightarrow y=0,\ x=100\). So \(B=(100,0)\).

Intersection of \(L_2\) and \(L_3\): From \(y=2x\), substituting in \(2x+y=200\) gives \(2x+2x=200\), so \(x=50,\ y=100\). Thus \(C=(50,100)\).

Axes intersections: \(L_1\) meets the \(y\)-axis at \((0,50)\) and the \(x\)-axis at \((100,0)\). \(L_3\) meets the \(y\)-axis at \((0,200)\) and the \(x\)-axis at \((100,0)\). The line \(L_2\) passes through the origin.

Step 2: Determine the feasible region.

The constraint \(x+2y\ge 100\) lies on the side of \(L_1\) away from the origin. The constraint \(2x-y\le 0\), i.e. \(y\ge 2x\), lies above \(L_2\). The constraint \(2x+y\le 200\) lies below \(L_3\). Combining these with \(x,y\ge 0\), the feasible region is the triangle with vertices

\[A=(20,40),\qquad B=(100,0),\qquad C=(50,100).\]

Indeed, at \(A\): \(x+2y=100\), \(2x-y=0\); at \(B\): \(x+2y=100\), \(2x+y=200\); at \(C\): \(2x-y=0\), \(2x+y=200\). The region is bounded, so both a minimum and a maximum exist.

Step 3: Evaluate \(Z=x+2y\) at each corner.

\[\begin{array}{c|c} \text{Corner} & Z=x+2y\\ \hline A=(20,40) & 20+2(40)=20+80=100\\\nB=(100,0) & 100+2(0)=100\\\nC=(50,100) & 50+2(100)=50+200=250 \end{array}\]

Step 4: Conclusion.

The minimum value is \(Z=100\), attained at every point of the segment \(AB\), i.e. at \((20,40)\) and \((100,0)\) and all points between them. The maximum value is \(Z=250\), attained at the single corner \(C=(50,100)\).

Thus:

\[\boxed{Z_{\min}=100\ \text{(attained along the segment joining }(20,40)\text{ and }(100,0)\text{)},\qquad Z_{\max}=250\ \text{at }(50,100).}\]
Q9Written answer
Maximise \(Z = - x + 2y\), subject to the constraints: \(x \geq 3, x + y \geq 5, x + 2y \geq 6, y \geq 0\).
Show solutionHide solution
Worked solution

We must maximise \(Z=-x+2y\) subject to \[x\ge 3,\qquad x+y\ge 5,\qquad x+2y\ge 6,\qquad y\ge 0.\]

Step 1: Find the feasible region. The constraints \(x\ge 3\) and \(y\ge 0\) already imply \(x+y\ge 3\), but the stronger constraint is \(x+y\ge 5\). Also, since \(x\ge 3\), the constraint \(x+2y\ge 6\) becomes relevant only when \(y\) is small. The feasible region is the unbounded region above/right of the lines \(x=3\), \(x+y=5\), \(x+2y=6\), and \(y=0\).

Step 2: Locate the corner points. Intersections of boundary lines:

  • \(x=3\) with \(x+y=5\): \((3,2)\).
  • \(x=3\) with \(x+2y=6\): \((3,\tfrac32)\).
  • \(x+y=5\) with \(x+2y=6\): subtracting gives \(y=1\), so \(x=4\); point \((4,1)\).
  • \(y=0\) with \(x+y=5\): \((5,0)\).
  • \(y=0\) with \(x+2y=6\): \((6,0)\).

The feasible region has vertices \((3,2)\), \((4,1)\), \((5,0)\), and is unbounded in the directions of increasing \(x\) and increasing \(y\). The point \((3,\tfrac32)\) is not a vertex of the feasible region because it lies below the line \(x+y=5\) (indeed \(3+\tfrac32=\tfrac92<5\)).

Step 3: Evaluate \(Z=-x+2y\) at the vertices.

\[ \begin{array}{c|c} \text{Point} & Z=-x+2y\\ \hline (3,2) & -3+4=1\\ (4,1) & -4+2=-2\\ (5,0) & -5+0=-5 \end{array} \]

Step 4: Check whether a maximum exists. The feasible region is unbounded. Along the ray \(x=3,\ y\ge 2\), we have \[Z=-3+2y,\] which tends to \(+\infty\) as \(y\to\infty\). Hence \(Z\) is not bounded above on the feasible region.

Therefore the linear programming problem has no maximum value; the objective function is unbounded above on the feasible region.

Q10Written answer
Maximise \(Z = x + y\), subject to \(x - y \leq -1, -x + y \leq 0, x, y \geq 0\).
Show solutionHide solution
Worked solution

The constraints are

\[x-y\le -1,\qquad -x+y\le 0,\qquad x\ge 0,\ y\ge 0.\]

Rewrite the first two inequalities:

\[y\ge x+1,\qquad y\le x.\]

Thus any feasible point must satisfy both \(y\ge x+1\) and \(y\le x\). Combining these gives

\[x+1\le y\le x,\]

which would require \(x+1\le x\), i.e. \(1\le 0\). This is impossible.

Equivalently, the first constraint requires \(y-x\ge 1\), while the second requires \(y-x\le 0\). No real numbers \(x,y\) can satisfy both simultaneously.

Therefore the feasible region is empty. Since there are no feasible points, the objective function \(Z=x+y\) has no maximum on the feasible set.

Conclusion: The linear programming problem has no feasible solution, so it has no maximum value.