Problem

Source: ELMO Shortlist 2024/A6

Tags: Elmo, algebra



Let $\mathbb R^+$ denote the set of positive real numbers. Find all functions $f:\mathbb R^+\to\mathbb R$ and $g:\mathbb R^+\to\mathbb R$ such that for all $x,y\in\mathbb R^+$, $g(x)-g(y)=(x-y)f(xy)$. Linus Tang