document.write( "Question 273700: I need help with the following problem, including the steps needed to get to the answer. Thanks so much!!\r
\n" ); document.write( "\n" ); document.write( "Find the value of c to make \"g%5E2-18g%2Bc\" a perfect square.
\n" ); document.write( "

Algebra.Com's Answer #199907 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
Here's the quick way to do it:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 1) Take half of the 'g' coefficient -18 to get \"-18%2F2=-9\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 2) Square -9 to get \"%28-9%29%5E2=81\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the value of 'c' is \"c=81\" giving us \"g%5E2-18g%2B81\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here's why it works:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since you want \"g%5E2-18g%2Bc\" to be a perfect square, this means you want \"g%5E2-18g%2Bc\" to be of the form \"%28g%2Ba%29%5E2\" where 'a' is some fixed number. In other words, you want \"g%5E2-18g%2Bc=%28g%2Ba%29%5E2\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"g%5E2-18g%2Bc=%28g%2Ba%29%5E2\" Start with the given equation.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"g%5E2-18g%2Bc=g%5E2%2B2ag%2Ba%5E2\" FOIL\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Take note that the 'g' term on the right side is \"2ag\". So this means that \"-18g=2ag\". Solve for 'a' to get \"a=-9\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: in the step above, notice how we divided by 2. This is why we divided by 2 in the first step in the \"quick method\" shown above.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Also, notice that the constant term (the term without a 'g' in it) on the right is \"a%5E2\". So \"c=a%5E2\". But since we know that \"a=-9\", we can say that \"c=%28-9%29%5E2=81\". \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: this explains why we squared the halved value of the middle coefficient.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So this means that \"c=81\" giving us the polynomial \"g%5E2-18g%2B81\" which is a perfect square since \"g%5E2-18g%2B81=%28g-9%29%5E2\".
\n" ); document.write( "
\n" );