The functions we are looking for are f:R→R, f(x)=0 and f:R→R, f(x)=x. For n even f:R→R, f(x)=−x is also a solution.
Throughout the solution, P(x0,y0) will denote the substitution of x0 and y0 for x and y, respectively, in the given equation.
P(x,0) for x=0 gives
f(x)n+1=f(x)n+1+xnf(0)
and therefore
f(0)=xnf(x)n+1−f(x)n+1=0.
P(x,−x) for x=0 gives
0=f(x)nf(0)=f(x)n+1+xnf(−x),
and therefore
f(−x)=−xnf(x)n+1.
f(x)(xn2+2n−f(x)n2+2n)=0.
If there exists an a=0 for which f(a)=0, then P(a,y) yields
0=anf(y),
which means that f(y)=0 for all y∈R. This is a solution to the equation for all n.
If instead f(x)=0 for all x=0, then we have
xn2+2n=f(x)n2+2n.
If n is odd, then so is n(n+2)=(n2+2n), meaning f(x)=x for all x∈R. This is a solution to the equation.
If n is even, then so is n(n+2)=(n2+2n), meaning f(x)=±x for all x∈R. Both f(x)=x and f(x)=−x are solutions to the equation. In all other cases there must exist x,y=0 such that f(x)=x and f(y)=−y. Then P(x,y) yields
xnf(x+y)=xn+1−xny,
which after dividing by xn=0 yields
f(x+y)=x−y.
Since (f(x))2=x2 for all x∈R, we have (x+y)2=(x−y)2. That is 4xy=0 which is impossible as x,y=0.
There are therefore no more solutions to the equation. □