#585

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Claim: if f(g(x)+f(xy))=x2+f(xy)f(g(x)+f(xy))=x^2+f(xy) then g(x)−x2g(x)-x^2 is constant for x≠0x\ne0 and f(x)−xf(x)-x is eventually constant.

Proof. Let c=1−g(1)c=1-g(1).

P(x,0)⇒f(g(x)+f(0))=x2+f(0)⇒[f(0),∞)⊆f(R)P(x,0)\Rightarrow f(g(x)+f(0))=x^2+f(0)\Rightarrow[f(0),\infty)\subseteq f(\mathbb R).

P(1,x)⇒f(g(1)+f(x))=1+f(x)⇒f(x+g(1))=x+1P(1,x)\Rightarrow f(g(1)+f(x))=1+f(x)\Rightarrow f(x+g(1))=x+1 for all x≥f(0)x\ge f(0), so f(x)=x+cf(x)=x+c for all x≥f(0)+g(1)x\ge f(0)+g(1) (proving that f(x)−xf(x)-x is eventually linear).

P(x,yx)⇒f(g(x)+f(y))=x2+f(y)P\left(x,\frac yx\right)\Rightarrow f(g(x)+f(y))=x^2+f(y) for all x≠0x\ne0.

For any x≠0x\ne0, take y≥max⁡{f(0)+g(1),−g(x)+f(0)+g(1)}y\ge\max\{f(0)+g(1),-g(x)+f(0)+g(1)\} and this equation turns into:

g(x)+y+2c=g(x)+f(y)+c=f(g(x)+f(y))=x2+f(y)=x2+y+c,g(x)+y+2c=g(x)+f(y)+c=f(g(x)+f(y))=x^2+f(y)=x^2+y+c,

so g(x)=x2−cg(x)=x^2-c for all x≠0x\ne0.

f(f(x)2+f(xy))=x2+f(xy)f\left(f(x)^2+f(xy)\right)=x^2+f(xy).

By the claim, f(x)2−x2f(x)^2-x^2 is constant for x≠0x\ne0. Since f(x)−xf(x)-x is eventually constant, we must have f(x)2−x2=0f(x)^2-x^2=0 for all x≠0x\ne0. To see this, we can let f(x)2−x2=af(x)^2-x^2=a and f(x)−x=bf(x)-x=b for x>cx>c and perform some simple algebra:

(x+b)2−x2=a⇒2bx+b2=a(x+b)^2-x^2=a\Rightarrow 2bx+b^2=a

for all x>cx>c which means b=0b=0 and a=b2a=b^2 as desired.

Equation reduces to f(x2+f(xy))=x2+f(xy)f\left(x^2+f(xy)\right)=x^2+f(xy) so by #317 ff has one of the following forms:

f(x)=x\boxed{f(x)=x} f(x)={xif x>caif x=0g(x)if 0≠x≤cf(x)=\begin{cases}x&\text{if }x>c\\a&\text{if }x=0\\g(x)&\text{if }0\ne x\le c\end{cases}

where c=inf⁡f>0c=\inf f>0 and a∈(c,∞)a\in(c,\infty), and function g:(−∞,c]∖{0}→[c,∞)g:(-\infty,c]\setminus\{0\}\to[c,\infty)

f(x)={xif x≥ccif x=0g(x)if 0≠x<cf(x)=\begin{cases}x&\text{if }x\ge c\\c&\text{if }x=0\\g(x)&\text{if }0\ne x<c\end{cases}

where c=inf⁡f>0c=\inf f>0 and function g:(−∞,c)∖{0}→[c,∞)g:(-\infty,c)\setminus\{0\}\to[c,\infty)

f(x)={xif x>cg(x)if x≤cf(x)=\begin{cases}x&\text{if }x>c\\g(x)&\text{if }x\le c\end{cases}

where c=inf⁡f≤0c=\inf f\le0 and function g:(−∞,c]→[c,∞)g:(-\infty,c]\to[c,\infty).

Narrowing this down with f(x)2=x2f(x)^2=x^2 for all x≠0x\ne0 we have c≤0c\le0, so it just remains to consider the last solution set f(x)={xif x>cg(x)if x≤cf(x)=\begin{cases}x&\text{if }x>c\\g(x)&\text{if }x\le c\end{cases}.

Recall that cc was defined as c=inf⁡fc=\inf f, so by definition f(0)≥cf(0)\ge c. If f(0)≠0f(0)\ne0 then f(0)2+f(0)>f(0)≥cf(0)^2+f(0)>f(0)\ge c so:

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

So f(0)=0f(0)=0.

If f(x)=xf(x)=x for some x≤cx\le c then using the fact that f(x)≥cf(x)\ge c for all xx we must have x=cx=c. Therefore f(x)≠xf(x)\ne x for all x<cx<c, and we have the solution sets f(x)=∣x∣\boxed{f(x)=\lvert x\rvert} in the case c=0c=0 and:

f(x)={xif x>c−xif x≤c\boxed{f(x)=\begin{cases}x&\text{if }x>c\\-x&\text{if }x\le c\end{cases}}

and

f(x)={xif x≥c−xif x<c\boxed{f(x)=\begin{cases}x&\text{if }x\ge c\\-x&\text{if }x<c\end{cases}}

which fits for any constant c<0c<0.