Positive integers a and b are 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.
So a has to be divisible by b and b in turn has to be divisible by a .
Why it has to be true? Maybe there are other solution that also satisfy this condition?
Log in to reply
Otherwise, the right-hand side would not add up to an integer, but he left would.
Log in to reply
It is conceivable that the right side would be two fractions which will add up to an integer, but that cannot happen either. Say b a + a b simplifies to d c + c d , where c and d do not have a common divisor other than 1 . Then d c + c d = c d c 2 + d 2 . For this to be an integer, the numerator has to be divisible by c . c 2 is divisible by c , however d 2 is not, so the entire numerator is not divisible by c and the fraction cannot be equal to an integer. From this follows that a and b must divide each other.
Log in to reply
Log in to reply
@Pi Han Goh – Because of all the sentences which follow this statement in my previous comment.
Really? Are you saying that solutions like a/b = 2.5, b/a = 0.5 are not possible?
Log in to reply
@Pi Han Goh – Yes, because a/b has to be the reciprocal of b/a.
The only solution that works here is when a = b = 1 ⟹ a 2 + b 2 = 2
How do you know that's the only solution?
Log in to reply
If b a + a b = a + b ⟹ a = b , where a and b are positive integers and if the sum of their squares is equal to 2 ⟹ a = 1 = b .
Log in to reply
Why must a=b be true? How do you know that there isn't a solution for "a not equal to b"?
Log in to reply
@Pi Han Goh – If we look at the equation b a + a b = a b a 2 + b 2 = a + b ⟹ a 2 + b 2 = a b ( a + b ) .
We know that a 2 + b 2 = 2 ⟹ a b ( a + b ) = 2 . Also, we know that a and b are positive integers so a b ( a + b ) = 1 × 2 .
Case1: if a = b ⟹ a b = 2 and a + b = 1 ⟹ b a + a b = a + b . This case is rejected because it contradicts our result.
Case2: if a = b ⟹ a b = 1 and a + b = 2 ⟹ a = b = 1
Log in to reply
@Hana Wehbi – How do you know that a^2 + b^2= 2 in the first place?
We have that ( a + b ) a b = a 2 + b 2 then a 2 b + b 2 a = a 2 + b 2 . Considere a 2 b − a 2 = b 2 − b 2 a ⟹ a 2 ( b − 1 ) = b 2 ( 1 − a ) . If b > 1 then b 2 ( 1 − a ) should be positive, then 1 − a is positive, and it happen if 1 > a but it can be because a should be integer and positive. Therefore b ≤ 1 and it implies that b = 1 then a 2 ( 1 − 1 ) = b 2 ( 1 − a ) = 1 ( 1 − a ) = 1 − a = 0 ⟹ a = 1 ∴ a = b = 1 ⟹ a 2 + b 2 = 2
Let a/b=t for some non zero t(you can check that t has to be integer) Then the equation becomes: b=(t^2 +1)/(t^2+t) Which in turn gives a=(t^2+1)/(t+1). As b is an integer =>(t^2+1)=(t^2+t)k for some integer k Which is possible only for t=1... Hence a=b=1 Thus, a^2+b^2=2
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