Proof f(x)=x for x Rational w/ f(x+y)=f(x)+f(y), f(xy)=f(x)f(y)

  • Thread starter Thread starter SpringPhysics
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary

Homework Help Overview

The discussion revolves around proving that the function f(x) equals x for rational numbers, given the functional equations f(x + y) = f(x) + f(y) and f(xy) = f(x)f(y). Participants explore various approaches and reasoning related to the properties of the function and the implications of the equations provided.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss substituting values into the functional equations, questioning the validity of steps taken, and exploring the implications of the function's properties. There are attempts to use induction and properties of number systems to derive conclusions about the function. Some participants express uncertainty about the completeness of their reasoning and the necessity of proving certain cases.

Discussion Status

The discussion is ongoing, with various lines of reasoning being explored. Some participants have offered guidance on potential approaches, while others are questioning assumptions and the necessity of certain proofs. There is no explicit consensus, but productive dialogue is occurring regarding the implications of the function's properties.

Contextual Notes

Participants note constraints such as the requirement to prove the function for irrational numbers and the implications of continuity on the function's behavior. There is mention of previous parts of the problem that have been established, which may influence the current discussion.

SpringPhysics
Messages
104
Reaction score
0

Homework Statement


Prove that f(x) = x (for x is rational) if f(x + y) = f(x) + f(y) and f(xy) = f(x)f(y).


Homework Equations





The Attempt at a Solution


I substituted y = x to get f(2x) = f(2x), which means that you can pull constants out of the function. Therefore, for all x and y, f(xy)=xy and so f(x) = x and f(y) = y.

However, I am not sure that this solution works because it seems to simple and illogical in a way. I also didn't prove that x is rational.
 
Physics news on Phys.org
SpringPhysics said:
I substituted y = x to get f(2x) = f(2x), which means that you can pull constants out of the function.

Is this a typo? Don't you mean f(2x)=2f(x)?
 
Sorry, I meant f(2x) = 2f(x). Thanks.
 
I would be inclined to work with the various number systems. For example, you should be able to use induction to show that f(nx)= nf(x)= f(n)f(x) for any positive integer n and thus that f(n)= n.
Then use the fact that f(n+0)= f(n)+ f(0) to show that f(0)= 0.
Use the fact that f(-n)= f((-1)(n))= nf(-1) while f(1- 1)= f(1)+ f(-1)= f(0)= 0 to get f(-n)= -n.

Finally, use the fact that f(1)= f(m(1/m))= mf(1/m)= 1 to get rational numbers.

By the way, if you add the requirement that f is continuous for all x, then f(x)= x for all real numbers. Without that added requirement, that is not true.
 
SpringPhysics said:
I substituted y = x to get f(2x) = f(2x), which means that you can pull constants out of the function.
As gabbagabbahey noted, surely you meant f(2x)=2f(x). All that means you can take a factor of 2 out of the argument. It does not necessarily mean you can "pull constants out of the function". BTW, if this were a valid step, why take the extra step of going to f(xy)=xy, etc.? You have already proved the assertion! (Invalidly, of course).
 
HallsofIvy said:
I would be inclined to work with the various number systems. For example, you should be able to use induction to show that f(nx)= nf(x)= f(n)f(x) for any positive integer n and thus that f(n)= n.
Then use the fact that f(n+0)= f(n)+ f(0) to show that f(0)= 0.
Use the fact that f(-n)= f((-1)(n))= nf(-1) while f(1- 1)= f(1)+ f(-1)= f(0)= 0 to get f(-n)= -n.

Finally, use the fact that f(1)= f(m(1/m))= mf(1/m)= 1 to get rational numbers.

By the way, if you add the requirement that f is continuous for all x, then f(x)= x for all real numbers. Without that added requirement, that is not true.

Thanks for the reply. So in general this would prove that f(x) = x, since I start with the base case (f(0) = 0), then prove it for positive integers using the induction method, then for negative integers, then rational numbers. Aren't the proofs a little redundant? I don't quite see the point in proving negative integers for rational numbers - is it to ascertain that the function holds for negative rational numbers as well? There's also a hint in there to use the fact that rational numbers exist between any number (in order to prove f(x) = x for all x). So wouldn't this have already proven that?
 
D H said:
As gabbagabbahey noted, surely you meant f(2x)=2f(x). All that means you can take a factor of 2 out of the argument. It does not necessarily mean you can "pull constants out of the function". BTW, if this were a valid step, why take the extra step of going to f(xy)=xy, etc.? You have already proved the assertion! (Invalidly, of course).

I had wanted to prove that f(x) = x in general by using that specific example, but I guess I would have to work through all the number systems for that.
 
Would it be possible to prove that for irrational numbers? (The exact same thing, except defining n as an irrational number?)
 
are you by any chance in regina rotman's class at u of t?
 
  • #10
SpringPhysics said:
Would it be possible to prove that for irrational numbers? (The exact same thing, except defining n as an irrational number?)

You can prove that f(x)=x for all algebraic numbers (essentially, f(a polynomial of x) = the polynomial evaluated at f(x)) but for transcendental numbers it seems you can define f(x) to be something different. There was another thread about the same function a couple days ago that covered the details, I'll see if I can find the link

EDIT:
https://www.physicsforums.com/showthread.php?t=339490

Here it is
 
  • #11
Thanks, I'll try that.
 
  • #12
  • #13
This question is part of my assigned homework too, and I can't figure out how to prove that f(x) = x for irrational numbers. The book has a hint that says "use the fact that between any two numbers there is a rational number".

In previous parts of the question, I've already proved that:
f(1) = 1,
f(x) = x if x is rational,
f(x)>0 if x>0, and
f(x)>f(y) if x>y.

So I'm assuming that there is an easy way to prove this for the irrational numbers, using only these four facts, the two properties of the function [ f(xy) = f(x)f(y) and f(x+y) = f(x)+f(y) ] and the hint that between any two numbers, there exists a rational number.

Any suggestions?
 
  • #14
Can f(pi) be bigger than 4? 3.2?
 
  • #15
Hurkyl said:
Can f(pi) be bigger than 4? 3.2?

Well...

Assume that f(pi) > 4

[tex] \begin{align*}<br /> f(\pi) &> 4\\<br /> f(\pi) &> f(4)\\<br /> f(\pi-\pi) &> f(4-\pi)\\<br /> f(0) &> f(4-\pi)\\<br /> 0 &> f(4-\pi)<br /> \end{align*}[/tex]

but this contradicts the statement that if x > 0, f(x) > 0. So f(pi) cannot be greater than 4.

But I'm not sure how that helps me. Or if what I just did there is valid.
 
  • #16
I guess we can sort of generalize it that f(pi) will never be larger than f(x) when x is a rational number larger than pi?
 
  • #17
nietzsche said:
I guess we can sort of generalize it that f(pi) will never be larger than f(x) when x is a rational number larger than pi?
That sounds correct. Can you find a less convoluted way of saying it?
 
  • #18
Your proof can be simplified considerably: since [itex]\pi < 4[/itex] we know that [itex]f(\pi) < f(4) = 4[/itex]. It's really the same argument, it just uses another fact that you've already proven.

To help you complete the proof, suppose that [itex]f(\alpha) \neq \alpha[/itex] for some [itex]\alpha[/itex] irrational. Then we have that [itex]f(\alpha) = \alpha + \epsilon[/itex] for some [itex]\epsilon \neq 0[/itex]. Can you see how this produces a contradtion?
 
  • #19
is the epsilon considered to be a rational number?
 
  • #20
i'm sorry, I'm still confused. i can't see how it produces a contradiction.
 
  • #21
nietzsche said:
is the epsilon considered to be a rational number?

No, it doesn't need to be. Sorry for the confusion, I should have been more clear. Let's try again . . .

For definiteness, suppose that [itex]f(\alpha) > \alpha[/itex]. Now since there is a rational number between any real numbers, we can find a rational number [itex]a[/itex] such that [itex]f(\alpha) > a > \alpha[/itex]. Now, can you use this to produce a contradiction?
 
  • #22
jgens said:
No, it doesn't need to be. Sorry for the confusion, I should have been more clear. Let's try again . . .

For definiteness, suppose that [itex]f(\alpha) > \alpha[/itex]. Now since there is a rational number between any real numbers, we can find a rational number [itex]a[/itex] such that [itex]f(\alpha) > a > \alpha[/itex]. Now, can you use this to produce a contradiction?

Ah yes, I do see now. Much appreciated, thank you!
 
  • #23
SpringPhysics said:
How can this be used as a contradiction if infinity is not a number?

Also, since we're doing the same question, to prove that f(x) > 0 if x > 0 and that f(x) > f(y) if x > y, would you just prove them by contradiction? (Assuming that x < 0, but since f(x) = x, then x must be greater than 0?)

To prove that f(x) > 0 if x > 0, I said that if x > 0, then it can be written as a square of some number a so that x = a^2. As long as that assumption is true, you should be able to figure it out using the properties of the function.

The problem relies heavily on the information that you gather from the previous parts.
 
  • #24
jgens said:
No, it doesn't need to be. Sorry for the confusion, I should have been more clear. Let's try again . . .

For definiteness, suppose that [itex]f(\alpha) > \alpha[/itex]. Now since there is a rational number between any real numbers, we can find a rational number [itex]a[/itex] such that [itex]f(\alpha) > a > \alpha[/itex]. Now, can you use this to produce a contradiction?

Now, I'm able to prove that f(a) cannot be less than a, nor can f(a) be greater than a. Does this imply that f(a) = a? Assuming that f(a) and a exist, then they must be equal, I think. But is it valid to say that?
 
  • #25
Or how about this?

Since f(a) is not less than a, and f(a) is not greater than a, then there is no rational number q between a and f(a). Therefore, a = f(a). That sounds a bit more valid...
 
  • #26
nietzsche said:
To prove that f(x) > 0 if x > 0, I said that if x > 0, then it can be written as a square of some number a so that x = a^2. As long as that assumption is true, you should be able to figure it out using the properties of the function.

The problem relies heavily on the information that you gather from the previous parts.

I suck at proofs and deducing information. I tried previously to prove that f(x^2) = [f(x)]^2, and then saying that since x^2 is always > 0 and [f(x)]^2 is always > 0. Square-rooting both sides would then give the inequality. I don't know how good of a proof that is though.
 
  • #27
SpringPhysics said:
I suck at proofs and deducing information. I tried previously to prove that f(x^2) = [f(x)]^2, and then saying that since x^2 is always > 0 and [f(x)]^2 is always > 0. Square-rooting both sides would then give the inequality. I don't know how good of a proof that is though.

Yup, that's essentially what I did. Don't square root both sides though, because it's not necessarily true because there might be a negative in there. Instead, say that a = x^2, so f(a) = [f(x)]^2. So f(a) must be positive.
 
  • #28
nietzsche said:
Yup, that's essentially what I did. Don't square root both sides though, because it's not necessarily true because there might be a negative in there. Instead, say that a = x^2, so f(a) = [f(x)]^2. So f(a) must be positive.

All that does is assert that x^2 is positive. But x could be negative.

And I'm also confused at the f(delta) > a > delta inequality and contradicting it.

Could you also divide both sides by x and f(x) to get them > 0?
 
Last edited:
  • #29
SpringPhysics said:
All that does is assert that x^2 is positive. But x could be negative.

And I'm also confused at the f(delta) > a > delta inequality and contradicting it.

Don't square x. The question says that x > 0. If there is some number a such that a^2 = x, then f(a^2) = f(x). For all positive numbers, x will have a number such that a^2 = x (x has a square root). It's true that a could be negative. But when you show that f(a^2) = [f(a)]^2, then does it still matter that a is negative?
 
  • #30
I see then. That elucidates the problem, thank you very much.

Could you also explain the f(alpha) > a > alpha with some hints please? (I would like to try this myself.)

Sorry for all the trouble.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
20
Views
5K
  • · Replies 17 ·
Replies
17
Views
4K
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K