The sum of digits of a two digit number is 13.


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$

$\Rightarrow 9(x-y)=45$

$\Rightarrow x-y=\frac{45}{9}$

$\Rightarrow x-y=5$

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 x+y+x-y=18$

$\Rightarrow 2 x=18$

$\Rightarrow x=\frac{18}{2}$

$\Rightarrow x=9$

Substituting the value of in the first equation, we have


$\Rightarrow y=13-9$


$\Rightarrow y=4$

Hence, the number is $10 \times 4+9=49$.

Leave a comment


Click here to get exam-ready with eSaral

For making your preparation journey smoother of JEE, NEET and Class 8 to 10, grab our app now.

Download Now