I am finding this functional equation from a past high school mathematics competition rather tricky.
Find all continuous functions $f:\mathbb{R}\rightarrow\mathbb{R}^+$ such that:
$f\big(x+f(x)\big)=f(x)\quad \forall x\in\mathbb{R}$
and
$f(2012)=2012$.
(One must prove that the trivial constant solution is the only solution.)
Using some sort of number theoretic argument to prove that $f(x)=2012$ for a dense subset of the rationals and using continuity to finish.
Let $S$ be the set of $x$ for which $f(x)=2012$ and using some clever use of the intermediate value theorem to arrive at a contradiction if $S$ is not all of $\mathbb{R}$.
One possibly useful result is that $g(x)=x+f(x)$ can be easily shown to be injective (in fact monotonically increasing).
– goonfiend May 17 '13 at 15:30