Linear Programming: Feasible Region and Corner-Point Method
Linear programming finds the best value, largest profit or smallest cost, of a linear expression when the variables must satisfy a set of linear inequalities. In two variables the whole problem can be solved on a graph: the inequalities cut out a region, and the best value always sits at one of its corners. The topic is part of FSc Part 2 and Class 12 and gives quick, reliable marks in board exams and entry tests.
Asked in: ECAT, NUST NET, JEE Main, FSc and Class 11-12 boards
The parts of a linear programming problem
The decision variables, usually x and y, are the quantities we choose, such as the number of chairs and tables to make. The objective function Z = ax + by is the quantity to maximise or minimise.
The constraints are linear inequalities that the variables must satisfy, such as limits on time, money or space. Almost every practical problem also has the non-negativity conditions x ≥ 0 and y ≥ 0.
- Objective: maximise or minimise Z = ax + by
- Constraints: a₁x + b₁y ≤ c₁, a₂x + b₂y ≥ c₂, …
- Non-negativity: x ≥ 0, y ≥ 0
Graphing a linear inequality
Draw the boundary line ax + by = c, most easily through its intercepts (c/a, 0) and (0, c/b). The inequality holds on one whole side of the line, a half-plane.
To find the correct side, test a point not on the line, usually the origin. If (0, 0) satisfies the inequality, keep the side containing the origin; otherwise keep the other side. For x + 2y ≤ 8, 0 ≤ 8 is true, so the region is on the origin's side.
- Intercepts of ax + by = c: x = c/a and y = c/b
- x ≥ 0 is the right half-plane; y ≥ 0 is the upper half-plane
The feasible region and its corner points
The feasible region is the set of points that satisfy all the constraints at once, the overlap of all the half-planes. Each point in it is a feasible solution. The region is always convex: the segment between any two feasible points stays inside it.
Corner points (vertices) are where two boundary lines meet on the edge of the region. Find each by solving the two line equations together, and keep only those that satisfy every other constraint. A region may be bounded (a closed polygon) or unbounded (stretching off to infinity); it may also be empty if the constraints contradict each other.
- Corner point = solution of two boundary equations that satisfies all other constraints
The corner-point method
Corner-point theorem: if a linear objective has a greatest or least value on the feasible region, that value occurs at a corner point. So we only need to check the corners, not the infinitely many points inside.
Method: (1) write the constraints, (2) sketch the feasible region, (3) find all corner points, (4) evaluate Z at each corner, (5) choose the largest for a maximum or the smallest for a minimum.
- Bounded region: both the maximum and the minimum of Z exist and occur at corners
Unbounded regions and multiple optima
If the region is unbounded, an optimum may not exist. Suppose the smallest corner value of Z is m. The minimum is m only if the open half-plane Z less than m contains no feasible point; similarly a maximum M needs the half-plane Z greater than M to miss the region. In a typical cost problem with constraints of the ≥ type and positive costs, the minimum exists but the maximum does not.
If two neighbouring corners give the same optimal value, every point on the edge joining them is also optimal. This happens when the objective line is parallel to that edge.
- Equal optimal values at two adjacent corners: infinitely many optimal solutions on the edge between them
Formulating word problems
Name the variables clearly with units, for example x = number of chairs made per day. Turn each limited resource into one inequality: the amount used by x and y together must not exceed what is available.
Requirements such as 'at least 8 units of vitamin A' become ≥ constraints. The objective is the total profit or cost, written as a linear expression in x and y.
- Resource used per item × number of items summed ≤ resource available
- Requirement supplied ≥ requirement needed
Solved examples
- Describe the feasible region for x + 2y ≤ 8, x ≥ 0, y ≥ 0 and list its corner points.
- The line x + 2y = 8 meets the axes at (8, 0) and (0, 4). The origin satisfies 0 ≤ 8, so we keep the side containing the origin.
- With x ≥ 0 and y ≥ 0, the region is the triangle in the first quadrant cut off by this line.
- Corner points: (0, 0), (8, 0) and (0, 4).
Answer: A triangle with vertices (0, 0), (8, 0), (0, 4) - Maximise Z = 3x + 2y subject to x + y ≤ 4, x + 3y ≤ 6, x ≥ 0, y ≥ 0.
- Boundary lines: x + y = 4 through (4, 0) and (0, 4); x + 3y = 6 through (6, 0) and (0, 2).
- The region is a quadrilateral. Where the two lines meet: subtract to get 2y = 2, so y = 1 and x = 3.
- Corners and values: (0, 0): 0; (4, 0): 12; (3, 1): 11; (0, 2): 4.
- The largest is 12 at (4, 0).
Answer: Maximum Z = 12 at x = 4, y = 0 - Minimise Z = 2x + 5y subject to x + y ≥ 4, x + 3y ≥ 6, x ≥ 0, y ≥ 0.
- Both constraints are of the ≥ type and the origin fails them, so the region lies away from the origin and is unbounded.
- Corners: (0, 4) on the y-axis, the intersection (3, 1) of the two lines, and (6, 0) on the x-axis.
- Values: (0, 4): 20; (3, 1): 11; (6, 0): 12. The smallest corner value is 11.
- Check the half-plane 2x + 5y less than 11: it contains no feasible point, so the minimum really is 11.
Answer: Minimum Z = 11 at x = 3, y = 1 - Ali's workshop makes chairs and tables. A chair needs 2 hours of carpentry and 1 hour of polishing; a table needs 3 hours of carpentry and 2 hours of polishing. Each day 24 hours of carpentry and 14 hours of polishing are available. The profit is Rs 300 on a chair and Rs 500 on a table. How many of each should he make to maximise profit?
- Let x chairs and y tables be made. Constraints: 2x + 3y ≤ 24 (carpentry), x + 2y ≤ 14 (polishing), x ≥ 0, y ≥ 0. Objective: Z = 300x + 500y.
- Intersection: from x = 14 − 2y, 2(14 − 2y) + 3y = 24, so y = 4 and x = 6.
- Corners and profit: (0, 0): 0; (12, 0): 3600; (6, 4): 1800 + 2000 = 3800; (0, 7): 3500.
- The best is 6 chairs and 4 tables.
Answer: 6 chairs and 4 tables, profit Rs 3,800 - Maximise Z = 2x + 4y subject to x + 2y ≤ 10, 3x + y ≤ 15, x ≥ 0, y ≥ 0.
- Corners: (0, 0), (5, 0), (0, 5) and the intersection of x + 2y = 10 with 3x + y = 15. From y = 15 − 3x: x + 30 − 6x = 10, x = 4, y = 3.
- Values: (0, 0): 0; (5, 0): 10; (4, 3): 20; (0, 5): 20.
- Two adjacent corners give the same maximum 20, because Z = 2(x + 2y) is parallel to the edge x + 2y = 10.
- Every point on the segment from (0, 5) to (4, 3) gives Z = 20.
Answer: Maximum Z = 20, at every point of the segment joining (0, 5) and (4, 3) - Neha mixes two foods. Food P costs Rs 40 per kg and gives 3 units of vitamin A and 1 unit of iron per kg; food Q costs Rs 60 per kg and gives 1 unit of vitamin A and 2 units of iron per kg. The mixture must give at least 8 units of vitamin A and at least 6 units of iron. Find the least cost.
- Let x kg of P and y kg of Q be used. Constraints: 3x + y ≥ 8, x + 2y ≥ 6, x ≥ 0, y ≥ 0. Cost Z = 40x + 60y.
- Corners of the unbounded region: (0, 8), (6, 0) and the intersection: from y = 8 − 3x, x + 16 − 6x = 6, x = 2, y = 2.
- Costs: (0, 8): 480; (2, 2): 200; (6, 0): 240.
- The half-plane 40x + 60y less than 200 has no feasible point, so the least cost is Rs 200, using 2 kg of each food.
Answer: Rs 200, with 2 kg of P and 2 kg of Q
Exam shortcuts
- Find corner points accurately by solving the pairs of equations; a sketch only tells you which pairs to solve.
- Always test a candidate corner against every constraint; an intersection of two lines that breaks a third constraint is not a corner.
- With all constraints of the ≤ type and x, y ≥ 0, the origin is a corner and the region is bounded; with ≥ constraints, expect an unbounded region and check whether the optimum exists.
- If Z is a multiple of one constraint's left side, expect many optimal points along that edge.
- In MCQs, you can test each option's point: it must be feasible, and the best feasible option's Z value is a strong hint.
Common mistakes
- Shading the wrong side of a line. Test the origin (or another point) in the original inequality every time.
- Listing the intersection of two lines as a corner even though it lies outside the region.
- Claiming a maximum for an unbounded region without checking whether Z can grow without limit.
- Reporting the corner point when the question asks for the optimal value of Z, or the other way round.
- Forgetting the non-negativity conditions, so corners with negative coordinates creep in.
Practice MCQs
- Which point lies in the feasible region 2x + 3y ≤ 12, x ≥ 0, y ≥ 0?
A) (6, 1)
B) (4, 2)
C) (0, 5)
D) (2, 2)
Answer: D) (2, 2) — At (2, 2), 2x + 3y = 4 + 6 = 10, which is at most 12. At (4, 2) the value is 14, at (0, 5) it is 15 and at (6, 1) it is 15, all greater than 12. - In a linear programming problem with a bounded, non-empty feasible region, where does the maximum of the objective function occur?
A) At an interior point only
B) Always at the origin
C) At the centre of the region
D) At a corner point of the region
Answer: D) At a corner point of the region — By the corner-point theorem, a linear objective on a bounded region reaches its maximum (and minimum) at a corner. The origin is often a corner but is optimal only in special cases, and a linear function never has a maximum only at an interior point. - Which statement describes the feasible region of x + y ≥ 3, x ≥ 0, y ≥ 0?
A) It is unbounded, with corner points (3, 0) and (0, 3)
B) It is empty
C) It is the single point (3, 3)
D) It is the triangle with vertices (0, 0), (3, 0) and (0, 3)
Answer: A) It is unbounded, with corner points (3, 0) and (0, 3) — The origin fails x + y ≥ 3, so the region is the part of the first quadrant on the far side of the line, which goes on without limit. Its corners are (3, 0) and (0, 3). The triangle including the origin is the region for x + y ≤ 3, and the region is neither empty nor a single point, since (5, 5) is feasible. - What is the maximum value of Z = 4x + 3y subject to x + y ≤ 5, x ≥ 0, y ≥ 0?
A) 15
B) 20
C) 25
D) 35
Answer: B) 20 — The corners are (0, 0), (5, 0) and (0, 5), giving Z = 0, 20 and 15. The maximum is 20. 15 is the value at (0, 5), 35 adds both intercept values as if (5, 5) were feasible, and 25 uses 5 × 5. - How many corner points does the feasible region x + y ≤ 6, x ≤ 4, y ≤ 5, x ≥ 0, y ≥ 0 have?
A) 6
B) 5
C) 3
D) 4
Answer: B) 5 — The corners are (0, 0), (4, 0), (4, 2), (1, 5) and (0, 5): five in all. The line x + y = 6 cuts off the corner (4, 5) of the rectangle and replaces it with two corners, (4, 2) and (1, 5). 4 counts the rectangle only, 6 includes the infeasible point (4, 5), and 3 counts only the triangle under x + y = 6. - What is the maximum value of Z = 3x + 4y subject to 2x + 5y ≤ 20, 2x + y ≤ 8, x ≥ 0, y ≥ 0?
A) 12
B) 16
C) 22
D) 19.5
Answer: D) 19.5 — The lines meet where 4y = 12, so y = 3 and x = 2.5. Corners: (0, 0): 0; (4, 0): 12; (2.5, 3): 7.5 + 12 = 19.5; (0, 4): 16. The maximum is 19.5. 16 and 12 are the values at the axis corners, and 22 uses the infeasible point (2, 4). - What is the minimum value of Z = 3x + 2y subject to x + y ≥ 5, x ≥ 1, y ≥ 1?
A) 11
B) 14
C) 10
D) 5
Answer: A) 11 — The region is unbounded with corners (1, 4) and (4, 1). Z(1, 4) = 3 + 8 = 11 and Z(4, 1) = 12 + 2 = 14. No feasible point gives Z less than 11, so the minimum is 11. 10 uses the point (0, 5), which breaks x ≥ 1, and 5 is just the constant in x + y ≥ 5. - For Z = 2x + 3y subject to x + y ≥ 4, x ≥ 0, y ≥ 0, which statement is true?
A) The maximum of Z is 8
B) Z has no maximum value
C) The maximum of Z is 0
D) The maximum of Z is 12
Answer: B) Z has no maximum value — The region is unbounded: points such as (100, 100) are feasible, and Z grows without limit as x and y increase, so there is no maximum. 12 and 8 are the values at the corners (0, 4) and (4, 0), and 12 is in fact the minimum, not the maximum. - What is the minimum value of Z = 4x + 6y subject to 2x + y ≥ 8, x + 2y ≥ 10, x ≥ 0, y ≥ 0?
A) 40
B) 30
C) 32
D) 48
Answer: C) 32 — Corners: (0, 8), (2, 4) and (10, 0). Z = 48, 8 + 24 = 32 and 40. The half-plane 4x + 6y less than 32 contains no feasible point, so the minimum is 32. 40 and 48 are the other corner values, and 30 would need an infeasible point. - A feasible region is the quadrilateral with corners (0, 0), (6, 0), (4, 3) and (0, 5). Which system of constraints, together with x ≥ 0 and y ≥ 0, describes it?
A) 2x + 3y ≤ 18 and 2x + y ≤ 10
B) 3x + 2y ≥ 18 and x + 2y ≥ 10
C) 3x + 2y ≤ 18 and x + 2y ≤ 10
D) 3x + 2y ≤ 18 and x + 2y ≥ 10
Answer: C) 3x + 2y ≤ 18 and x + 2y ≤ 10 — The edge from (6, 0) to (4, 3) lies on 3x + 2y = 18 and the edge from (4, 3) to (0, 5) lies on x + 2y = 10. The origin is inside, and 0 ≤ 18, 0 ≤ 10, so both are ≤ constraints. Swapping the coefficients gives lines that miss these points, and any ≥ constraint would exclude the origin. - The corners of a feasible region are (0, 0), (4, 0), (3, 2) and (0, 3). For Z = px + qy with p and q positive, the maximum occurs at both (4, 0) and (3, 2). What is the relation between p and q?
A) p = q
B) p = 2q
C) p = 3q
D) q = 2p
Answer: B) p = 2q — Equal values at the two corners: 4p = 3p + 2q, so p = 2q. Then Z(0, 3) = 3q is less than 4p = 8q, so these really are the maxima. q = 2p reverses the relation, and p = q or p = 3q would make one corner strictly better than the other. - What is the minimum value of Z = x − 3y subject to x + y ≤ 8, y ≤ 5, x ≥ 1, y ≥ 0?
A) −12
B) −15
C) −14
D) 1
Answer: C) −14 — Corners: (1, 0), (8, 0), (3, 5) and (1, 5). Z = 1, 8, 3 − 15 = −12 and 1 − 15 = −14. The minimum is −14 at (1, 5). −12 is the value at (3, 5), −15 uses (0, 5), which breaks x ≥ 1, and 1 is the value at (1, 0). - What is the maximum value of Z = 7x + 5y subject to x + 2y ≤ 10, 3x + y ≤ 12, x ≥ 0, y ≥ 0?
A) 37.6
B) 40
C) 25
D) 28
Answer: A) 37.6 — The lines meet where y = 12 − 3x and x + 24 − 6x = 10, so x = 14/5 and y = 18/5. Z there = 98/5 + 90/5 = 188/5 = 37.6. The axis corners give 28 at (4, 0) and 25 at (0, 5). 40 would need the infeasible point (5, 1). - A dealer has Rs 2,00,000 and room for 60 items. A fan costs Rs 2,500 and earns Rs 300 profit; a cooler costs Rs 5,000 and earns Rs 550 profit. What is the greatest profit he can make?
A) Rs 22,000
B) Rs 33,000
C) Rs 23,000
D) Rs 18,000
Answer: C) Rs 23,000 — With x fans and y coolers: 2500x + 5000y ≤ 200000 (so x + 2y ≤ 80) and x + y ≤ 60. Corners: (60, 0): 18000; (40, 20): 12000 + 11000 = 23000; (0, 40): 22000. The greatest profit is Rs 23,000 with 40 fans and 20 coolers. Rs 33,000 assumes 60 coolers, which the budget does not allow. - What is the maximum value of Z = 3x + 4y subject to x + y ≤ 7, 2x + 5y ≤ 20, x ≤ 6, x ≥ 0, y ≥ 0?
A) 23
B) 28
C) 22
D) 18
Answer: A) 23 — Corners: (0, 0), (6, 0), (6, 1), (5, 2) and (0, 4). Z = 0, 18, 22, 15 + 8 = 23 and 16. The maximum is 23 at (5, 2), where x + y = 7 meets 2x + 5y = 20. 22 is the value at (6, 1), 18 at (6, 0), and 28 uses (0, 7), which breaks 2x + 5y ≤ 20.
Questions
Why is the optimum always at a corner?
Z = ax + by changes steadily in one direction across the plane. Sliding the line Z = constant across a convex region, the last point it touches is a corner (or a whole edge, which includes corners).
What if the feasible region is unbounded?
Find the best corner value, then check whether the open half-plane beyond it (Z greater than M for a maximum, Z less than m for a minimum) meets the region. If it does, the optimum does not exist.
What does it mean if there is no feasible region?
The constraints contradict each other, as with x + y ≤ 2 and x + y ≥ 5 in the first quadrant. Then the problem has no solution at all.
Do the answers have to be whole numbers?
Not in ordinary linear programming; a corner such as (2.5, 3) is acceptable. If the variables count objects, an integer answer may be needed, and this is a different, harder problem.