Problem

Source: ELMO Shortlist 2010, A3

Tags: ELMO Shortlist, 2010, functional equation, max and min



Find all functions $f: \mathbb{R} \to \mathbb{R}$ such that $f(x+y) = \max(f(x),y) + \min(f(y),x)$. George Xing.