Question
A factory manufactures two products A and B. Product A requires 2 hours of machine time and 1 hour of labour. Product B requires 1 hour of machine time and 2 hours of labour. Available machine time is 100 hours and labour time is 80 hours per week. Profit on A is ₹50 and on B is ₹40. Formulate and solve the LP problem graphically to maximize profit.
Solution — Step by Step
Let = number of units of Product A produced per week
Let = number of units of Product B produced per week
Since we cannot produce negative quantities: , (non-negativity constraints)
Machine time constraint: (A uses 2 hours, B uses 1 hour; max 100 hours)
Labour constraint: (A uses 1 hour, B uses 2 hours; max 80 hours)
Objective function (maximize profit):
The feasible region is defined by all four constraints. Find the vertices (corner points):
Corner 1: Origin
Corner 2: -intercept of machine constraint: . Point:
Corner 3: -intercept of labour constraint: . Point:
Corner 4 (intersection of the two lines):
… (i)
… (ii)
From (i): . Substitute in (ii):
. Point:
| Corner point | |
|---|---|
Maximum at
Why This Works
The fundamental theorem of linear programming: the maximum (or minimum) of a linear objective function over a convex feasible region always occurs at a corner (vertex) of the region. This is because a linear function increases uniformly in one direction — it will be maximized at the extreme boundary, which for a polygon is always a corner.
We never need to check interior points — only the finitely many corners.
Answer: Produce 40 units of A and 20 units of B per week for maximum weekly profit of ₹2800.
Common Mistake
Students sometimes forget to check ALL corner points, or they include only the intercepts of one constraint. The optimal solution frequently occurs at the intersection of two constraint lines (like here), not at an axis intercept. Always find all corners: origin, both axis intercepts, and ALL intersection points of pairs of constraint lines that fall within the feasible region.