Let $A \subset \mathbb{R}$ be a finite set with $|A| = n$ and let $f : A \to A$ satisfy the strict contraction condition $|f(x) - f(y)| < |x - y|$ for all $x \neq y$ in $A$. Prove that $f$ is not injective and that the iterate $f^{n}$ is a constant function.
My idea
I was able to show that $f$ is not injective, but not that the iterate is a constant function. So, I let the $n$ elements of $A$ be $x_1 < x_2 < \dots<x_n$ and I noted $y_i=f(x_i)$ for every $i \in \{ 1, \dots n \}$. I suppose that $f$ is injective, and because $f: A \to A$ and A is finite with $n$ elements, we can say that $f$ is bijective. If we note $k$ be the smallest difference in module between any $2$ elements of $A$, we can let $x_i$ and $x_j$ be those elements, then we get that $|y_i-y_j|<|x_i-x_j|=k$ and $y_i, y_j$ are also elements from $A$, which is a contradiction of our suppose so we get that $f$ is not injective. Now I don't know what I should to do to show that the iterate is constant. Hope one of you can help me find a solution without orbits (I've seen these kind of problem use orbits).