Did you mean ? I suppose so.
Multiply it through by -1 and change
the direction of the inequality.
The last two inequalities means we are in the first quadrant.
So we draw the three boundary lines, which are just like the inequalities,
except we replace the symbol of inequality with an " = ".
So we draw in red, green, blue, and purple
respectively
Pick the origin (x,y) = (0,0) x=0, y=0 as a test point in the inequality for
each of the boundary lines to determine whether the shading is above or below
a slanted or horizontal boundary line or right or left or a vertical bountary line.
Substitute x=0, y=0 in , get which is true, so the
origin is a solution, and is below the line, so all solutions are on or below
the line x+y=4. So we are to shade below the line x+y=4.
Substitute x=0, y=0 in , get which is true, so the
origin is a solution, and is below the line, so all solutions are on or below
the line -x+y=2. So we are to shade below the line x+y=4.
Substitute x=0, y=0 in , get which is true, so the
origin is a solution, and is left of the line, so all solutions are on or left
of the line x=3. So we are to shade left the line x=3.
So we are to shade the region which is below all three lines. So
There are 5 corner points in the shaded region:
(0,0), (0,2), (1,3), (3,1), (3,0)
The maximum and minimum values of z=4x+5y will be at one of these:
Evaluating z=4x+5y at (0,0) gives z = 4(0)+5(0) = 0+0 = 0.
Evaluating z=4x+5y at (0,2) gives z = 4(0)+5(2) = 0+10 = 10
Evaluating z=4x+5y at (1,3) gives z = 4(1)+5(3) = 4+15 = 19.
Evaluating z=4x+5y at (3,1) gives z = 4(3)+5(1) = 12+5 = 17
Evaluating z=4x+5y at (3,0) gives z = 4(3)+5(0) =12+0 = 12.
So it turns out that the maximum value of z is 19 when x=1 and y=3.
Edwin