#636

solved

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

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

for any reals x,yx,y.

Solution

Solution by AIME4096.


We claim that the only solutions are f(x)≡0f(x)\equiv0 and f(x)=xf(x)=x. Both functions clearly satisfy f(f(x2)+yf(x))=xf(x)+xf(y)f(f(x^2)+yf(x))=xf(x)+xf(y) for all x,y∈Rx,y\in\mathbb{R}. We now show that these are the only solutions. Let P(x,y)P(x,y) denote the assertion f(f(x2)+yf(x))=xf(x)+xf(y)f(f(x^2)+yf(x))=xf(x)+xf(y).

Lemma 1. Either f≡0f\equiv0, or f(0)=0f(0)=0 and 00 is the unique zero of ff.

Proof. Assertion P(0,y)P(0,y) gives f(f(0))=0f(f(0))=0. Suppose that there exists some a≠0a\neq0 such that f(a)=0f(a)=0. Then P(a,y)P(a,y) gives f(f(a2)+yf(a))=af(a)+af(y)f(f(a^2)+yf(a))=af(a)+af(y). Since f(a)=0f(a)=0, this becomes f(f(a2))=af(y)f(f(a^2))=af(y) for every y∈Ry\in\mathbb{R}. Taking y=0y=0 gives f(f(a2))=0f(f(a^2))=0, and therefore af(y)=0af(y)=0 for every y∈Ry\in\mathbb{R}. Since a≠0a\neq0, we conclude that f(y)=0f(y)=0 for every y∈Ry\in\mathbb{R}. Hence f≡0f\equiv0. Thus, for every nonzero solution, f(x)=0f(x)=0 implies x=0x=0. Since f(f(0))=0f(f(0))=0, the uniqueness of the zero gives f(0)=0f(0)=0. Therefore, from now on, assume f≢0f\not\equiv0. Then f(0)=0f(0)=0 and x≠0x\neq0 implies f(x)≠0f(x)\neq0. □\square

Lemma 2. Every nonzero solution is odd.

Proof. Let a=f(1)a=f(1). Since 1≠01\neq0, Lemma 11 gives a≠0a\neq0. Setting x=1x=1 in P(x,y)P(x,y) gives f(f(1)+yf(1))=f(1)+f(y)f(f(1)+yf(1))=f(1)+f(y), so.

f(a+ay)=a+f(y)f(a+ay)=a+f(y). Taking y=−1y=-1 gives f(0)=a+f(−1)f(0)=a+f(-1). Since f(0)=0f(0)=0, we obtain f(−1)=−af(-1)=-a. Now set assertion P(−1,y)P(-1,y). Since f(1)=af(1)=a and f(−1)=−af(-1)=-a, we obtain f(a−ay)=a−f(y)f(a-ay)=a-f(y). On the other hand, assertion P(−1,−y)P(-1,-y) yields f(a−ay)=a+f(−y)f(a-ay)=a+f(-y). Comparing the two expressions for f(a−ay)f(a-ay) gives a−f(y)=a+f(−y)a-f(y)=a+f(-y), and therefore f(−y)=−f(y)f(-y)=-f(y) for every y∈Ry\in\mathbb{R}. □\square

Lemma 3. For every x∈Rx\in\mathbb{R}, f(x2)=xf(x)f(x^2)=xf(x).

Proof. Set assertion P(x,−x)P(x,-x). By Lemma 22, we get

f(f(x2)−xf(x))=xf(x)+xf(−x)=0.f(f(x^2)-xf(x))=xf(x)+xf(-x)=0.

By Lemma 11, f(x2)−xf(x)=0f(x^2)-xf(x)=0, so f(x2)=xf(x)f(x^2)=xf(x) for every x∈Rx\in\mathbb{R}. □\square

Lemma 4. Every nonzero solution is idempotent for every x∈Rx\in\mathbb{R}.

Proof. Setting P(x,0)P(x,0) gives f(f(x2))=xf(x)f(f(x^2))=xf(x). By Lemma 33, xf(x)=f(x2)xf(x)=f(x^2), so f(f(x2))=f(x2)f(f(x^2))=f(x^2). Since every nonnegative real number is of the form x2x^2, we have f(f(t))=f(t)f(f(t))=f(t) for every t≥0t\geq0. Now let t<0t<0. Since ff is odd,

f(f(t))=f(−f(−t))=−f(f(−t)).f(f(t))=f(-f(-t))=-f(f(-t)).

Because −t>0-t>0, the result already proved gives f(f(−t))=f(−t)f(f(-t))=f(-t). Therefore f(f(t))=−f(−t)=f(t)f(f(t))=-f(-t)=f(t). The case t=0t=0 is immediate because f(0)=0f(0)=0. Hence f(f(x))=f(x)f(f(x))=f(x) for every x∈Rx\in\mathbb{R}. □\square

Lemma 5. For every x,y∈Rx,y\in\mathbb{R}, f(f(x)(x+y))=x(f(x)+f(y))f(f(x)(x+y))=x(f(x)+f(y)).

Proof. By Lemma 33, f(x2)=xf(x)f(x^2)=xf(x). Substituting this into P(x,y)P(x,y) gives

f(xf(x)+yf(x))=xf(x)+xf(y),f(xf(x)+yf(x))=xf(x)+xf(y),

where simply factoring proves the lemma. □\square

Lemma 6. For every x∈Rx\in\mathbb{R}, f(x−f(x))=x−f(x)f(x-f(x))=x-f(x).

Proof. The statement is immediate when x=0x=0. Now let x≠0x\neq0 and put a≠0=f(x)a\neq0=f(x). By Lemma 44, f(a)=f(f(x))=f(x)=af(a)=f(f(x))=f(x)=a. Apply Lemma 55 with P(a,y)P(a,y). For every u∈Ru\in\mathbb{R}, f(a(a+u))=a(a+f(u))f(a(a+u))=a(a+f(u)). Choose u=x+y−au=x+y-a. Then a+u=x+ya+u=x+y, so f(a(x+y))=a(a+f(x+y−a))f(a(x+y))=a(a+f(x+y-a)). On the other hand, Lemma 55 applied to xx gives f(a(x+y))=x(a+f(y))f(a(x+y))=x(a+f(y)). Hence

x(a+f(y))=a(a+f(x+y−a)).x(a+f(y))=a(a+f(x+y-a)).

Now set y=0y=0. Since f(0)=0f(0)=0, xa=a(a+f(x−a))xa=a(a+f(x-a)). Because a≠0a\neq0, division by aa gives x=a+f(x−a)x=a+f(x-a). Since a=f(x)a=f(x), this becomes f(x−f(x))=x−f(x)f(x-f(x))=x-f(x).

.□\square

Lemma 7. Every nonzero solution is the identity function.

Proof. Let d=x−f(x)=f(d)d=x-f(x)=f(d). Since f(x)=x−df(x)=x-d, we can apply Lemma 33 to obtain f(x2)=x(x−d)=x2−xdf(x^2)=x(x-d)=x^2-xd. Therefore x2−f(x2)=xdx^2-f(x^2)=xd. By Lemma 66 applied to x2x^2, f(x2−f(x2))=x2−f(x2)f(x^2-f(x^2))=x^2-f(x^2). Thus f(xd)=xdf(xd)=xd

for every x∈Rx\in\mathbb{R}. Suppose there exists some x0∈Rx_0\in\mathbb{R} such that d0=x0−f(x0)≠0d_0=x_0-f(x_0)\neq0. Then f(xd0)=xd0f(xd_0)=xd_0 for every x∈Rx\in\mathbb{R}. Since d0≠0d_0\neq0, every r∈Rr\in\mathbb{R} can be written as r=xd0r=xd_0 for some x∈Rx\in\mathbb{R}. Hence f(r)=rf(r)=r for every r∈Rr\in\mathbb{R}. Thus f(x)=xf(x)=x for all x∈Rx\in\mathbb{R}. If no such x0x_0 exists, then x−f(x)=0x-f(x)=0 for every xx, so again f(x)=xf(x)=x for every x∈Rx\in\mathbb{R}. □\square

Therefore the complete solution set is

f(x)≡0 or f(x)=x∀x∈R.\boxed{f(x)\equiv0\text{ or }f(x)=x\forall x\in\mathbb{R}.}

as desired. ■\blacksquare