3 x + 2 y = x y
Let ( x 1 , y 1 ) , ( x 2 , y 2 ) , … , ( x n , y n ) be all the pairs of positive integer roots ( x , y ) that satisfy the equation above.
Find ( x 1 + x 2 + ⋯ + x n ) + ( y 1 + y 2 + ⋯ + y n ) .
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.
Standard usage of SFFT. +1!
3 x + 2 y = x y
3 x − x y + 2 y = 0
( 3 − y ) x = − 2 y
x = y − 3 2 y when y is not equal to 3.
Let's look at the case y = 3 :
3 x + 2 × 3 = x × 3
6 = 0 , which is false, so y can't be equal to 3.
When y = 1 or y = 2 , the denominator y − 3 in the equation x = y − 3 2 y is negative, which means x can't be a positive integer. Now, let's look at two inequalities when y > 3 :
x = y − 3 2 y > 2
2 y > 2 ( y − 3 )
0 > − 6 , which holds true with all y > 3 .
Secondly,
x = y − 3 2 y < 3
2 y < 3 y − 9
y > 9 .
By looking at the two inequalities, x is between 2 and 3 with all y > 9 , meaning x can't be an integer. This means there are no pairs of positive integer roots with y > 9 . Now we are looking at x -values with integer y equal to or less than 9:
y = 4 : x = 4 − 3 2 × 4 = 8
y = 5 : x = 5 − 3 2 × 5 = 5
y = 6 : x = 6 − 3 2 × 6 = 4
y = 7 : x = 7 − 3 2 × 7 = 2 7
y = 8 : x = 8 − 3 2 × 8 = 5 1 6
y = 9 : x = 9 − 3 2 × 9 = 3
We see that there are four pairs of positive integer roots: ( 4 ; 8 ) , ( 5 ; 5 ) , ( 6 ; 4 ) , ( 9 ; 3 ) The asked sum is therefore ( 4 + 5 + 6 + 9 ) + ( 8 + 5 + 4 + 3 ) = 4 4 .
Good approach!!
For positive
x
and
y
,
3
x
+
2
y
=
x
y
⇒
y
3
+
x
2
=
1
⇒
x
>
2
,
y
>
3
.
Also,
3
x
+
2
y
=
x
y
⇒
(
x
−
2
)
(
y
−
3
)
=
6
.
Now
(
x
−
2
)
can be any positive factor of
6
and so can
(
y
−
3
)
, since
x
−
2
6
=
y
−
3
.
Now the sum of the possible values for
x
must be the sum of factors of
6
plus
2
for each
x
, since we subtract
2
.
Also the sum of the possible values for
y
must be the sum of factors of
6
plus
3
for each
y
, since we subtract
3
.
Hence, the answer must be 2 ( 1 + 2 + 3 + 6 ) + 4 ( 3 + 2 ) = 4 4 .
It's a bit mystery to me how you got that 2 ( 1 + 2 + 3 + 6 ) + 4 ( 3 + 2 ) . The other parts of your solution are clear.
Log in to reply
I explained it at the end. Edit: I edited the solution.
Log in to reply
Ah, of course. Didn't first notice the connection between it and the text in the end. :)
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Quadratic Diophantine Equations - Solve by Simon's Favorite Factoring Trick
Rewrite the given equation as x y − 3 x − 2 y = 0 ⟹ ( x − 2 ) ( y − 3 ) = 6 .
We then note that as 6 has 8 integer divisors, namely ± 1 , ± 2 , ± 3 and ± 6 , we can express 6 as a product of 2 integers in 8 ordered ways, i.e.,
x − 2 = 1 , y − 3 = 6 ⟹ ( x , y ) = ( 3 , 9 ) , or x − 2 = 6 , y − 3 = 1 ⟹ ( x , y ) = ( 8 , 4 ) ,
x − 2 = 2 , y − 3 = 3 ⟹ ( x , y ) = ( 4 , 6 ) or x − 2 = 3 , y − 3 = 2 ⟹ ( x , y ) = ( 5 , 5 ) ,
x − 2 = − 1 , y − 3 = − 6 ⟹ ( x , y ) = ( 1 , − 3 ) or x − 2 = − 6 , y − 3 = − 1 ⟹ ( x , y ) = ( − 4 , 2 ) ,
x − 2 = − 2 , y − 3 = − 3 ⟹ ( ( x , y ) = ( 0 , 0 ) or x − 2 = − 3 , y − 3 = − 2 ⟹ ( x , y ) = ( − 1 , 1 ) .
Of these 8 cases, only 4 are such that both x and y are positive, namely ( 3 , 9 ) , ( 8 , 4 ) , ( 4 , 6 ) and ( 5 , 5 ) , so the desired sum is ( 3 + 8 + 4 + 5 ) + ( 9 + 4 + 6 + 5 ) = 2 0 + 2 4 = 4 4 .