#187

solved

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

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

for any reals x,yx,y.

Solution

Solution by maromex.


Let P(x,y)P(x,y) denote

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

From P(x,0)P(x,0), for every t≥0t\ge 0 we have

f(t)=t+f(0)2.f(t)=t+f(0)^2.

Putting t=0t=0 gives f(0)=f(0)2f(0)=f(0)^2, so f(0)=0f(0)=0 or f(0)=1f(0)=1.

If f(0)=1f(0)=1, then f(t)=t+1f(t)=t+1 for t≥0t\ge 0. For any fixed yy, choose xx sufficiently large so that x2+yf(y)≥0x^2+yf(y)\ge 0. Then

x2+yf(y)+1=f(x2+yf(y))=x2+f(y)2,x^2+yf(y)+1=f(x^2+yf(y))=x^2+f(y)^2,

so f(y)2−yf(y)=1f(y)^2-yf(y)=1 for all yy. Taking any y>0y>0 and using f(y)=y+1f(y)=y+1 gives y+1=1y+1=1, impossible. Hence f(0)=0f(0)=0.

Therefore

f(t)=t(t≥0).f(t)=t\qquad(t\ge 0).

Again fixing yy and taking xx sufficiently large gives

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

so yf(y)=f(y)2yf(y)=f(y)^2. Thus f(y)=0f(y)=0 or f(y)=yf(y)=y for every real yy.

Since f(t)=tf(t)=t is already forced for t≥0t\ge 0, the complete solution set is

f(x)={x,x≥0,x or 0,x<0..f(x)= \begin{cases} x, & x\ge 0,\\ x\text{ or }0, & x<0. \end{cases}.

Equivalently, choose any subset S⊆(−∞,0)S\subseteq(-\infty,0) and set f(x)=xf(x)=x for x∈S∪[0,∞)x\in S\cup[0,\infty) and f(x)=0f(x)=0 for x∈(−∞,0)∖Sx\in(-\infty,0)\setminus S.

For every such function, yf(y)=f(y)2≥0yf(y)=f(y)^2\ge 0, so x2+yf(y)≥0x^2+yf(y)\ge 0 and direct substitution verifies the equation.