document.write( "Question 1203135: The sum of two whole numbers is 45 and their difference is less than 10. The number of all possible pairs is: WAN.Algebra.com
\n" ); document.write( "A. 4
\n" ); document.write( "B. 5
\n" ); document.write( "C. 6
\n" ); document.write( "D. 7
\n" ); document.write( "

Algebra.Com's Answer #838446 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
the set of whole numbers is all positive integers plus 0.
\n" ); document.write( "you are given that x + y = 45 and x - y < 10
\n" ); document.write( "from the first equation, solve for y to get y = 45 - x
\n" ); document.write( "in the second equation, replace y with 45 - x to get x - (45 - x) < 10 which becomes 2x - 45 < 10 which becomes 2x < 55 which becomes x < 27.5.
\n" ); document.write( "since x has to be a whole number, you get x <= 27.
\n" ); document.write( "when x = 27, y = 45 - 27 = 18 and x - y becomes 27 - 18 = 9
\n" ); document.write( "when x = 26, y = 45 - 26 = 19 and x - y becomes 27 - 19 = 7
\n" ); document.write( "working down the line, you get:
\n" ); document.write( "when x = 25, x - y = 5
\n" ); document.write( "when x = 24, x - y = 3
\n" ); document.write( "when x = 23, x - y = 1
\n" ); document.write( "when x = 22, x - y = -1 ***** this is not a whole number.
\n" ); document.write( "you run out of x - y being a whole number after x = 23, so you have to stop there.
\n" ); document.write( "your total of possible values of x - y < 10 is equal to 5.
\n" ); document.write( "that's your solution.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );