#512

solved

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

f(f(x)2+xf(y))=f(x)2+yf(x)f(f(x)^2 + xf(y)) = f(x)^2 + yf(x)

for any reals x,yx,y.

Solution

Solution by AIME4096.


We claim that the complete solution set is f≡0f\equiv0 and f(x)=x∀x∈Rf(x)=x\forall x\in\mathbb{R}, both of which clearly satisfy the equation. We now prove that these are the only solutions. Let P(x,y)P(x,y) denote the assertion f(f(x)2+xf(y))=f(x)2+yf(x)f(f(x)^2+xf(y))=f(x)^2+yf(x) for all x,y∈Rx,y\in\mathbb{R}.

Lemma 1. We have f(0)=0f(0)=0.

Proof. Assertion P(0,y)P(0,y) gives f(f(0)2)=f(0)2+yf(0)f(f(0)^2)=f(0)^2+yf(0) for every y∈Ry\in\mathbb{R}. The left-hand side and the first term on the right-hand side are independent of yy, so necessarily f(0)=0f(0)=0. From now on, suppose that f≢0f\not\equiv0. □\square

Lemma 2. The function ff is bijective.

Proof. Since f≢0f\not\equiv0, choose a∈Ra\in\mathbb{R} such that f(a)≠0f(a)\neq0. Assertion P(a,y)P(a,y) gives f(f(a)2+af(y))=f(a)2+yf(a)f(f(a)^2+af(y))=f(a)^2+yf(a). As yy ranges over R\mathbb{R}, the right-hand side ranges over all of R\mathbb{R}, since f(a)≠0f(a)\neq0. Thus ff is surjective. Now suppose for the sake of contradiction that some u,v∈Ru,v\in\mathbb{R} exist such that u≠vu\neq v and f(u)=f(v)f(u)=f(v). Applying P(a,u)P(a,u) and P(a,v)P(a,v) gives f(f(a)2+af(u))=f(a)2+uf(a)f(f(a)^2+af(u))=f(a)^2+uf(a) and f(f(a)2+af(v))=f(a)2+vf(a)f(f(a)^2+af(v))=f(a)^2+vf(a). The left-hand sides are equal because f(u)=f(v)f(u)=f(v), contradiction. Thus ff is injective, and hence bijective. □\square

Lemma 3. We have f(t)=tf(t)=t for every t≥0t\geq0.

Proof. Assertion P(0,y)P(0,y) gives f(f(x)2)=f(x)2f(f(x)^2)=f(x)^2 for every x∈Rx\in\mathbb{R}. Since ff is surjective, for every t∈Rt\in\mathbb{R} there exists x∈Rx\in\mathbb{R} such that f(x)=tf(x)=t. Therefore f(t2)=t2f(t^2)=t^2 for every t∈Rt\in\mathbb{R}. Every nonnegative real number is a square, so f(t)=tf(t)=t for every t≥0t\geq0. □\square

Lemma 4. Every nonzero solution is the identity function.

Proof. Let x∈Rx\in\mathbb{R}. If x=0x=0, then f(x)=0=xf(x)=0=x by Lemma 11. Now suppose x≠0x\neq0. Since ff is injective and f(0)=0f(0)=0, we have f(x)≠0f(x)\neq0. Choose y>0y>0 such that f(x)2+xy≥0f(x)^2+xy\geq0. Such a yy always exists. For example, if x>0x>0, any y>0y>0 works, while if x<0x<0, it suffices to choose 0<y≤−f(x)2x0<y\leq -\frac{f(x)^2}{x}. By Lemma 33, since y>0y>0, f(y)=yf(y)=y. Therefore P(x,y)P(x,y) gives f(f(x)2+xy)=f(x)2+yf(x)f(f(x)^2+xy)=f(x)^2+yf(x). But the argument of ff on the left is nonnegative, so Lemma 33 gives f(f(x)2+xy)=f(x)2+xyf(f(x)^2+xy)=f(x)^2+xy. Hence f(x)2+xy=f(x)2+yf(x)f(x)^2+xy=f(x)^2+yf(x). Thus xy=yf(x)xy=yf(x). Since y>0y>0, we obtain f(x)=xf(x)=x. Therefore f(x)=xf(x)=x for every x∈Rx\in\mathbb{R}. □\square

Hence the complete solution set is f≡0f\equiv0 and f(x)=x∀x∈Rf(x)=x\forall x\in\mathbb{R} as desired. ■\blacksquare