document.write( "Question 1207727: The sum of the digits of a two-digit number is 5. If 9 is subtracted from the number, the digits will be interchanged. Find the number. \r
\n" ); document.write( "\n" ); document.write( "I had completed this much:\r
\n" ); document.write( "\n" ); document.write( "assume ab is a number, a being in the 10's place and b being in the units place.
\n" ); document.write( "ab=10a+b
\n" ); document.write( "a+b=5
\n" ); document.write( "9-(10a+b)=(10b+a)\r
\n" ); document.write( "\n" ); document.write( "But I am now confused on to what to substitute and how to do it.
\n" ); document.write( "

Algebra.Com's Answer #845753 by greenestamps(13203)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Here is an important note regarding the work you show in trying to set up the problem.

\n" ); document.write( "The statement of the problem says \"if 9 is subtracted from the number...\"

\n" ); document.write( "You need to pay attention to what the whole phrase says, and not just write math symbols representing the given words.

\n" ); document.write( "\"9\" is SUBTRACTED FROM the number. The mathematical expression representing those words has to show that the 9 is being subtracted:
\n" ); document.write( "(the number) minus (9) --> (10a+b)-9 -- not \"9-(10a+b)\", as you show in your work.

\n" ); document.write( "Then a formal algebraic solution can be obtained from this correct expression as shown in the response from the other tutor.

\n" ); document.write( "This is a common type of problem on competitive math contest exams. If a formal algebraic solution is not needed, note that when the digits of a 2-digit number are reversed, the difference between the original number and the new number is always 9 times the difference between the two digits.

\n" ); document.write( "In this problem, the sum of the two digits is 5, and the difference between the two numbers is 9 = 9*1, so the difference between the two digits is 1.

\n" ); document.write( "So the sum of the two digits is 5 and the difference between the two digits is 1; that means the two digits are 2 and 3.

\n" ); document.write( "Finally, since 9 was subtracted from the original number to get the new number, the original number is larger than the new number; that makes the original number 32 and the new number 23.

\n" ); document.write( "ANSWER: 32

\n" ); document.write( "
\n" ); document.write( "
\n" );