Question
Let $\mathbb{U}$ be the unit circle. Find all $P\in \mathbb{R}[X]$ such that $P(\mathbb{U})\subset \mathbb{U}$.
My attempt
My conjecture is that $P=\mu X^d$ for some $d\geqslant 0$ and $\mu \in \mathbb{U}$. I tried to prove it by contradiction, making a recurrence on the number of monomials in the polynom. Unfortunately it doesn't lead to anything interesting.
Could someone help me ?
NB : It isn't the same the question as Which polynomials fix the unit circle?, since $P(x+iy)\neq P(x)+iP(y)$ in general.