Is there any counterexample other than $f(x)=0$? The actual problem states: Find a function $f: \mathbb{R} \to \mathbb{R}$, such that $f(f(x+y))=x-f(y)$. By substituting $x=0$, we get $f(f(y))=-f(y)$. Is it safe to conclude that $f(y)= -y$ for all $y$?
Asked
Active
Viewed 113 times
2
-
Please also include the problem in the post (not only in the title), some details like domain of definition / of values of $f$ should be also inserted to satisfy a minimal rigor. – dan_fulea Sep 17 '18 at 00:57
-
We can define a function from $\Bbb R$ to $\Bbb R$ with image in the interval $[-1,1]$, on this interval we require the condition $f(x)=-x$, and else we take arbitrary values in the interval $[-1,1]$. – dan_fulea Sep 17 '18 at 01:00
-
2No, from $f(f(y))=-f(y)$ we only have $f(y)=-y$ for all $y$ in the image of $f$. But $f$ may not be surjective... – dan_fulea Sep 17 '18 at 01:07
1 Answers
6
If $f$ is surjective, absolutely. Then, for any $y \in \mathbb{R}$, we have $f(x) = y$ for some $x \in \mathbb{R}$, so $$f(y) = f(f(x)) = -f(x) = -y.$$ If you look back at the original equation, $f(f(x + y)) = x - f(y)$, it's not difficult to show that this is surjective; fix $y$ and let $x$ vary. So, indeed, $f(x) = -x$ for all $x$.
Here's an example of a function satisfying $f(f(x)) = -f(x)$ that isn't surjective:
$$f(x) = \begin{cases}-x & \text{if $-1 \le x \le 1$} \\ -\frac{2x}{x^2+1} & \text{otherwise}\end{cases}.$$
The key is that such a function must be $-x$ on its range, but free to be anything else outside the range. I opted for a continuous odd function!
Theo Bendit
- 50,900