#193

solved

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

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

for any reals x,yx,y.

Solution

Solution by Assassino9931.


To begin with, denote c=f(0)c=f(0) and d=f(1)d=f(1). From x=y=0x=y=0 we get c=c2c=c^2, from x=1x=1 and y=0y=0 we get d=d2d=d^2, while from x=0x=0 and y=1y=1 we get f(d)=c2+1f(d)=c^2+1. Quick case check on cc and dd now leads to f(0)=0f(0)=0 and f(1)=1f(1)=1.

Now taking y=0y=0 yields

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

for all xx. From here f(t)≥0f(t)\geq0 for t≥0t\geq0. Now suppose f(t)≥0f(t)\geq0 for some t<0t<0 - then y=ty=t and x=−tf(t)x=\sqrt{-tf(t)} yields

0=f(x)2+t2≥t2>0,0=f(x)^2+t^2\geq t^2>0,

contradiction - hence f(t)<0f(t)<0 for any t<0t<0. Now from f(x2)=f(x)2f(x^2)=f(x)^2 we get (by replacing xx with −x-x) f(x)2=f(−x)2f(x)^2=f(-x)^2 and because of the sign constrains we deduce f(−x)=−f(x)f(-x)=-f(x) for all xx, i.e. ff is odd.

It now suffices to determine ff on R>0\mathbb{R}_{>0}. The main equation is now

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

i.e.

f(t+yf(y))=f(t)+y2f(t+yf(y))=f(t)+y^2

for any t≥0t\geq0 and y∈Ry\in\mathbb{R}. Since f(1)=1f(1)=1, we deduce

f(t+1)=f(t)+1,f(t+1)=f(t)+1,

so

f(t)=f(⌊t⌋)+f({t})≥f(⌊t⌋)=⌊t⌋f(t)=f(\left\lfloor t \right\rfloor)+f(\{t\})\geq f(\left\lfloor t \right\rfloor)=\left\lfloor t \right\rfloor

for any t≥0t\geq0. We also get by induction

f(nyf(y))=ny2f(nyf(y))=ny^2

for any positive integer nn. Hence

ny2=f(nyf(y))≥⌊nyf(y)⌋>nyf(y)−1,ny^2=f(nyf(y))\geq \left\lfloor nyf(y) \right\rfloor>nyf(y)-1,

so y>f(y)−1nyy>f(y)-\frac{1}{ny} and setting n→∞n\to \infty leads to f(y)≤yf(y)\leq y for all y>0y>0. Now in f(yf(y))=y2f(yf(y))=y^2 we deduce y2≤yf(y)y^2\leq yf(y), i.e. f(y)≥yf(y)\geq y for all y>0y>0. Therefore f(x)=xf(x)=x for all x>0x>0, as well as f(0)=0f(0)=0, and since ff is odd, we conclude f(x)=xf(x)=x, which indeed works.