#351

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(xf(x)+f(y)2)=f(x)2+y2f\left(xf(x)+f(y)^2\right)=f(x)^2+y^2.

Let c=f(0)c=f(0).

Claim: if af(a)=bf(b)af(a)=bf(b) then a2=b2a^2=b^2.

P(a,0)⇒f(af(a)+c2)=f(a)2P(a,0)\Rightarrow f\left(af(a)+c^2\right)=f(a)^2.

P(b,0)⇒f(bf(b)+c2)=f(b)2P(b,0)\Rightarrow f\left(bf(b)+c^2\right)=f(b)^2.

Comparing, f(a)2=f(b)2f(a)^2=f(b)^2.

P(0,a)⇒f(f(a)2)=c2+a2P(0,a)\Rightarrow f\left(f(a)^2\right)=c^2+a^2.

P(0,b)⇒f(f(a)2)=c2+b2P(0,b)\Rightarrow f\left(f(a)^2\right)=c^2+b^2.

Comparing, a2=b2a^2=b^2.

Claim: f(0)=0f(0)=0, f(1)=1f(1)=1.

P(0,0)⇒f(c2)=c2P(0,0)\Rightarrow f\left(c^2\right)=c^2.

P(c2,0)⇒f(c4+c2)=c4P\left(c^2,0\right)\Rightarrow f\left(c^4+c^2\right)=c^4.

P(0,c2)⇒f(c4)=c4+c2P\left(0,c^2\right)\Rightarrow f\left(c^4\right)=c^4+c^2.

So we can apply the first claim on c4+c2c^4+c^2 and c4c^4 to get (c4+c2)2=c8\left(c^4+c^2\right)^2=c^8 with only solution c=0c=0.

P(0,x)⇒f(f(x)2)=x2P(0,x)\Rightarrow f\left(f(x)^2\right)=x^2, so we obtain:

f(x4)=f(f(f(x)2)2)=f(x)4.f\left(x^4\right)=f\left(f\left(f(x)^2\right)^2\right)=f(x)^4.

In particular, f(1)=f(1)4f(1)=f(1)^4 so f(1)∈{0,1}f(1)\in\{0,1\}. f(1)=0f(1)=0 would give P(1,1)⇒0=1P(1,1)\Rightarrow0=1, so we must have f(1)=1f(1)=1.

Claim: ff is odd.

Recall that if f(a)2=f(b)2f(a)^2=f(b)^2 then a2=b2a^2=b^2 (from the first claim). So:

P(0,x)⇒f(f(x)2)=x2P(0,x)\Rightarrow f\left(f(x)^2\right)=x^2.

P(0,−x)⇒f(f(−x)2)=x2P(0,-x)\Rightarrow f\left(f(-x)^2\right)=x^2, so f(x)4=f(−x)4f(x)^4=f(-x)^4 which implies f(−x)2=f(x)2f(-x)^2=f(x)^2.

P(x,f(y)2)⇒f(xf(x)+y4)=f(x)2+f(y4)P\left(x,f(y)^2\right)\Rightarrow f\left(xf(x)+y^4\right)=f(x)^2+f\left(y^4\right).

P(−x,f(y)2)⇒f(−xf(−x)+y4)=f(x)2+f(y4)P\left(-x,f(y)^2\right)\Rightarrow f\left(-xf(-x)+y^4\right)=f(x)^2+f\left(y^4\right), so (xf(x)+y4)2=(−xf(−x)+y4)2\left(xf(x)+y^4\right)^2=\left(-xf(-x)+y^4\right)^2 and so xf(x)=−xf(−x)xf(x)=-xf(-x). Combined with f(0)=0f(0)=0, this implies ff is odd.

Claim: xf(x)≥0xf(x)\ge0 for all xx.

Suppose uf(u)<0uf(u)<0 for some uu. From f(f(x)2)=x2f\left(f(x)^2\right)=x^2, ff takes any nonnegative value, so there is some vv with uf(u)+f(v)2=0uf(u)+f(v)^2=0. Then:

P(u,v)⇒0=f(u)2+v2⇒f(u)=0P(u,v)\Rightarrow0=f(u)^2+v^2\Rightarrow f(u)=0, contradiction.

From f(xf(x)+y4)=f(x)2+f(y4)f\left(xf(x)+y^4\right)=f(x)^2+f\left(y^4\right) the equation transforms into #199:

Q(x,y):f(x+yf(y))=f(x)+f(y)2Q(x,y):f(x+yf(y))=f(x)+f(y)^2

for all x≥0x\ge0.

Claim: f(x+y+f(y))=f(x)+2f(y)f(x+y+f(y))=f(x)+2f(y) for all x,y>0x,y>0.

Take x,y>0x,y>0:

Q(y,1)⇒f(y+1)=f(y)+1Q(y,1)\Rightarrow f(y+1)=f(y)+1.

Q(x,y+1)⇒f(x+yf(y)+y+f(y)+1)=f(x)+f(y)2+2f(y)+1Q(x,y+1)\Rightarrow f(x+yf(y)+y+f(y)+1)=f(x)+f(y)^2+2f(y)+1.

Note that f(y)≥0f(y)\ge0 from yf(y)≥0yf(y)\ge0, so x+y+f(y)+1≥0x+y+f(y)+1\ge0 which allows us by Q(x+y+f(y)+1,y)Q(x+y+f(y)+1,y) to simplify this to:

f(x+y+f(y)+1)=f(x)+2f(y)+1.f(x+y+f(y)+1)=f(x)+2f(y)+1.

Again, x+y+f(y)≥0x+y+f(y)\ge0 so by Q(x+y+f(y),1)Q(x+y+f(y),1) we have:

f(x+y+f(y))=f(x)+2f(y)f(x+y+f(y))=f(x)+2f(y)

as desired.

Claim: f(x)=xf(x)=x for all x>0x>0.

If f(k)=0f(k)=0 then P(0,k)⇒k=0P(0,k)\Rightarrow k=0, so P(0,x)⇒f(f(x)2)=x2P(0,x)\Rightarrow f\left(f(x)^2\right)=x^2 implies (0,∞)⊆f(R+)(0,\infty)\subseteq f(\mathbb R^+).

Recall that f(x+1)=f(x)+1f(x+1)=f(x)+1 for all x≥0x\ge0 by Q(x,1)Q(x,1), it allows us to say that f(x+n)=f(x)+nf(x+n)=f(x)+n for all x>0x>0 and n∈Z≥0n\in\mathbb Z_{\ge0} (induction).

Then in f(x+y+f(x))=2f(x)+f(y)f(x+y+f(x))=2f(x)+f(y), set y=n−f(x)>0y=n-f(x)>0 for some large enough n∈Z≥0n\in\mathbb Z_{\ge0}, the equation becomes:

f(x)+n=f(x+n)=2f(x)+f(n−f(x))⇒f(n−f(x))=n−f(x).f(x)+n=f(x+n)=2f(x)+f(n-f(x))\Rightarrow f(n-f(x))=n-f(x).

Take any u>0u>0, we can find some xx for which f(x)=1−{u}f(x)=1-\{u\} since ff takes every nonnegative value, and by the above equation for n=⌊u⌋+1n=\lfloor u\rfloor+1 we have n−f(x)=u>0n-f(x)=u>0 and so:

f(n−f(x))=n−f(x)⇒f(⌊u⌋+{u})=⌊u⌋+{u}.f(n-f(x))=n-f(x)\Rightarrow f(\lfloor u\rfloor+\{u\})=\lfloor u\rfloor+\{u\}.

Finally, oddness gives f(x)=x<0f(x)=x<0 and so f(x)=x\boxed{f(x)=x} for all xx whether x>0x>0, x=0x=0, or x<0x<0.