SOLUTION: An individual needs a daily supplement of at least 510 units of vitamin C and 266 of vitamin E and agrees to obtain this supplement by eating two foods, I and II. Each ounce of foo

Algebra.Com
Question 1205327: An individual needs a daily supplement of at least 510 units of vitamin C and 266 of vitamin E and agrees to obtain this supplement by eating two foods, I and II. Each ounce of food I contains 102 units of vitamin C and 19 units of vitamin E, while each ounce of food II contains 51 units of vitamin C and also 38 units of vitamin E. The total supplement of these two foods must be at most 21 ounces. Unfortunately, food I contains 19 units of cholesterol per ounce and food II contains 13 units of cholesterol per ounce. Find the appropriate amounts of the two food supplements so that cholesterol is minimized. Find the minimum amount of cholesterol.
amount of food I
amount of food II
minimum cholesterol

Found 3 solutions by math_tutor2020, Theo, ikleyn:
Answer by math_tutor2020(3817)   (Show Source): You can put this solution on YOUR website!

x = number of ounces of food I
y = number of ounces of food II
These are integers such that and i.e. they are nonnegative.

Table
Food IFood IITotal
Vitamin C102x51y102x+51y
Vitamin E19x38y19x+38y
Cholesterol19x13y19x+13y

The expressions in the table are due to the instructions.
For instance "Each ounce of food I contains 102 units of vitamin C" leads to 102x in the "food I" column and "vitamin C" row.
The other cells of the table are filled out in a smilar fashion.
The "total" column is the result of adding along each row.

and because "An individual needs at least 510 units of vitamin C and 266 of vitamin E" (paraphrased).
The phrasing "at least" means "that amount or more".
It's the lowest we can go. Think of it as the floor value.

because "The total supplement of these two foods must be at most 21 ounces"
"At most" means "that's the highest we can go" i.e. "that amount or less".
Think of it as the ceiling value.

This is our system of inequalities:


The standard textbook process involves plotting each inequality on the same xy grid, and then looking to see where all of the regions overlap.

I'll take a different approach.
Let's consider this system.

where each "greater than" has been flipped to "less than" and vice versa.
Each "or equal to" is erased.
Each inequality shown above is the complete opposite of each inequality of the original system.

Graph this new system

Desmos link
https://www.desmos.com/calculator/ky0xk5akxk
It's a mess of shaded regions. But what isn't shaded is the graph of the original system
This is because taking the opposite means we're shading outside the solution region.

This region is a pentagon with these 5 corner points
A = (0,10)
B = (0,21)
C = (21,0)
D = (14,0)
E = (2,6)
Each corner point is determined by solving a system of two equations.
For instance, point E is determined by solving

those are the boundary line equations for and respectively. I'll leave the scratch work for the student to do.

Edit: tutor @ikleyn makes a good point. I forgot to mention that the boundary of the solution is completely solid. This means points on the boundary are included in the solution set. This includes of course the corner points mentioned above.
The graph shown above has dashed lines because of the lack of "or equal to" (but remember we took the complete opposite of each inequality).

Now let's set up the objective function.
F(x,y) = amount of cholesterol
F(x,y) = 19x+13y because "Food I contains 19 units of cholesterol per ounce and food II contains 13 units of cholesterol per ounce."
Refer to the table above.
The goal is to make F(x,y) as small as possible (i.e. minimize it).

The corner points mentioned earlier are plugged into this objective function.
Point A
F(x,y) = 19x+13y
F(0,10) = 19*0+13*10
F(0,10) = 130
-----------------------
Point B
F(x,y) = 19x+13y
F(0,21) = 19*0+13*21
F(0,21) = 273
-----------------------
Point C
F(x,y) = 19x+13y
F(21,0) = 19*21+13*0
F(21,0) = 399
-----------------------
Point D
F(x,y) = 19x+13y
F(14,0) = 19*14+13*0
F(14,0) = 266
-----------------------
Point E
F(x,y) = 19x+13y
F(2,6) = 19*2+13*6
F(2,6) = 116

The results are
130, 273, 399, 266, and 116
the smallest of which is 116.
It corresponds to F(2,6).
Eating x = 2 ounces of food I and y = 6 ounces of food II gives the lowest cholesterol of 116 units.


----------------------------------------
----------------------------------------

Answer:
amount of food I: 2 ounces
amount of food II: 6 ounces
minimum cholesterol: 116 units

Answer by Theo(13342)   (Show Source): You can put this solution on YOUR website!
objective function:
cholesterol = 19x + 13y which you want to minimize.
constraint inequalities:
102x + 51y >= 510
19x + 38y >= 266
x + y >= 21
x >= 0
y >= 0

graph the opposite of the constraint inequalities.
the area on the graph that is not shaded is the region of feasibility.
the minimum cholesterol levels will be at the corner points of the region of feasibility.
evaluate the objective function at each corner point to find the corner point that contains the minimum amount of cholesterol.

here's what the graph looks like.



your corner points are (0,21) and (21,0).
the objective function is 19x + 13y.
at (0,21), the amount of cholesterol is 13 * 21 = 273.
at (21,0), the amount of cholesterol is 19 * 21 = 399.

your minimum amount of cholesterol is at (0,21)

i plotted two extra points to show you that the minimum is at the corner point.
at (10,10), the amount of cholesterol is 10 * 19 + 10 * 13 = 320 > 273.
at (20,20), the amount of cholesterol is 20 * 19 + 20 * 13 = 640 > 273.

all the constraints need to be satisfied at the minimum cost point.

at (0,21):
the amount of vitamin C = 21 * 51 = 1071 >= 510
the amount of vitamin E = 21 * 38 = 798 >= 266
total ounces of food II = 21 >= 21.

your solution is that the minimum amount of cholesterol is when you consume 21 ounces of food II and no ounces of food I.
with 21 ounces of food II, you get 51 * 21 = 1071 units of vitamin C and 38 * 21 = 798 units of vitamin E and 13 * 21 = 273 units of cholesterol.











Answer by ikleyn(52781)   (Show Source): You can put this solution on YOUR website!
.
An individual needs a daily supplement of at least 510 units of vitamin C and 266 of vitamin E
and agrees to obtain this supplement by eating two foods, I and II.
Each ounce of food I contains 102 units of vitamin C and 19 units of vitamin E, while
each ounce of food II contains 51 units of vitamin C and also 38 units of vitamin E.
The total supplement of these two foods must be at most 21 ounces.
Unfortunately, food I contains 19 units of cholesterol per ounce and food II contains 13 units of cholesterol per ounce.
Find the appropriate amounts of the two food supplements so that cholesterol is minimized. Find the minimum amount of cholesterol.
amount of food I
amount of food II
minimum cholesterol
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


The solution by @Theo is incorrect.

It is incorrect, because Theo incorrectly treats the condition
"The total supplement of these two foods must be at most 21 ounces."

Theo writes for it

        x + y >= 21

in his basic restrictions,  while the correct treatment is

        x + y <= 21     ("at most").


The solution by @math_tutor2020 is correct.


The only essential note to the @math_tutor2020 solution is that the dashed lines
in his plot DO BELONG to the solution region.



RELATED QUESTIONS

this time, our immune system is the best defense . With this, a Melegail wishes to mix... (answered by CPhill)
6 ounces of a given supplement has 45 units of vitamin C. How many units of vitamin C... (answered by ikleyn)
A doctor’s prescription calls for a daily intake containing 70 mg of vitamin C and 50 mg... (answered by stanbon)
Woofer Pet Foods produces a low-calorie dog food for overweight dogs. This product is... (answered by CPhill,ikleyn)
A person is ordered by doctor to take 15 units of vitamin A, 11 units of vitamin D, and 9 (answered by TimothyLamb)
A pharmacist has two vitamin-supplement powders. The first powder is 5% vitamin B1 and... (answered by josgarithmetic)
A pharmacist has two vitamin-supplement powders. The first powder is 15% vitamin B1 and... (answered by josgarithmetic)
A pharmacist has two vitamin-supplement powders. The first powder is 10% vitamin B1 and... (answered by josgarithmetic)
A pharmacist has two vitamin-supplement powders. The first powder is 10% vitamin B1 and... (answered by josgarithmetic)