Problem

Source: Romania National Olympiad 2013,grade 10 -P3

Tags: function, algebra proposed, algebra



Find all injective functions$f:\mathbb{Z}\to \mathbb{Z}$ that satisfy: $\left| f\left( x \right)-f\left( y \right) \right|\le \left| x-y \right|$ ,for any $x,y\in \mathbb{Z}$.