Solveeit Logo

Question

Question: Every gram of wheat provides 0.1g of proteins and 0.25g of carbohydrates. The corresponding values o...

Every gram of wheat provides 0.1g of proteins and 0.25g of carbohydrates. The corresponding values of rice are 0.05g and 0.5g respectively. Wheat cost Rs.4 per kg and rice Rs.6. The minimum daily requirements of proteins and carbohydrates for an average child are 50g and 200g respectively. Then in what quantities should wheat and rice be mixed in the daily diet to provide a minimum daily requirement of proteins and carbohydrates at minimum cost.

Explanation

Solution

We solve this by linear programming that is by drawing a graph of inequalities. Let ‘xx’ grams of wheat are mixed and ‘yy’ grams of rice are mixed. Using this we will get two inequities. We find the values by equating ‘xx’ to zero, we get ‘yy’ and vice versa. Plotting a graph we can find the minimum cost.

Complete step-by-step solution:
Let xx gram of wheat and y grams of rice are mixed in a daily diet.
Given, every gram of wheat provides 0.1g of proteins and every gram of rice gives 0.05g of proteins. Therefore, xx grams of wheat and yy grams of rice will provide 0.1x+0.05y0.1x + 0.05y grams of proteins. But the minimum requirement of proteins is 50g.
That is, 0.1x+0.05y500.1x + 0.05y \geqslant 50.
To get the simplified form multiply and divide by 100 on each term,
0.1x×100100+0.05y×10010050×100100\Rightarrow 0.1x \times \dfrac{{100}}{{100}} + 0.05y \times \dfrac{{100}}{{100}} \geqslant 50 \times \dfrac{{100}}{{100}}
10x100+5y10050\Rightarrow \dfrac{{10x}}{{100}} + \dfrac{{5y}}{{100}} \geqslant 50
Cancelling, we get,
x10+y2050\Rightarrow \dfrac{x}{{10}} + \dfrac{y}{{20}} \geqslant 50 ----- (1)
Similarly xxgrams of wheat and yygrams of rice will provide0.25x+0.5y0.25x + 0.5ygrams of carbohydrates and the minimum daily requirement is 200 grams.
That is, 0.25x+0.5y2000.25x + 0.5y \geqslant 200.
To get the simplified form multiply and divide by 100 on each term,
0.25x×100100+0.5y×100100200×100100\Rightarrow 0.25x \times \dfrac{{100}}{{100}} + 0.5y \times \dfrac{{100}}{{100}} \geqslant 200 \times \dfrac{{100}}{{100}}
25x100+50y100200\Rightarrow \dfrac{{25x}}{{100}} + \dfrac{{50y}}{{100}} \geqslant 200
Cancelling, we get:
x4+y2200\Rightarrow \dfrac{x}{4} + \dfrac{y}{2} \geqslant 200 ----- (2)
Also quantities of wheat and rice will never be negative.
x0x \geqslant 0and y0y \geqslant 0
It is given that wheat costs Rs.4 per kg and rice Rs.6 per kg. So we have,
4x1000+6y1000=z\dfrac{{4x}}{{1000}} + \dfrac{{6y}}{{1000}} = zminimum.
Subject to the constraints
x10+y2050\dfrac{x}{{10}} + \dfrac{y}{{20}} \geqslant 50, x4+y2200\dfrac{x}{4} + \dfrac{y}{2} \geqslant 200, x0x \geqslant 0, y0y \geqslant 0.
Now to find the points ,
Put x=0x = 0 in equation (1) we have,
010+y20=50\Rightarrow \dfrac{0}{{10}} + \dfrac{y}{{20}} = 50
y20=50\Rightarrow \dfrac{y}{{20}} = 50
y=1000\Rightarrow y = 1000. Thus we have (0, 1000).
Similarly put y=0y = 0 in equation (1)
x10=50\Rightarrow \dfrac{x}{{10}} = 50
x=500\Rightarrow x = 500. Thus we have (500, 0).
Similarly put x=0x = 0 in equation (2), we have:
y2=200\Rightarrow \dfrac{y}{2} = 200
y=400\Rightarrow y = 400. Thus we have (0, 400)
Similarly put y=0y = 0 in equation (2)
x4=200\Rightarrow \dfrac{x}{4} = 200
x=800\Rightarrow x = 800. Thus we have (800, 0).
Thus we have the points, (0,1000)(0,1000), (500,0)(500,0), (0,400)(0,400)and (800,0)(800,0). Plotting a graph for this.
Scale: X-axis = 1 unit =100 units, Y-axis = 1 unit =100 units.

The values of the objective function at these points are given in the following table:

Corner pointsValue of z=4x1000+6y1000z = \dfrac{{4x}}{{1000}} + \dfrac{{6y}}{{1000}}
(800,0)(800,0)z=4×8001000+6×01000=3210=3.2z = \dfrac{{4 \times 800}}{{1000}} + \dfrac{{6 \times 0}}{{1000}} = \dfrac{{32}}{{10}} = 3.2
(400,200)(400,200)z=4×4001000+6×2001000=1.6+1.2=2.8z = \dfrac{{4 \times 400}}{{1000}} + \dfrac{{6 \times 200}}{{1000}} = 1.6 + 1.2 = 2.8
(0,1000)(0,1000)z=4×01000+6×10001000=6z = \dfrac{{4 \times 0}}{{1000}} + \dfrac{{6 \times 1000}}{{1000}} = 6

Clearly, Z is minimum for x=400x = 400grams of wheat and y=200y = 200 grams of rice. The minimum cost is Rs.2.82.8

Note: All we did in above is converting the given word problem into inequality problems. As we know that we need a point to join a line, hence we find the inequality value at ‘x’ is zero and then at ‘y’ is zero. Also if they mention minimum we take greater than or equal to(\geqslant). If they mention maximum we take less than or equal to (\leqslant).