Please help with finding all integers to an equation

  • Thread starter Thread starter Peter159
  • Start date Start date
  • Tags Tags
    Integers
Click For Summary

Homework Help Overview

The discussion revolves around finding all integer solutions to the equation 3(x+y) - xy = 0, which is related to the earlier task of solving 1/x + 1/y = 1/3. Participants are exploring methods to identify all possible integer pairs (x, y) that satisfy the equation.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss rewriting the equation in different forms to analyze integer solutions, with one suggesting a method involving large values of y. Others explore the factorization of the equation and the implications of its structure. Questions arise regarding the need for negative solutions and the process of factoring.

Discussion Status

The discussion is active, with various approaches being considered. Some participants have provided insights into the factorization process and the implications of the equation's structure. There is no explicit consensus, but several productive lines of reasoning have been shared.

Contextual Notes

Participants are working under the constraints of finding integer solutions and have noted the relevance of both positive and negative integers in their discussions. The original task's requirements are also acknowledged, influencing the direction of the conversation.

Peter159
Messages
6
Reaction score
0
How can i find all integers to this equation?

3(x+y)-xy=0

I already found just by tring that if x=y then its 6 and x=12 ,y=4 (x=4 and y=12)

I think that there are more, but how can i find all of them?

PS. the first task was: 1/x + 1/y = 1/3 and then i had to find all integers.

Thank you for your help!

Sorry for my bad english.
 
Physics news on Phys.org
I would write it in the form x=3*y/(y-3). For large values of y that's a little larger than 3 and not an integer. So once you tried a y value large enough that 3*y/(y-3)<4, there aren't any larger solutions. Then I'd just try all y values less than that to see if x is also an integer. Do you need negative solutions as well?
 
[tex]\frac{1}{x} + \frac{1}{y} = \frac{1}{3} \Rightarrow 3x + 3y = xy \Rightarrow xy - 3x - 3y + 9 = 9 \Rightarrow (x-3)(y-3) = 9[/tex].

The number 9 has three positive divisors: 1, 3, and 9. You just have to solve each of the systems of equations to get all the solutions.
 
snipez90 said:
[tex]\frac{1}{x} + \frac{1}{y} = \frac{1}{3} \Rightarrow 3x + 3y = xy \Rightarrow xy - 3x - 3y + 9 = 9 \Rightarrow (x-3)(y-3) = 9[/tex].

The number 9 has three positive divisors: 1, 3, and 9. You just have to solve each of the systems of equations to get all the solutions.

Very clever.
 
Ok, thanks Dick and Snipez90 for your help!

I have one question. xy-3x-3y+9=9 > (x-3)(y-3) How did you factor that one?

Dick said:
Do you need negative solutions as well?
No, but thanks for asking.

EDIT:OH, No need for help on this question any more. Just figured it out how to do that :D
 
Last edited:
By inspection I would imagine, you have a cross term xy so you know that if you will have a product of linear factors it will be of the form (x-alpha)*(y-beta) [to give you that xy term] and then the choices for alpha and beta are obvious once you write out the product.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
19
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
3K
  • · Replies 43 ·
2
Replies
43
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
3K
Replies
10
Views
3K