#31

solved

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

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

for any reals x,yx,y.

Solution

Solution by skyvegetable666.


Let P(x,y)P(x,y) denote

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

for all real xx and yy.

Put a=f(0)a=f(0). From P(x,0)P(x,0),

f(x+a2)=f(x)+a.(1)f(x+a^2)=f(x)+a. \tag{1}

Taking x=−a2x=-a^2 gives f(−a2)=0f(-a^2)=0. Hence P(0,−a2)P(0,-a^2) gives f(a4)=0f(a^4)=0. Also, P(0,0)P(0,0) gives f(a2)=2af(a^2)=2a, so P(x,a2)P(x,a^2) gives

f(x+4a2)=f(x).f(x+4a^2)=f(x).

But applying (1) four times gives

f(x+4a2)=f(x)+4a.f(x+4a^2)=f(x)+4a.

Therefore a=0a=0. Thus

f(0)=0,f(0)=0,

and

f(f(y)2)=f(y2).(2)f(f(y)^2)=f(y^2). \tag{2}

Suppose first that f(y2)=0f(y^2)=0 for every yy. Then ff is zero on all nonnegative real numbers, and the original equation becomes

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

If f(y)≠0f(y)\ne0 for some yy, let

q=f(y)2>0.q=f(y)^2>0.

Then

f(y+nq)=f(y)f(y+nq)=f(y)

for every positive integer nn. For sufficiently large nn, y+nq≥0y+nq\ge0, so f(y+nq)=0f(y+nq)=0, a contradiction. Hence ff is identically zero.

Now suppose ff is not identically zero. Then there is some uu such that

c=f(u2)≠0.c=f(u^2)\ne0.

Set

p=f(u)2.p=f(u)^2.

By (2), f(p)=cf(p)=c, so p>0p>0. From P(x,u)P(x,u),

f(x+p)=f(x)+c.(3)f(x+p)=f(x)+c. \tag{3}

We claim that ff has no nonzero period. Suppose h≠0h\ne0 and

f(x+h)=f(x)f(x+h)=f(x)

for every xx. Set

t=p−h22h.t=\frac{p-h^2}{2h}.

Then

(t+h)2=t2+p.(t+h)^2=t^2+p.

Since f(t+h)=f(t)f(t+h)=f(t), equation (2) gives

f((t+h)2)=f(f(t+h)2)=f(f(t)2)=f(t2).f((t+h)^2)=f(f(t+h)^2)=f(f(t)^2)=f(t^2).

However, (3) gives

f((t+h)2)=f(t2+p)=f(t2)+c,f((t+h)^2)=f(t^2+p)=f(t^2)+c,

contradicting c≠0c\ne0. Thus ff has no nonzero period.

Comparing P(x,y)P(x,y) and P(x,−y)P(x,-y), we see that

f(y)2−f(−y)2f(y)^2-f(-y)^2

is a period. Therefore

f(−y)2=f(y)2.(4)f(-y)^2=f(y)^2. \tag{4}

By (3),

f(y+p)=f(y)+c,f(y+p)=f(y)+c,

and

f(−y−p)=f(−y)−c.f(-y-p)=f(-y)-c.

Applying (4) to y+py+p gives

(f(−y)−c)2=(f(y)+c)2.(f(-y)-c)^2=(f(y)+c)^2.

Together with f(−y)2=f(y)2f(-y)^2=f(y)^2 and c≠0c\ne0, this gives

f(−y)=−f(y).(5)f(-y)=-f(y). \tag{5}

For brevity, write h→rh\to r if

f(x+h)=f(x)+rf(x+h)=f(x)+r

for every xx. Direct substitution shows that h→rh\to r and k→sk\to s imply

h+k→r+sh+k\to r+s

and

h−k→r−s.h-k\to r-s.

Moreover, if h→rh\to r and k→rk\to r, then h−kh-k is a period. Since there is no nonzero period, h=kh=k.

The original equation says

f(y)2→f(y2).(6)f(y)^2\to f(y^2). \tag{6}

In particular, p→cp\to c. Let

d=c2.d=c^2.

Since f(p)=cf(p)=c, equation (6) shows that dd is also an allowable shift.

Let h→rh\to r, and set

z=h−p22p.z=\frac{h-p^2}{2p}.

Then

(z+p)2=z2+h.(z+p)^2=z^2+h.

By (6), the shift

f(z+p)2−f(z)2f(z+p)^2-f(z)^2

has increment

f((z+p)2)−f(z2)=r.f((z+p)^2)-f(z^2)=r.

It therefore has the same increment as hh, so the absence of nonzero periods gives

h=f(z+p)2−f(z)2h=f(z+p)^2-f(z)^2 =(f(z)+c)2−f(z)2=(f(z)+c)^2-f(z)^2 =2cf(z)+d.(7)=2cf(z)+d. \tag{7}

Consequently,

(h−d)24d=f(z)2\frac{(h-d)^2}{4d}=f(z)^2

is an allowable shift.

If vv is an allowable shift, then d+vd+v is also one. Applying the preceding result to d+vd+v shows that

v24d\frac{v^2}{4d}

is an allowable shift. Hence

v2=(d+v)24d−d24d−v24d\frac v2 = \frac{(d+v)^2}{4d} - \frac{d^2}{4d} - \frac{v^2}{4d}

is also an allowable shift. Starting with dd, we conclude that every number

md2n,\frac{md}{2^n},

where mm is an integer and nn is a nonnegative integer, is an allowable shift. These numbers are dense in the real line.

Now let h→rh\to r and suppose x2+h≥0x^2+h\ge0. Choose zz such that

z2=x2+h.z^2=x^2+h.

By (6), the shift

f(z)2−f(x)2f(z)^2-f(x)^2

has increment

f(z2)−f(x2)=f(x2+h)−f(x2)=r.f(z^2)-f(x^2)=f(x^2+h)-f(x^2)=r.

It has the same increment as hh, so

f(z)2=f(x)2+h.(8)f(z)^2=f(x)^2+h. \tag{8}

If f(x)2<x2f(x)^2<x^2 for some xx, density allows us to choose an allowable shift hh satisfying

−x2<h<−f(x)2.-x^2<h<-f(x)^2.

Then x2+h>0x^2+h>0, while (8) gives

f(z)2<0,f(z)^2<0,

which is impossible. Therefore

f(x)2≥x2(9)f(x)^2\ge x^2 \tag{9}

for every real xx.

Take h=dh=d in (7). For

z=d−p22p,z=\frac{d-p^2}{2p},

equation (7) gives f(z)=0f(z)=0. By (9), z=0z=0, so d=p2d=p^2. Since d=c2d=c^2 and p>0p>0,

c=εpc=\varepsilon p

for some ε∈1,−1\varepsilon\in{1,-1}. Thus (3) becomes

f(x+p)=f(x)+εp.(10)f(x+p)=f(x)+\varepsilon p. \tag{10}

Define

g(x)=f(x)−εx.g(x)=f(x)-\varepsilon x.

Then

g(x+p)=g(x),g(x+p)=g(x),

so

g(x+np)=g(x)g(x+np)=g(x)

for every integer nn. By (9),

0≤f(x+np)2−(x+np)20\le f(x+np)^2-(x+np)^2 =2εg(x)(x+np)+g(x)2.=2\varepsilon g(x)(x+np)+g(x)^2.

If g(x)≠0g(x)\ne0, the right-hand side is negative for sufficiently large positive or negative nn, a contradiction. Hence g(x)=0g(x)=0 for every xx, and therefore

f(x)=εx.f(x)=\varepsilon x.

Direct substitution shows that both signs work. Hence all solutions are

f(x)=0,f(x)=x,f(x)=−x.\boxed{f(x)=0,\quad f(x)=x,\quad f(x)=-x}.