document.write( "Question 877011: Find the maximum and minimum value of F = 9x + 40y subject to the constraints
\n" ); document.write( "a) y-x≥1
\n" ); document.write( "b) 2≤x≤5
\n" ); document.write( "c) y-x<3\r
\n" ); document.write( "\n" ); document.write( "Can you please help me out ? Thanks so much in advance:)
\n" ); document.write( "

Algebra.Com's Answer #529128 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
THE SOLUTION:
\n" ); document.write( "The region limited by the constraints \"system%28red%28y-x%3E=1%29%2Cgreen%282%3C=x%3C=5%29%2Cblue%28y-x%3C=3%29%29\" (it needs to be \"blue%28y-x%3C=3%29\" to have a solution)
\n" ); document.write( "is the parallelogram below, with vertices at (2,3), (2,5), (5,6), and (5,8).
\n" ); document.write( " The maximum is at (5,8), where \"F=9%2A5%2B40%2A8=45%2B320=highlight%28365%29\" .
\n" ); document.write( "The minimum is at (2,3), where \"F=9%2A2%2B40%2A3=18%2B120=highlight%28138%29\" .
\n" ); document.write( "You would know how much you have to \"show your work,\"
\n" ); document.write( "I will just over-explain how to get to the solution, because I do not know how much explanation you want/need.
\n" ); document.write( "
\n" ); document.write( "HOW TO GET TO THE SOLUTION:
\n" ); document.write( "I like to make a graph/sketch, because it helps me understand the problem, and avoid mistakes.
\n" ); document.write( "Graphing the \"feasible region\" limited by those constraints is nice and probably expected.
\n" ); document.write( "However, this region was so easy to imagine and calculate that graphing was not absolutely needed.
\n" ); document.write( "The constraints set the limits/borders of the feasible region as portions of the lines \"system%28red%28y-x=1%29%2Cgreen%282=x%29%2Cgreen%28x=5%29%2Cblue%28y-x=3%29%29\" .
\n" ); document.write( "We should realize that \"green%282=x%29\" , and \"green%28x=5%29\" are vertical (and parallel) lines,
\n" ); document.write( "and that \"red%28y-x=1%29\" , and \"blue%28y-x=3%29\" are slanted (and parallel) lines.
\n" ); document.write( "The feasible region has four parallel sides; it is a parallelogram.
\n" ); document.write( "By plotting all four of those lines on the same graph, I find the corners graphically.
\n" ); document.write( "Otherwise, I would have to solve fours systems of two equations,
\n" ); document.write( "like \"system%28red%28y-x=1%29%2Cgreen%282=x%29%29\" ,
\n" ); document.write( "to find the corners where those lines intersect.
\n" ); document.write( "How to graph the vertical lines \"green%282=x%29\" and \"green%28x=5%29\" is obvious.
\n" ); document.write( "The region limited by \"green%282%3C=x%3C=5%29\" is obviously the space between those vertical lines, where \"x\" is at least \"2\", but less than \"5\" .
\n" ); document.write( "Graphing \"red%28y-x=1%29\" and \"blue%28y-x=3%29\" is a tiny bit more difficult, but still easy.
\n" ); document.write( "To graph \"red%28y-x=1%29\" and \"blue%28y-x=3%29\" , we can transform the equations into the equivalent slope-intercept form,
\n" ); document.write( "\"red%28y-x=1%29\" ---> \"red%28y=x%2B1%29\"
\n" ); document.write( "\"blue%28y-x=3%29\" ---> \"blue%28y=x%2B3%29\" .
\n" ); document.write( "\"blue%28y=x%2B3%29\" <-->\"blue%28y=1%2Ax%2B3%29\" tells us that
\n" ); document.write( "the blue line has a y-intercept of \"3\" ,
\n" ); document.write( "and a slope of \"1\" , meaning that as x increases by 1, y increases by 1,
\n" ); document.write( "so the blue line crosses the y-axis at (0,3), and from there goes to (1,4), (2,5), (3,8), and so on.
\n" ); document.write( "Otherwise, we could find the x- and y-intercepts by respectively setting
\n" ); document.write( "\"y=0\" (which is true for all points on the x-axis) and
\n" ); document.write( "\"x=0\" (which is true for all points on the y-axis).
\n" ); document.write( "For \"y=0\" , \"blue%28y-x=3%29\" becomes \"blue%280-x=3%29\"-->\"blue%28-x=3%29\"-->\"blue%28x=-3%29\" ,
\n" ); document.write( "so we know that the x-intercept for \"blue%28y-x=3%29\" is (-3,0),
\n" ); document.write( "and for \"x=0\" , \"blue%28y-x=3%29\" becomes \"blue%28y-0=3%29\"-->\"blue%28y=3%29\" ,
\n" ); document.write( "so we know that the y-intercept for \"blue%28y-x=3%29\" is (0,3).
\n" ); document.write( "With those intercepts we can connect (-3,0) and (0,3) with a straight line to get the graph of \"blue%28y-x=3%29\" .
\n" ); document.write( "The constraints \"system%28red%28y-x%3E=1%29%2Cblue%28y-x%3C=3%29%29\" <---> \"system%28red%28y%3E=x%2B1%29%2Cblue%28y%3C=x%2B3%29%29\" determine the region between the red and blue lines.
\n" ); document.write( "We know that because
\n" ); document.write( "we notice that (0,0) with \"x=0\" and \"y=0\" is a solution to \"system%28red%28y-x%3E=1%29%2Cblue%28y-x%3C=3%29%29\" ,
\n" ); document.write( "or because we realize that \"system%28red%28y%3E=x%2B1%29%2Cblue%28y%3C=x%2B3%29%29\" is the space above the red line \"red%28y=x%2B1%29\" , but below the blue line \"blue%28y=x%2B3%29\" .
\n" ); document.write( "
\n" ); document.write( "Once we have determined that the feasible region is the parallelogram bordered by those lines,
\n" ); document.write( "we determine the value of \"F+=+9x+%2B+40y\" at the corners of the feasible region.
\n" ); document.write( "In any problem of this kind, a linear function of x and y, like \"F+=+9x+%2B+40y\" ,
\n" ); document.write( "will be maximum at one corner or at two corners and a border line connecting those two corners.
\n" ); document.write( "The same goes for the minimum.
\n" ); document.write( "In this case, it was obvious that
\n" ); document.write( "the maximum values for x and y in the feasible region, at (5,8), would give the maximum value to \"F+=+9x+%2B+40y\" ,
\n" ); document.write( "and that the minimum values for x and y, at (2,3), would give the minimum value to \"F+=+9x+%2B+40y\" .
\n" ); document.write( "In general, you would have to show the calculations for all corners:
\n" ); document.write( "at (2,3), \"F=9%2A2%2B40%2A3=18%2B120=138\" ,
\n" ); document.write( "at (2,5), \"F=9%2A2%2B40%2A5=18%2B200=218\" ,
\n" ); document.write( "at (5,6), \"F=9%2A5%2B40%2A6=45%2B240=285\" ,
\n" ); document.write( "at (5,8), \"F=9%2A5%2B40%2A8=45%2B320=365\" ,
\n" ); document.write( "and then you would compare the values to find that
\n" ); document.write( "the greatest (largest) value, \"F=9%2A5%2B40%2A8=45%2B320=highlight%28365%29\" , is the maximum,
\n" ); document.write( "and the smallest value, \"F=9%2A2%2B40%2A3=18%2B120=highlight%28138%29\" , is the minimum.
\n" ); document.write( "
\n" );