Question -
Find all $f: \mathbb{N} \rightarrow \mathbb{N}$ which satisfy the relation -
$$ f(m-n+f(n))=f(m)+f(n) $$ for all $m, n \in \mathbb{N}$ where $N={1,2,3....}$
solution -
Observe $f(n) \geq n .$ Consider $F(n)=f(n)-n .$ Show that $F$ satisfies $$ F(F(n)+m)=F(m)+n $$ Using this, conclude that $F(1)=1$
and $F(n+1)=F(n)+$ $F(1)$ for all $n \geq 1 .$ Thus $F(n)=n F(1) .$ It follows that $F(n)=n$ and $f(n)=2 n$
Now i did not understand how they proved $F(1)=1$ ???
Any help will be appreciated
thankyou
$f(0)+f(0)=f(f(0))$
$f(0)+f(f(0))=f\bigg(0-f(0)+f(f(0))\bigg)=f\bigg(0-f(0)+f(0)+f(0)\bigg)=f(f(0))$
Subtracting $f(f(0))$ each side we get $f(0)=0$
$f(0)+f(n)=f(n)=f(0-n+f(n))\iff f(n)=f(f(n)-n)$
$f(m)+f(n)=f(m)+f(f(n)-n)=f\bigg(m-f(n)+n+f(f(n)-n)\bigg)=f\bigg(m-f(n)+n+f(n)\bigg)=f(m+n)$
Thus $f$ is linear with $f(0)=0$ so $f(n)=an$.
Reporting in equation $f(n)+f(n)=f(f(n))\iff 2an=a^2n\iff a=2, a=0$
Thus $f(n)=2n$ or $f(n)=0$