The sum of digits of a two digit number is 13. If the number is subtracted from the one obtained by interchanging the digits, the result is 45. What is the number?
Let the digits at units and tens place of the given number be x and y respectively. Thus, the number is.
The sum of the digits of the number is 13. Thus, we have
After interchanging the digits, the number becomes.
The difference between the number obtained by interchanging the digits and the original number is 45. Thus, we have
$(10 x+y)-(10 y+x)=45$
$\Rightarrow 10 x+y-10 y-x=45$
$\Rightarrow 9 x-9 y=45$
So, we have two equations
Here x and y are unknowns. We have to solve the above equations for x and y.
Adding the two equations, we have
$\Rightarrow 2 x=18$
Substituting the value of x in the first equation, we have
Hence, the number is $10 \times 4+9=49$.