TITLE: Prime ideal in valuation ring
QUESTION [6 upvotes]: Let  $R$   be  a  valuation  ring.  If  $ P = (a)$   is   a  prime  ideal  of  $R$ then  $P$  is  the   maximal  ideal.  I  know  that   the  maximal  ideal  is $\lbrace{ x \in R | v(x) > 0}\rbrace$.

REPLY [3 votes]: There is a characterization of principal ideals in a valuation domain $R$.

LEMMA: if $P=(a)$ is any principal ideal of a valuation domain $R$, then $P=\{ x \in R : v(x) \ge v(a)\}$.

I leave the proof to you as an exercize.
As the answer of your problem, let $M$ be the unique maximal ideal of $R$. Suppose by contradiction that $P$ is prime and $P \neq M$. Then there exists some $y \in M \setminus P$. Since $y \notin (a)$, by the lemma,
$$v(y)<v(a)$$
or, equivalently,
$$v(ay^{-1})=v(a)-v(y)>0$$
Which implies that $ay^{-1} \in R$. Now,
$$ay^{-1} \cdot y=a \in P$$
since $P$ is a prime ideal and $y \notin P$, necessarily $ay^{-1} \in P$. By the lemma,
$$v(a)-v(y)=v(ay^{-1}) \ge v(a)$$
or, equivalently,
$$v(y) \le 0$$
contradicting $y \in M = \{ x \in R : v(x) > 0\}$. We got a contradiction, thus necessarily $P=M$.