The problem Find all $f(x): \mathbb{R} \to \mathbb{R} $ such that $x(f(x+1)-f(x))=f(x)$ and $|f(x) -f(y)| \le |x-y|, \forall x,y \in \mathbb{R}$
My approach Obviously $f(x)=x$ is one solution, I suspect it is the only one. Now I substitute $x=0$ in the first condition, I get $f(0)=0$.
Thus substitute $y=0$ in the second condition I get $|f(x) | \le | x | \tag{1}$
Another thing I got from the first condition: \begin{align} \frac{f(x+1)}{x+1}=\frac{f(x)}{x} \end{align}
So I denote $c_x= x -\lfloor{x}\rfloor$, and assign a random function $f(x)=k_xx, \forall x\in [0,1], k_x$ a constant chosen independently for $c_x$, then $f(x)=k_xx, \forall x\in\mathbb{R}$.
Now what I can conclude is that $k_x$ all are smaller than $1$, because of $(1)$. But how do I proceed? Should I plug it into the second condition of the problem and try to deduce something?
Any help is appreciated!
EDITS
Earlier I mistakenly assumed that $f(x)$ is a polynomial. It's not. It is a function
Equation is $xf(x+1)=(x+1)f(x)$
And so $f(x+n)=(x+n)h(x)$ $\forall x\notin\mathbb Z$ and $\forall n\in\mathbb Z$ for some function $h(x)$
So $f(x+n)-f(y+n)=xh(x)-yh(y)+n(h(x)-h(y))$ and second inequation implies $h(x)$ constant over $\mathbb R\setminus\mathbb Z$ So $f(x)=cx$ $\forall x\notin \mathbb Z$ and (second line implies continuity), $f(x)=cx$ $\forall x$
hence the answer $\boxed{f(x)=cx\quad\forall x}$ which indeed is a solution, whatever is $c\in[-1,+1]$