document.write( "Question 468975: How do I minimize: z=13x+9y
\n" ); document.write( "subject to: 3x+4y>=21; 8x+4y>=32; x>=0; y>=0 ?
\n" ); document.write( "

Algebra.Com's Answer #321766 by ccs2011(207)\"\" \"About 
You can put this solution on YOUR website!
First graph your bounds which are defined as:
\n" ); document.write( "3x+4y>=21; 8x+4y>=32; x>=0; y>=0
\n" ); document.write( "Each of these represents an area above a line.
\n" ); document.write( "Determine slope and y_intercept of each line by rewriting in slope-intercept form.
\n" ); document.write( "y = mx + b
\n" ); document.write( "x = 0 and y =0 are just the axis of the graph
\n" ); document.write( "Rewrite 3x+4y>=21 by solving for y:
\n" ); document.write( "Subtract 3x on both sides
\n" ); document.write( "\"4y+%3E=+-3x+%2B+21\"
\n" ); document.write( "Divide by 4 on both sides
\n" ); document.write( "\"y+%3E=+%28-3%2F4%29x+%2B+%2821%2F4%29\"
\n" ); document.write( "Rewrite 8x+4y>=32 by solving for y:
\n" ); document.write( "Subtract 8x on both sides
\n" ); document.write( "\"4y+%3E=+-8x+%2B+32\"
\n" ); document.write( "Divide by 4 on both sides
\n" ); document.write( "\"y+%3E=+-2x+%2B+8\"
\n" ); document.write( "Now graph these lines
\n" ); document.write( "\"graph%28300%2C300%2C0%2C9%2C0%2C9%2C-.75x+%2B+5.25%2C+-2x+%2B+8%29\"
\n" ); document.write( "All the possible (x,y) points are in the region that is on or above both lines
\n" ); document.write( "Lets look at z=13x+9y
\n" ); document.write( "The goal is to minimize z, there is a direct variation with z to x and y so to decrease z you must decrease x and/or y.
\n" ); document.write( "If you pick any point in the possible region and move it straight down until you hit one of the 2 lines, then you kept the same x but decreased y thus decreasing z.
\n" ); document.write( "From that logic the smallest z values will be on the line.
\n" ); document.write( "Typically the smallest z values will be on the endpoints.
\n" ); document.write( "There are 3 end-points, x-intercept (7,0) y-intercept (0,8) and point where lines intersect.
\n" ); document.write( "To find where they intersect, set 2 equations equal to each other.
\n" ); document.write( "\"%28-3%2F4%29x+%2B+%2821%2F4%29+=+-2x+%2B+8\"
\n" ); document.write( "Eliminate fractions by multiplying everything by 4
\n" ); document.write( "\"-3x+%2B+21+=+-8x+%2B+32\"
\n" ); document.write( "Add 8x on both sides
\n" ); document.write( "\"5x+%2B+21+=+32\"
\n" ); document.write( "Subtract 21 on both sides
\n" ); document.write( "\"5x+=+11\"
\n" ); document.write( "Divide by 5 on both sides
\n" ); document.write( "\"x+=+11%2F5\"
\n" ); document.write( "Substitute back into equation to find y
\n" ); document.write( "\"y+=+-2%2811%2F5%29+%2B+8\"
\n" ); document.write( "\"y+=+%28-22%2F5%29+%2B+%2840%2F5%29+=+18%2F5\"
\n" ); document.write( "Finally evaluate z at each end-point, smallest value will be minimum
\n" ); document.write( "For (7,0): z = 13*7 = 91
\n" ); document.write( "For (0,8): z = 9*8 = 72
\n" ); document.write( "For (11/5,18/5): z = 13*(11/5) + 9*(18/5) = 305/5 = 61
\n" ); document.write( "Therefore z has minimum of 61 at point(11/5,18/5)
\n" ); document.write( "
\n" ); document.write( "
\n" );