Q.Determine the maximum value of Z=11x+7y subject to the constraints: 2x+y≤6, x≤2, x≥0, y≥0.
Concept understanding — Linear Programming Graphical Method
The Graphical Method for Linear Programming
When a linear programming problem has just two decision variables, x and y, you can solve it by drawing a picture. This is the graphical method, and it is the technique the CBSE Class-12 course expects you to use.
The idea
Each constraint is a linear inequality such as 2x+3y≤100. On the xy-plane its boundary is a straight line, and the inequality picks one side of that line (a half-plane). The points that satisfy all the constraints at once form a single region — the feasible region. Your job is to find the point inside this region that makes the objective function Z=ax+by largest or smallest.
The step-by-step procedure
- Draw each constraint line. Replace every inequality by an equation and plot the line, usually by finding where it meets the axes.
- Shade the correct side. Test a simple point (often the origin (0,0)) in the inequality. If it holds, the origin's side is the wanted half-plane; if not, take the other side. Always include the non-negativity conditions x≥0, y≥0, which keep you in the first quadrant.
- Identify the feasible region. It is the overlap of all the shaded half-planes — the region satisfying every constraint together.
- Find the corner (vertex) points. These are the points where the boundary lines cross. Read them off the graph or solve the two relevant lines simultaneously.
- Evaluate Z at every corner and pick the largest value (for a maximum) or the smallest (for a minimum).
The whole method rests on the Corner-Point Theorem: if an optimum exists, it occurs at a vertex of the feasible region. So you never test interior points — only the corners.
Bounded vs unbounded
If the feasible region is a closed polygon (bounded), both the maximum and minimum are guaranteed and are found among the corners. If the region stretches to infinity (unbounded), a maximum or minimum may fail to exist — you then check whether Z can be pushed indefinitely large or small in the open direction before concluding.
The bottom line
Graph the constraints, find the feasible region, list its corner points, and compare Z=ax+by at each. The best corner is your optimal solution — a clean, visual route to the answer for any two-variable LP problem.
The graphical method for solving linear programming problems is the entire method taught in the NCERT Class 12 Linear Programming chapter, and "linear programming graphical method examples class 12" is one of the most searched topics ahead of CBSE board exams. This corner-point approach is also occasionally tested in JEE Main and select state CET papers involving optimization.
Maximise Z=11x+7y over 2x+y≤6, x≤2, x≥0, y≥0 by testing the corner points.
Corners of the feasible region:
- (0,0)
- (2,0) — from x=2, y=0
- (2,2) — from x=2 and 2x+y=6
- (0,6) — from x=0 and 2x+y=6
Values of Z=11x+7y:
- (0,0):0
- (2,0):22
- (2,2):22+14=36
- (0,6):0+42=42
The largest is 42.
Maximum Z=42, attained at (0,6).
Testing the four corners of the feasible region, Z=11x+7y is largest at (0,6), where Z=42.
Set-up
We maximise Z=11x+7y subject to
2x+y≤6,x≤2,x≥0, y≥0.
By the corner-point theorem the maximum of a linear objective over a bounded region occurs at a vertex, so we only need the vertices.
Step 1 — Find the corner points
The boundary lines are x=0, y=0, x=2 and 2x+y=6 (intercepts (3,0),(0,6)).
- x=0,y=0⇒(0,0).
- x=2,y=0⇒(2,0).
- x=2 in 2x+y=6⇒4+y=6⇒y=2⇒(2,2).
- x=0 in 2x+y=6⇒y=6⇒(0,6).
Do not use (3,0): although 2x+y=6 meets the x-axis there, x=3 breaks x≤2, so (3,0) is outside the feasible region. The line x=2 cuts it off.
So the feasible region is the quadrilateral (0,0),(2,0),(2,2),(0,6).
Step 2 — Evaluate Z=11x+7y
| Vertex | Z=11x+7y |
|---|---|
| (0,0) | 0 |
| (2,0) | 22 |
| (2,2) | 22+14=36 |
| (0,6) | 0+42=42 |
Step 3 — Pick the best
The values are 0,22,36,42; the maximum is 42, at (0,6). Check (0,6): 2(0)+6=6≤6 and 0≤2 — feasible.
The maximum value is Z=42, attained at (0,6).
Method: Corner-Point Method when One Constraint Cuts Off a Vertex
Use this for a bounded maximisation where a simple bound (like x≤k) trims the region, so some "obvious" intersection points are actually infeasible.
Steps
Step 1: Plot all boundaries, including the cutting bound.
Draw each constraint line and the non-negativity axes. A vertical/horizontal bound such as x≤k or y≤k slices across a sloping line.
Step 2: Find candidate intersections — then keep only feasible ones.
Solve each relevant pair of lines. Crucially, an axis-intercept of a sloping line (e.g. where 2x+y=6 meets the x-axis) may lie outside the region because it violates the cutting bound. Discard any intersection that breaks any constraint.
Step 3: Evaluate Z=ax+by at the surviving corners.
Tabulate Z at each genuine vertex of the trimmed polygon and select the optimum.
The most common slip here is using the full line's intercept as a corner. Always re-check each candidate against every constraint before treating it as a vertex — the cutting bound is exactly what makes some intercepts invalid.
Common Mistakes
Mistake 1: Using (3,0) as a corner.
Why it's wrong: the line 2x+y=6 meets the x-axis at (3,0), but x=3 violates x≤2, so (3,0) is outside the feasible region. Correct approach: the bound x≤2 cuts the region — the true corner on that edge is (2,2), from x=2 in 2x+y=6.
Mistake 2: Not testing every candidate against all constraints.
Why it's wrong: an intersection of two lines can still break a third constraint and so not be a real vertex. Correct approach: check each candidate corner against 2x+y≤6, x≤2, x≥0, y≥0 before evaluating Z=11x+7y.
- KEAM 2025Set eng-2025-04274 marksMCQQ.Consider the linear programming problem. Minimize z=x+y Subject to the constraint 2x+3y≥6, x≥0, y≥0. Then the solution of L.P.P. is (A) 0 (B) 2 (C) 3 (D) 5 (E) 6
›Reveal solutionSolution
Evaluating z=x+y at the corner points (3,0) and (0,2) of the feasible region gives the minimum value 2.
The constraints are 2x+3y≥6, x≥0, y≥0. The boundary line 2x+3y=6 meets the axes at (3,0) and (0,2); the feasible region is the unbounded region above this line in the first quadrant.
For an unbounded region with a "≥" constraint and objective to be minimized, the optimum (if it exists) is at a corner point. Evaluate z=x+y:
z(3,0)=3,z(0,2)=2.
The smaller value is 2 at (0,2), and since z→∞ moving away from the boundary, this is the minimum.
✓Final answerThe correct option is (B).
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.Consider the linear programming problem: Maximize z=10x+5y subject to the constraints 2x+3y≤120, 2x+y≤60, x,y≥0. Then the coordinates of the corner points of the feasible region are (A) (0,0),(30,0),(0,40) and (15,30) (B) (0,0),(60,0),(0,40) and (15,30) (C) (0,0),(30,0),(0,60) and (15,30) (D) (0,0),(30,0),(0,40) and (30,40) (E) (0,0),(60,0),(0,40) and (30,40)
›Reveal solutionSolution
The corner points are (0,0),(30,0),(0,40),(15,30).
Concept and Intuition
The feasible region is a polygon bounded by the constraint lines and axes; its vertices are the corner points.
Step-by-Step Solution
- Origin (0,0) is a corner.
- On y=0: 2x≤60 (binding) and 2x≤120, so x=30⇒(30,0).
- On x=0: 3y≤120 (binding) and y≤60, so y=40⇒(0,40).
- Intersect 2x+3y=120 and 2x+y=60: subtract to get 2y=60⇒y=30, then 2x=30⇒x=15, giving (15,30).
- Corners: (0,0),(30,0),(0,40),(15,30).
Common Mistakes
- Using (60,0) or (0,60) (non-binding intercepts) as corners.
- Solving the intersection incorrectly.
✓Final answerThe correct option is (A) — (0,0),(30,0),(0,40) and (15,30).
ANSWER: A
- KEAM 2026Set eng-2026-04204 marksMCQQ.Consider the Linear Programming Problem (LPP): Maximize z=20x+40y subject to the constraints 3x+y≤14; x+3y≤10; x≥0; y≥0. The number of corner points of the feasible region is (A) 5 (B) 4 (C) 3 (D) 2 (E) 6
›Reveal solutionSolution
Find the vertices of the region bounded by the two lines and the axes.
Constraints: 3x+y≤14, x+3y≤10, x,y≥0.
- Origin: (0,0).
- x-axis intercept of 3x+y=14: (14/3,0).
- y-axis intercept of x+3y=10: (0,10/3).
- Intersection of 3x+y=14 and x+3y=10: solving gives x=4, y=2, i.e. (4,2) (feasible).
So the feasible region is a quadrilateral with 4 corner points.
✓Final answerThe correct option is (B).
- KEAM 2026Set eng-2026-04214 marksMCQQ.Which one of the following point is not in a feasible region bounded by the inequalities x≤4, y≤6, x+y≤6, x≥0, y≥0 (A) (0,0) (B) (4,0) (C) (4,2) (D) (0,6) (E) (6,0)
›Reveal solutionSolution
(6,0) violates x≤4, so it is the point not in the feasible region.
Constraints: x≤4, y≤6, x+y≤6, x≥0, y≥0.
- (0,0): all satisfied.
- (4,0): x=4≤4, x+y=4≤6 — OK.
- (4,2): x=4, y=2, x+y=6≤6 — OK.
- (0,6): y=6≤6, x+y=6≤6 — OK.
- (6,0): x=6>4 violates x≤4 — outside.
✓Final answerThe correct option is (E).
- KEAM 2026Set eng-2026-04194 marksMCQQ.Consider the Linear Programming Problem (LPP): Maximize z=30x+60y subject to the constraints x+2y≤12;2x+y≤12;4x+5y≥20;x≥0;y≥0. Then the number of corner points of the feasible region is (A) 8 (B) 6 (C) 3 (D) 4 (E) 5
›Reveal solutionSolution
Bounding the region by x+2y≤12, 2x+y≤12, 4x+5y≥20, x,y≥0 gives a pentagon with 5 corner points.
The constraint lines are L1:x+2y=12, L2:2x+y=12, L3:4x+5y=20, plus the axes.
Find the vertices of the feasible region (satisfying all constraints):
- L3∩x-axis: (5,0) — check: 5≤12, 10≤12 ✓
- L2∩x-axis: (6,0) — check: 24≥20, 6≤12 ✓
- L1∩L2: solving gives (4,4) — check: 36≥20 ✓
- L1∩y-axis: (0,6) — check: 6≤12, 30≥20 ✓
- L3∩y-axis: (0,4) — check: 8≤12, 4≤12 ✓
Going around the boundary (5,0)→(6,0)→(4,4)→(0,6)→(0,4)→(5,0) gives a pentagon.
Hence the number of corner points is 5.
✓Final answerThe correct option is (E).
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.