A Tale of a + b a+b and a b \dfrac{a}{b}

How many integral solutions are there to the equation

a + b = a b ? \large a+b=\frac{a}{b}\textbf{?}

If there are infinitely many, type 1 -1 as your answer.


The answer is 1.

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.

3 solutions

-- Method 1

First note that we require b 0 b \ne 0 . Since a + b a + b must be an integer n n we must also have a b = n a = n b \dfrac{a}{b} = n \Longrightarrow a = nb , and so

a + b = n b + b = n b = n ( 1 b ) n = b 1 b = b 1 + 1 1 b = 1 + 1 1 b a + b = nb + b = n \Longrightarrow b = n(1 - b) \Longrightarrow n = \dfrac{b}{1 - b} = \dfrac{b - 1 + 1}{1 - b} = -1 + \dfrac{1}{1 - b} .

For this to be an integer we then require that 1 b 1 - b divides 1 1 , which only occurs when 1 b = 1 b = 0 1 - b = 1 \Longrightarrow b = 0 or 1 b = 1 b = 2 1 - b = -1 \Longrightarrow b = 2 .

But b b cannot equal 0 0 , so b = 2 , n = 1 + 1 1 = 2 , a = 2 × 2 = 4 b = 2, n = -1 + \dfrac{1}{-1} = -2, a = -2 \times 2 = -4 , and thus there is just 1 \boxed{1} integral solution, namely ( a , b ) = ( 4 , 2 ) (a,b) = (-4,2) .


-- Method 2

First note that we require b 0 b \ne 0 . Multiplying through by b b , the given equation can be written as

a b + b 2 = a b 2 + a b a = 0 b = a ± a 2 + 4 a 2 ab + b^{2} = a \Longrightarrow b^{2} + ab - a = 0 \Longrightarrow b = \dfrac{-a \pm \sqrt{a^{2} + 4a}}{2} .

Now since b b must be an integer we will require that a 2 + 4 a = n 2 a^{2} + 4a = n^{2} for some positive integer n n , in which case

a 2 + 4 a + 4 = n 2 + 4 ( a + 2 ) 2 n 2 = 4 ( a + 2 + n ) ( a + 2 n ) = 4 a^{2} + 4a + 4 = n^{2} + 4 \Longrightarrow (a + 2)^{2} - n^{2} = 4 \Longrightarrow (a + 2 + n)(a + 2 - n) = 4 .

Next, consider the possible factorizations of 4 4 : 4 × 1 , 2 × 2 , 2 × 2 4 \times 1, 2 \times 2, -2 \times -2 and 4 × 1 -4 \times -1 . Since a + 2 + n a + 2 n a + 2 + n \ge a + 2 - n we then assign the greater element (where applicable) of each of these factorizations to a + 2 + n a + 2 + n and the other element to a + 2 n a + 2 - n , then add these expressions to eliminate n n and subsequently solve for a a . In only two cases does this yield an integer value for a a :

  • (i) a + 2 + n = 2 , a + 2 n = 2 2 ( a + 2 ) = 4 a = 0 b = 0 a + 2 + n = 2, a + 2 - n = 2 \Longrightarrow 2(a + 2) = 4 \Longrightarrow a = 0 \Longrightarrow b = 0 , which we can discard;

  • (ii) a + 2 + n = 2 , a + 2 n = 2 2 ( a + 2 ) = 4 a = 4 n = 0 b = ( 4 ) 2 = 2 a + 2 + n = -2, a + 2 - n = -2 \Longrightarrow 2(a + 2) = -4 \Longrightarrow a = -4 \Longrightarrow n = 0 \Longrightarrow b = \dfrac{-(-4)}{2} = 2 .

After confirming that ( a , b ) = ( 4 , 2 ) (a,b) = (-4,2) satisfies the original equation, we conclude that there is just 1 \boxed{1} integral solution ( a , b ) (a,b) .

Parth Sankhe
Nov 24, 2018

b = a b a b=\frac {a}{b}-a

a = b 2 1 b a=\frac {b^2}{1-b}

If b b is an integer, for a a to be an integer, b 2 1 b \frac {b^2}{1-b} should be an integer

a = 2 b 1 b 1 ( b 1 ) a=\frac {2b-1}{b-1}-(b-1)

a = 1 b 1 + 2 ( b 1 ) a=\frac {1}{b-1} +2 - (b-1)

Since the last two terms of the above equation are already integers, 1 b 1 \frac {1}{b-1} should be an integer, and that occurs only at b = 0 , 2 b=0,2 . But since b=0 can't be used, there is only one solution, ( a , b ) = ( 4 , 2 ) (a,b)=(-4,2)

Aaghaz Mahajan
Nov 23, 2018

(a,b) = (-4,2)

Is this the only solution?

Pi Han Goh - 2 years, 6 months ago

Log in to reply

Yes Sir.........this can be seen as follows..........we only need to find integers 'b' such that (1-b) divides (b*b)..........!!

Aaghaz Mahajan - 2 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...