document.write( "Question 3420: Find two positive real numbers whose sum is 40 and whose product is a maxium.
\n" ); document.write( "Construct the function f(x) = x(40 - x).
\n" ); document.write( "How is this found?
\n" ); document.write( "

Algebra.Com's Answer #1511 by longjonsilver(2297)\"\" \"About 
You can put this solution on YOUR website!
Let the 2 numbers be x and y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so, we are told that x+y=40 --eqn1
\n" ); document.write( "and that xy is to be a maximum.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so we have the function f(x) = xy. Now get rid of y by using eqn1 (written as y = 40-x... so f(x) = x(40-x)...easy enough?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We are told to find those 2 numbers that have the largest product (ie 1x39, 2x38, 3x37 etc)...\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "dy/dx = 40 - 2x = 0
\n" ); document.write( "so, x=20
\n" ); document.write( "so therefore, y must be 20 too\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this is the answer: x=y=20\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "jon
\n" ); document.write( "
\n" ); document.write( "
\n" );