I am learning about canonical sheaf. I am struggling with computing the canonical sheaf of:
- Del pezzo surface $X$: I know that such surface is either $\mathbb{P}^1 \times \mathbb{P}^1 $ or the blow-up of $\mathbb{P}^2$ at most $8$ points. But I do not know how to compute the canonical sheaf of $X$.
- I know that if $X=H_1\cap ...\cap H_r$ is the complete intersection of codimension $r$ in $\mathbb{P}^n$ with $\deg\, H_i =d_i$ then the canonical sheaf of $X$ is $\mathcal{O}_X(d_1+\cdots+d_r -n -1)$. Why this is true?
Thank you in advance.