Solution by AIME4096.
Find all functions f:R→R such that
f(xf(x)+yf(y))=xf(x)+f(y2)
for any reals x,y.
We claim that the complete solution set is obtained as follows. Let f(0)=0 and f(x)=xq(∣x∣) for all x=0 where q:(0,∞)→R satisfies the following properties:
q(t)uq(u)+vq(v)=q(t2)∀t>0,=0⟹q(∣uq(u)+vq(v)∣)=1.
for every u,v≥0, where in the second condition terms of the form 0q(0) are interpreted as 0. We will refer to the first condition as the Scale Invariance condition, so q is constant along the orbits of the squaring map, while the second will be referred to as the Value Restriction condition. We now prove that these conditions are necessary and sufficient. Let P(x,y) denote the assertion f(xf(x)+yf(y))=xf(x)+f(y2).
Lemma 1. We have f(0)=0, f(x2)=xf(x) for every x∈R, and f is odd.
Proof. Let c=f(0). Assertion P(x,0) gives f(xf(x))=xf(x)+c, while P(0,x) gives f(xf(x))=f(x2). Hence f(x2)=xf(x)+c for every x. Taking x=1 gives c=0, so f(x2)=xf(x). Applying such identity to x and −x gives xf(x)=(−x)f(−x), hence f(−x)=−f(x). □
Lemma 2. For every x,y∈R, f(f(x2)+f(y2))=f(x2)+f(y2).
Proof. By Lemma 1, xf(x)=f(x2) and yf(y)=f(y2). Substituting these into P(x,y) gives the desired identity. □
Lemma 3. Define q:(0,∞)→R by q(t)=tf(t). Then q(t)=q(t2) for every t>0 and, if u,v>0 satisfy uq(u)+vq(v)=0, q(∣uq(u)+vq(v)∣)=1.
Proof. From Lemma 1, f(t2)=tf(t) for every t>0, so q(t2)=t2f(t2)=tf(t)=q(t). Now let u,v>0 and put a=uq(u)=f(u) and b=vq(v)=f(v). By Lemma 2, f(a+b)=a+b. If a+b=0, then if a+b>0 we have q(a+b)=1, while if a+b<0, oddness gives f(∣a+b∣)=∣a+b∣, so again q(∣a+b∣)=1. Thus q(∣uq(u)+vq(v)∣)=1. □
Lemma 4. Every solution is uniquely of the form f(0)=0 and f(x)=xq(∣x∣) for x=0, where q satisfies the two structural properties above.
Proof. Given a solution f, define q(t)=tf(t) for t>0. Lemma 1 gives f(−x)=−f(x), so f(x)=xq(∣x∣) for every x=0, while Lemma 3 gives the two required properties. Uniqueness is immediate from q(t)=tf(t). □
Lemma 5. Conversely, let q:(0,∞)→R satisfy q(t)=q(t2)∀t>0 and uq(u)+vq(v)=0⟹q(∣uq(u)+vq(v)∣)=1∀u,v>0. Define f(0)=0 and f(x)=xq(∣x∣) for x=0. Then f is a solution.
Proof. The definition makes f odd. For x=0, Scale Invariance gives f(x2)=x2q(x2)=x2q(∣x∣)=xf(x), and the same identity is trivial for x=0. Thus xf(x)=f(x2) for every x. Set a=xf(x) and b=yf(y). If a+b=0, then f(a+b)=f(0)=0=a+b. Otherwise, writing u=x2 and v=y2 when x,y=0, we have a=uq(u) and b=vq(v), so the Value Restriction gives q(∣a+b∣)=1. Hence f(a+b)=a+b. Therefore f(xf(x)+yf(y))=xf(x)+yf(y)=xf(x)+f(y2), as required. □
We have therefore proven that our desired parametrization is well-defined, necessary, and sufficient, and the corresponding q is uniquely determined by f. ■