Daily

Random

Practice set

Baltic Way 2023 · Problem 4

Algebra

Determine all functions f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} that satisfy

f(f(x)+y)+xf(y)=f(xy+y)+f(x)f(f(x)+y)+x f(y)=f(x y+y)+f(x)

for all real numbers xx and yy.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Functional equations · Sequences and recurrences

Solutions

Solution

Let P(x,y)P(x, y) denote the assertion of the given functional equation.

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

Proof. Note that P(0,y)P(0, y) and P(x,0)P(x, 0) gives us the following:

f(y+f(0))=f(y)+f(0)f(f(x))+xf(0)=f(0)+f(x).\begin{aligned} f(y+f(0)) & =f(y)+f(0) \\ f(f(x))+x f(0) & =f(0)+f(x) . \end{aligned}

Consider the first expression. Plugging y=−f(0)y=-f(0) in it yields

f(−f(0)+f(0))=f(−f(0))+f(0), i.e. f(−f(0))=0. f(-f(0)+f(0))=f(-f(0))+f(0) \text {, i.e. } f(-f(0))=0 \text {. }

If we denote −f(0)=a-f(0)=a, then we have f(a)=0f(a)=0. Plugging x=ax=a in the second expression gives us:

f(f(a))+af(0)=f(0)+f(a), i.e. af(0)=0. f(f(a))+a f(0)=f(0)+f(a) \text {, i.e. } a f(0)=0 \text {. }

This either means that a=0a=0, i.e. f(0)=0f(0)=0 or f(0)=0f(0)=0. In both cases the claim is proved.

Since f(0)=0f(0)=0, the expression P(x,0)P(x, 0) becomes

f(f(x))=f(x).f(f(x))=f(x) .

Claim 2: f(1)=1f(1)=1 or f(x)=0f(x)=0 for all real numbers xx.

Proof. Consider P(x,1)P(x, 1) :

f(f(x)+1)+xf(1)=f(x+1)+f(x).f(f(x)+1)+x f(1)=f(x+1)+f(x) .

Replacing xx by f(x)f(x) and using (∗)(*) leads to:

f(f(f(x))+1)+f(x)f(1)=f(f(x)+1)+f(f(x))f(f(x)+1)+f(x)f(1)=f(f(x)+1)+f(x)f(x)f(1)=f(x).\begin{aligned} f(f(f(x))+1)+f(x) f(1) & =f(f(x)+1)+f(f(x)) \\ f(f(x)+1)+f(x) f(1) & =f(f(x)+1)+f(x) \\ f(x) f(1) & =f(x) . \end{aligned}

Suppose that there does not exist such bb that f(b)≠0f(b) \neq 0, then f(x)=0f(x)=0 for all real numbers xx. Otherwise f(b)f(1)=f(b)f(b) f(1)=f(b) implies f(1)=1f(1)=1 as desired.

Claim 3: If f(1)=1f(1)=1 and f(a)=0f(a)=0, then a=0a=0.

Proof. Suppose f(a)=0f(a)=0 for some real number aa. Then P(a,1)P(a, 1) gives us

f(f(a)+1)+af(1)=f(a+1)+f(a)f(1)+a=f(a+1)=a+1\begin{aligned} f(f(a)+1)+a f(1) & =f(a+1)+f(a) \\ f(1)+a=f(a+1) & =a+1 \end{aligned}

On the other hand P(1,a)P(1, a) leads us to the following:

f(f(1)+a)+f(a)=f(2a)+f(1)f(a+1)=f(2a)+1a+1=f(2a)+1f(2a)=a.\begin{aligned} f(f(1)+a)+f(a) & =f(2 a)+f(1) \\ f(a+1) & =f(2 a)+1 \\ a+1 & =f(2 a)+1 \\ f(2 a) & =a . \end{aligned}

Taking ff from both sides in the last relation and using (∗)(*) leads to:

0=f(a)=f(f(2a))=f(2a)=a.0=f(a)=f(f(2 a))=f(2 a)=a .

This proves the claim.

To finish the problem, consider P(x,x−f(x))P(x, x-f(x)) :

xf(x−f(x))=f((x−f(x))⋅(x+1)).x f(x-f(x))=f((x-f(x)) \cdot(x+1)) .

Setting x=−1x=-1 gives us

−f(−1−f(−1))=f((−1−f(−1))⋅0)=f(0)=0.-f(-1-f(-1))=f((-1-f(-1)) \cdot 0)=f(0)=0 .

From Claim 3 for f≢0f \not \equiv 0 we obtain that −1−f(−1)=0-1-f(-1)=0 implies f(−1)=−1f(-1)=-1. Now looking at P(−1,y)P(-1, y) and replacing yy by y+1y+1, we get that

f(y−1)=f(y)−1 implies f(y+1)=f(y)+1. f(y-1)=f(y)-1 \text { implies } f(y+1)=f(y)+1 \text {. }

On the other hand, P(x,1)P(x, 1), the previous relation and (∗)\left(^{*}\right) give us the following:

f(f(x)+1)+x=f(x+1)+f(x)f(f(x))+1+x=f(x)+1+f(x)f(x)+x=2f(x)f(x)=x.\begin{aligned} f(f(x)+1)+x & =f(x+1)+f(x) \\ f(f(x))+1+x & =f(x)+1+f(x) \\ f(x)+x & =2 f(x) \\ f(x) & =x . \end{aligned}

Thus, the only possible functions that satisfy the given relation are f(x)=xf(x)=x and f(x)=0f(x)=0. It is easy to check that they indeed solve the functional equation.

Contest context

Results from Baltic Way 2023

10 teams

Mean score
2.4 / 5
Scores of 4 or 5
1 / 10
Estonia
3 / 5

Score distribution

00
12
24
33
40
51
All team scores
TeamScore
Germany5 / 5
Sweden2 / 5
Lithuania2 / 5
Poland1 / 5
Estonia3 / 5
Latvia3 / 5
Norway2 / 5
Denmark1 / 5
Finland3 / 5
Iceland2 / 5