Hey guys, I've never solved problems of these sorts and I'm not quite sure where to begin. The problem is given the following equation

$\displaystyle f(x) = f(x^2 + 2012)$

where the domain of f is defined to be the reals, how do I find the maximum of the expression $f(a) - f(b)$ for some a,b in reals?

I thought about finding a class of solutions to f(x) = f(x^2 + 2012), namely given the relation $\displaystyle (x,y) \in \sim \implies f(x) = f(y)$, and the function g such that $\displaystyle g(x) = x^2 + 2012$, one naive equivalence class containing x, $\displaystyle E_x$, is just the sequence of $\displaystyle \{x, g(x), g(g(x)), g(g(g(x))), \hdots, g^\infty(x)\} = \{g^n(x)\}_{n=0}^\infty$. However, because $\displaystyle g(x') = g(g(x))$ may have solutions that are not in $\displaystyle {g^n(x)}$, we have to also include those within $\displaystyle E_x$. At this point, I'm just a bit confused by the algebra involved and what I should do next. Any/all help would be greatly appreciated.

Thanks guys for looking at this