SOLUTION: Help Needed; Use graphical methods to solve the linear programming problem. Maximize z = 6x + 7y subject to: 2x + 3y ≤ 12 2x + y ≤ 8 x ≥ 0 y ≥ 0

Algebra ->  Graphs -> SOLUTION: Help Needed; Use graphical methods to solve the linear programming problem. Maximize z = 6x + 7y subject to: 2x + 3y ≤ 12 2x + y ≤ 8 x ≥ 0 y ≥ 0       Log On


   



Question 201961: Help Needed;
Use graphical methods to solve the linear programming problem.
Maximize z = 6x + 7y
subject to: 2x + 3y ≤ 12
2x + y ≤ 8
x ≥ 0
y ≥ 0

A) Maximum of 24 when x = 4 and y = 0
B) Maximum of 32 when x = 2 and y = 3
C) Maximum of 32 when x = 3 and y = 2
D) Maximum of 52 when x = 4 and y = 4

Answer by jim_thompson5910(35256) About Me  (Show Source):
You can put this solution on YOUR website!
Simply graph each inequality and find the shaded area. Now locate each of the vertices that fall on the border of this shaded area. With each vertex, plug in the x and y coordinates into z=6x%2B7y. The pair of coordinates that maximize "z" will be the answer.


If what I'm saying doesn't help, then...



Start with the given system of inequalities
2x%2B3y%3C=12
2x%2By%3C=8
x%3E=0
y%3E=0

In order to graph this system of inequalities, we need to graph each inequality one at a time.


First lets graph the first inequality 2x%2B3y%3C=12
In order to graph 2x%2B3y%3C=12, we need to graph the equation 2x%2B3y=12 (just replace the inequality sign with an equal sign).
So lets graph the line 2x%2B3y=12 (note: if you need help with graphing, check out this solver)
+graph%28+500%2C+500%2C+-20%2C+20%2C+-20%2C+20%2C+-%282%2F3%29x%2B4%29+ graph of 2x%2B3y=12
Now lets pick a test point, say (0,0). Any point will work, (just make sure the point doesn't lie on the line) but this point is the easiest to work with. Now evaluate the inequality 2x%2B3y%3C=12 with the test point

Substitute (0,0) into the inequality
2%280%29%2B3%280%29%3C=12 Plug in x=0 and y=0
0%3C=12 Simplify



(note: for some reason, some of the following images do not display correctly in Internet Explorer. So I recommend the use of
Firefox to see these images.)


Since this inequality is true, we simply shade the entire region that contains (0,0)
Graph of 2x%2B3y%3C=12 with the boundary (which is the line 2x%2B3y=12 in red) and the shaded region (in green)

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


Now lets graph the second inequality 2x%2By%3C=8
In order to graph 2x%2By%3C=8, we need to graph the equation 2x%2By=8 (just replace the inequality sign with an equal sign).
So lets graph the line 2x%2By=8 (note: if you need help with graphing, check out this solver)
+graph%28+500%2C+500%2C+-20%2C+20%2C+-20%2C+20%2C+-2x%2B8%29+ graph of 2x%2By=8
Now lets pick a test point, say (0,0). Any point will work, (just make sure the point doesn't lie on the line) but this point is the easiest to work with. Now evaluate the inequality 2x%2By%3C=8 with the test point

Substitute (0,0) into the inequality
2%280%29%2B%280%29%3C=8 Plug in x=0 and y=0
0%3C=8 Simplify



Since this inequality is true, we simply shade the entire region that contains (0,0)
Graph of 2x%2By%3C=8 with the boundary (which is the line 2x%2By=8 in red) and the shaded region (in green)

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


Now lets graph the third inequality x%3E=0
In order to graph x%3E=0, we need to graph the equation x=0 (just replace the inequality sign with an equal sign).
So lets graph the line x=0 (simply draw a vertical line through x=0)
+graph%28+500%2C+500%2C+-20%2C+20%2C+-20%2C+20%2C+1000%28x-0%29%29+ graph of x=0 (note:the graph is the line that is overlapping the y-axis. So it may be hard to see)
Now lets pick a test point, say (1,0). Any point will work, (just make sure the point doesn't lie on the line) but this point is the easiest to work with. Now evaluate the inequality x%3E=0 with the test point

Substitute (1,0) into the inequality
%281%29%3E=0 Plug in x=1 and y=0
1%3E=0 Simplify



Since this inequality is true, we simply shade the entire region that contains (1,0)
Graph of x%3E=0 with the boundary (which is the line x=0 in red) and the shaded region (in green)

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


Now lets graph the fourth inequality y%3E=0
In order to graph y%3E=0, we need to graph the equation y=0 (just replace the inequality sign with an equal sign).
So lets graph the line y=0 (simply draw a horizontal line through y=0)
+graph%28+500%2C+500%2C+-20%2C+20%2C+-20%2C+20%2C+0%29+ graph of y=0 (note:the graph is the line that is overlapping the x-axis. So it may be hard to see)
Now lets pick a test point, say (0,1). Any point will work, (just make sure the point doesn't lie on the line) but this point is the easiest to work with. Now evaluate the inequality y%3E=0 with the test point

Substitute (0,1) into the inequality
%281%29%3E=0 Plug in x=0 and y=1
1%3E=0 Simplify



Since this inequality is true, we simply shade the entire region that contains (0,1)
Graph of y%3E=0 with the boundary (which is the line y=0 in red) and the shaded region (in green)

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


So we essentially have these 4 regions:

Region #1
Graph of 2x%2B3y%3C=12


Region #2
Graph of 2x%2By%3C=8


Region #3
Graph of x%3E=0


Region #4
Graph of y%3E=0




When these inequalities are graphed on the same coordinate system, the regions overlap to produce this region. It's a little hard to see, but after evenly shading each region, the intersecting region will be the most shaded in.







Here is a cleaner look at the intersection of regions




Here is the intersection of the 4 regions represented by the series of dots



Take note that the vertices of the shaded region are: (0,4), (4,0) and (3,2)


It turns out that if we plug in x=3 and y=2, we'll get the largest possible "z" value of z=6%283%29%2B7%282%29=18%2B14=32


Note: you should plug in the other vertices to verify that this is indeed the max.


So the answer is C) Maximum of 32 when x = 3 and y = 2