Solving Integer Equation: 1/x + 1/y = 1

  • Thread starter Thread starter annoymage
  • Start date Start date
  • Tags Tags
    Integer
Click For Summary

Homework Help Overview

The discussion revolves around solving the integer equation 1/x + 1/y = 1, where x and y are natural numbers. Participants explore potential solutions and the nature of the equation, questioning whether there are multiple solutions or if x=y=2 is the only solution.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Some participants attempt to identify solutions and question the completeness of their findings, while others suggest that there may be additional solutions beyond x=y=2. There is discussion about the implications of integer constraints and the nature of the equation as a diophantine equation.

Discussion Status

Participants are actively engaging with the problem, offering hints and exploring different approaches. Some guidance has been provided regarding the nature of integer solutions, and there is an ongoing examination of assumptions related to the values of x and y.

Contextual Notes

There is mention of the problem being part of an assignment, which may influence the participants' approaches. Additionally, the discussion includes considerations of verifying cases and the implications of integer constraints on potential solutions.

annoymage
Messages
360
Reaction score
0

Homework Statement



let [tex]x,y \in N[/tex]. Solve the equation [tex]\frac{1}{x}+\frac{1}{y}=1[/tex]

Homework Equations



n/a

The Attempt at a Solution



so i can see x=y=2 is the solution, hmm, isn't there any other solution.

and, this is one of three of my assignment question for 15% continuous assessment, does it seem too easy? should i prove that they are no other solution other than x=y=2?? help
 
Last edited:
Physics news on Phys.org
You shouldn't prove that there is no other solution because there are other solutions. How about x = 3 and y = (3/2)? or x = 6 and y = (5/6) ? This is an implicit function describing a curve (in this case a straight line) of some sort, which means there are infinite points (values of x and y) that satisfy the equation. Try making it an explicit function by solving for y (or x if you want) and then see what you get.
 
owh i forgot to wrote it, it's on the title "integer solution" hmm let me edit
 
Hint: If x > 2, then [itex]\frac{1}{x}[/itex] is ... .

Petek
 
If [tex]x>2[/tex] then [tex]\frac{1}{x}+\frac{1}{y}<\frac{1}{2}+\frac{1}{y}[/tex] and if [tex]y \geq 2[/tex], then [tex]\frac{1}{x}+\frac{1}{y}<\frac{1}{2}+\frac{1}{2}=1[/tex]

similarly if [tex]y>2[/tex] and [tex]x \geq 2[/tex], so either case is not a solution. should i do like that?
 
Yes, that's the right idea.

Petek
 
Petek illustrates an important method, but this diophantine equation can be solved explicitly. Simply clear denominators and rearrange to get xy - x - y = 0. Now try to add a constant to both sides so that you can factor the left hand side as a product of two linear factors, similar to completing the square.
 
cool, i get

[tex](x-1)(y-1)=1[/tex] implies [tex](x-1)=1 \ and\ (y-1)=1[/tex]

but what if

[tex]\frac{1}{x}+\frac{1}{y}+\frac{1}{z}=1[/tex], i can't solve it explicitly can't i?

so i know[tex]x=y=z=3[/tex] is a solution

and i need to verify, [tex]x \in N-(3)\ ,y \in N-(3)\ ,z \in N-(3)[/tex] is not a solution

so for [tex]x=1,2[/tex] easy to verify

if [tex]x>3 \ \ \ \[/tex] [tex]\frac{1}{x}+\frac{1}{y}+\frac{1}{z}<\frac{1}{3}+\frac{1}{y}+\frac{1}{z}[/tex] so when y=1,z=2 and y=2,z=1 and y=1,z>3 and y=2,z>3 and y>3,z=1 and y>3,z=2, is not a solution(i have to verify all these cases?)

and then repeat this tedious cases for y>3 and z>3

is that the way?
 
annoymage said:
cool, i get

[tex](x-1)(y-1)=1[/tex] implies [tex](x-1)=1 \ and\ (y-1)=1[/tex]
Actually, 1 factors in two different ways over the integers:
1 = 1*1
1 = -1 * -1
 
  • #10
Hurkyl said:
Actually, 1 factors in two different ways over the integers:
1 = 1*1
1 = -1 * -1

owh yes, thank ;P

so (x-1)=-1 =>x=0 similarly y=0, which is not a solution.

but how about this


annoymage said:
cool, i get

[tex](x-1)(y-1)=1[/tex] implies [tex](x-1)=1 \ and\ (y-1)=1[/tex]

but what if

[tex]\frac{1}{x}+\frac{1}{y}+\frac{1}{z}=1[/tex], i can't solve it explicitly can't i?

so i know[tex]x=y=z=3[/tex] is a solution

and i need to verify, [tex]x \in N-(3)\ ,y \in N-(3)\ ,z \in N-(3)[/tex] is not a solution

so for [tex]x=1,2[/tex] easy to verify

if [tex]x>3 \ \ \ \[/tex] [tex]\frac{1}{x}+\frac{1}{y}+\frac{1}{z}<\frac{1}{3}+\frac{1}{y}+\frac{1}{z}[/tex] so when y=1,z=2 and y=2,z=1 and y=1,z>3 and y=2,z>3 and y>3,z=1 and y>3,z=2, is not a solution(i have to verify all these cases?)

and then repeat this tedious cases for y>3 and z>3

is that the way?
is this argument correct? T_T
 
  • #11
If
[tex] \frac{1}{x}+\frac{1}{y}=1[/tex]
Then:
[tex] y=\frac{x}{x-1}[/tex]
As y is an integer, we know that the above fraction is an interger, so x-1 must perfectly divide x, when can this happen?
 
  • #12
hmm since gcd(x-1,x)=1 so x/(x-1) to be integer means x-1 must equal to 1 or -1, right?

hey, if i solve explicitly like this or like

annoymage said:
cool, i get

[tex](x-1)(y-1)=1[/tex] implies [tex](x-1)=1 \ and\ (y-1)=1[/tex]

that's the only solution right? and other integer is not a solution?? and i don't need to verify others is not a solution right?? right right? is it right?
 
  • #13
Correct, but you can get rid of one of the options with a bit of thought. I was mainly thinking that if x is an integer then the greatest divisor must be x/2 if x is even or less if x is odd.
 
  • #14
wait what you mean by
hunt_mat said:
you can get rid of one of the options with a bit of thought
?and thanks for this clue
hunt_mat said:
if x is an integer then the greatest divisor must be x/2 if x is even or less if x is odd.

i'm interesting to prove that statement ;P
 
Last edited:
  • #15
I always loathed number theory. Look at the what x-1=1 and x-1=-1 and see what it means with the original equation.

As with the rule, it was just an observation. I have no idea how to prove it.
 

Similar threads

Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K