- #1
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:
\(\displaystyle f(x+y)=f(x)+f(y)\tag{1}\)
\(\displaystyle f(ax)=a\cdot f(x)\implies f(x)=kx\tag{2}\)
Using (1), our functional equation becomes:
\(\displaystyle f(f(x))+f(f(y))=x+y\)
Now, let $y=x$, and the functional equation becomes:
\(\displaystyle f(f(x))=x\)
Using the implication from (2), we find:
\(\displaystyle f(kx)=x\)
\(\displaystyle k^2x=x\)
\(\displaystyle k=\pm1\)
Hence:
\(\displaystyle 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 \(\displaystyle 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\,?$
$f(2002)$ represents the value of the function $f$ when the input is 2002. In other words, it is the output value when the independent variable is 2002.
Yes, it is possible to solve for $f(2002)$ by plugging in the value of 2002 for both $x$ and $y$. This will result in an equation with one unknown variable, which can be solved using algebraic methods.
Solving for $f(2002)$ gives us a specific output value for a given input, which helps us understand how the function behaves at that particular point. It also allows us to make predictions about the function's behavior for other input values based on the pattern observed for $f(2002)$.
One technique for solving for $f(2002)$ is to use substitution, where the value of 2002 is substituted for both $x$ and $y$ in the equation. Another strategy is to isolate $f(2002)$ on one side of the equation and then use inverse operations to solve for it.
Yes, we can use the value of $f(2002)$ to find other solutions for the equation by plugging in different values for $x$ and $y$ and solving for $f(x)$ and $f(y)$. This will result in a set of solutions that satisfy the equation for various input values.