Given that a and b are two positive integers such that a + b = b a + a b , what is the value of a 2 + b 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.
b a + a b has to be an integer, since it is equal to an integer a + b .
So a has to be divisible by b and b in turn has to be divisible by a .
Why must the latter equation be true? Why can't we have (a/b) and (b/a) to be fractions, but they still adds up to an integer?
Log in to reply
Let's assume b a + a b = d c + c d where d c is a simplified fraction. Then d c + c d = c d c 2 + d 2 . For this to be an integer, the numerator must be divisible by c . c 2 is divisible by c , however d is not. So the entire numerator is not divisible by c and the fraction cannot be simplified to an integer. Similarly for d . So b a + a b can be an integer only if a and b divide each other as stated.
Log in to reply
What do you mean by c/d is a simplified fraction? Why can we assume that?
Log in to reply
@Pi Han Goh – By simplified fraction I mean that there is not common divisor of c and d other than 1 . And yes, we can assume that. Either b a is already simplified, or there is d c as described, or a and b divide each other, and therefore the situation does not arise in the first place.
given that a/b + b/a = a+b,now this can be rewritten as a( 1/b -1) + b(1/a-1)=0 now as a and b are positive integers they cant be zero so 1/b-1 and 1/a-1 has to be zero to get overall result as zero, so 1/b-1=1/a-1=0 that gives a=b=1,hence value of a squared and b squared is equal to 1+1 = 2
Log in to reply
Why must 1/b - 1 = 1/a - 1 = 0? How do you know that there's no solution to "a(1/b - 1) = -b(1/a - 1) = k" for some non-zero k?
Log in to reply
it is given that ,a and b are positive integers so they cant be zero,and we need the sum of that expression as zero so1/b-1=1/a-1=0 ,has to be the only possible case , as sum of two positive quantities cannot be zero,even if you consider a(1/b - 1) = -b(1/a - 1) = k" for some non-zero k ,they k has to be zero
HINT: use the fact and a and b are positive intgers . if the solution is needed ,let me know. given that a/b + b/a = a+b,now this can be rewritten as a( 1/b -1) + b(1/a-1)=0 now as a and b are positive integers they cant be zero so 1/b-1 and 1/a-1 has to be zero to get overall result as zero, so 1/b-1=1/a-1=0 that gives a=b=1,hence value of a squared and b squared is equal to 1+1 = 2 – Sam Dave · now
Problem Loading...
Note Loading...
Set Loading...
b a + a b has to be an integer, since it is equal to an integer a + b .
So a has to be divisible by b and b in turn has to be divisible by a .
This can only happen if a = b .
The equation a + b = b a + a b then becomes 2 a = 1 + 1 and has only one solution a = 1
So a = b = 1 and a 2 + b 2 = 1 + 1 = 2