Solution:
Key idea: The feasible region of a linear programming problem is the set of points that satisfy every constraint. If it is bounded, the maximum and the minimum of the objective function Z occur at corner points, so we find every corner point and compare the values of Z there.
Step 1 — Define the variables.
Let the company make x half sleeve shirts and y full sleeve shirts per week, with x≥0 and y≥0.
Step 2 — Write the objective function.
The profit is ₹ 1 on a half sleeve shirt and ₹ 1.50 on a full sleeve shirt. We call the weekly profit ₹ Z and maximise it.
Z=x+23y
Step 3 — Write the constraints.
No machine may run for more than 40 hours a week. For machine M1, the table gives 1 hour per half sleeve shirt and 2 hours per full sleeve shirt.
x+2y≤40
For machine M2, the hours are 2 and 1.
2x+y≤40
For machine M3, each shirt takes 58 hours.
58x+58y≤40
We multiply both sides by 85.
x+y≤25
Step 4 — Draw the boundary lines and shade the feasible region.
We draw each boundary line through its points on the axes.
| Boundary line | Point on the x-axis | Point on the y-axis |
|---|
| x+2y=40 | (40,0) | (0,20) |
| 2x+y=40 | (20,0) | (0,40) |
| x+y=25 | (25,0) | (0,25) |
The origin satisfies all three constraints, so each allowed half-plane is on the origin's side of its line. With x≥0 and y≥0, the feasible region is the shaded pentagon OABCD.

Step 5 — Find the corner points.
On the axes, the region ends at A(20,0) on 2x+y=40 and at D(0,20) on x+2y=40.
For B, we solve 2x+y=40 and x+y=25 together. Subtracting the second equation from the first removes y.
x=15
We substitute this value of x into x+y=25.
y=25−15
y=10
For C, we solve x+2y=40 and x+y=25 together. Subtracting the second equation from the first removes x.
y=15
We substitute this value of y into x+y=25.
x=25−15
x=10
Each point also satisfies the remaining machine limit: at B(15,10) machine M1 runs 35 hours, and at C(10,15) machine M2 runs 35 hours.
Step 6 — Evaluate Z at each corner point.
We substitute each corner point into Z=x+23y.
| Corner point | Working | Value of Z (in ₹) |
|---|
| O(0,0) | 1×0+23×0 | 0 |
| A(20,0) | 1×20+23×0 | 20 |
| B(15,10) | 1×15+23×10 | 30 |
| C(10,15) | 1×10+23×15 | 32.5 |
| D(0,20) | 1×0+23×20 | 30 |
The region is bounded, so the largest corner value, 32.5 at C(10,15), is the maximum. Both numbers at C are whole numbers, as numbers of shirts must be.
Therefore, the company should make 10 half sleeve shirts and 15 full sleeve shirts per week, for a maximum profit of ₹ 32.50 per week.