Class 12 Maths, Worked in Full Past papersGet updates
CBSE Board Examination 2023 · Section C · 3 marks

Q29: Maximise z=6x+3yz = 6x + 3y graphically

The question

Solve graphically the following linear programming problem :

Maximise z=6x+3yz = 6x + 3y⁠,

subject to the constraints

4x+y≥804x + y \ge 80⁠,

3x+2y≤1503x + 2y \le 150⁠,

x+5y≥115x + 5y \ge 115⁠,

x≥0x \ge 0⁠, y≥0y \ge 0⁠.

Exam answer

Draw the lines (graph below):

L1L_1⁠: 4x+y=804x + y = 80 through (20,0)(20, 0) and (0,80)(0, 80)⁠;

L2L_2⁠: 3x+2y=1503x + 2y = 150 through (50,0)(50, 0) and (0,75)(0, 75)⁠;

L3L_3⁠: x+5y=115x + 5y = 115 through (115,0)(115, 0) and (0,23)(0, 23)⁠.

Why?

Each inequality is first drawn as its boundary line, with the sign replaced by "=". A line is fixed by two points, and the easiest two are where it cuts the axes.

For L1L_1⁠: y=0y = 0 gives 4x=804x = 80⁠, so x=804=20x = \frac{80}{4} = 20⁠. And x=0x = 0 gives y=80y = 80⁠.

For L2L_2⁠: y=0y = 0 gives 3x=1503x = 150⁠, so x=1503=50x = \frac{150}{3} = 50⁠. And x=0x = 0 gives 2y=1502y = 150⁠, so y=1502=75y = \frac{150}{2} = 75⁠.

For L3L_3⁠: y=0y = 0 gives x=115x = 115⁠, and x=0x = 0 gives 5y=1155y = 115⁠, so y=23y = 23⁠.

At (0,0)(0, 0)⁠: 0≥800 \ge 80 is false, 0≤1500 \le 150 is true and 0≥1150 \ge 115 is false. So shade away from the origin for L1L_1 and L3L_3⁠, and towards it for L2L_2⁠. With x,y≥0x, y \ge 0⁠, the feasible region is the shaded triangle. It is bounded.

Why?

To find which side of a line to shade, test a point that is not on it. The origin is the easiest.

If the origin satisfies the inequality, shade the side that contains it. If not, shade the other side.

The feasible region is where all five shadings overlap. It is bounded: it is a closed triangle and does not run off to infinity.

Corner points: L1L_1 and L2L_2 meet at (2,72)(2, 72)⁠, L1L_1 and L3L_3 at (15,20)(15, 20)⁠, L2L_2 and L3L_3 at (40,15)(40, 15)⁠.

Why?

Each corner is where two boundary lines cross, so solve their equations together.

L1L_1 and L2L_2⁠: put y=80−4xy = 80 - 4x in 3x+2y=1503x + 2y = 150⁠:

3x+2(80−4x)=1503x+160−8x=150−5x+160=150−5x=150−160=−10x=−10−5=2y=80−4(2)=80−8=72\begin{aligned} 3x + 2(80 - 4x) &= 150 \\ 3x + 160 - 8x &= 150 \\ -5x + 160 &= 150 \\ -5x &= 150 - 160 = -10 \\ x &= \frac{-10}{-5} = 2 \\ y &= 80 - 4(2) \\ &= 80 - 8 = 72 \end{aligned}

L1L_1 and L3L_3⁠: put y=80−4xy = 80 - 4x in x+5y=115x + 5y = 115⁠:

x+5(80−4x)=115x+400−20x=115−19x+400=115−19x=115−400=−285x=−285−19=15y=80−4(15)=80−60=20\begin{aligned} x + 5(80 - 4x) &= 115 \\ x + 400 - 20x &= 115 \\ -19x + 400 &= 115 \\ -19x &= 115 - 400 = -285 \\ x &= \frac{-285}{-19} = 15 \\ y &= 80 - 4(15) \\ &= 80 - 60 = 20 \end{aligned}

L2L_2 and L3L_3⁠: put x=115−5yx = 115 - 5y in 3x+2y=1503x + 2y = 150⁠:

3(115−5y)+2y=150345−15y+2y=150345−13y=150−13y=150−345=−195y=−195−13=15x=115−5(15)=115−75=40\begin{aligned} 3(115 - 5y) + 2y &= 150 \\ 345 - 15y + 2y &= 150 \\ 345 - 13y &= 150 \\ -13y &= 150 - 345 = -195 \\ y &= \frac{-195}{-13} = 15 \\ x &= 115 - 5(15) \\ &= 115 - 75 = 40 \end{aligned}
x y O 10 20 30 40 50 20 40 60 80 (2, 72) (15, 20) (40, 15) L1 L2 L3
The feasible region (shaded), bounded by L1L_1⁠: 4x+y=804x + y = 80⁠, L2L_2⁠: 3x+2y=1503x + 2y = 150 and L3L_3⁠: x+5y=115x + 5y = 115⁠.
Corner pointz=6x+3y(2,72)12+216=228(15,20)90+60=150(40,15)240+45=285\begin{array}{c|c} \text{Corner point} & z = 6x + 3y \\ \hline (2, 72) & 12 + 216 = 228 \\ (15, 20) & 90 + 60 = 150 \\ (40, 15) & 240 + 45 = 285 \end{array}
Why?

Work out z=6x+3yz = 6x + 3y at each corner. For example, at (2,72)(2, 72)⁠:

At (2,72): 6(2)+3(72)=12+216=228At (15,20): 6(15)+3(20)=90+60=150At (40,15): 6(40)+3(15)=240+45=285\begin{aligned} &\text{At } (2, 72)\text{: } 6(2) + 3(72) \\ &= 12 + 216 = 228 \\[4pt] &\text{At } (15, 20)\text{: } 6(15) + 3(20) \\ &= 90 + 60 = 150 \\[4pt] &\text{At } (40, 15)\text{: } 6(40) + 3(15) \\ &= 240 + 45 = 285 \end{aligned}

The region is bounded, so the largest value in the table is the maximum of zz⁠.

Why?

Corner point theorem: if the feasible region is bounded, zz has a maximum and a minimum, and each one occurs at a corner point.

So only the three corners need checking, and the largest value, 285, is at (40,15)(40, 15)⁠.

Watch out: if the region were unbounded, the largest corner value would need an extra check before it could be called the maximum.

∴\therefore Maximum z=285z = 285 at x=40x = 40⁠, y=15y = 15⁠.

Where this comes from

Chapter 12, Linear Programming: LPP: maximise graphically, bounded region.

Question type: A "≥\ge" rule

How to spot it: click to see

Type 2. A "≥\ge" rule: shade away from the origin

Spot it: a rule like x+2y≥10x + 2y \ge 10⁠, often with "Minimise ZZ". The region no longer touches the origin.

Here: 4x+y≥804x + y \ge 80 and x+5y≥115x + 5y \ge 115 fail at (0,0)(0, 0)⁠, so shade away from the origin for both; only 3x+2y≤1503x + 2y \le 150 keeps the origin's side. That leaves a bounded triangle, and the largest table value, 285, is the maximum.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →