Problem

Source: 2020 Czech-Polish-Slovak Match p4

Tags: algebra, functional equation, functional



Let $a$ be a given real number. Find all functions $f : R \to R$ such that $(x+y)(f(x)-f(y))=a(x-y)f(x+y)$ holds for all $x,y \in R$. (Walther Janous, Austria)