SOLUTION: use linear programming to maximize z=10x+15y subject to x+4y < 360 2x+y<300 x>0, y>0 all signs are equal to

Algebra ->  College  -> Linear Algebra -> SOLUTION: use linear programming to maximize z=10x+15y subject to x+4y < 360 2x+y<300 x>0, y>0 all signs are equal to      Log On


   



Question 1044529: use linear programming to maximize z=10x+15y subject to
x+4y < 360
2x+y<300
x>0, y>0
all signs are equal to

Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
The constraints are
system%28x%2B4y+%3C=+360%2C%0D%0A2x%2By%3C=300+%2C%0D%0Ax%3E=0%2C+y%3E=0%29 . That is the quadrilateral limited by the lines system%28blue%28x%2B4y=360%29%2Cgreen%282x%2By=300%29%2Cred%28x=0%29%2Cred%28y=0%29%29 : .
Sketching a graph is very helpful.
It allows you to "see" the feasible region you are working with.
In this case, it is the region below both blue an green lines,
above the x-axis, and
to the right of the y-axis.
The feasible region is obviously the quadrilateral OABC .
It is easy to see that shrewdly selected test point I%281%2C1%29 ,
within OABC , meets the requirement of all the constraints,
and if you move away from that point crossing over any boundary line,
you cease to meet all requirements.

The line red%28x=0%29 is the y-axis.
The line red%28y=0%29 is the x-axis.
Those two lines intersect at O%280%2C0%29 , the origin.

To graph green%282x%2By=300%29 , I connected with a straight line its x- and y-intercept.
I found those intercepts by solving
system%28green%282x%2By=300%29%2Cred%28y=0%29%29--->system%282x=300%2Cx=0%29--->system%28x=150%2Cy=0%29 to get point A%28150%2C0%29 ,
and
system%28green%282x%2By=300%29%2Cred%28x=0%29%29--->system%28y=300%2Cx=0%29 to get point P%280%2C300%29 .

To graph blue%28x%2B4y=360%29%29 , I did the same.
I found its x- and y-intercepts by
solving
system%28blue%28x%2B4y=360%29%2Cred%28y=0%29%29--->
system%28x=360%2Cred%28y=0%29%29--->system%28x=0%2Cy=0%29 to get point Q%28360%2C0%29 ,
and
system%28blue%28x%2B4y=360%29%2Cred%28y=0%29%29--->
system%284y=360%2Cred%28x=0%29%29--->system%28x=0%29%2Cy=90%29 to get point C%280%2C90%29 .

I also had to find the point where blue%28x%2B4y=360%29%29 and green%282x%2By=300%29 intersect.
I did it by solving
system%28blue%28x%2B4y=360%29%2Cgreen%282x%2By=300%29%29 to get point B%28120%2C60%29 .
There are many ways to salve that. Here is one:
system%28blue%28x%2B4y=360%29%2Cgreen%282x%2By=300%29%29-->system%28blue%28x=360-4y%29%2Cgreen%282x%2By=300%29%29-->system%28blue%28x=360-4y%29%2C2%28360-4y%29%2By=300%29-->system%28blue%28x=360-4y%29%2C720-8y%2By=300%29-->system%28blue%28x=360-4y%29%2C720-7y=300%29-->system%28blue%28x=360-4y%29%2C720-300=7y%29-->system%28blue%28x=360-4y%29%2C420=7y%29-->system%28blue%28x=360-4y%29%2Cy=60%29-->system%28x=360-4%2A60%2Cy=60%29-->system%28x=360-240%2Cy=60%29-->system%28x=120%2Cy=60%29

Finally, we need to maximize z=10x%2B15y , a function of x and y , within that feasible region.
Because the boundaries and the function are linear,
the maximum will be
either at one of the vertices of the feasible region,
or all along one of the edges of that region.

It could have been obvious to us from the start that the maximum would be at point B%28120%2C60%29 (see note below),
but the recipe usually taught to solve this kind of problems involves calculating the value of the function z%28x%2Cy%29=10x%2B15y at every vertex.
The idea may be the educational value of
encouraging practice,
valuing hard work, and
helping you visualize the situation.
So, we worked hard to get to this point, and we continue along the expected path.

At O%280%2C0%29 :
z%280%2C0%29=10%2A0%2B15%2A0=0 , obviously no maximum.
At A%28150%2C0%29 :
z%28150%2C0%29=10%2A150%2B15%2A0=1500
At B%28120%2C60%29 :
z%28120%2C60%29=10%2A120%2B15%2A60=1200%2B900=2100
At C%280%2C90%29 :
z%280%2C90%29=10%2A0%2B15%2A90=1350 .

The maximum is highlight%28z=2100%29 at point highlight%28B%28120%2C60%29%29 .

NOTE:
Versions of this type of problem are very popular.
You have system%28x%3E=0%2Cy%3E=0%29 , telling you the feasible region is in quadrant I.
There are two boundary line constraints: system%28Lx%2BMy%3C=N%2CPx%2BQy%3C=R%29 ,
with all positive coefficients,
telling you that the feasible region is below two lines with positive x- and y-intercepts.
and the function to maximize, z=Rx%2BSy , has positive coefficients.
To make you work harder, hey make the maximum be at the intersection of the two lines,
by making the slope of the lines Z=constant , -R%2FS ,
be in between the slopes, -M%2FL and -Q%2FP , of the two slanted boundary lines.
So, in this case, we could immediately see that
the boundary line slopes are -1%2F4 and -2%2F1=-2 ,
with the slope of any z=constant line,
-10%2F15=-2%2F3 , in between them -2%3C-2%2F3%3C-1%2F4 .
That tells us that the maximum is at the intersection of the two slanted boundary lines,
system%28blue%28x%2B4y=360%29%2Cgreen%282x%2By=300%29%29 ---> point B%28120%2C60%29 .
So the maximum is z%28120%2C60%29=10%2A120%2B15%2A60=1200%2B900=2100 .