A company manufactures two types of products A and B. Each unit of A requires 3 grams of nickel and 1 gram of chromium, while each unit of B requires 1 gram of nickel and 2 grams of chromium. The firm can produce 9 grams of nickel and 8 grams of chromium. The profit is ₹ 40 on each unit of product of type A and ₹ 50 on each unit of type B. How many units of each type should the company manufacture so as to earn maximum profit? Use linear programming to find the solution.
Previous Year Questions · Question 2 of 9
A company manufactures two types of products A and B.
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 occur at corner points, so we find every corner point and compare the values of there.
Step 1 — Define the variables.
Let the company make units of product A and units of product B. The numbers of units cannot be negative, so and .
Step 2 — Write the objective function.
The profit is ₹ 40 on each unit of A and ₹ 50 on each unit of B. We call the total profit ₹ and maximise it.
Step 3 — Write the constraints.
We read "the firm can produce 9 grams of nickel and 8 grams of chromium" as the amounts of the two metals available, so the metal used cannot exceed them. Each unit of A uses 3 g of nickel and each unit of B uses 1 g.
Each unit of A uses 1 g of chromium and each unit of B uses 2 g.
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 |
|---|---|---|
The origin satisfies both constraints ( and ), so each allowed half-plane is on the origin's side of its line. With and , the feasible region is the shaded quadrilateral .

Step 5 — Find the corner points.
Three corners lie on the axes: , where meets the x-axis, and where meets the y-axis.
For , we solve the two boundary equations together. We multiply by and subtract , which removes .
We substitute this value of into .
Step 6 — Evaluate Z at each corner point.
We substitute each corner point into .
| Corner point | Working | Value of (in ₹) |
|---|---|---|
The region is bounded, so the largest corner value, 230 at , is the maximum.
Therefore, the company should make 2 units of product A and 3 units of product B, for a maximum profit of ₹ 230.
