I need to write an equation of a nonsingular curve in a projective space that is not birational to $\mathbb{P}^1.$
The answer in this post seems to give a solution to my question. Namely, it says that the curve $C:=V(f) \subset \mathbb{C}\mathbb P^2$ given by $$f(x,y,z) = x^d + y^d + z^d, \ d \in \mathbb N,$$ is smooth with geometric genus $g(X) = \frac {(d-1)*(d-2)}{2}$. The curve X is not rational iff $g(X) > 0$, i.e. iff degree $d > 2$.
But I don`t know a proof of a claim made there "curve X is not rational iff $g(X) > 0$". Can someone help me out, please? Alternatively, is there more elementary example of a smooth curve which is not birational to $\mathbb{C}\mathbb{P}^1$?
Note that two nonsingular projective curves are birational if and only if they're isomorphic. For, if $f: C\dashrightarrow C'$ is a birational map between two such curves then $f$ and $f^{-1}$ can be extended to the whole $C$, resp. $C'$, thus $f$ is an isomorphism (see Rational map on smooth projective curve ). Since two isomorphic curves have the same genus and since $g(\Bbb P^1)=0$, it follows that a nonsingular projective curve of non-zero genus is irrational.