document.write( "Question 884075: I have a very good idea of how to set up the problem, but I know that I'm missing something. The problem is \"The difference of the squares of two consecutive whole numbers is 31. What is the smaller number?
\n" ); document.write( "I set it up as follows:
\n" ); document.write( "x^2-X^2-2x-2=31. But I know that this yields an incorrect result, could you perhaps point me in the right direction?
\n" ); document.write( "

Algebra.Com's Answer #533980 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
let x be the first whole number
\n" ); document.write( "x^2=x^2
\n" ); document.write( "let x+1 be the next whole number
\n" ); document.write( "(x+1)^2=x^2+2x+1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(x+1)^2-x^2=31
\n" ); document.write( "x^2+2x+1-x^2=31\r
\n" ); document.write( "\n" ); document.write( "2x+1=31
\n" ); document.write( "2x=30
\n" ); document.write( "x=15
\n" ); document.write( "x+1=16
\n" ); document.write( "check
\n" ); document.write( "16^2=256
\n" ); document.write( "15^2=225
\n" ); document.write( "256-225=31\r
\n" ); document.write( "\n" ); document.write( "ok
\n" ); document.write( "
\n" ); document.write( "
\n" );