Problem

Source: India EGMO TST 2023/4

Tags: algebra, function, identity, periodic function



Let $f, g$ be functions $\mathbb{R} \rightarrow \mathbb{R}$ such that for all reals $x,y$, $$f(g(x) + y) = g(x + y)$$Prove that either $f$ is the identity function or $g$ is periodic. Proposed by Pranjal Srivastava