document.write( "Question 510999: when the first of two consecutive positive integers is added to the square of the second the result is five.Find the two integers \n" ); document.write( "
Algebra.Com's Answer #341979 by Maths68(1474)\"\" \"About 
You can put this solution on YOUR website!
Let
\n" ); document.write( "one integer = x
\n" ); document.write( "other integer = x+1
\n" ); document.write( "===============================================
\n" ); document.write( "Given
\n" ); document.write( "When one added to the square of the second the result is five
\n" ); document.write( "x+(x+1)^2=5
\n" ); document.write( "x+x^2+2x+1=5
\n" ); document.write( "x+x^2+2x+1=5
\n" ); document.write( "3x+x^2=5-1
\n" ); document.write( "x^2+3x=4
\n" ); document.write( "x^2+3x-4=0
\n" ); document.write( "x^2+4x-x-4=0
\n" ); document.write( "x(x+4)-1(x+4)=0
\n" ); document.write( "(x-1)(x+4)=0
\n" ); document.write( "x-1=0 or x+4=0
\n" ); document.write( "x=1 or x=-4 (We need positive integer so -4 is not valid)
\n" ); document.write( "one integer = x = 1
\n" ); document.write( "other integer = x+1 = 1+1 = 2
\n" ); document.write( "=============================================================
\n" ); document.write( "Check
\n" ); document.write( "first + square of the other = 5
\n" ); document.write( "1+2^2=5
\n" ); document.write( "1+4=5
\n" ); document.write( "5=5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );