$f(a,b)=min(a,b,\frac1a+\frac1b)$, where $a$ and $b$ are positive real numbers.
Basically what I would do is simply find when are these 3 terms equal($a=b=\sqrt 2$), and then manually check what happens when I up/down both values and that should show that $max(f)=\sqrt 2$, but I also think there should be a more elegant way to do this, so all ideas are welcome.