#2

solved

Find all functions f:R→Rf:\mathbb{R}\to\mathbb{R} such that

f(x+y)=x+f(y)f(x + y) = x + f(y)

for any reals x,yx,y.

Solution

This is a trivial problem.


We claim the only solution is f(x)≡x+cf(x)\equiv x+c for some constant c∈Rc\in \mathbb{R}, which obviously works. We now show it is the only solution. Let P(x,y)P(x,y) denote the assertion that f(x+y)=x+f(y)f(x+y)=x+f(y).


P(x,0):f(x)=x+f(0)P(x,0): f(x)=x+f(0).