A dietician wishes to mix together two kinds of food X and Y in such a way that the mixture contains atleast 10 units of vitamin A, 12 units of vitamin B and 8 units of vitamin C. The vitamin contents of 1 kg food is given below.
FoodVitamin AVitamin BVitamin CX123Y221
1 kg of food X costs of Rs. 16 and 1 kg of food Y costs Rs. 20. Find the least cost of the mixture which will produce the required diet ?
Let the dietician mixes x kg of food X and y kg of food Y. We construct the following table:
FoodAmountVitamin AVitamin BVitamin CCostXx kgx2x3x16xYy kg2y2yy20yTotal(x+y)kgx+2y2x+2y3x+y16x+20yMinimum10128Requires
So, our problem is to minimize Z = 16x + 20y .........(i)
Subject to constraints x + 2y ≥ 10 ...........(ii)
2x+2y≥12⇔x+y≥6 ........(iii)
3x + y ≥ 8 .......(iv)
x ≥ 0, y ≥ 0 ..........(v)
Firstly draw the graph of the line x + 2y = 10
x010y50
Putting (0, 0) in the inequality x + 2y ≥ 10, we have
0+2×0≥10⇒0≥10 (which is false)
So, the half plane is away from the origin.
Secondly draw the graph of the line x + y = 6
x06y60
Putting (0, 0) in the inequality x + y ≥ 6 we have
0+0≥6⇒0≥6 (which is false)
So, the half plane is a way from the origin.
Thirdly draw the graph of the line 3x + y = 8
x083y80
Putting (0, 0) in the inequality 3x + y ≥ 8, we have
3×0+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.
On solving equations x + y = 6 and x + 2y = 10, we get B(2, 4)
Similarly, solving the equations 3x + y = 8 and x + y = 6, we get C(1, 5).
The corner points of the feasible region are A(10, 0), B(2, 4), C(1, 5) and D(0, 8). The values of Z at these points are as follows :
Corner pointZ=16x+20yA(10,0)160B(2,4)112→MinimumC(1,5)116D(0,8)160
As the feasible region is unbounded, therefore 112 may or may not be the minimum value of Z.
For this, we draw a graph of the inequality, 16x + 20 y < 112 or 4x + 5y < 28 and check, whether the resulting half plane has points common with the feasible region or not.
It can be seen that the feasible region has no common point with 4x + 5y < 28.
Therefore, the minimum value of Z is 112 at B(2, 4).
Thus, the mixture should contain 2 kg of food X and 4 kg of food Y, The minimum cost of the mixture is Rs. 112.