document.write( "Question 377389: The sum of an integer and its square is 30. Find the integer. Please help \n" ); document.write( "
Algebra.Com's Answer #268172 by SadieKhan(31)\"\" \"About 
You can put this solution on YOUR website!
Let x be the integer and x^2 be its square
\n" ); document.write( "by requirement
\n" ); document.write( "x^2+x=30
\n" ); document.write( "solving
\n" ); document.write( "x^2+x-30=0
\n" ); document.write( "factorizing
\n" ); document.write( "X^2+6x-5x-30=0
\n" ); document.write( "x(x+6)-5(x+6)=0
\n" ); document.write( "x-5=0,x+6=0
\n" ); document.write( "this implies
\n" ); document.write( "x=5,-6
\n" ); document.write( "So it can be either a 5 or a -6.
\n" ); document.write( "
\n" ); document.write( "
\n" );