document.write( "Question 1036323: Find the value of a for which \"+f%28x%29=-2x%5E3%2B3%28a%2B2%29x%5E2-12ax%2B4a%5E2+\" is tangent to the positive x-axis and has a relative maximumn at that point of contact.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #650995 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
Let (b,0) be the point of tangency.\r
\n" ); document.write( "\n" ); document.write( "Now the derivative is given by f'(x) = \"-6x%5E2+%2B+6%28a%2B2%29x-12a\".\r
\n" ); document.write( "\n" ); document.write( "Setting this to 0 to find the critical values, we get \"x%5E2+-%28a%2B2%29x+%2B+2a+=+%28x-2%29%28x-a%29+=+0\".
\n" ); document.write( "==> x = 2 or x = a.\r
\n" ); document.write( "\n" ); document.write( "Case(i). Let b = a.
\n" ); document.write( "==> \"-2a%5E3%2B3%28a%2B2%29a%5E2-12a%5E2%2B4a%5E2+=+0\"
\n" ); document.write( "==> \"a%5E2%28a-2%29+=+0\", after reduction.
\n" ); document.write( "==> a = 0 (double root), or a = 2.
\n" ); document.write( "Discard a = 0, because if it is to be the x-coordinate of the point of tangency, a has to be positive. (Remember tangency to positive x-axis.)
\n" ); document.write( "==> a = 2.
\n" ); document.write( "==> \"+f%28x%29=-2x%5E3%2B12x%5E2-24x%2B16+=+-2%28x-2%29%5E3+\".
\n" ); document.write( "But this function has to be discarded as well, because even though f'(2) = 0, f\"(2) = 0, and hence there is no maximum at that point, but a point of inflection.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Case (ii). Let b = 2.
\n" ); document.write( "==> \"f%28b=2%29+=+-16%2B3%28a%2B2%29%2A4-24a%2B4a%5E2+=+0\"
\n" ); document.write( "==> \"4a%5E2-12a%2B8+=+0\"
\n" ); document.write( "==> \"a%5E2+-+3a+%2B+2+=+0\" ==> (a-1)(a-2) = 0 ==> a = 1 or a = 2.\r
\n" ); document.write( "\n" ); document.write( "Now we already know what happens when a = 2, and so we proceed letting a = 1.
\n" ); document.write( "==> \"+f%28x%29=-2x%5E3%2B9x%5E2-12x%2B4+=+%28x-2%29%5E2%28-2x%2B1%29+\"
\n" ); document.write( "By using the 2nd derivative test, we find that there is a relative maximum
\n" ); document.write( "at x = 2. (There is relative min at x = 1.)\r
\n" ); document.write( "\n" ); document.write( "Therefore \"highlight%28a+=+1%29\".\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );