1

Find all functions $f: \mathbb{N}^*\to \mathbb{Z}$ satisfies $$f(x+|f(y)|)=x+f(y), \forall x, y\in\mathbb{N}^*$$ My current progress:

  1. For $f(y)\geq 0$, it's obvious that $f(x)=x$ satisfies.
  2. For $f(y)<0$, then $f(x-f(y))=x+f(y)$. Because of the condition, $x>0>f(y)$.

... And that's it. I don't know what to do next, because I'm only familiar with $f: \mathbb{R}\to \mathbb{R}$.

  • It's obvious that $f(x)=x$ satisfies, but it not obvious it is the only one that does. So one must show that it is the only one. – fleablood Sep 20 '21 at 16:27
  • Also you $f(y)$ need not be either $\ge 0$ nor $< 0$ for all values of $y$. – fleablood Sep 20 '21 at 16:29