Reshma wishes to mix two types of food P and Q in such a way that the vitamin contents of the mixture contain at least 8 units of vitamin A and 11 units of vitamin B. Food P costs Rs. 60 per kg and food Q costs Rs. 80 per kg. Food P contains 3 units per kg of vitamin A and 5 units per kg of vitamin B while food Q contains 4 units per kg of vitamin A and 2 units per kg of vitamin B. Determine the minimum cost of the mixture.
Let Reshma mixes x kg of food P and y kg of food Q. Construct the following table:
FoodQuantityVitamin AVitamin BCost (Rs.per kg)Px kg3x5x60xQy kg4y2y80yTotal3x+4y5x+2y60x+80yRequirementAtleast 8Atleast 11
The mixture must contain atleast 8 units of vitamin A and 11 units of vitamin B, Total cost Z of purchasing food is Z = 60x + 80y
The mathematical formulation of the given problem is
Minimize Z = 60x + 80y ............(i)
Subject to the constrains 3x + 4y ≥ 8 .........(ii)
5x + 2y ≥ 11 .........(iii)
x ≥ 0, y ≥ 0 .......(iv)
Firstly, draw the graph of the line 3x + 4y = 8
x083y20
Putting (0, 0) in the inequality 3x + 4y ≥ 8, we have
3×0+4×0≤8
⇒ 0≥8 (which is false)
So, the half plane is away from the origin.
Since, x, y ≥ 0
So, the feasible region lies in the first quadrant.
Secondly, draw the graph of the line 5x + 2y = 11
x0115y1120
Putting (0, 0) in the inequality 5x + 2y ≥ 11,
we have 5×0+2×0≥11
⇒0≥11 (which is false)
So, the half plane is away from the origin.
It can be seen that the feasible region is unbounded.
On solving equations 3x+4y=8 and 5x + 2y = 11, we get B(2,12)
The corner points of the feasible region are A(83,0)B(2,12)andC(0,112).
The values of Z at these points are follows :
Corner pointZ=60 x+80 yA(83,0)160→MinimumB(2,12)160→MinimumC(0,112)440
As the feasible region is unbounded, therefore 160 may or may not be the minimum value of Z. For this, we graph the inequality 60 x + 80 y < 160 or 3x + 4y < 8 and check whether the resulting half plane has feasible region has no common point with 3x + 4y < 8 therefore, the minimum cost of the mixture will be Rs. 160 at the line segment joining the points A(83,0) and B(2,12).
Note. Please be careful, while making the table and plotting the graph of inequalities.