document.write( "Question 132033: The sum of two numbers is 18. If the sum of their squares is a minimum find the numbers. \n" ); document.write( "
Algebra.Com's Answer #96502 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
\"x%2By=18\", or put another way, \"y=18-x\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The sum of the two numbers squares is \"x%5E2%2By%5E2\", but because of the first equation, can be expressed as \"x%5E2%2B%2818-x%29%5E2\", which is a function in x.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"f%28x%29=x%5E2%2B%2818-x%29%5E2\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Expand the binomial:
\n" ); document.write( "\"f%28x%29=x%5E2%2B324-36x%2Bx%5E2\"
\n" ); document.write( "\"f%28x%29=2x%5E2-36x%2B324\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Two ways to find a minimum for this function. The algebra way is to recognize that this is a convex up parabola and solve for the vertex. The calculus way is to set the first derivitive equal to zero and solve.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The x-coordinate of the vertex of a parabola in the form \"f%28x%29=ax%5E2%2Bbx%2Bc\" is found by evaluating \"-b%2F2a\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"36%2F4=9\", so the sum of squares is a minimum when x = 9 => y = 9.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Calculus method:
\n" ); document.write( "Take the first derivitive \"%28df%28x%29%29%2Fdx=4x-36\"\r
\n" ); document.write( "\n" ); document.write( "Set it equal to zero and solve
\n" ); document.write( "\"4x-36=0\"
\n" ); document.write( "\"4x=36\"
\n" ); document.write( "\"x=9\", so f has a local extreme point at x = 9\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now take the second derivitive\r
\n" ); document.write( "\n" ); document.write( "\"%28d%5E2f%28x%29%29%2Fdx%5E2=4\", which is positive, therefore the local extreme is a minimum. So the function is minimum when x = 9 => y = 9.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Same answer.
\n" ); document.write( "
\n" );