document.write( "Question 790617: The sum of the squares of two consecutive integers is 685. Find the integers.\r
\n" ); document.write( "\n" ); document.write( "I tried solving this myself and got 324 and 325 which is not the right answer, I'm not very good with word problems. Thank you in advance!
\n" ); document.write( "

Algebra.Com's Answer #479228 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
we are given the following
\n" ); document.write( "x^2 +(x+1)^2 = 685
\n" ); document.write( "x^2 +x^2+2x+1 = 685
\n" ); document.write( "2x^2 +2x = 684
\n" ); document.write( "x^2 +x = 342 and
\n" ); document.write( "x^2 +x -342 = 0
\n" ); document.write( "use quadratic equation to solve for x
\n" ); document.write( "x = (-1 + or - square root(1 - 4*1*(-342)) / 2
\n" ); document.write( "x = (-1 + or - 37) / 2
\n" ); document.write( "the problem does not state if our consecutive integers are positive or negative
\n" ); document.write( "x = 18 or -19
\n" ); document.write( "18^2 + 19^2 = 685
\n" ); document.write( "324 + 361 = 685
\n" ); document.write( "685 = 685
\n" ); document.write( "now
\n" ); document.write( "-19^2 + -18^2 = 685
\n" ); document.write( "361 + 325 = 685
\n" ); document.write( "so our integers are 18, 19, -19, -18\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );