Albert1
- 1,221
- 0
A function $f$, defined as $f(f(x)+f(y))=x+y,$ for all $x,y\in N$ find $f(2002)$
Albert said:A function $f$, defined as $f(f(x)+f(y))=x+y,$ for all $x,y\in N$ find $f(2002)$
MarkFL said:My not-so-rigorous solution:
Let us assume that $f$ is linear, that is:
$$f(x+y)=f(x)+f(y)\tag{1}$$
$$f(ax)=a\cdot f(x)\implies f(x)=kx\tag{2}$$
Using (1), our functional equation becomes:
$$f(f(x))+f(f(y))=x+y$$
Now, let $y=x$, and the functional equation becomes:
$$f(f(x))=x$$
Using the implication from (2), we find:
$$f(kx)=x$$
$$k^2x=x$$
$$k=\pm1$$
Hence:
$$f(x)=\pm x\implies f(2002)=\pm2002$$
MarkFL said:You do see that $f(x)=-x$ also satisfies the functional equation?
MarkFL said:I am saying to consider them as separate cases, both functions $f(x)=x$ and $f(x)=-x$ satisfy the given functional equation (which I probably should not have condensed as I did). However, this means there are (at least) 2 possible values for $$f(2002)$$. :D
I like Serena said:Erm... if we consider the $f(x)=-x$, we have that $f(f(x)+f(y)) = f(-x-y)$, which is undefined, since $-x-y \notin \mathbb N$.
From the problem statement it's not immediately clear if that's acceptable, or if we do require that it is defined.
If we don't require that it's defined, then any function with $f(x) < 0$ for all $x\in\mathbb N$ is a solution, since effectively there are no constraints at all.
And if we do require it to be defined, that rules out the solution $f(x)=-x$...
I like Serena said:Erm... if we consider the $f(x)=-x$, we have that $f(f(x)+f(y)) = f(-x-y)$, which is undefined, since $-x-y \notin \mathbb N$.
From the problem statement it's not immediately clear if that's acceptable, or if we do require that it is defined.
If we don't require that it's defined, then any function with $f(x) < 0$ for all $x\in\mathbb N$ is a solution, since effectively there are no constraints at all.
And if we do require it to be defined, that rules out the solution $f(x)=-x$...
Joppy said:So we need to make the following assumptions (in the case that the answer is indeed $f(2002) = 2002$);
$f : \mathbb{N} \rightarrow \mathbb{N}$,
Linearity : $f(x + y) = f(x) + f(y)$, $f(ax) = af(x)$
and of course, $x, y \in \mathbb{N}$ as stated.
Is this correct?
Can we then just say that.. $f(f(x) + f(y)) = f(x + y) = x + y$, then clearly, $f(2002) = 2002$? Or am i doing something illegal.
This is the case that f(x) = x, f(y) = y.
Albert said:may be I should make it clear :
$f:\ N \rightarrow\,\, N,\,\, and \,\,f(f(x)+f(y))=x+y, \,\, (for \,\,all \,\, x,y\in N)\,\,.find\,\, f(2002)$
now here is the question , I didn't say $f$ is linear .
this is a "not-so-rigorous solution "
Joppy said:Can we then just say that.. $f(f(x) + f(y)) = f(x + y) = x + y$, then clearly, $f(2002) = 2002$? Or am i doing something illegal.
I like Serena said:A little more rigorous.
Let's assume that $0\in N$, then we have:
$f(f(0)+f(0))=0+0 \quad\Rightarrow\quad f(2f(0))=0 \quad\Rightarrow\quad f(0+0)=f(f(2f(0))+f(2f(0)))=2f(0) + 2f(0) \quad\Rightarrow\quad f(0)=0$
Lemma
Let $a=f(1)$. Then for all $k\in N$: $f(k)=ka$ and $f(ka)=k$.
Proof
By induction.
Base case: $f(0)=0=0a$ and $f(0a)=f(0)=0$.
Induction step: we assume the lemma holds up to $k$, then it follows that:
$f(k+1)=f(f(ka)+f(a))=ka+a=(k+1)a$ and $f((k+1)a)=f(ka+a)=f(f(k)+f(1))=k+1$.
Qed.
Since we have $f(k)=ka$ it follows that $f$ is linear, and as MarkFL has already shown, that implies:
$k=f(ka)=ka^2 \quad\Rightarrow\quad a=1$.
Therefore $f(2002)=2002$.
Albert said:Why assume that $0\in N ?$
Never mind if $f$ is linear or not.(only use the given condition)
key point is how to prove $f(1)=1 $
you can not say $f(f(1)+f(0))=1+0=1$,since $0 \notin N$
we should prove $f(1)=1,f(2)=2,f(3)=3,----$and then use inductive method
suppose $f(1)=1$ (here you must prove)
$f(f(1)+f(1))=f(2f(1))=f(2)=1+1=2$
$f(f(1)+f(2))=f(1+2)=f(3)=1+2=3$
---------
$f(1)=1, why\,?$