We are given the functional equation f(x+yg(x))=g(x)+xf(y) for all x,y∈R. We aim to find all functions f and g from R→R that satisfy this equation.
First, assume g(0)=0.
### Fact 1: f(x)=g(x) for every x.
Proof:
Set y=0 in the given equation:
f(x+0⋅g(x))=g(x)+xf(0)⟹f(x)=g(x)+xf(0).
Rewriting, we get:
g(x)=f(x)−xf(0).
In particular, if x=0, then g(0)=f(0). Since g(0)=0, it follows that f(0)=0. Therefore,
f(x)=g(x).
### Fact 2: Either z=0 is the only zero of f(z)=g(z)=0, or f(x)=g(x)=0 for every x.
Proof:
Assume f(z)=g(z)=0 for some z. Then, setting x=z in the original equation, we get:
f(z+yg(z))=g(z)+zf(y)⟹f(z)=0=zf(y).
Since this must hold for every y, if z=0, then f(y)=0 for all y. Hence, f(x)=g(x)=0 for every x.
Thus, the solutions to the functional equation are:
1. f(x)=g(x)=0 for all x∈R.
2. f(x)=g(x) for all x∈R, where f and g are arbitrary functions satisfying f(0)=0.
The answer is: f(x) = g(x) = 0 for all } x ∈R or } f(x) = g(x) with } f(0) = 0}.