Daily

Random

Practice set

Baltic Way 2010 · Problem 5

Algebra

Let R\mathbb{R} denote the set of real numbers. Find all functions f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} such that

f(x2)+f(xy)=f(x)f(y)+yf(x)+xf(x+y)f\left(x^{2}\right)+f(x y)=f(x) f(y)+y f(x)+x f(x+y)

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

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Functional equations

Solutions

Solution

Setting x=0x=0 in the equation we get f(0)f(y)=(2−y)f(0)f(0) f(y)=(2-y) f(0). If f(0)≠0f(0) \neq 0, then f(y)=2−yf(y)=2-y and it is easy to verify that this is a solution to the equation.

Now assume f(0)=0f(0)=0. Setting y=0y=0 in the equation we get f(x2)=xf(x)f\left(x^{2}\right)=x f(x). Interchanging xx and yy and subtracting from the original equation we get

xf(x)−yf(y)=yf(x)−xf(y)+(x−y)f(x+y)x f(x)-y f(y)=y f(x)-x f(y)+(x-y) f(x+y)

or equivalently

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

For x≠yx \neq y we therefore have f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y). Since f(0)=0f(0)=0 this clearly also holds for x=0x=0, and for x=y≠0x=y \neq 0 we have

f(2x)=f(x3)+f(5x3)=f(x3)+f(2x3)+f(x)=f(x)+f(x).f(2 x)=f\left(\frac{x}{3}\right)+f\left(\frac{5 x}{3}\right)=f\left(\frac{x}{3}\right)+f\left(\frac{2 x}{3}\right)+f(x)=f(x)+f(x) .

Setting x=yx=y in the original equation, using f(x2)=xf(x)f\left(x^{2}\right)=x f(x) and f(2x)=2f(x)f(2 x)=2 f(x) we get

0=f(x)2+xf(x)=f(x)(f(x)+x).0=f(x)^{2}+x f(x)=f(x)(f(x)+x) .

So for each xx, either f(x)=0f(x)=0 or f(x)=−xf(x)=-x. But then

f(x)+f(y)=f(x+y)={0 or −(x+y)f(x)+f(y)=f(x+y)= \begin{cases}0 & \text { or } \\ -(x+y)\end{cases}

and we conclude that f(x)=−xf(x)=-x if and only if f(y)=−yf(y)=-y when x,y≠0x, y \neq 0. We therefore have either f(x)=−xf(x)=-x for all xx or f(x)=0f(x)=0 for all xx. It is easy to verify that both are solutions to the original equation.

Contest context

Results from Baltic Way 2010

10 teams

Mean score
3.2 / 5
Scores of 4 or 5
5 / 10
Estonia
3 / 5

Score distribution

01
11
21
32
42
53
All team scores
TeamScore
Poland5 / 5
Lithuania3 / 5
Germany5 / 5
Latvia4 / 5
Denmark5 / 5
Sweden1 / 5
Estonia3 / 5
Norway2 / 5
Finland4 / 5
Iceland0 / 5