Let the diet contain x and y packets of foods P and Q respectively. Hence,
x ≥ 0 and y ≥ 0
The mathematical formulation of the given problem is given below
Maximize z = 6x + 3y
Subject to the constraints,
x, y ≥ 0 …………… (v)
The feasible region determined by the system of constraints is given below
A (15, 20), B (40, 15) and C (2, 72) are the corner points of the feasible region
The values of z at these corner points are given below
Corner point | z = 6x + 3y | |
A (15, 20) | 150 | |
B (40, 15) | 285 | Maximum |
C (2, 72) | 228 |
So, the maximum value of z is 285 at (40, 15)
Hence, to maximize the amount of vitamin A in the diet, 40 packets of food P and 15 packets of food Q should be used.
The maximum amount of vitamin A in the diet is 285 units.