Does there exist nonlinear functions $f$ and $g$ such that $f(x+y)=g(x)+g(y)$ for every $x$ and $y$?
Maybe there is a trivial solution but I can't see it. Thank you.
Does there exist nonlinear functions $f$ and $g$ such that $f(x+y)=g(x)+g(y)$ for every $x$ and $y$?
Maybe there is a trivial solution but I can't see it. Thank you.
Easy to see $f(0)=2g(0)$.
Let $y=0$, we get $f(x)=f(x+0)=g(x)+g(0)$, i.e., $g(x)=f(x)-g(0)$.
Hence $f(x+y)=g(x)+g(y)=[f(x)-g(0)]+[f(y)-g(0)]=f(x)+f(y)-f(0)$. Moreover, $f(x+y)-f(0)=[f(x)-f(0)]+[f(y)-f(0)]$.
Def $h(x)=f(x)-f(0)$, one has $h(x+y)=h(x)+h(y)$. $\forall x,y \in \mathbb{R}$.
From this we can show that $h(r)=h(1)r$ for $\forall r \in \mathbb{Q}$. Further assume that $f(x)$ is continuous, so is $h(x)$. Then $h(x)=h(1)x$ for $\forall x \in \mathbb{R}$. That is, $f(x)-f(0)=[f(1)-f(0)]x$, $f(x)=[f(1)-f(0)]x+f(0)$, $f$ is therefore linear.