I assumed a root $x$ of a monic polynomial $p(t)\in R[t]$ where $R$ is a PID. I need to show that $x$ lies in $R$
I assumed $p(t)=a_{0}+...+a_{n-1}t^{n-1}+t^{n}$
Then we have $a_{0}=-x^{n}-...-a_{1}x$
As $a_{0}\in R$ Therefore, RHS belongs to the PID $R$
i.e. $(-x^{n-1}-...-a_{1})x\in R$
I can't see a way to proceed further. How do I utilize that every ideal of R is principal?