document.write( "Question 163239: How would you find the maximum and minimum values, if they exist, of the objective function for the given constraints?:\r
\n" ); document.write( "\n" ); document.write( "P=5y+3x
\n" ); document.write( "Constraints:
\n" ); document.write( "x+y<6
\n" ); document.write( "x-y<4
\n" ); document.write( "x>0
\n" ); document.write( "y>0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Thank you!!!
\n" ); document.write( "

Algebra.Com's Answer #120319 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
When you plot you constraints, your feasible region is triangular patch with vertices at (4,0),(6,0),and (5,1).
\n" ); document.write( "\"+graph%28+300%2C+300%2C+-2%2C+10%2C+-1%2C+2%2C+6-x%2C+x-4%29+\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "The min and max values will occur at the vertices.
\n" ); document.write( "P(4,0)=5(0)+3(4)=12
\n" ); document.write( "P(6,0)=5(0)+3(6)=18
\n" ); document.write( "P(5,1)=5(1)+3(5)=20
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "Min value of P=12 and occurs at (4,0).
\n" ); document.write( "Max value of P=20 and occurs at (5,1).
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "Since the inequalities do not include the lines (\">\" and \"<\" and not \"<=\" and \">=\", these values for P are limits for P and are not obtained in the feasible region.
\n" ); document.write( "
\n" ); document.write( "
\n" );