Proposition 17.6.1. The arithmetic genus satisfies pa(C0)=b1(Γ)+v∑g(Cv).
Argument in the manuscript
Proof. Normalization gives an exact sequence 0⟶OC0⟶v⨁ν∗OCv⟶e∈E⨁ke⟶0. At a node, the last map takes the difference of the two branch values. Its exactness follows from the local description k[[x,y]]/(xy): a pair of power series in x and y comes from this ring exactly when its constant terms agree. Taking Euler characteristics yields χ(OC0)=v∑(1−g(Cv))−∣E∣. Since C0 is connected and proper, h0(OC0)=1. Thus pa=1−χ=∣E∣−∣V∣+1+∑vg(Cv), as asserted. ◻