We follow Example 15.2.2 of Fulton's book, Intersection Theory.
|
|
|
|
|
|
|
|
We define a function to compute the arithmetic genus and use it to compute the arithmetic genus of a curve on $X$ whose divisor class is $D$:
|
|
We we compute the arithmetic genus of a curve of degree $n$ in $\PP^2$:
|
|
Here we compute the arithmetic genus of a curve on with $\PP^1 \times \PP^1$:
|
|
In the code above we have used the notation f_(a,b) x as an abbreviation for f(a,b,x), see Function _ Thing.