#695

solved

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

f(f(x2)+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(x2)+f(xy))=x2+f(xy)f\left(f\left(x^2\right)+f(xy)\right)=x^2+f(xy).

By the claim, f(x2)−x2=cf\left(x^2\right)-x^2=c for all x≠0x\ne0 and some constant cc. Fix yy and take x>max⁡{0,∣f(y)+c∣}x>\max\left\{0,\sqrt{\lvert f(y)+c\rvert}\right\}:

P(x,yx)⇒f(f(x2)+f(y))=x2+f(y)P\left(x,\frac yx\right)\Rightarrow f\left(f\left(x^2\right)+f(y)\right)=x^2+f(y)

and we obtain:

x2+f(y)+2c=f(x2+f(y)+c)=f(f(x2)+f(y))=x2+f(y),x^2+f(y)+2c=f\left(x^2+f(y)+c\right)=f\left(f\left(x^2\right)+f(y)\right)=x^2+f(y),

so c=0c=0.

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)=xf(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)=xf(x)=x for all x>0x>0 we have f≡xf\equiv x or c≤0c\le0 and hence the solution sets f(x)=x\boxed{f(x)=x} and 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}.

Take the case f≢xf\not\equiv x. Recall that f(0)≥cf(0)\ge c by the definition of cc.

P(0,0)⇒f(2f(0))=f(0)P(0,0)\Rightarrow f(2f(0))=f(0).

If f(0)>0f(0)>0, then 2f(0)>c2f(0)>c so f(2f(0))=2f(0)f(2f(0))=2f(0) which implies f(0)=0f(0)=0, contradiction.

If f(0)<0f(0)<0, P(−f(0),0)⇒f(0)=0P\left(\sqrt{-f(0)},0\right)\Rightarrow f(0)=0, contradiction.

So we must have f(0)=0f(0)=0, our remaining solution set is:

(if c=0c=0:)

f(x)={xif x≥0g(x)if x<0\boxed{f(x)=\begin{cases}x&\text{if }x\ge0\\g(x)&\text{if }x<0\end{cases}}

which fits for any function g:(−∞,0)→[0,∞)g:(-\infty,0)\to[0,\infty).

(if c<0c<0:)

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

which fits for any constant c<0c<0 and function g:(−∞,c]→[c,∞)g:(-\infty,c]\to[c,\infty).