document.write( "Question 343970: If a = y^2 and b = y^4, and -1 ≤ y ≤ 3, then what is the largest possible difference between a and b?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #246083 by Edwin McCravy(20065)\"\" \"About 
You can put this solution on YOUR website!
If a = y^2 and b = y^4, and -1 ≤ y ≤ 3, then what is the largest possible difference between a and b?
\n" ); document.write( "
\r\n" );
document.write( "Maximum values of continuous functions occur at values of the\r\n" );
document.write( "independent variable where the derivative is 0 or at\r\n" );
document.write( "endpoints of interval on which the variable is defined.\r\n" );
document.write( "\r\n" );
document.write( "The difference is largest when \"a-b=y%5E2-y%5E4\" is the largest.\r\n" );
document.write( "\r\n" );
document.write( "Let this difference be z.\r\n" );
document.write( "\r\n" );
document.write( "\"z=a-b\"\r\n" );
document.write( "\r\n" );
document.write( "\"z=y%5E2-y%5E4\"\r\n" );
document.write( "\r\n" );
document.write( "Maximum values of continuous functions occur at values of the\r\n" );
document.write( "independent variable (in this cases y) where the derivative is 0 or at\r\n" );
document.write( "endpoints of interval on which the variable is defined.\r\n" );
document.write( "\r\n" );
document.write( "\"%28dz%29%2F%28dy%29=2y-4y%5E3\"\r\n" );
document.write( "\r\n" );
document.write( "We set that = 0\r\n" );
document.write( "\r\n" );
document.write( "\"2y-4y%5E3=0\"\r\n" );
document.write( "\r\n" );
document.write( "\"y-2y%5E3=0\"\r\n" );
document.write( "\r\n" );
document.write( "\"y%281-2y%5E2%29=0\"\r\n" );
document.write( "\r\n" );
document.write( "\"y=0\"  \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"1-2y%5E2=0\"\r\n" );
document.write( "\"-2y%5E2=-1\"\r\n" );
document.write( "\"y%5E2=%28-1%29%2F%28-2%29\"\r\n" );
document.write( "\"y%5E2=1%2F2\"\r\n" );
document.write( "\"y=%22%22%2B-+sqrt%281%2F2%29\"\r\n" );
document.write( "\r\n" );
document.write( "Using the 2nd derivative test:\r\n" );
document.write( "\r\n" );
document.write( "\"%28dz%29%2F%28dy%29=2y-4y%5E3\"\r\n" );
document.write( "\r\n" );
document.write( "\"%28d%5E2z%29%2F%28dy%5E2%29=2-12y%5E2\"\r\n" );
document.write( "\r\n" );
document.write( "Substituting y=0 gives \"%28d%5E2z%29%2F%28dy%5E2%29=2-12%280%29%5E2=2\"\r\n" );
document.write( "which is positive so this gives a relative minimum value,\r\n" );
document.write( "which is not the value we want\r\n" );
document.write( "\r\n" );
document.write( "Substituting \"y=%22%22%2B-+sqrt%281%2F2%29\"  gives \"%28d%5E2z%29%2F%28dy%5E2%29=2-12%28%22%22%2B-sqrt%281%2F2%29%29%5E2=2=2-12%281%2F2%29=2-6=-4\"\r\n" );
document.write( "which is negative so this value of y gives a relative maximum value.\r\n" );
document.write( "\r\n" );
document.write( "To find this relative maximum value we substitute \"y=%22%22%2B-sqrt%281%2F2%29\"\r\n" );
document.write( "in the original equation \r\n" );
document.write( "\r\n" );
document.write( "\"z=y%5E2-y%5E4\"\r\n" );
document.write( "\r\n" );
document.write( "\"z=%28%22%22%2B-sqrt%281%2F2%29%29%5E2-%28%22%22%2B-sqrt%281%2F2%29%29%5E4\"\r\n" );
document.write( "\r\n" );
document.write( "\"z+=+1%2F2-1%2F4+=+1%2F4\"\r\n" );
document.write( "\r\n" );
document.write( "This is a candidate for the correct answer, unless the endpoints\r\n" );
document.write( "of the given interval give a larger value:\r\n" );
document.write( "\r\n" );
document.write( "The end points of the given interval are -1 and 3\r\n" );
document.write( "\r\n" );
document.write( "Substituting the endpoint -1\r\n" );
document.write( "\"z=y%5E2-y%5E4\"\r\n" );
document.write( "\"z=%28-1%29%5E2-%28-1%29%5E4\"\r\n" );
document.write( "\"z=1-1=0\"\r\n" );
document.write( "\r\n" );
document.write( "That's not larger than \"1%2F4\"!\r\n" );
document.write( "\r\n" );
document.write( "Substituting the endpoint 3\r\n" );
document.write( "\"z=y%5E2-y%5E4\"\r\n" );
document.write( "\"z=%283%29%5E2-%283%29%5E4\"\r\n" );
document.write( "\"z=9-81=-72\"\r\n" );
document.write( "\r\n" );
document.write( "That's certainly not larger than \"1%2F4\"!\r\n" );
document.write( "\r\n" );
document.write( "Therefore the maximum difference between \"a=y%5E2\" and \"b=y%5E4\" is \"1%2F4\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );