Peter G. answered 09/27/16
Tutor
4.9
(69)
Driven to succeed? Learn from a professional mathematician
This is called linear programming.
a. x + y <= 120
b. 3y + x <= 180
c. x <= 100
d. y <= 50
We add two constraints for sanity:
e. x >= 0
f. y >= 0
(you can't make a negative number of biscuits.)
You can plot the region determined by a. - f. as follows: translate each into the bounding equality
a. x + y = 120
b. 3y + x = 180
c . x = 100
d. y = 50
e. x = 0
f. y = 0
Each of these is linear, hence a line (and hence the term linear programming). Shade the region bounded by the lines so that it matches up with the direction of the original inequalities. In other words, shade every part of the x,y plane that is feasible as solutions to the system of linear inequalities.
Finally, we write down the formula to maximize:
R = 0.65x + 0.20y
It is a theorem of linear programming that any maximum or minimum is attained at a vertex of the polygon shaded in the first part of this solution. So we find each of the vertices (a,b) and plug them into the formula for R. Whichever vertex gives the maximum value is the solution. If the constraints did not give a complete polygon, but give a region that goes off to infinity, then we check two points along a boundary line that goes off to infinity and verify that it is going in the opposite direction of what we are trying to find. That is, since we are finding a maximum, we verify that going off to infinity would only decrease the values. It is a theorem that simply verifying two points confirms the overall tendency of going further in that direction.
This problem cannot be explained much more clearly without drawing on an x,y plane.
Peter G.
tutor
Have you graphed the six lines in paragraph 2 of the solution? After doing that, if the inequality is <= the line then shade below; if it is >= then shade above. The feasible solutions have to satisfy all six of the inequalities, so you have to do the shading of all six together, finding the region that satisfies all six of them
Report
09/29/16
Peter G.
tutor
That is, after solving each of them for y. The lines x = 0 and x = 100 you shade to the left or the right instead of above or below, since they are vertical. Check what direction the original inequality from paragraph 1 of the solution goes in, then shade accordingly
Report
09/29/16
Kayla V.
09/29/16