Proving m + 1/m = Integer When m = 1

  • Thread starter Thread starter disregardthat
  • Start date Start date
  • Tags Tags
    Integer
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
34 replies · 6K views
Messages
1,864
Reaction score
34

Homework Statement



Prove that if m is a positive rational number, then:

m + 1/m = integer

Only when m = 1

Homework Equations



Don't know any

The Attempt at a Solution



That's the problem, I don't know where to start. I have tryed a few things, but none of them works out for me.

I don't know much of proofs and such, the problem I have is always where shall I start? Do you have any tips?

EDIT: The topics name is not correct, the correct question is in the topic
 
Physics news on Phys.org
If m is a positive rational number, then m = p/q, for some natural numbers p and q. Hence, you have p/q + q/p = integer => p/q & q/p are integers. Now, what does that mean?
 
radou said:
If m is a positive rational number, then m = p/q, for some natural numbers p and q. Hence, you have p/q + q/p = integer => p/q & q/p are integers.

Just because the sum of two numbers is an integer does not mean the two numbers themselves are integers. This final step needs further justification.
 
I was at that stage:

a/b + b/a = integer

But I couldn't state that this only works when m=1

Is it ok to say: a and b is integers, if a is more that 1, we would have a decimal number in b/a and an integer in a/b, if b is more than one, we would have a decimal number in a/b and an integer in b/a.

Since m must be positive, and that we can't divide by 0, m must be 1 to get an integer.
 
Last edited:
a/b + b/a is not an integer if a doesn't divide b or if b doesn't divide a (or both). So, for a/b + b/a to be an integer, a must divide b, and b must divide a.
 
D H said:
radou, you just gave out the answer. Not a good idea in the homework section ...

Hm, I'd let Jarle decide about that.
 
radou said:
a/b + b/a is not an integer if a doesn't divide b or if b doesn't divide a (or both). So, for a/b + b/a to be an integer, a must divide b, and b must divide a.

This is all true, except that the sum of two nonintegers can be a integer. So it's not so clear and I don't think the answer is given away yet. You'll want to clear the fractions in a/b+b/a=1 and assume a and b are relatively prime.
 
Last edited:
I'm a bit unclear as to whether the problem is to show that m+ 1/m is an integer or (m+1)/m is an integer only if m= 1.

If it is the first case, I don't think you need to worry about "divisors". Since the difference of two integers is an integer, if m+ 1/m= n, an integer, then 1/m= n- m is an integer. What does that tell you?
 
Jarle said:
I don't know how to prove it, I tryed, but I can't

You can assume a and b have no common divisors, right? Otherwise you could just simplify the fraction. This mean one of a or b has a prime divisor that does not divide the other. Suppose p divides a but not b. How many of the terms in a^2+b^2=a*b are divisible by p? How many are not? Is there anything wrong here?
 
Last edited:
Dick, you arrived at [itex]a/b+b/a=1[/itex] in post #9 and then used that in posts #11 and #14. However, you do not know [itex]a/b+b/a=1[/itex]. The given condition is that [itex]a/b+b/a=n[/itex], where [itex]a, b, n \in \mathbb N[/itex]. So the problem becomes one of showing that [itex]a^2+b^2=nab[/itex] only has solution if [itex]a=b=1[/itex].
 
D H said:
Dick, you arrived at [itex]a/b+b/a=1[/itex] in post #9 and then used that in posts #11 and #14. However, you do not know [itex]a/b+b/a=1[/itex]. The given condition is that [itex]a/b+b/a=n[/itex], where [itex]a, b, n \in \mathbb N[/itex]. So the problem becomes one of showing that [itex]a^2+b^2=nab[/itex] only has solution if [itex]a=b=1[/itex].

Ooooops. Sorry! Same argument, though.
 
D H said:
only has solution if [itex]a=b=1[/itex].
That should read "only has solution if [itex]a=b[/itex]"
 
Last edited:
radou said:
Nah, it should read "only has solution in the set of integers".
a and b may both be integers and yet not be a solution. a = b is crucial. a and b were chosen from the set of integers.
 
jimmysnyder said:
a and b may both be integers and yet not be a solution. a = b is crucial. a and b were chosen from the set of integers.

I was referring to n, but nevermind.
 
D H said:
Dick, you arrived at [itex]a/b+b/a=1[/itex] in post #9 and then used that in posts #11 and #14. However, you do not know [itex]a/b+b/a=1[/itex]. The given condition is that [itex]a/b+b/a=n[/itex], where [itex]a, b, n \in \mathbb N[/itex]. So the problem becomes one of showing that [itex]a^2+b^2=nab[/itex] only has solution if [itex]a=b=1[/itex].

[itex]a^2+b^2=nab[/itex] only has solution if [itex]a=b=1[/itex]

How do you go about proving this statement?

There are 3 unknowns, and I do know a and b must be integers, so what arguments are required to prove [itex]a=b[/itex]
 
Ah so it's that simple by using quadratic equations.. Sorry have been too out of touch on mathematics, trying to refresh now before entering university.. which is in like 2 years later
 
D H said:
Solve [itex]a^2+b^2=nab[/itex] for [itex]a[/itex] in terms of [itex]b, n \in \mathbb N[/itex]. The equation is quadratic and must yield a positive integral solution. There aren't many values of [itex]n[/itex] that do that.

I really don't see how you would do it that way. Or why? Just use that fact you can take a,b to relatively prime if the problem has a nontrivial solution and arrive at the obvious contradiction.
 
What do you mean Dick? Taking a,b to be relatively prime (as in a and b are co-prime or something?) As in they do not have a common prime factor?

And how do you solve? Why would getting a non-trivial solution result in a contradiction?

If you can't post the solutions here, mind PM-ing me? Thanks.
 
Coprime. Exactly. And don't try to solve it. Just prove it can't be solved except in very special circumstances. As Jarle has undoubtedly gone on to bigger and better problems, let's just spell it out:

i) a/b+b/a=n is equivalent to a^2+b^2=abn.

ii) We can assume the fraction a/b is in lowest terms, so a and b are coprime. The case where one or both of them is 1 is left as an exercise.

iii) Hence there is a prime p that divides a but does not divide b.

iv) p divides a^2 and abn (since it divides a). But b^2=abn-a^2. Hence p divides b since it divides the RHS. Contradiction. Hence there is no such fraction.
 
wow thanks dick :) That's really cool stuff. Didn't thought of that..

BTW Co-prime = no common prime factors right? I hope i didn't remember it incorrectly..
 
truewt said:
wow thanks dick :) That's really cool stuff. Didn't thought of that..

BTW Co-prime = no common prime factors right? I hope i didn't remember it incorrectly..

You remembered it correctly.
 
Hey, I am reading this thread two times a day, I am not gone.

I wonder what you mean by this: iv)

p divides a^2 and abn (since it divides a). But b^2=abn-a^2. Hence p divides b since it divides the RHS. Contradiction. Hence there is no such fraction.

What did you show by saying that?