#347

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

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

for all x,y∈Rx,y\in\mathbb R.

Let P(x,y)P(x,y) be the assertion f(xf(x)+f(y)2)=xf(x)+y2f\left(xf(x)+f(y)^2\right)=xf(x)+y^2.

We claim that the solutions are of the form:

f(x)={−xif x∈Sxif x∉S\boxed{f(x)=\begin{cases}-x&\text{if }x\in S\\x&\text{if }x\notin S\end{cases}}

where c∈(0,1)c\in(0,1) is any constant and S⊆[−c,−c2)S\subseteq\left[-c,-c^2\right) or S⊆(−c,−c2]S\subseteq\left(-c,-c^2\right] any set. This includes the particular solution f(x)=xf(x)=x when S=∅S=\emptyset.

To show that these satisfy the equation, note first that f(x)2=x2f(x)^2=x^2 for all xx, so it remains to show that:

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

If S⊆[−c,−c2)S\subseteq\left[-c,-c^2\right) then xf(x)≥−c2xf(x)\ge-c^2 for all xx whether x∈Sx\in S or x∉Sx\notin S. This translates to xf(x)+y2≥−c2xf(x)+y^2\ge-c^2 and therefore xf(x)+y2∉Sxf(x)+y^2\notin S so the equation is satisfied.

If S⊆(−c,−c2]S\subseteq\left(-c,-c^2\right] then xf(x)>−c2xf(x)>-c^2 for all xx whether x∈Sx\in S or x∉Sx\notin S. This translates to xf(x)+y2>−c2xf(x)+y^2>-c^2 and therefore xf(x)+y2∉Sxf(x)+y^2\notin S so the equation is satisfied.

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

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

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.

With x=0x=0 and x=1x=1 we have {f(0),f(1)}⊆{0,1}\{f(0),f(1)\}\subseteq\{0,1\}.

If f(0)=f(1)f(0)=f(1) then:

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

P(x,1)⇒f(xf(x)+f(0)2)=xf(x)+1P(x,1)\Rightarrow f\left(xf(x)+f(0)^2\right)=xf(x)+1, contradiction. Now suppose f(0)=1f(0)=1 and f(1)=0f(1)=0, a contradiction suffices to prove the claim.

P(x,0)⇒f(xf(x)+1)=xf(x)P(x,0)\Rightarrow f(xf(x)+1)=xf(x).

P(0,xf(x)+1)⇒f(x2f(x)2)=x2f(x)2+2xf(x)+1P(0,xf(x)+1)\Rightarrow f\left(x^2f(x)^2\right)=x^2f(x)^2+2xf(x)+1.

P(f(x)2,1)⇒f(x2f(x)2)=x2f(x)2+1P\left(f(x)^2,1\right)\Rightarrow f\left(x^2f(x)^2\right)=x^2f(x)^2+1.

Comparing the last two, we obtain f(x)=0f(x)=0 for all x≠0x\ne0, but this gives a contradiction upon P(0,2)⇒f(f(2)2)=4P(0,2)\Rightarrow f\left(f(2)^2\right)=4.

Claim 2: f(x)>x−1f(x)>x-1 for all x≥0x\ge0.

First, from f(x4)=f(x)4f\left(x^4\right)=f(x)^4 we have f(x)≥0f(x)\ge0 for all x≥0x\ge0, and in particular f(x)>x−1f(x)>x-1 for all 0≤x<10\le x<1.

Now:

P(1,f(x)2)⇒f(x4+1)=f(x)4+1=f(x4)+1P\left(1,f(x)^2\right)\Rightarrow f\left(x^4+1\right)=f(x)^4+1=f\left(x^4\right)+1, so f(x+1)=f(x)+1f(x+1)=f(x)+1 for all x≥0x\ge0. By induction, f(x+n)=f(x)+nf(x+n)=f(x)+n for all x≥0x\ge0 and n∈Nn\in\mathbb N, so we can extend f(x)>x−1f(x)>x-1 for all 0≤x<10\le x<1 to all x≥0x\ge0.

Claim 3: f(x)≥xf(x)\ge x for all x≥0x\ge0.

For x≥0x\ge0 and n∈Nn\in\mathbb N:

f(x)−x+3f(x)2−3x22n+f(x)3−x3n2+f(x)4−x44n3=(f(x)+n)4−(x+n)44n3=f(x+n)4−(x+n)44n3=f((x+n)4)−(x+n)44n3>−14n3\begin{align*} f(x)-x+\frac{3f(x)^2-3x^2}{2n}+\frac{f(x)^3-x^3}{n^2}+\frac{f(x)^4-x^4}{4n^3}&=\frac{(f(x)+n)^4-(x+n)^4}{4n^3}\\ &=\frac{f(x+n)^4-(x+n)^4}{4n^3}\\ &=\frac{f\left((x+n)^4\right)-(x+n)^4}{4n^3}\\ &>-\frac1{4n^3} \end{align*}

and the claim follows from n→∞n\to\infty.

Claim 4: f(x)≤xf(x)\le x for all x≥0x\ge0.

P(0,x)⇒f(x)2≤f(f(x)2)=x2P(0,x)\Rightarrow f(x)^2\le f\left(f(x)^2\right)=x^2, and since f(x)≥0f(x)\ge0 for all x≥0x\ge0 we can take the square root to get the result.

Combining Claims 3 and 4, f(x)=xf(x)=x for all x≥0x\ge0.

Claim 5: f(x)=xf(x)=x for all x≤−1x\le-1.

P(0,x)⇒f(x)2=x2P(0,x)\Rightarrow f(x)^2=x^2, so P(x,y)P(x,y) becomes f(xf(x)+y2)=xf(x)+y2f\left(xf(x)+y^2\right)=xf(x)+y^2.

Suppose f(u)=−uf(u)=-u for some u≤−1u\le-1, then u2+u≥0u^2+u\ge0 so:

P(u,u2+u)⇒f(u)=uP\left(u,\sqrt{u^2+u}\right)\Rightarrow f(u)=u, so u=0u=0 contradicting u≤−1u\le-1.

Now we have to figure out what happens to f(x)f(x) for x∈(−1,0)x\in(-1,0). Let S={x∈(−1,0)∣f(x)=−x}S=\{x\in(-1,0)\mid f(x)=-x\} and c=sup⁡x∈(−1,0)f(x)c=\displaystyle\sup_{x\in(-1,0)}f(x). Note two properties: first, that f(x)=x⇔x∉Sf(x)=x\Leftrightarrow x\notin S, and secondly that cc is finite, since ∣f(x)∣=∣x∣<1\lvert f(x)\rvert=\lvert x\rvert<1 for all x∈(−1,0)x\in(-1,0) implies c≤1c\le1. If c≤0c\le0 then f(x)=xf(x)=x for all x∈(−1,0)x\in(-1,0), leading to f(x)=xf(x)=x, part of the aforementioned solution set with S=∅S=\emptyset. So we may assume that c∈(0,1]c\in(0,1].

Claim 6: S⊆[−c,−c2]S\subseteq\left[-c,-c^2\right].

Note that c=sup⁡x∈S(−x)=−inf⁡Sc=\displaystyle\sup_{x\in S}(-x)=-\inf S, so S⊆[−c,0)S\subseteq[-c,0).

Suppose −c2<u<0-c^2<u<0 with u∈Su\in S. Then, since c2>−uc^2>-u, there is some v∈Sv\in S with v2>−uv^2>-u. But then:

P(v,u+v2)⇒f(u)=uP\left(v,\sqrt{u+v^2}\right)\Rightarrow f(u)=u, contradicting u∈Su\in S.

The claim is proven. Now if −c∈S-c\in S then P(−c,0)⇒f(−c2)=−c2⇒−c2∉SP(-c,0)\Rightarrow f\left(-c^2\right)=-c^2\Rightarrow-c^2\notin S, so at least one of −c-c and −c2-c^2 must be absent from SS.

Suppose c=1c=1, then S⊆{−1}S\subseteq\{-1\}. If −1∈S-1\in S then it would imply that both −c-c and −c2-c^2 are in SS, this is impossible so we must have S=∅S=\emptyset, however this contradicts c=1c=1 (since we would have f(x)=xf(x)=x for all xx).

Therefore, c≠1c\ne1, so the solution set we provided is complete.