Problem

Source: BMO Shortlist 2022, A4

Tags: algebra, functional equation, AZE BMO TST, AZE EGMO TST, BMO Shortlist



Find all functions $f : \mathbb{R} \to\mathbb{R}$ such that $f(0)\neq 0$ and \[f(f(x)) + f(f(y)) = f(x + y)f(xy),\]for all $x, y \in\mathbb{R}$.