Algebraic theorem Let
X be a
smooth variety of dimension
n over a field
k. Define the
canonical line bundle K_X to be the bundle of
n-forms on
X, the top exterior power of the
cotangent bundle: :K_X=\Omega^n_X={\bigwedge}^n(T^*X). Suppose in addition that
X is
proper (for example,
projective) over
k. Then Serre duality says: for an
algebraic vector bundle E on
X and an integer
i, there is a natural isomorphism: :H^i(X,E)\cong H^{n-i}(X,K_X\otimes E^{\ast})^{\ast} of finite-dimensional
k-vector spaces. Here \otimes denotes the
tensor product of vector bundles. It follows that the dimensions of the two cohomology groups are equal: :h^i(X,E)=h^{n-i}(X,K_X\otimes E^{\ast}). As in Poincaré duality, the isomorphism in Serre duality comes from the
cup product in sheaf cohomology. Namely, the composition of the cup product with a natural
trace map on H^n(X,K_X) is a
perfect pairing: :H^i(X,E)\times H^{n-i}(X,K_X\otimes E^{\ast})\to H^n(X,K_X)\to k. The trace map is the analog for coherent sheaf cohomology of integration in
de Rham cohomology.
Differential-geometric theorem Serre also proved the same duality statement for
X a compact
complex manifold and
E a
holomorphic vector bundle. Here, the Serre duality theorem is a consequence of
Hodge theory. Namely, on a compact complex manifold X equipped with a
Riemannian metric, there is a
Hodge star operator: :\star: \Omega^p(X) \to \Omega^{2n-p}(X), where \dim_{\mathbb{C}} X = n. Additionally, since X is complex, there is a splitting of the
complex differential forms into forms of type (p,q). The Hodge star operator (extended complex-linearly to complex-valued differential forms) interacts with this grading as: :\star: \Omega^{p,q}(X) \to \Omega^{n-q,n-p}(X). Notice that the holomorphic and anti-holomorphic indices have switched places. There is a conjugation on complex differential forms which interchanges forms of type (p,q) and (q,p), and if one defines the
conjugate-linear Hodge star operator by \bar{\star}\omega = \star \bar{\omega} then we have: :\bar{\star} : \Omega^{p,q}(X) \to \Omega^{n-p,n-q}(X). Using the conjugate-linear Hodge star, one may define a
Hermitian L^2-inner product on complex differential forms, by: :\langle \alpha, \beta \rangle_{L^2} = \int_X \alpha \wedge \bar{\star}\beta, where now \alpha \wedge \bar{\star}\beta is an (n,n)-form, and in particular a complex-valued 2n-form and can therefore be integrated on X with respect to its canonical
orientation. Furthermore, suppose (E,h) is a Hermitian holomorphic vector bundle. Then the Hermitian metric h gives a conjugate-linear isomorphism E\cong E^* between E and its
dual vector bundle, say \tau: E\to E^*. Defining \bar{\star}_E (\omega \otimes s) = \bar{\star} \omega \otimes \tau(s), one obtains an isomorphism: :\bar{\star}_E : \Omega^{p,q}(X,E) \to \Omega^{n-p,n-q}(X,E^*) where \Omega^{p,q}(X,E)= \Omega^{p,q}(X) \otimes \Gamma(E) consists of smooth E-valued complex differential forms. Using the pairing between E and E^* given by \tau and h, one can therefore define a Hermitian L^2-inner product on such E-valued forms by: :\langle \alpha, \beta \rangle_{L^2} = \int_X \alpha \wedge_h \bar{\star}_E \beta, where here \wedge_h means wedge product of differential forms and using the pairing between E and E^* given by h. The
Hodge theorem for Dolbeault cohomology asserts that if we define: :\Delta_{\bar{\partial}_E} = \bar{\partial}_E^* \bar{\partial}_E + \bar{\partial}_E \bar{\partial}_E^* where \bar{\partial}_E is the
Dolbeault operator of E and \bar{\partial}_E^* is its formal adjoint with respect to the inner product, then: :H^{p,q}(X,E) \cong \mathcal{H}^{p,q}_{\Delta_{\bar{\partial}_E}} (X). On the left is Dolbeault cohomology, and on the right is the vector space of
harmonic E-valued differential forms defined by: :\mathcal{H}^{p,q}_{\Delta_{\bar{\partial}_E}} (X) = \{\alpha \in \Omega^{p,q}(X,E) \mid \Delta_{\bar{\partial}_E} (\alpha) = 0\}. Using this description, the Serre duality theorem can be stated as follows: The isomorphism \bar{\star}_E induces a complex linear isomorphism: :H^{p,q}(X,E) \cong H^{n-p,n-q}(X,E^*)^*. This can be easily proved using the Hodge theory above. Namely, if [\alpha] is a cohomology class in H^{p,q}(X,E) with unique harmonic representative \alpha \in \mathcal{H}^{p,q}_{\Delta_{\bar{\partial}_E}} (X), then: :(\alpha, \bar{\star}_E \alpha) = \langle \alpha, \alpha \rangle_{L^2} \ge 0 with equality if and only if \alpha = 0. In particular, the complex linear pairing: :(\alpha, \beta) = \int_X \alpha \wedge_h \beta between \mathcal{H}^{p,q}_{\Delta_{\bar{\partial}_E}} (X) and \mathcal{H}^{n-p,n-q}_{\Delta_{\bar{\partial}_{E^*}}} (X) is
non-degenerate, and induces the isomorphism in the Serre duality theorem. The statement of Serre duality in the algebraic setting may be recovered by taking p=0, and applying
Dolbeault's theorem, which states that: :H^{p,q}(X,E) \cong H^q(X, \boldsymbol{\Omega}^p \otimes E) where on the left is Dolbeault cohomology and on the right sheaf cohomology, where \boldsymbol{\Omega}^p denotes the sheaf of holomorphic (p,0)-forms. In particular, we obtain: :H^q(X,E) \cong H^{0,q}(X,E) \cong H^{n,n-q}(X,E^*)^* \cong H^{n-q}(X, K_X \otimes E^*)^* where we have used that the sheaf of holomorphic (n,0)-forms is just the
canonical bundle of X. ==Algebraic curves==