document.write( "Question 59202: Find two consecutive positive integers such that the sum of their square is 85.
\n" ); document.write( "Your help will be very appreciated!
\n" ); document.write( "Thanks so much!
\n" ); document.write( "ac
\n" ); document.write( "

Algebra.Com's Answer #40603 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let the consecutive integers equal x and x+1
\n" ); document.write( "\"x%5E2+%2B+%28x%2B1%29%5E2+=+85\"
\n" ); document.write( "\"2x%5E2+%2B+2x+%2B+1+=+85\"
\n" ); document.write( "This can be solved either by the quadratic formula
\n" ); document.write( "of by completing the square. I'll complete the square
\n" ); document.write( "subtract 1 from both sides
\n" ); document.write( "\"2x%5E2+%2B+2x+=+84\"
\n" ); document.write( "divide both sides by 2
\n" ); document.write( "\"x%5E2+%2B+x+=+42\"
\n" ); document.write( "to complete the square, take one-half of the coeffecient
\n" ); document.write( "of x, square it, and add it to both sides
\n" ); document.write( "Half of 1 is 1/2 and (1/2)^2 = 1/4
\n" ); document.write( "\"x%5E2+%2B+x+%2B+1%2F4+=+42+%2B+1%2F4\"
\n" ); document.write( "\"%28x+%2B+1%2F2%29%5E2+=+%28168+%2B+1%29%2F+4\"
\n" ); document.write( "\"x+%2B+1%2F2+=+%280+%2B-+sqrt%28169%29%29+%2F+2\"
\n" ); document.write( "\"x+=+%2B13%2F2+-+1%2F2\"
\n" ); document.write( "\"x+=+%2B12%2F2\"
\n" ); document.write( "\"x+=+%2B6\"
\n" ); document.write( "and
\n" ); document.write( "\"x+=+-13%2F2+-+1%2F2\"
\n" ); document.write( "\"x+=+-14%2F2\"
\n" ); document.write( "\"x+=+-7\"
\n" ); document.write( "The problem wants 2 consecutive POSITIVE integers, so I'll
\n" ); document.write( "pick x = +6
\n" ); document.write( "\"x+%2B+1+=+%2B7\"
\n" ); document.write( "The answers are +6 and +7
\n" ); document.write( "check:
\n" ); document.write( "\"6%5E2+%2B+7%5E2+=+85\"
\n" ); document.write( "\"36+%2B+49+=+85\"
\n" ); document.write( "\"85+=+85\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );