#307

solved

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

f(x2+xy)=f(x)2+f(xy)f(x^2 + xy) = f(x)^2 + f(xy)

for any reals x,yx,y.

Solution

Solution by maromex.


Let P(x,y)P(x,y) denote the given assertion f(x2+xy)=f(x)2+f(xy)f(x^2+xy) = f(x)^2 + f(xy).

P(0,0):f(0)=f(0)2+f(0)P(0,0) : f(0)=f(0)^2+f(0), so f(0)=0f(0)=0.

P(x,0):f(x2)=f(x)2P(x,0) : f(x^2) = f(x)^2.

This means f(x2+xy)=f(x2)+f(xy)f(x^2+xy) = f(x^2) + f(xy) for all real x,y.x,y. For any positive real numbers s,ts, t, there exist positive reals x,yx,y with x2=sx^2 = s and xy=t.xy = t. So f(s+t)=f(s)+f(t)f(s+t) = f(s)+f(t) for all s,t>0.s,t>0. As f(x2)=f(x)2≥0f(x^2) = f(x)^2 \ge 0, we have f(x)≥0f(x) \ge 0 for all x≥0.x \ge 0.

As ff is, on positive reals, additive and bounded below, we have f(x)=cxf(x)=cx for all positive real xx for some real constant c.c. Because f(x2)=f(x)2  ⟹  cx2=c2x2f(x^2)=f(x)^2 \implies cx^2 = c^2x^2 we have c∈{0,1}.c \in \{0,1\}.

P(x,−x):0=f(x)2+f(−x2)=f(x2)+f(−x2)P(x,-x) : 0 = f(x)^2 + f(-x^2) = f(x^2) + f(-x^2).

This means f(−x)=−f(x)f(-x) = -f(x) for all x≥0.x \ge 0. Therefore f(x)=cxf(x) = cx for all x<0x <0 as well. As f(0)=0f(0)=0, we have f(x)=cxf(x) = cx for all x.x.

So f(x)=0f(x)=0 for all xx or f(x)=xf(x)=x for all x.x. Checking, both of these functions work.