A farmer has a supply of chemical fertilizer of type A which contains 10% nitrogen and 6% phosphoric acid and of type B which contains 5% nitrogen and 10% phosphoric acid. After the soil test, it is found that at least 7 kg of nitrogen and the same quantity of phosphoric acid is required for a good crop. The fertilizer of type A costs ₹ 5.00 per kg and the type B costs ₹ 8.00 per kg. Using Linear programming, find how many kilograms of each type of fertilizer should be bought to meet the requirement and for the cost to be minimum. Find the feasible region in the graph.
Previous Year Questions · Question 3 of 9
A farmer has a supply of chemical fertilizer of type A which contains 10% nitrogen and 6% phosphoric acid and of type…
Solution:
Key idea: The feasible region is the set of points that satisfy every constraint. Here it is unbounded, so we compare at the corner points and then check that the open half-plane where is smaller than the least corner value has no point in common with the region; only then is that corner value the minimum.
Step 1 — Define the variables.
Let the farmer buy kg of fertilizer A and kg of fertilizer B, with and .
Step 2 — Write the objective function.
Type A costs ₹ 5 per kg and type B costs ₹ 8 per kg. We call the total cost ₹ and minimise it.
Step 3 — Write the constraints.
Type A has nitrogen and type B has , and at least 7 kg of nitrogen is needed.
We multiply both sides by to clear the fractions.
Type A has phosphoric acid and type B has , and at least 7 kg is needed.
We multiply both sides by .
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 fails both constraints ( is false), so each allowed half-plane is on the side away from the origin. With and , the feasible region is the unbounded shaded region below.

Step 5 — Find the corner points.
The line meets the y-axis at , and meets the x-axis at .
For , we solve the two boundary equations together. We rearrange , and write ; then we substitute it into .
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 smallest corner value is 570, at .
Step 7 — Check the unbounded region.
We look at the open half-plane . Every corner gives , and the region extends only upwards and to the right, where increases. So the half-plane has no point in common with the feasible region, and 570 is the minimum.
Therefore, the farmer should buy 50 kg of fertilizer A and 40 kg of fertilizer B, at a minimum cost of ₹ 570.
