Class 12 Maths, Worked in Full Past papersGet updates
Chapter 12 · Linear Programming

Exercise 12.1 · Q6: Minimise Z=x+2yZ = x + 2y⁠: the minimum 6 at more than two points

Exercise 12.1Unbounded feasible region, a tie along an edge · Section 12.2.2
The question

Solve the following Linear Programming Problems graphically:

Minimise Z=x+2yZ = x + 2y

subject to 2x+y≥32x + y \ge 3⁠, x+2y≥6x + 2y \ge 6⁠, x,y≥0x, y \ge 0⁠.

Show that the minimum of Z occurs at more than two points.

Exam answer

Draw the lines (graph):

2x+y=32x + y = 3 through (32,0)\left(\frac{3}{2}, 0\right) and (0,3)(0, 3)⁠;

x+2y=6x + 2y = 6 through (6,0)(6, 0) and (0,3)(0, 3)⁠.

At (0,0)(0, 0)⁠: 0≥30 \ge 3 and 0≥60 \ge 6 are false, so shade the side of each line away from the origin. With x,y≥0x, y \ge 0⁠, the feasible region (shaded) is unbounded, with corners A(6,0)A(6, 0) and B(0,3)B(0, 3)⁠.

CornerZ=x+2yA(6,0)6←smallestB(0,3)6←smallest\begin{array}{c|c} \text{Corner} & Z = x + 2y \\ \hline A(6, 0) & 6 \leftarrow \text{smallest} \\ B(0, 3) & 6 \leftarrow \text{smallest} \end{array}

The region is unbounded, so we check the open half-plane x+2y<6x + 2y < 6⁠. Its boundary is the line x+2y=6x + 2y = 6 itself (graph). Every feasible point has x+2y≥6x + 2y \ge 6⁠, so this half-plane has no point in common with the feasible region. So the minimum of ZZ is 6.

It occurs at two corners, A and B, so it occurs at every point of the segment AB. AB is an edge of the region, on the line x+2y=6x + 2y = 6⁠, so Z=6Z = 6 all along AB (graph).

For example, (2,2)(2, 2) and (4,1)(4, 1) lie on AB and give Z=6Z = 6⁠. So the minimum occurs at more than two points.

∴\therefore Minimum Z=6Z = 6 at every point of the segment joining (6,0)(6, 0) and (0,3)(0, 3)⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Here the objective Z=x+2yZ = x + 2y is the very expression in the constraint x+2y≥6x + 2y \ge 6⁠. So the lines Z=kZ = k are parallel to the edge on x+2y=6x + 2y = 6⁠, the two ends of that edge tie for the smallest value, and Z=6Z = 6 all along it. The region is unbounded, so the open half-plane test is still needed; it passes at once, because x+2y<6x + 2y < 6 is exactly what the constraint forbids.

Given, to find, and the plan
Given
Z=x+2yZ = x + 2y and the constraints 2x+y≥32x + y \ge 3⁠, x+2y≥6x + 2y \ge 6⁠, x≥0x \ge 0⁠, y≥0y \ge 0⁠.
To find
The minimum of ZZ and where it occurs; and to show that it occurs at more than two points.
Plan
(1) and (2) Draw each line and choose its side. (3) Shade the region and see that it is unbounded. (4) Find the corners. (5) Tabulate ZZ⁠. (6) Apply the open half-plane test to the smallest value. (7) Show that the whole edge AB gives the minimum, so it occurs at more than two points.

Basics you need

1Lines and sides

Draw ax+by=cax + by = c from its axis points; test (0,0)(0, 0) to choose the side. For "≥\ge" with a positive right side the test fails, so the far side is kept. Basics: where a line meets the axes · Basics: which side

2Bounded or unbounded

A region is bounded if a circle can be drawn round it; otherwise it is unbounded. Basics: bounded or not

3Corners and the table

Corners are where two boundary lines meet; ZZ is worked out at each, and the smallest value is called mm⁠. Basics: a corner solves two equations

4The open half-plane test (unbounded region)

mm is the minimum of Z=ax+byZ = ax + by if the open half-plane ax+by<max + by < m has no point in common with the region; otherwise ZZ has no minimum. Lesson: unbounded regions

5Ties

If two corners give the same optimal value, every point of the segment joining them gives it too. The lines Z=kZ = k are then parallel to that segment. Basics: lines of equal Z

Solution

  1. Draw the line 2x+y=32x + y = 3 and choose its side

    Put y=0y = 0⁠: 2x=32x = 3⁠, so x=32x = \frac32⁠. Put x=0x = 0⁠: y=3y = 3⁠. So the line joins (32,0)\left(\frac32, 0\right) and (0,3)(0, 3)⁠.

    Test (0,0)(0, 0) in 2x+y≥32x + y \ge 3⁠: 0≥30 \ge 3 is false, so this constraint keeps the side of the line away from the origin.

    "At least 3" fails at the origin, where 2x+y=02x + y = 0⁠. The inequality then holds on the whole other side of the line.
  2. Draw the line x+2y=6x + 2y = 6 and choose its side

    Put y=0y = 0⁠: x=6x = 6⁠. Put x=0x = 0⁠: 2y=62y = 6⁠, so y=3y = 3⁠. So the line joins (6,0)(6, 0) and (0,3)(0, 3)⁠.

    Test (0,0)(0, 0) in x+2y≥6x + 2y \ge 6⁠: 0≥60 \ge 6 is false, so again the side away from the origin is kept.

    Both lines pass through (0,3)(0, 3)⁠: 2(0)+3=32(0) + 3 = 3 and 0+2(3)=60 + 2(3) = 6⁠. So they meet on the yy-axis, and the second line lies farther from the origin everywhere else in the first quadrant (it meets the xx-axis at 6, the first at 32\frac32⁠).
  3. Shade the feasible region: it is unbounded

    In the first quadrant the region is everything on or beyond the line x+2y=6x + 2y = 6⁠. It is shaded below; the light rose part and the thick edge are used in Steps 6 and 7.

    x y O 2 3 4 5 7 1 2 4 (3/2, 0) A(6, 0) B(0, 3) (2, 2) (4, 1) 2x + y = 3 x + 2y = 6 Z < 6 unbounded
    The feasible region of Exercise 12.1 Q6 (blue, drawn with equal scales). Its corners are A(6, 0) and B(0, 3), and it is open towards the top right. The line 2x+y=32x + y = 3 touches it only at B. The light rose part is the open half-plane x+2y<6x + 2y < 6⁠, where Z<6Z < 6⁠; its boundary is the line x+2y=6x + 2y = 6 itself, which is not part of it, so it meets the region nowhere. The thick edge AB is where Z=6Z = 6⁠, for example at (2,2)(2, 2) and (4,1)(4, 1)⁠.

    The constraint 2x+y≥32x + y \ge 3 adds nothing in the first quadrant: if x≥0x \ge 0 and x+2y≥6x + 2y \ge 6⁠, then

    2x+y=12(x+2y)+32x≥12(6)+0=3.\begin{aligned} 2x + y &= \tfrac12(x + 2y) + \tfrac32 x \\ &\ge \tfrac12(6) + 0 = 3. \end{aligned}

    The region is unbounded: every point (t,t)(t, t) with t≥2t \ge 2 is in it (3t≥33t \ge 3⁠, 3t≥63t \ge 6⁠), and these points go as far from O as we like.

    The identity 2x+y=12(x+2y)+32x2x + y = \frac12(x + 2y) + \frac32 x is checked by expanding: 12x+32x=2x\frac12 x + \frac32 x = 2x and 12⋅2y=y\frac12 \cdot 2y = y⁠. Equality needs x+2y=6x + 2y = 6 and x=0x = 0⁠, that is the single point (0,3)(0, 3)⁠. So the gold line only touches the region at B, and the region is the first-quadrant part beyond the violet line. Nothing limits xx or yy from above, so no circle can enclose it.
  4. Find the corner points

    A (6,0)(6, 0)⁠, where x+2y=6x + 2y = 6 meets the xx-axis: it obeys 2x+y≥32x + y \ge 3⁠, since 12≥312 \ge 3⁠.

    B (0,3)(0, 3)⁠, where both lines meet the yy-axis: 3≥33 \ge 3 and 6≥66 \ge 6⁠, so it obeys both constraints. Solving the two line equations together gives the same point: y=3−2xy = 3 - 2x in x+2y=6x + 2y = 6 gives x+6−4x=6x + 6 - 4x = 6⁠, so x=0x = 0⁠, y=3y = 3⁠.

    The other crossing points are not in the region: (32,0)\left(\frac32, 0\right) gives x+2y=32<6x + 2y = \frac32 < 6⁠, and O breaks both constraints.

    Four boundary lines usually cross in six points, but here three of them (the two lines and the yy-axis) pass through (0,3)(0, 3)⁠, so there are only four different crossing points. Two of them obey every constraint: these are the corners.
  5. Work out ZZ at each corner

    Corner pointZ=x+2yZ = x + 2y
    A (6,0)(6, 0)6+0=66 + 0 = 6 ← smallest
    B (0,3)(0, 3)0+6=60 + 6 = 6 ← smallest

    So m=6m = 6⁠, at both A and B.

    The region is unbounded, so 6 is only a candidate for the minimum (the Remark after Theorem 2 warns that an optimum may not exist). The next step decides.
  6. The open half-plane test for m=6m = 6

    Following step 3(ii) of the Corner Point Method, we look at the open half-plane x+2y<6x + 2y < 6⁠. Its boundary is the line x+2y=6x + 2y = 6 itself, the line through A and B; the half-plane is the side containing the origin, since 0<60 < 6⁠.

    Every feasible point obeys the constraint x+2y≥6x + 2y \ge 6⁠, so x+2y<6x + 2y < 6 never holds on the region: the open half-plane has no point in common with it. So the minimum of ZZ is 6.

    The half-plane Z<6Z < 6 is where ZZ would beat the best corner. Usually showing that it misses the region takes a line of algebra; here it is immediate, because ZZ is the left side of a constraint. In the graph the light rose half-plane stops at the edge AB; the line itself is left out ("open"), so the region and the half-plane share no point.
  7. The minimum occurs at more than two points

    The minimum 6 occurs at two corners, A and B, so it occurs at every point of the segment AB. To see it directly, first check that AB is an edge of the region. Its points are (6−2t,t)(6 - 2t, t) with 0≤t≤30 \le t \le 3⁠; each has x≥0x \ge 0⁠, y≥0y \ge 0⁠, x+2y=6x + 2y = 6 and

    2x+y=12−3t≥3,2x + y = 12 - 3t \ge 3,

    so the whole segment lies in the region, along its boundary line x+2y=6x + 2y = 6⁠. At every such point Z=x+2y=6Z = x + 2y = 6⁠.

    For example (2,2)(2, 2) (with t=2t = 2⁠) and (4,1)(4, 1) (with t=1t = 1⁠) give Z=2+4=6Z = 2 + 4 = 6 and Z=4+2=6Z = 4 + 2 = 6⁠. The segment has infinitely many points, so the minimum occurs at more than two points.

    Conversely, Z=6Z = 6 at a feasible point means x+2y=6x + 2y = 6 with x,y≥0x, y \ge 0⁠, which is a point of AB. So AB is exactly the set of minimum points.

    This is the situation of the book's Remark after Example 3: when two corners give the same optimal value, so does every point of the segment joining them. The lines x+2y=kx + 2y = k are parallel to the edge AB, and the lowest one that touches the region lies along the whole edge, not just at one corner.
Result

The feasible region is unbounded, with corners (6,0)(6, 0) and (0,3)(0, 3)⁠, where Z=6Z = 6 and 66⁠. The open half-plane x+2y<6x + 2y < 6 has no point in common with the region, so

Minimum Z=6 at every pointof the segment joining (6,0)and (0,3),\begin{aligned} &\text{Minimum } Z = 6 \text{ at every point} \\ &\text{of the segment joining } (6, 0) \\ &\text{and } (0, 3), \end{aligned}

an edge of the region. These are infinitely many points, so the minimum occurs at more than two points. (Textbook answer: Minimum Z=6Z = 6 at all the points on the line segment joining the points (6,0)(6, 0) and (0,3)(0, 3)⁠.)

Check it with numbers

More points of AB: (3,32)\left(3, \frac32\right) gives 3+3=63 + 3 = 6 and 2x+y=7.5≥32x + y = 7.5 \ge 3 ✓; (1,52)\left(1, \frac52\right) gives 1+5=61 + 5 = 6 and 2x+y=4.5≥32x + y = 4.5 \ge 3 ✓.

Points of the region off AB give more: (1,3)(1, 3) gives 1+6=71 + 6 = 7⁠, (6,1)(6, 1) gives 6+2=86 + 2 = 8⁠, and (5,5)(5, 5) gives 1515 ✓.

A computer check of every point of the region whose coordinates are multiples of 12\frac12⁠, up to 20, found the smallest value 6 at exactly 7 points, (0,3)(0, 3)⁠, (1,52)\left(1, \frac52\right)⁠, (2,2)(2, 2)⁠, (3,32)\left(3, \frac32\right)⁠, (4,1)(4, 1)⁠, (5,12)\left(5, \frac12\right)⁠, (6,0)(6, 0)⁠, all on AB ✓.

Common mistakes
  1. Giving only the two corners. The question asks for more than two points: the whole segment AB gives the minimum.
  2. Using (32,0)\left(\frac32, 0\right) as a corner. It is on 2x+y=32x + y = 3 but breaks x+2y≥6x + 2y \ge 6⁠; ZZ there would be 32\frac32⁠, which is not a feasible value.
  3. Skipping the half-plane test. The region is unbounded, so the smallest corner value must still be confirmed (here in one line).
  4. Shading towards the origin. At (0,0)(0, 0)⁠, 0≥30 \ge 3 and 0≥60 \ge 6 are false, so the far sides are kept.
What to take away
  1. If ZZ is a multiple of a constraint's expression, its optimum lies along that constraint's edge: a tie between two corners.
  2. A tie between two corners gives infinitely many optimal points: every point of the segment joining them, once it is checked to be an edge.
  3. A constraint can be redundant: 2x+y≥32x + y \ge 3 only touches the region at one point. Compare Q4, an unbounded region with a single minimum point.

Every fact used, and where it comes from

FactUsed inSource
A line from its axis points; a test point chooses the sideSteps 1, 2Class XI, Linear Inequalities (Basics, Basics)
Bounded: can be enclosed within a circle; otherwise unboundedStep 3Section 12.2.2, footnote to Theorem 2 (Basics)
Corner point: where two boundary lines meetStep 4Section 12.2.2, footnote to Theorem 1 (Basics)
Unbounded region: a maximum or minimum may not exist (Remark after Theorem 2)Step 5Section 12.2.2
Open half-plane test for mm (printed as 4(b) under step 3(ii))Step 6Corner Point Method, Section 12.2.2 (Lesson)
Two corners with the same optimal value: every point of the segment joining them gives itStep 7Remark after Example 3, and Remarks (ii) after Example 5, Section 12.2.2 (Basics)
Adding inequalities; multiplying by a positive numberSteps 3, 7Class XI, Linear Inequalities
AnswerResultNCERT answer key, Exercise 12.1 Q6
All valuesSteps, CheckRecomputed with exact fractions in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →