Problem

Source: 2019 Thailand October Camp TSTST 2.1

Tags: functional equation, algebra



Find all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ satisfying $$f(\max \left\{ x, y \right\} + \min \left\{ f(x), f(y) \right\}) = x+y $$for all $x,y \in \mathbb{R}$.