# Differential forms on a Riemann surface

In mathematics, differential forms on a Riemann surface are an important special case of the general theory of differential forms on smooth manifolds, distinguished by the fact that the conformal structure on the Riemann surface intrinsically defines a Hodge star operator on 1-forms (or differentials) without specifying a Riemannian metric. This allows the use of Hilbert space techniques for studying function theory on the Riemann surface and in particular for the construction of harmonic and holomorphic differentials with prescribed singularities. These methods were first used by Hilbert (1909) in his variational approach to the Dirichlet principle, making rigorous the arguments proposed by Riemann. Later Weyl (1940) found a direct approach using his method of orthogonal projection, a precursor of the modern theory of elliptic differential operators and Sobolev spaces. These techniques were originally applied to prove the uniformization theorem and its generalization to planar Riemann surfaces. Later they supplied the analytic foundations for the harmonic integrals of Hodge (1941). This article covers general results on differential forms on a Riemann surface that do not rely on any choice of Riemannian structure.

## Hodge star on 1-forms

On a Riemann surface the Hodge star is defined on 1-forms by the local formula
    $\displaystyle {\star (p\,dx+q\,dy)=-q\,dx+p\,dy.}$
It is well-defined because it is invariant under holomorphic changes of coordinate.
Indeed, if z = x + iy is holomorphic as a function of w = u + iv, then by the Cauchy–Riemann equations x$_u$ = y$_v$ and y$_u$ = −x$_v$. In the new coordinates
    $\displaystyle {p\,dx+q\,dy=(px_{u}+qy_{u})du+(px_{v}+qy_{v})dv=p_{1}du+q_{1}dv,}$
so that
    $-q_{1}\,du+p_{1}\,dv=-(px_{v}+qy_{v})du+(px_{u}+qy_{u})dv=-q(x_{u}du+x_{v}dv)+p(y_{u}du+y_{v}dv)=-q\,dx+p\,dy,$
proving the claimed invariance.
Note that for 1-forms ω$_1$ = p$_1$ dx + q$_1$ dy and ω$_2$ = p$_2$ dx + q$_2$ dy
    $\displaystyle {\omega _{1}\wedge \star \omega _{2}=(p_{1}p_{2}+q_{1}q_{2})\,dx\wedge dy=\omega _{2}\wedge \star \omega _{1}.}$
In particular if ω = p dx + q dy then
    $\displaystyle {\omega \wedge \star \omega =(p^{2}+q^{2})\,dx\wedge dy.}$
Note that in standard coordinates
    $\star dz=-idz,\,\,\star d{\overline {z}}=id{\overline {z}}.$
Recall also that
    ${\partial \over \partial z}={1 \over 2}\left({\partial \over \partial x}-i{\partial \over \partial y}\right),\,\,\,{\partial \over \partial {\overline {z}}}={1 \over 2}\left({\partial \over \partial x}+i{\partial \over \partial y}\right),$
so that
    $df=f_{z}\,dz+f_{\overline {z}}\,d{\overline {z}}=\partial f+{\bar {\partial }}f.$
The decomposition $d=\partial +{\bar {\partial }}$ is independent of the choice of local coordinate. The 1-forms with only a $dz$ component are called (1,0) forms; those with only a $d{\overline {z}}$ component are called (0,1) forms. The operators $\partial$ and ${\overline {\partial }}$ are called the Dolbeault operators.
It follows that
    $\star df=-i\partial f+i{\bar {\partial }}f.$
The Dolbeault operators can similarly be defined on 1-forms and as zero on 2-forms. They have the properties
    $d=\partial +{\bar {\partial }}$
    $\partial ^{2}={\bar {\partial }}^{2}=\partial {\bar {\partial }}+{\bar {\partial }}\partial =0.$

## Poincaré lemma

On a Riemann surface the Poincaré lemma states that every closed 1-form or 2-form is locally exact. Thus if ω is a smooth 1-form with dω = 0 then in some open neighbourhood of a given point there is a smooth function f such that ω = df in that neighbourhood; and for any smooth 2-form Ω there is a smooth 1-form ω defined in some open neighbourhood of a given point such that Ω = dω in that neighbourhood.
If ω = p dx + q dy is a closed 1-form on (a,b) × (c,d), then p$_y$ = q$_x$. If ω = df then p = f$_x$ and q = f$_y$. Set
    $\displaystyle {g(x,y)=\int _{a}^{x}p(t,y)\,dt,}$
so that g$_x$ = p. Then h = f − g must satisfy h$_x$ = 0 and h$_y$ = q − g$_y$. The right hand side here is independent of x since its partial derivative with respect to x is 0. So
    $\displaystyle {h(x,y)=\int _{c}^{y}q(a,s)\,ds-g(a,y)=\int _{c}^{y}q(a,s)\,ds,}$
and hence
    $\displaystyle {f(x,y)=\int _{a}^{x}p(t,y)\,dt+\int _{c}^{y}q(a,s)\,ds.}$
Similarly, if Ω = r dx ∧ dy then Ω = d(f dx + g dy) with g$_x$ − f$_y$ = r. Thus a solution is given by f = 0 and
    $\displaystyle {g(x,y)=\int _{a}^{x}r(t,y)\,dt.}$
Comment on differential forms with compact support. Note that if ω has compact support, so vanishes outside some smaller rectangle (a$_1$,b$_1$) × (c$_1$,d$_1$) with a < a$_1$ < b$_1$ <b and c < c$_1$ < d$_1$ < d, then the same is true for the solution f(x,y). So the Poincaré lemma for 1-forms holds with this additional conditions of compact support.
A similar statement is true for 2-forms; but, since there is some choices for the solution, a little more care has to be taken in making those choices.
In fact if Ω has compact support on (a,b) × (c,d) and if furthermore ∬ Ω = 0, then Ω = dω with ω a 1-form of compact support on (a,b) × (c,d). Indeed, Ω must have support in some smaller rectangle (a$_1$,b$_1$) × (c$_1$,d$_1$) with a < a$_1$ < b$_1$ <b and c < c$_1$ < d$_1$ < d. So r(x, y) vanishes for x ≤ a$_1$ or x ≥ b$_1$ and for y ≤ c$_1$ or y ≥ d$_1$. Let h(y) be a smooth function supported in (c$_1$,d$_1$) with ∫$^d$ $_c$ h(t) dt = 1. Set k(x) = ∫$^d$ $_c$ r(x,y) dy: it is a smooth function supported in (a$_1$,b$_1$). Hence R(x,y) = r(x,y) − k(x)h(y) is smooth and supported in (a$_1$,b$_1$) × (c$_1$,d$_1$). It now satisfies ∫$^d$ $_c$ R(x,y) dy ≡ 0. Finally set
    $P(x,y)=\int _{c}^{y}R(x,y)dy,\,\,\,Q(x,y)=h(y)\int _{a}^{x}k(s)\,ds.$
Both P and Q are smooth and supported in (a$_1$,b$_1$) × (c$_1$,d$_1$) with P$_y$ = R and Q$_x$(x,y) = k(x)h(y). Hence ω = −P dx + Q dy is a smooth 1-form supported in (a$_1$,b$_1$) × (c$_1$,d$_1$) with
    $d\omega =(Q_{x}+P_{y})\,dx\wedge dy=r\,dx\wedge dy=\Omega .$

## Integration of 2-forms

If Ω is a continuous 2-form of compact support on a Riemann surface X, its support K can be covered by finitely many coordinate charts U$_i$ and there is a partition of unity χ$_i$ of smooth non-negative functions with compact support such that Σ χ$_i$ = 1 on a neighbourhood of K. Then the integral of Ω is defined by
    $\displaystyle {\int _{X}\Omega =\sum \int _{X}\chi _{i}\Omega =\sum \int _{U_{i}}\chi _{i}\Omega ,}$
where the integral over U$_i$ has its usual definition in local coordinates. The integral is independent of the choices here.
If Ω has the local representation f(x,y) dx ∧ dy, then |Ω| is the density |f(x,y)| dx ∧ dy, which is well defined and satisfies |∫$_X$ Ω| ≤ ∫$_X$ |Ω|. If Ω is a non-negative continuous density, not necessarily of compact support, its integral is defined by
    $\displaystyle {\int _{X}\Omega =\sup _{0\leq \psi \leq 1,\,\psi \in C_{c}(X)}\int _{X}\psi \Omega .}$
If Ω is any continuous 2-form it is integrable if ∫$_X$ |Ω| < ∞. In this case, if ∫$_X$ |Ω| = lim ∫$_X$ ψ$_n$ |Ω|, then ∫$_X$ Ω can be defined as lim ∫$_X$ ψ$_n$ Ω. The integrable continuous 2-forms form a complex normed space with norm ||Ω||$_1$ = ∫$_X$ |Ω|.

## Integration of 1-forms along paths

If ω is a 1-form on a Riemann surface X and γ(t) for a ≤ t ≤ b is a smooth path in X, then the mapping γ induces a 1-form γ∗ω on [a,b]. The integral of ω along γ is defined by
    $\displaystyle {\int _{\gamma }\omega =\int _{a}^{b}\gamma ^{*}\omega .}$
This definition extends to piecewise smooth paths γ by dividing the path up into the finitely many segments on which it is smooth. In local coordinates if ω = p dx + q dy and γ(t) = (x(t),y(t)) then
    $\displaystyle {\gamma ^{*}\omega =p(\gamma (t)){\dot {x}}(t)\,dt+q(\gamma (t)){\dot {y}}(t)\,dt,}$
so that
    $\displaystyle {\int _{\gamma }\omega =\int _{a}^{b}p(\gamma (t)){\dot {x}}(t)\,dt+q(\gamma (t)){\dot {y}}(t)\,dt.}$
Note that if the 1-form ω is exact on some connected open set U, so that ω = df for some smooth function f on U (unique up to a constant), and γ(t), a ≤ t ≤ b, is a smooth path in U, then
    $\displaystyle {\int _{\gamma }\omega =\int _{a}^{b}d(f(\gamma (t))=f(\gamma (b))-f(\gamma (a)).}$
This depends only on the difference of the values of f at the endpoints of the curve, so is independent of the choice of f. By the Poincaré lemma, every closed 1-form is locally exact, so this allows ∫$_γ$ ω to be computed as a sum of differences of this kind and for the integral of closed 1-forms to be extended to continuous paths:
Monodromy theorem. If ω is a closed 1-form, the integral ∫$_γ$ ω can be extended to any continuous path γ(t), a ≤ t ≤ b so that it is invariant under any homotopy of paths keeping the end points fixed.
       In fact, the image of γ is compact, so can be covered by finitely many connected open sets U$_i$ on each of which ω can be written df$_i$ for some smooth function f$_i$ on U$_i$, unique up to a constant. It may be assumed that [a,b] is broken up into finitely many closed intervals K$_i$ = [t$_{i−1}$,t$_i$] with t$_0$ = a and t$_n$ = b so that γ(K$_i$) ⊂ U$_i$. From the above if γ is piecewise smooth,
          $\displaystyle {\int _{\gamma }\omega =\sum \int _{\gamma |_{K_{i}}}\omega =\sum \int _{K_{i}}d(f_{i}\circ \gamma )=\sum _{i=1}^{n}f_{i}(\gamma (t_{i}))-f_{i}(\gamma (t_{i-1}))=f_{n}(\gamma (b))-f_{1}(\gamma (b))+\sum _{i=1}^{n-1}[f_{i}(\gamma (t_{i}))-f_{i+1}(\gamma (t_{i}))].}$
       Now γ(t$_i$) lies in the open set U$_i$ ∩ U$_{i+1}$, hence in a connected open component V$_i$. The difference g$_i$ = f$_i$ − f$_{i−1}$ satisfies dg$_i$ = 0, so is a constant c$_i$ independent of γ. Hence
          $\displaystyle {\int _{\gamma }\omega =f_{n}(\gamma (b))-f_{1}(\gamma (a))+\sum _{i=1}^{n-1}c_{i}.}$
       The formula on the right hand side also makes sense if γ is just continuous on [a,b] and can be used to define ∫$_γ$ ω. The definition is independent of choices: for the curve γ can be uniformly approximated by piecewise smooth curves δ so close that δ(K$_i$) ⊂ U$_i$ for all i; the formula above then equals ∫$_δ$ ω and shows the integral is independent of the choice of δ. The same argument shows that the definition is also invariant under small homotopies fixing endpoints; by compactness, it is therefore invariant under any homotopy fixing endpoints.
The same argument shows that a homotopy between closed continuous loops does not change their integrals over closed 1-forms. Since ∫$_γ$ df = f(γ(b)) − f(γ(a)), the integral of an exact form over a closed loop vanishes. Conversely if the integral of a closed 1-form ω over any closed loop vanishes, then the 1-form must be exact.
       Indeed a function f(z) can be defined on X by fixing a point w, taking any path δ from w to z and setting f(z) = ∫$_δ$ ω. The assumption implies that f is independent of the path. To check that df = ω, it suffices to check this locally. Fix z$_0$ and take a path δ$_1$ from w to z$_0$. Near z$_0$ the Poincaré lemma implies that ω = dg for some smooth function g defined in a neighbourhood of z$_0$. If δ$_2$ is a path from z$_0$ to z, then f(z) = ∫$_{δ1}$ ω + ∫$_{δ2}$ ω = ∫$_{δ1}$ ω + g(z) − g(z$_0$), so f differs from g by a constant near z$_0$. Hence df = dg = ω near z$_0$.
A closed 1-form is exact if and only if its integral around any piecewise smooth or continuous Jordan curve vanishes.
       In fact the integral is already known to vanish for an exact form, so it suffices to show that if ∫$_γ$ ω = 0 for all piecewise smooth closed Jordan curves γ then ∫$_γ$ ω = 0 for all closed continuous curves γ. Let γ be a closed continuous curve. The image of γ can be covered by finitely many opens on which ω is exact and this data can be used to define the integral on γ. Now recursively replace γ by smooth segments between successive division points on the curve so that the resulting curve δ has only finitely many intersection points and passes through each of these only twice. This curve can be broken up as a superposition of finitely many piecewise smooth Jordan curves. The integral over each of these is zero, so their sum, the integral over δ, is also zero. By construction the integral over δ equals the integral over γ, which therefore vanishes.
The above argument also shows that given a continuous Jordan curve γ(t), there is a finite set of simple smooth Jordan curves γ$_i$(t) with nowhere zero derivatives such that
    $\int _{\gamma }\omega =\sum _{i}\int _{\gamma _{i}}\omega$
for any closed 1-form ω. Thus to check exactness of a closed form it suffices to show that the vanishing of the integral around any regular closed curve, i.e. a simple smooth Jordan curve with nowhere vanishing derivative.
The same methods show that any continuous loop on a Riemann surface is homotopic to a smooth loop with nowhere zero derivative.

## Green–Stokes formula

If U is a bounded region in the complex plane with boundary consisting of piecewise smooth curves and ω is a 1-form defined on a neighbourhood of the closure of U, then the Green–Stokes formula states that
    $\int _{\partial U}\omega =\int _{U}d\omega .$
In particular if ω is a 1-form of compact support on C then
    $\int _{\bf {C}}d\omega =0,$
since the formula may be applied to a large disk containing the support of ω.
Similar formulas hold on a Riemann surface X and can be deduced from the classical formulas using partitions of unity. Thus if U ⊂ X is a connected region with compact closure and piecewise smooth boundary ∂U and ω is a 1-form defined on a neighbourhood of the closure of U, then the Green–Stokes formula states that
    $\displaystyle {\int _{\partial U}\omega =\int _{U}d\omega .}$
Moreover, if ω is a 1-form of compact support on X then
    $\int _{X}d\omega =0.$
To prove the second formula take a partition of unity ψ$_i$ supported in coordinate charts covering the support of ω. Then ∫$_X$ dω = Σ ∫$_X$ d(ψ$_i$ ω) = 0, by the planar result. Similarly to prove the first formula it suffices to show that
    $\displaystyle {\int _{\partial U}\psi \omega =\int _{U}d(\psi \omega )}$
when ψ is a smooth function compactly supported in some coordinate patch. If the coordinate patch avoids the boundary curves, both sides vanish by the second formula above. Otherwise it can be assumed that the coordinate patch is a disk, the boundary of which cuts the curve transversely at two points. The same will be true for a slightly smaller disk containing the support of ψ. Completing the curve to a Jordan curve by adding part of the boundary of the smaller disk, the formula reduces to the planar Green-Stokes formula.
The Green–Stokes formula implies an adjoint relation for the Laplacian on functions defined as Δf = −d∗df. This gives a 2-form, given in local coordinates by the formula
    $\Delta f=\left(-{\partial ^{2}f \over \partial x^{2}}-{\partial ^{2}f \over \partial y^{2}}\right)\,dx\wedge dy.$
Then if f and g are smooth and the closure of U is compact
    $\int _{U}f\Delta g-g\Delta f=\int _{\partial U}g{\star df}-f{\star dg}.$
Moreover, if f or g has compact support then
    $\int _{X}f\Delta g=\int _{X}g\Delta f.$

## Duality between 1-forms and closed curves

Theorem. If γ is a continuous Jordan curve on a Riemann surface X, there is a smooth closed 1-form α of compact support such that ∫$_γ$ ω = ∫$_X$ ω ∧ α for any closed smooth 1-form ω on X.
       It suffices to prove this when γ is a regular closed curve. By the inverse function theorem, there is a tubular neighbourhood of the image of γ, i.e. a smooth diffeomorphism Γ(t, s) of the annulus S$^1$ × (−1, 1) into X such that Γ(t, 0) = γ(t). Using a bump function on the second factor, a non-negative function g with compact support can be constructed such that g is smooth off γ, has support in a small neighbourhood of γ, and in a sufficiently small neighbourhood of γ is equal to 0 for s < 0 and 1 for s ≥ 0. Thus g has a jump discontinuity across γ, although its differential dg is smooth with compact support. But then, setting α = −dg, it follows from Green's formula applied to the annulus γ × [0, ε] that
          $\int _{X}\omega \wedge \alpha =\int _{X}dg\wedge \omega =\int _{\gamma \times (0,\varepsilon )}dg\wedge \omega =\int _{\gamma \times (0,\varepsilon )}d(g\omega )=\int _{\gamma }\omega .$
Corollary 1. A closed smooth 1-form ω is exact if and only if ∫$_X$ ω ∧ α = 0 for all smooth 1-forms α of compact support.
       In fact if ω is exact, it has the form df for f smooth, so that ∫$_X$ ω ∧ α = ∫$_X$ df ∧ α = ∫$_X$ d(f α) = 0 by Green's theorem. Conversely, if ∫$_X$ ω ∧ α = 0 for all smooth 1-forms α of compact support, the duality between Jordan curves and 1-forms implies that the integral of ω around any closed Jordan curve is zero and hence that ω is exact.
Corollary 2. If γ is a continuous closed curve on a Riemann surface X, there is a smooth closed 1-form α of compact support such that ∫$_γ$ ω = ∫$_X$ ω ∧ α for any closed smooth 1-form ω on X. The form α is unique up to adding an exact form and can be taken to have support in any open neighbourhood of the image of γ.
       In fact γ is homotopic to a piecewise smooth closed curve δ, so that ∫$_γ$ ω = ∫$_δ$ ω. On the other hand there are finitely many piecewise smooth Jordan curves δ$_i$ such that ∫$_δ$ ω = Σ ∫$_{δi}$ ω. The result for δ$_i$ thus implies the result for γ. If β is another form with the same property, the difference α − β satisfies ∫$_X$ ω ∧ (α − β) = 0 for all closed smooth 1-forms ω. So the difference is exact by Corollary 1. Finally, if U is any neighbourhood of the image of γ, then the last result follows by applying first assertion to γ and U in place of γ and X.

## Intersection number of closed curves

The intersection number of two closed curves γ$_1$, γ$_2$ in a Riemann surface X can be defined analytically by the formula
    $I(\gamma _{1},\gamma _{2})=\int _{X}\alpha _{1}\wedge \alpha _{2},$
where α$_1$ and α$_2$ are smooth 1-forms of compact support corresponding to γ$_1$ and γ$_2$. From the definition it follows that I(γ$_1$, γ$_2$) = −I(γ$_2$, γ$_1$). Since α$_i$ can be taken to have its support in a neighbourhood of the image of γ$_i$, it follows that I(γ$_1$ , γ$_2$) = 0 if γ$_1$ and γ$_2$ are disjoint. By definition it depends only on the homotopy classes of γ$_1$ and γ$_2$.
More generally the intersection number is always an integer and counts the number of times with signs that the two curves intersect. A crossing at a point is a positive or negative crossing according to whether dγ$_1$ ∧ dγ$_2$ has the same or opposite sign to dx ∧ dy = −i/2 dz ∧ dz, for a local holomorphic parameter z = x + iy.
       Indeed, by homotopy invariance, it suffices to check this for smooth Jordan curves with nowhere vanishing derivatives. The α$_1$ can be defined by taking α$_1$df with f of compact support in a neighbourhood of the image of γ$_1$ equal to 0 near the left hand side of γ$_1$, 1 near the right hand side of γ$_1$ and smooth off the image of γ$_1$. Then if the points of intersection of γ$_2$(t) with γ$_1$ occur at t = t$_1$, ..., t$_m$, then
          $I(\gamma _{1},\gamma _{2})=\int _{\gamma _{2}}\alpha _{1}=\int _{\gamma _{2}}df=\sum f\circ \gamma _{2}(t_{i}+)-f\circ \gamma _{2}(t_{i}-).$
       This gives the required result since the jump f∘γ$_2$(t$_i$+) − f∘γ$_2$(t$_i$−) is + 1 for a positive crossing and −1 for a negative crossing.

## Holomorphic and harmonic 1-forms

A holomorphic 1-form ω is one that in local coordinates is given by an expression f(z) dz with f holomorphic. Since $dg=\partial _{z}g\,dz+\partial _{\overline {z}}g\,d{\overline {z}},$ it follows that dω = 0, so any holomorphic 1-form is closed. Moreover, since ∗dz = −i dz, ω must satisfy ∗ω = −iω. These two conditions characterize holomorphic 1-forms. For if ω is closed, locally it can be written as dg for some g, The condition ∗dg = i dg forces $\partial _{\overline {z}}g=0$, so that g is holomorphic and dg = g '(z) dz, so that ω is holomorphic.
Let ω = f dz be a holomorphic 1-form. Write ω = ω$_1$ + iω$_2$ with ω$_1$ and ω$_2$ real. Then dω$_1$ = 0 and dω$_2$ = 0; and since ∗ω = −iω, ∗ω$_1$ = ω$_2$. Hence d∗ω$_1$ = 0. This process can clearly be reversed, so that there is a one-one correspondence between holomorphic 1-forms and real 1-forms ω$_1$ satisfying dω$_1$ = 0 and d∗ω$_1$ = 0. Under this correspondence, ω$_1$ is the real part of ω while ω is given by ω = ω$_1$ + i∗ω$_1$. Such forms ω$_1$ are called harmonic 1-forms. By definition ω$_1$ is harmonic if and only if ∗ω$_1$ is harmonic.
Since holomorphic 1-forms locally have the form df with f a holomorphic function and since the real part of a holomorphic function is harmonic, harmonic 1-forms locally have the form dh with h a harmonic function. Conversely if ω$_1$ can be written in this way locally, d∗ω$_1$ = d∗dh = (h$_{xx}$ + h$_{yy}$) dx∧dy so that h is harmonic.
Remark. The definition of harmonic functions and 1-forms is intrinsic and only relies on the underlying Riemann surface structure. If, however, a conformal metric is chosen on the Riemann surface, the adjoint d* of d can be defined and the Hodge star operation extended to functions and 2-forms. The Hodge Laplacian can be defined on k-forms as ∆$_k$ = dd* +d*d and then a function f or a 1-form ω is harmonic if and only if it is annihilated by the Hodge Laplacian, i.e. ∆$_0$f = 0 or ∆$_1$ω = 0. The metric structure, however, is not required for the application to the uniformization of simply connected or planar Riemann surfaces.

## Sobolev spaces on T$^2$

The theory of Sobolev spaces on T$^2$ can be found in Bers, John & Schechter (1979), an account which is followed in several later textbooks such as Warner (1983) and Griffiths & Harris (1994). It provides an analytic framework for studying function theory on the torus C/Z+i Z = R$^2$ / Z$^2$ using Fourier series, which are just eigenfunction expansions for the Laplacian –∂$^2$/∂x$^2$ –∂$^2$/∂y$^2$. The theory developed here essentially covers tori C / Λ where Λ is a lattice in C. Although there is a corresponding theory of Sobolev spaces on any compact Riemann surface, it is elementary in this case, because it reduces to harmonic analysis on the compact Abelian group T$^2$. Classical approaches to Weyl's lemma use harmonic analysis on the non-compact Abelian group C = R$^2$, i.e. the methods of Fourier analysis, in particular convolution operators and the fundamental solution of the Laplacian.
Let T$^2$ = {(e$^{ix}$,e$^{iy}$: x, y ∊ [0,2π)} = R$^2$/Z$^2$ = C/Λ where Λ = Z + i Z. For λ = m + i n ≅ (m,n) in Λ, set e$_λ$ (x,y) = e$^{i(mx+ny)}$. Furthermore, set D$_x$ = −i∂/∂x and D$_y$ = −i∂/∂y. For α = (p,q) set D$^α$ =(D$_x$)$^p$ (D$_y$)$^q$, a differential operator of total degree |α| = p + q. Thus D$^α$e$_λ$ = λ$^α$ e$_λ$, where λ$^α$ =m$^p$n$^q$. The (e$_λ$) form an orthonormal basis in C(T$^2$) for the inner product (f,g) = (2π)$^{−2}$∬ f(x,y) g(x,y) dx dy, so that (Σ a$_λ$ e$_λ$, Σ b$_μ$ e$_μ$) = Σ a$_λ$b$_λ$.
For f in C$^∞$(T'$^2$) and k an integer, define the kth Sobolev norm by
    $\|f\|_{(k)}=\left(\sum |{\widehat {f}}(\lambda )|^{2}(1+|\lambda |^{2})^{k}\right)^{1/2}.$
The associated inner product
    $\displaystyle {(f,g)_{(k)}=\sum {\widehat {f}}(\lambda ){\overline {{\widehat {g}}(\lambda )}}(1+|\lambda |^{2})^{k}}$
makes C$^∞$(T$^2$) into an inner product space. Let H$_k$(T$^2$) be its Hilbert space completion. It can be described equivalently as the Hilbert space completion of the space of trigonometric polynomials—that is finite sums (Σ a$_λ$ e$_λ$—with respect to the kth Sobolev norm, so that H$_k$(T$^2$) = {Σ a$_λ$ e$_λ$ : Σ |a$_λ$|$^2$(1 + |λ|$^2$)$^k$ < ∞} with inner product
    (Σ a$_λ$ e$_λ$, Σ b$_μ$ e$_μ$)$_{(k)}$ = Σ a$_λ$b$_λ$ (1 + |λ|$^2$)$^k$.
As explained below, the elements in the intersection H$_∞$(T$^2$) = $\cap$ H$_k$(T$^2$) are exactly the smooth functions on T$^2$; elements in the union H$_{−∞}$(T$^2$) = $\cup$ H$_k$(T$^2$) are just distributions on T$^2$ (sometimes referred to as "periodic distributions" on R$^2$).
The following is a (non-exhaustive) list of properties of the Sobolev spaces.
* Differentiability and Sobolev spaces. C$^k$(T$^2$) ⊂ H$_k$(T$^2$) for k ≥ 0 since, using the binomial theorem to expand (1 + |λ|$^2$)$^k$,
       $\displaystyle {\|f\|_{(k)}^{2}=\sum _{|\alpha |\leq k}{k \choose \alpha }\|D^{\alpha }f\|^{2}\leq C\cdot \sup _{|\alpha |\leq k}|D^{\alpha }f|^{2}.}$
* Differential operators. D$^α$ H$_k$(T$^2$) ⊂ H$_{k−|α|}$(T$^2$) and D$^α$ defines a bounded linear map from H$_k$(T$^2$) to H$_{k−|α|}$(T$^2$). The operator I + Δ defines a unitary map of H$_{k+2}$(T$^2$) onto H$_k$(T$^2$); in particular (I + Δ)$^k$ defines a unitary map of H$_k$(T$^2$) onto H$_{−k}$(T$^2$) for k ≥ 0.
       The first assertions follow because D$^α$ e$_λ$ = λ$^α$ e$_λ$ and |λ$^α$| ≤ |λ|$^{|α|}$ ≤ (1 + |λ|$^2$)$^{|α|/2}$. The second assertions follow because I + Δ acts as multiplication by 1 + |λ|$^2$ on e$_λ$.
* Duality. For k ≥ 0, the pairing sending f, g to (f,g) establishes a duality between H$_k$(T$^2$) and H$_{−k}$(T$^2$).
       This is a restatement of the fact that (I + Δ)$^k$ establishes a unitary map between these two spaces, because (f,g) = ((I + Δ)$^k$f,g)$_{(−k)}$.
* Multiplication operators. If h is a smooth function then multiplication by h defines a continuous operator on H$_k$(T$^2$).
       For k ≥ 0, this follows from the formula for ||f||$^2$ $_{(k)}$ above and the Leibniz rule. Continuity for H$_{−k}$(T$^2$) follows by duality, since (f,hg) = (hf,g).
* Sobolev spaces and differentiability (Sobolev's embedding theorem). For k ≥ 0, H$_{k+2}$(T$^2$) ⊂ C$^k$(T$^2$) and sup$_{|α|≤k}$ |D$^α$f| ≤ C$_k$ ⋅ ||f||$_{(k+2)}$.
       The inequalities for trigonometric polynomials imply the containments. The inequality for k = 0 follows from
          $\sup \left|\sum a_{\lambda }e_{\lambda }\right|\leq \left(\sum (1+|\lambda |^{2})^{-2}\right)^{1/2}\cdot \sum |a_{\lambda }|\leq \left(\sum |a_{\lambda }|^{2}(1+|\lambda |^{2})^{2}\right)^{1/2}=\left(\sum (1+|\lambda |^{2})^{-2}\right)^{1/2}\cdot \left\|\sum a_{\lambda }e_{\lambda }\right\|_{(2)},$
       by the Cauchy-Schwarz inequality. The first term is finite by the integral test, since ∬$_C$ (1 + |z|$^2$)$^{−2}$ dx dy = 2π ∫$^∞$ $_0$ (1 + r$^2$)$^{−2}$ r dr < ∞ using polar coordinates. In general if |α| ≤ k, then |sup D$^α$f| ≤ C$_0$ ||D$^α$f||$_2$ ≤ C$_0$ ⋅ C$_α$ ⋅ ||f||$_{k+2}$ by the continuity properties of D$^α$.
* Smooth functions. C$^∞$(T$^2$) = $\cap$ H$_k$(T$^2$) consists of Fourier series Σ a$_λ$ e$_λ$ such that for all k > 0, (1 + |λ|$^2$)$^k$ |a$_λ$| tends to 0 as |λ| tends to ∞, i.e. the Fourier coefficients a$_λ$ are of "rapid decay".
       This is an immediate consequence of the Sobolev embedding theorem.
* Inclusion maps (Rellich's compactness theorem). If k > j, the space H$_k$(T$^2$) is a subspace of H$_j$(T$^2$) and the inclusion H$_k$(T$^2$) $\rightarrow$ H$_j$(T$^2$) is compact.
       With respect to the natural orthonormal bases, the inclusion map becomes multiplication by (1 + |λ|$^2$)$^{−(k−j)/2}$. It is therefore compact because it is given by a diagonal matrix with diagonal entries tending to zero.
* Elliptic regularity (Weyl's lemma). Suppose that f and u in H$_{−∞}$(T$^2$) = $\cup$ H$_k$(T$^2$) satisfy ∆u = f. Suppose also that ψ f is a smooth function for every smooth function ψ vanishing off a fixed open set U in T$^2$; then the same is true for u. (Thus if f is smooth off U, so is u.)
       By the Leibniz rule Δ(ψu) = (Δψ) u + 2(ψ$_x$u$_x$ + ψ$_y$u$_y$) + ψ Δu, so ψu = (I + Δ)$^{−1}$[ψu + (Δψ) u + 2(ψ$_x$u$_x$ + ψ$_y$u$_y$) + ψf]. If it is known that φu lies in H$_k$(T$^2$) for some k and all φ vanishing off U, then differentiating shows that φu$_x$ and φu$_y$ lie in H$_{k−1}$(T$^2$). The square-bracketed expression therefore also lies in H$_{k−1}$(T$^2$). The operator (I + Δ)$^{−1}$ carries this space onto H$_{k+1}$(T$^2$), so that ψu must lie in H$_{k+1}$(T$^2$). Continuing in this way, it follows that ψu lies in $\cap$ H$_k$(T$^2$) = C$^∞$(T$^2$).
* Hodge decomposition on functions. H$_0$(T$^2$) = ∆ H$_2$(T$^2$) $\oplus$ ker ∆ and C$^∞$(T$^2$) = ∆ C$^∞$(T$^2$) $\oplus$ ker ∆.
       Identifying H$_2$(T$^2$) with L$^2$(T$^2$) = H$_0$(T$^2$) using the unitary operator I + Δ, the first statement reduces to proving that the operator T = ∆(I + Δ)$^{−1}$ satisfies L$^2$(T$^2$) = im T $\oplus$ ker T. This operator is bounded, self-adjoint and diagonalized by the orthonormal basis e$_λ$ with eigenvalue |λ|$^2$(1 + |λ|$^2$)$^{−1}$. The operator T has kernel C e$_0$ (the constant functions) and on (ker T)$^⊥$ = im T it has a bounded inverse given by S e$_λ$ = |λ|$^{−2}$(1 + |λ|$^2$) e$_λ$ for λ ≠ 0. So im T must be closed and hence L$^2$(T$^2$) = (ker T)$^⊥$ $\oplus$ ker T = im T $\oplus$ ker T. Finally if f = ∆g + h with f in C$^∞$(T$^2$), g in H$_2$(T$^2$) and h constant, g must be smooth by Weyl's lemma.
* Hodge theory on T$^2$. Let Ω$^k$(T$^2$) be the space of smooth k-forms for 0 ≤ k ≤ 2. Thus Ω$^0$(T$^2$) = C$^∞$(T$^2$), Ω$^1$(T$^2$) = C$^∞$(T$^2$) dx $\oplus$ C$^∞$(T$^2$) dy and Ω$^2$(T$^2$) = C$^∞$(T$^2$) dx ∧ dy. The Hodge star operation is defined on 1-forms by ∗(p dx + q dy) = −q dx + p dy. This definition is extended to 0-forms and 2-forms by *f = f dx ∧ dy and *(g dx ∧ dy) = g. Thus ** = (−1)$^k$ on k-forms. There is a natural complex inner product on Ω$^k$(T$^2$) defined by
       $\displaystyle {(\alpha ,\beta )=\int _{{\mathbf {T} }^{2}}\alpha \wedge \star {\overline {\beta }}.}$
    Define δ = −∗d∗. Thus δ takes Ω$^k$(T$^2$) to Ω$^{k−1}$(T$^2$), annihilating functions; it is the adjoint of d for the above inner products, so that δ = d*. Indeed by the Green-Stokes formula
       $\displaystyle {(d\alpha ,\beta )=\int d\alpha \wedge \star {\overline {\beta }}=\int d\alpha \wedge \star {\overline {\beta }}-\int d(\alpha \wedge \star {\overline {\beta }})=(-1)^{\partial \alpha }\int \alpha \wedge d\star {\overline {\beta }}=\int \alpha \wedge \star {\overline {\delta \beta }}=(\alpha ,\delta \beta ).}$
    The operators d and δ = d* satisfy d$^2$ = 0 and δ$^2$ = 0. The Hodge Laplacian on k-forms is defined by ∆$_k$ = (d + d*)$^2$ = dd* + d*d. From the definition ∆$_0$ f = ∆f. Moreover ∆$_1$(p dx+ q dy) = (∆p) dx + (∆q) dy and ∆$_2$(f dx∧dy) = (∆f)dx∧dy. This allows the Hodge decomposition to be generalised to include 1-forms and 2-forms:
* Hodge theorem. Ω$^k$(T$^2$) = ker d $\cap$ ker d∗ $\oplus$ im d $\oplus$ im ∗d = ker d $\cap$ ker d* $\oplus$ im d $\oplus$ im d*. In the Hilbert space completion of Ω$^k$(T$^2$) the orthogonal complement of im d $\oplus$ im ∗d is ker d $\cap$ ker d∗, the finite-dimensional space of harmonic k-forms, i.e. the constant k-forms. In particular in Ω$^k$(T$^2$) , ker d / im d = ker d $\cap$ ker d*, the space of harmonic k-forms. Thus the de Rham cohomology of T$^2$ is given by harmonic (i.e. constant) k-forms.
       From the Hodge decomposition on functions, Ω$^k$(T$^2$) = ker ∆$_k$ $\oplus$ im ∆$_k$. Since ∆$_k$ = dd* + d*d, ker ∆$_k$ = ker d $\cap$ ker d*. Moreover im (dd* + d*d) ⊊ im d $\oplus$ im d*. Since ker d $\cap$ ker d* is orthogonal to this direct sum, it follows that Ω$^k$(T$^2$) = ker d $\cap$ ker d* $\oplus$ im d $\oplus$ im d*. The last assertion follows because ker d contains ker d $\cap$ ker d* $\oplus$ im d and is orthogonal to im d* = im ∗d.

## Hilbert space of 1-forms

In the case of the compact Riemann surface C / Λ, the theory of Sobolev spaces shows that the Hilbert space completion of smooth 1-forms can be decomposed as the sum of three pairwise orthogonal spaces, the closure of exact 1-forms df, the closure of coexact 1-forms ∗df and the harmonic 1-forms (the 2-dimensional space of constant 1-forms). The method of orthogonal projection of Weyl (1940) puts Riemann's approach to the Dirichlet principle on sound footing by generalizing this decomposition to arbitrary Riemann surfaces.
If X is a Riemann surface Ω$^1$ $_c$(X) denote the space of continuous 1-forms with compact support. It admits the complex inner product
    $\displaystyle {(\alpha ,\beta )=\int _{X}\alpha \wedge \star {\overline {\beta }},}$
for α and β in Ω$^1$ $_c$(X). Let H denote the Hilbert space completion of Ω$^1$ $_c$(X). Although H can be interpreted in terms of measurable functions, like Sobolev spaces on tori it can be studied directly using only elementary functional analytic techniques involving Hilbert spaces and bounded linear operators.
Let H$_1$ denote the closure of d C$^∞$ $_c$(X) and H$_2$ denote the closure of ∗d C$^∞$ $_c$(X). Since (df,∗dg) = ∫$_X$ df ∧ dg = ∫$_X$ d (f dg) = 0, these are orthogonal subspaces. Let H$_0$ denote the orthogonal complement (H$_1$ $\oplus$ H$_2$)$^⊥$ = H$^⊥$ $_1$ $\cap$ H$^⊥$ $_2$.
Theorem (Hodge−Weyl decomposition). H = H$_0$ $\oplus$ H$_1$ $\oplus$ H$_2$. The subspace H$_0$ consists of square integrable harmonic 1-forms on X, i.e. 1-forms ω such that dω = 0, d∗ω = 0 and ||ω||$^2$ = ∫$_X$ ω ∧ ∗ω < ∞.
* Every square integrable continuous 1-form lies in H.
       The space of continuous 1-forms of compact support is contained in the space of square integrable continuous 1-forms. They are both inner product spaces for the above inner product. So it suffices to show that any square integrable continuous 1-form can be approximated by continuous 1-forms of compact support. Let ω be a continuous square integrable 1-form, Thus the positive density Ω = ω ∧ ∗ω is integrable and there are continuous functions of compact support ψ$_n$ with 0 ≤ ψ$_n$ ≤ 1 such that ∫$_X$ ψ$_n$ Ω tends to ∫$_X$ Ω = ||ω||$^2$. Let φ$_n$ = 1 − (1 − ψ$_n$)$^{1/2}$, a continuous function of compact support with 0 ≤ φ$_n$ ≤ 1. Then ω$_n$ = φ$_n$ ⋅ ω tends to ω in H, since ||ω − ω$_n$||$^2$ = ∫$_X$ (1 − ψ$_n$) Ω tends to 0.
* If ω in H is such that ψ ⋅ ω is continuous for every ψ in C$_c$(X), then ω is a square integrable continuous 1-form.
       Note that the multiplication operator m(φ) given by m(φ)α = φ ⋅ α for φ in C$_c$(X) and α in Ω$^1$ $_c$(X) satisfies ||m(φ)α|| ≤ ||φ||$_∞$ ||α||, where ||φ||$_∞$ = sup |φ|. Thus m(φ) defines a bounded linear operator with operator norm ||m(φ)|| ≤ ||φ||$_∞$. It extends continuously to a bounded linear operator on H with the same operator norm. For every open set U with compact closure, there is a continuous function φ of compact support with 0 ≤ φ ≤ 1 with φ ≅ 1 on U. Then φ ⋅ ω is continuous on U so defines a unique continuous form ω$_U$ on U. If V is another open set intersecting U, then ω$_U$ = ω$_V$ on U $\cap$ V: in fact if z lies in U $\cap$ V and ψ in C$_c$(U $\cap$ V) ⊂ C$_c$(X) with ψ = 1 near z, then ψ ⋅ ω$_U$ = ψ ⋅ ω = ψ ⋅ ω$_V$, so that ω$_U$ = ω$_V$ near z. Thus the ω$_U$'s patch together to give a continuous 1-form ω$_0$ on X. By construction, ψ ⋅ ω = ψ ⋅ ω$_0$ for every ψ in C$_c$(X). In particular for φ in C$_c$(X) with 0 ≤ φ ≤ 1, ∫ φ ⋅ ω$_0$ ∧ ∗ω$_0$ = ||φ$^{1/2}$ ⋅ ω$_0$||$^2$ = ||φ$^{1/2}$ ⋅ ω||$^2$ ≤ ||ω||$^2$. So ω$_0$ ∧ ∗ω$_0$ is integrable and hence ω$_0$ is square integrable, so an element of H. On the other hand ω can be approximated by ω$_n$ in Ω$^1$ $_c$(X). Take ψ$_n$ in C$_c$(X) with 0 ≤ ψ$_n$ ≤ 1 with ψ$_n$ ⋅ ω$_n$ = ω$_n$. Since real-valued continuous functions are closed under lattice operations. it can further be assumed that ∫ ψ$^2$ $_n$ ω$_0$ ∧ ∗ω$_0$, and hence ∫ ψ$_n$ ω$_0$ ∧ ∗ω$_0$, increase to ||ω$_0$||$^2$. But then ||ψ$_n$ ⋅ ω − ω|| and ||ψ$_n$ ⋅ ω$_0$ − ω$_0$|| tend to 0. Since ψ$_n$ ⋅ ω = ψ$_n$ ⋅ ω$_0$, this shows that ω = ω$_0$.
* Every square integrable harmonic 1-form ω lies in H$_0$.
       This is immediate because ω lies in H and, for f a smooth function of compact support, (df,ω) = ∫$_X$ df ∧ ∗ω = −∫$_X$ f d∗ω = 0 and (∗df,ω) = ∫$_X$ df ∧ ω = − ∫$_X$ f dω = 0.
* Every element of H$_0$ is given by a square integrable harmonic 1-form.
       Let ω be an element of H$_0$ and for fixed p in X fix a chart U in X containing p which is conformally equivalent by a map f to a disc D ⊂ T$^2$ with f(0) = p. The identification map from Ω$^1$ $_c$(U) onto Ω$^1$ $_c$(D) and hence into Ω$^1$(T$^2$) preserves norms (up to a constant factor). Let K be the closure of Ω$^1$ $_c$(U) in H. Then the above map extends uniquely to an isometry T of K into H$_0$(T$^2$)dx $\oplus$ H$_0$(T$^2$)dy. Moreover if ψ is in C$^∞$ $_c$(U) then T m(ψ) = m(ψ ∘ f) T. The identification map T is also compatible with d and the Hodge star operator. Let D$_1$ be a smaller concentric disk in T$^2$ and set V = f(V). Take φ in C$^∞$ $_c$(U) with φ ≡ 1 on V. Then (m(φ) ω,dh) = 0 = (m(φ) ω,∗dh) for h in C$^∞$ $_c$(V). Hence, if ω$_1$ = m(φ)ω and ω$_2$ = T(ω$_1$), then (ω$_2$, dg) = 0 = (ω$_2$, ∗dg) for g in C$^∞$ $_c$(D$_1$).
       Write ω$_2$ = a dx + b dy with a and b in H$_0$(T$^2$). The conditions above imply (dω$_1$, ∗g) = 0 = (d∗ ω$_1$, ∗g). Replacing ∗g by dω$_3$ with ω$_3$ a smooth 1-form supported in D$_1$, it follows that ∆$_1$ ω$_2$ = 0 on D$_1$. Thus ∆a = 0 = ∆b on D$_1$. Hence by Weyl's lemma, a and b are harmonic on D$_1$. In particular both of them, and hence ω$_2$, are smooth on D$_1$; and dω$_2$ = 0 = d∗ω$_2$ on D$_1$. Transporting these equations back to X, it follows that ω$_1$ is smooth on V and dω$_1$ = 0 = d∗ω$_1$ on V. Since ω$_1$ = m(φ)ω and p was an arbitrary point, this implies in particular that m(ψ)ω is continuous for every ψ in C$_c$(X). So ω is continuous and square integrable.
       But then ω is smooth on V and dω = 0 = d∗ω on V. Again since p was arbitrary, this implies ω is smooth on X and dω = 0 = d∗ω on X, so that ω is a harmonic 1-form on X.
From the formulas for the Dolbeault operators $\partial$ and ${\bar {\partial }}$, it follows that
    $\displaystyle {dC_{c}^{\infty }(X)\oplus *dC_{c}^{\infty }(X)=\partial C_{c}^{\infty }(X)\oplus {\overline {\partial }}C_{c}^{\infty }(X),}$
where both sums are orthogonal. The two subspaces in the second sum correspond to the ±i eigenspaces of the Hodge ∗ operator. Denoting their closures by H$_3$ and H$_4$, it follows that H$^⊥$ $_0$ = H$_3$ ⊕ H$_4$ and that these subspaces are interchanged by complex conjugation. The smooth 1-forms in H$_1$, H$_2$, H$_3$ or H$_4$ have a simple description.
* A smooth 1-form in H$_1$ has the form df for f smooth.
* A smooth 1-form in H$_2$ has the form ∗df for f smooth.
* A smooth 1-form in H$_3$ has the form $\partial$f for f smooth.
* A smooth 1-form in H$_3$ has the form ${\bar {\partial }}$f for f smooth.
       In fact, in view of the decompositions of H$^⊥$ $_0$ and its invariance under the Hodge star operation, it suffices to prove the first of these assertions. Since H$_1$ is invariant under complex conjugation, it may be assumed that α is a smooth real 1-form in H$_1$. It is therefore a limit in H$_1$ of forms df$_n$ with f$_n$ smooth of compact support. The 1-form α must be closed since, for any real-valued f in C$^∞$ $_c$(X),
          $\int _{X}f\,d\alpha =-\int _{X}df\wedge \alpha =(\alpha ,*df)=0,$
       so that dα = 0. To prove that α is exact it suffices to prove that ∫$_X$ α ∧ ∗β = 0 for any smooth closed real 1-form β of compact support. But by Green's formula
          $\int _{X}\alpha \wedge \star \beta =(\alpha ,\beta )=\lim(df_{n},\beta )=\lim \int _{X}df_{n}\wedge \beta =\lim \int _{X}d(f_{n}\beta )=0.$
The above characterisations have an immediate corollary:
* A smooth 1-form α in H$^⊥$ $_0$ can be decomposed uniquely as α = da + ∗db = ∂f + ∂g, with a, b, f and g smooth and all the summands square integrable.
Combined with the previous Hodge–Weyl decomposition and the fact that an element of H$_0$ is automatically smooth, this immediately implies:
Theorem (smooth Hodge–Weyl decomposition). If α is a smooth square integrable 1-form then α can be written uniquely as α = ω + da + *db = ω + ∂f + ∂g with ω harmonic, square integrable and a, b, f, g smooth with square integrable differentials.

## Holomorphic 1-forms with a double pole

The following result—reinterpreted in the next section in terms of harmonic functions and the Dirichlet principle—is the key tool for proving the uniformization theorem for simply connected, or more generally planar, Riemann surfaces.
Theorem. If X is a Riemann surface and P is a point on X with local coordinate z, there is a unique holomorphic differential 1-form ω with a double pole at P, so that the singular part of ω is z$^{−2}$dz near P, and regular everywhere else, such that ω is square integrable on the complement of a neighbourhood of P and the real part of ω is exact on X \ {P}.
The double pole condition is invariant under holomorphic coordinate change z $\mapsto$ z + az$^2$ + ⋯. There is an analogous result for poles of order greater than 2 where the singular part of ω has the form z$^{–k}$dz with k > 2, although this condition is not invariant under holomorphic coordinate change.
       To prove uniqueness, note that if ω$_1$ and ω$_2$ are two solutions then their difference ω = ω$_1$ − ω$_2$ is a square integrable holomorphic 1-form which is exact on X \ {P}. Thus near P, ω = f(z) dz with f holomorphic near z = 0. There is a holomorphic function g on X \ {P} such that ω = dg there. But then g must coincide with a primitive of f near z = 0, so that ω = dg everywhere. But then ω lies in H$_0$ ∩ H$_1$ = (0), i.e. ω = 0.
       To prove existence, take a bump function 0 ≤ ψ ≤ 1 in C$^∞$ $_c$(X) with support in a neighbourhood of P of the form |z| < ε and such that ψ ≡ 1 near P. Set
          $\alpha =-d\left({\psi (z) \over z}\right),$
       so that α equals z$^{–2}$dz near P, vanishes off a neighbourhood of P and is exact on X \ {P}. Let β = α − i∗α, a smooth (0,1) form on X, vanishing near z = 0, since it is a (1,0) form there, and vanishing off a larger neighbourhood of P. By the smooth Hodge−Weyl decomposition, β can be decomposed as β = ω$_0$ + da – i∗da with ω$_0$ a harmonic and square integrable (0,1) form and a smooth with square integrable differential. Now set γ = α – da = ω$_0$ + i∗α − i∗da and ω = Re γ + i∗ Re γ. Then α is exact on X \ {P}; hence so is γ, as well as its real part, which is also the real part of ω. Near P, the 1-form ω differs from z$^{–2}$dz by a smooth (1,0) form. It remains to prove that ${\bar {\partial }}$ω = 0 on X \ {P}; or equivalently that Re γ is harmonic on X \ {P}. In fact γ is harmonic on X \ {P}; for dγ = dα − d(da) = 0 on X \ {P} because α is exact there; and similarly d∗γ = 0 using the formula γ = ω$_0$ + i∗α − i∗da and the fact that ω$_0$ is harmonic.
Corollary of proof. If X is a Riemann surface and P is a point on X with local coordinate z, there is a unique real-valued 1-form δ which is harmonic on X \ {P} such that δ – Re z$^{−2}$dz is harmonic near z = 0 (the point P) such that δ is square integrable on the complement of a neighbourhood of P. Moreover, if h is any real-valued smooth function on X with dh square integrable and h vanishing near P, then (δ,dh) = 0.
       Existence follows by taking δ = Re γ = Re ω above. Since ω = δ + i∗δ, the uniqueness of ω implies the uniqueness of δ. Alternatively if δ$_1$ and δ$_2$ are two solutions, their difference η = δ$_1$ – δ$_2$ has no singularity at P and is harmonic on X \ {P}. It is therefore harmonic in a neighbourhood of P and therefore everywhere. So η lies in H$_0$. But also η is exact on X \ P and hence on the whole of X, so it also lies in H$_1$. But then it must lie in H$_0$ ∩ H$_1$ = (0), so that η = 0. Finally, if N is the closure of a neighbourhood of P disjoint from the support of h and Y = X \ N, then δ|$_Y$ lies in H$_0$(Y) and dh lies in the space H$_1$(Y) so that
          $(\delta ,dh)=\int _{X}\delta \wedge \star dh=\int _{Y}\delta \wedge \star dh=(\delta |_{Y},dh)_{Y}=0.$

## Dirichlet's principle on a Riemann surface

Theorem. If X is a Riemann surface and P is a point on X with local coordinate z, there is a unique real-valued harmonic function u on X \ {P} such that u(z) – Re z$^{−1}$ is harmonic near z = 0 (the point P) such that du is square integrable on the complement of a neighbourhood of P. Moreover, if h is any real-valued smooth function on X with dh square integrable and h vanishing near P, then (du,dh)=0.
       In fact this result is immediate from the theorem and corollary in the previous section. The harmonic form δ constructed there is the real part of a holomorphic form ω = dg where g is holomorphic function on X with a simple pole at P with residue -1, i.e. g(z) = –z$^{−1}$ + a$_0$ + a$_1$z + a$_2$ z$^2$ + ⋯ near z = 0. So u = - Re g gives a solution with the claimed properties since δ = −du and hence (du,dh) = −(δ,dh) = 0.
This result can be interpreted in terms of Dirichlet's principle. Let D$_R$ be a parametric disk |z| < R about P (the point z = 0) with R > 1. Let α = −d(ψz$^{−1}$), where 0 ≤ ψ ≤ 1 is a bump function supported in D = D$_1$, identically 1 near z = 0. Let α$_1$ = −χ$_D$(z) Re d(z$^{−1}$) where χ$_D$ is the characteristic function of D. Let γ= Re α and γ$_1$ = Re α$_1$. Since χ$_D$ can be approximated by bump functions in L$^2$, γ$_1$ − γ lies in the real Hilbert space of 1-forms Re H; similarly α$_1$ − α lies in H. Dirichlet's principle states that the distance function
    F(ξ) = ||γ$_1$ − γ – ξ||
on Re H$_1$ is minimised by a smooth 1-form ξ$_0$ in Re H$_1$. In fact −du coincides with the minimising 1-form: γ + ξ$_0$ = −du.
This version of Dirichlet's principle is easy to deduce from the previous construction of du. By definition ξ$_0$ is the orthogonal projection of γ$_1$ – γ onto Re H$_1$ for the real inner product Re (η$_1$,η$_2$) on H, regarded as a real inner product space. It coincides with the real part of the orthogonal projection ω$_1$ of α$_1$ – α onto H$_1$ for the complex inner product on H. Since the Hodge star operator is a unitary map on H swapping H$_1$ and H$_2$, ω$_2$ = ∗ω$_1$ is the orthogonal projection of ∗(α$_1$ – α) onto H$_2$. On the other hand, ∗α$_1$ = −i α$_1$, since α is a (1,0) form. Hence
    (α$_1$ – α) − i∗(α$_1$ – α) = ω$_0$ + ω$_1$ + ω$_2$,
with ω$_k$ in H$_k$. But the left hand side equals –α + i∗α = −β, with β defined exactly as in the preceding section, so this coincides with the previous construction.
Further discussion of Dirichlet's principle on a Riemann surface can be found in Hurwitz & Courant (1929), Ahlfors (1947), Courant (1950), Schiffer & Spencer (1954), Pfluger (1957) and Ahlfors & Sario (1960).
Historical note. Weyl (1913) proved the existence of the harmonic function u by giving a direct proof of Dirichlet's principle. In Weyl (1940), he presented his method of orthogonal projection which has been adopted in the presentation above, following Springer (1957), but with the theory of Sobolev spaces on T$^2$ used to prove elliptic regularity without using measure theory. In the expository texts Weyl (1955) and Kodaira (2007), both authors avoid invoking results on measure theory: they follow Weyl's original approach for constructing harmonic functions with singularities via Dirichlet's principle. In Weyl's method of orthogonal projection, Lebesgue's theory of integration had been used to realise Hilbert spaces of 1-forms in terms of measurable 1-forms, although the 1-forms to be constructed were smooth or even analytic away from their singularity. In the preface to Weyl (1955), referring to the extension of his method of orthogonal projection to higher dimensions by Kodaira (1949), Weyl writes:
       "Influenced by Kodaira's work, I have hesitated a moment as to whether I should not replace the Dirichlet principle by the essentially equivalent "method of orthogonal projection" which is treated in a paper of mine. But for reasons the explication of which would lead too far afield here, I have stuck to the old approach."
In Kodaira (2007), after giving a brief exposition of the method of orthogonal projection and making reference to Weyl's writings, Kodaira explains:
       "I first planned to prove Dirichlet's Principle using the method of orthogonal projection in this book. However, I did not like to have to use the concept of Lebesgue measurability only for the proof of Dirichlet's Principle and therefore I rewrote it in such a way that I did not have to."
The methods of Hilbert spaces, L$^p$ spaces and measure theory appear in the non-classical theory of Riemann surfaces (the study of moduli spaces of Riemann surfaces) through the Beltrami equation and Teichmüller theory.

## Holomorphic 1-forms with two single poles

Theorem. Given a Riemann surface X and two distinct points A and B on X, there is a holomorphic 1-form on X with simple poles at the two points with non-zero residues having sum zero such that the 1-form is square integrable on the complement of any open neighbourhoods of the two points.
The proof is similar to the proof of the result on holomorphic 1-forms with a single double pole. The result is first proved when A and B are close and lie in a parametric disk. Indeed, once this is proved, a sum of 1-forms for a chain of sufficiently close points between A and B will provide the required 1-form, since the intermediate singular terms will cancel. To construct the 1-form for points corresponding to a and b in a parametric disk, the previous construction can be used starting with the 1-form
    $\alpha =d\left(\psi (z)\log {z-a \over z-b}\right),$
which locally has the form
    ${dz \over z-a}-{dz \over z-b}.$

## Poisson equation

Theorem (Poisson equation). If Ω is a smooth 2-form of compact support on a Riemann surface X, then Ω can be written as Ω = ∆f where f is a smooth function with df square integrable if and only if ∫$_X$ Ω = 0.
       In fact, Ω can be written as Ω = dα with α a smooth 1-form of compact support: indeed, using partitions of unity, this reduces to the case of a smooth 2-form of compact support on a rectangle. Indeed Ω can be written as a finite sum of 2-forms each supported in a parametric rectangle and having integral zero. For each of these 2-forms the result follows from Poincaré's lemma with compact support. Writing α = ω + da + *db, it follows that Ω = d*db = ∆b.
In the case of the simply connected Riemann surfaces C, D and S= C ∪ ∞, the Riemann surfaces are symmetric spaces G / K for the groups G = R$^2$, SL(2,R) and SU(2). The methods of group representation theory imply the operator ∆ is G-invariant, so that its fundamental solution is given by right convolution by a function on K \ G / K. Thus in these cases Poisson's equation can be solved by an explicit integral formula. It is easy to verify that this explicit solution tends to 0 at ∞, so that in the case of these surfaces there is a solution f tending to 0 at ∞. Donaldson (2011) proves this directly for simply connected surfaces and uses it to deduce the uniformization theorem.