A problem by Anish Roy

Level pending

If a a and b b are positive integers such that, a + b = a b + b a a + b = \frac{a}{b} + \frac{b}{a} then find the value of a 2 + b 2 a^2 + b^2


The answer is 2.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Anish Roy
Aug 3, 2017

The above equation can be rearranged and written as a a b + b b a = 0 a - \frac{a}{b} + b - \frac{b}{a}= 0 a ( 1 1 b ) + b ( 1 1 a ) = 0. \Rightarrow a(1- \frac{1}{b})+ b(1-\frac{1}{a}) = 0 .
Now there are three cases,
Case 1 : first term > 0 > 0 and second term < 0 < 0 ,
Case 2 : first term > 0 > 0 and second term < 0 < 0 ,
Case 3 : first term = 0 = 0 and second term = 0 = 0
If we consider case 1 1 then we get that 1 1 a < 0 1- \frac{1}{a} < 0 , which implies that a < 1 a < 1 which is not possible since a a is a positive integer. Similarly case 2 also does not hold. So the only possibility is case 3 where both the terms are equal to zero. Thus equating 1 ( 1 b ) = 0 1- (\frac{1}{b}) = 0 and 1 ( 1 a ) = 0 1-(\frac{1}{a}) = 0 , we get a = 1 a = 1 and b = 1. b = 1. Therefore the value of a 2 + b 2 = 1 + 1 = 2 . a^2 + b^2 = 1+1 = \boxed{2}.


0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...