document.write( "Question 1118425: A manufacturer produces two models of mountain bikes. Model A requires 5 hours of assembly time and 2 hours of painting time, and Model B requires 4 hours of assembly time and 3 hours of painting time. The maximum total weekly hours available in the assembly department and the painting department are 200 hours and 108 hours, respectively. The profits per unit are $25 for Model A and $15 for Model B. How many of each type should be produced to maximize profit?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "___ bikes of Model A\r
\n" ); document.write( "\n" ); document.write( "___ bikes of Model B\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "What is the maximum profit? $____
\n" ); document.write( "

Algebra.Com's Answer #733784 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Let x be the number of model A produced and y be the number of model B. Then the equation of the boundary line for the assembly time inequality is

\n" ); document.write( "\"5x%2B4y=120\"

\n" ); document.write( "and the equation for boundary line for the painting time is

\n" ); document.write( "\"2x%2B3y=108\"

\n" ); document.write( "The standard procedure for solving the problem would be this:
\n" ); document.write( "(1) Graph the equations of the two boundary lines and find where they intersect;
\n" ); document.write( "(2) Use the inequalities to determine the corners of the feasibility region; and
\n" ); document.write( "(3) Evaluate the objective function (the profit function 25x+15y) at each corner.

\n" ); document.write( "I leave the details to you. The corners of the feasibility region are (0,0), (0,36), (24,20), and (40,0). The profits at the respective corners are 0, 540, 900, and 1000. So the maximum profit is when the manufacturer produces 40 of model A and 0 of model B.

\n" ); document.write( "Not a very reasonable scenario....

\n" ); document.write( "But for this example you don't need to do all that work.

\n" ); document.write( "In fact, in the standard process for solving this kind of problem, you do NOT need to find the value of the objective function at each corner of the feasibility region. You can tell which corner will yield the maximum value of the objective function by comparing the slope of the objective function to the slopes of the constraint lines.

\n" ); document.write( "In a reasonable problem with two constraints, the slope of the objective function will be between the slopes of the two constraint boundary line functions; that means the maximum value of the objective function will be at the intersection of the constraint boundary line.

\n" ); document.write( "But if the slope of the objective function is smaller (more negative) or larger (less negative) than the slope of either constraint boundary line function, then the maximum value of the objective function will be at the x- or y-intercept of one of the constraint boundary line functions.

\n" ); document.write( "In your example, the slopes of the constraint boundary line functions are -5/4 and -2/3; the slope of the objective function is -5/3. -5/3 is more negative than -5/4, so the maximum profit will NOT be at the intersection of the constraint function boundary lines.

\n" ); document.write( "So here is all that is required to find the solution to your problem.

\n" ); document.write( "(1) Graph the equations of the two boundary lines to find two corners of the feasibility region -- (40,0) and (0,36);
\n" ); document.write( "(2) Find the slopes of the two constraint boundary lines and of the objective function and observe that the slope of the objective function is more negative than the slope of either constraint boundary line;
\n" ); document.write( "(3) immediately know that the maximum profit will be at (40,0); and
\n" ); document.write( "(4) evaluate the objective function at (40,0) to find the maximum profit of $1000.

\n" ); document.write( "This shortcut of comparing slopes of the boundary lines and of the objective function saves a bit of time in a problem where there are two constraints, because there is no need to find the point of intersection of the boundary lines.

\n" ); document.write( "It can save a LOT of time if there are three or more constraint boundary lines, because the slopes will tell you immediately which intersection point will give the maximum value of the objective function; so you will only need to find the coordinates of one of the many intersection points.
\n" ); document.write( "
\n" );