TITLE: Explicit Hodge decomposition on $T^2$
QUESTION [12 upvotes]: Given a general compact Riemann manifold $(M,g)$, we have the well-known Hodge decomposition
$$
\Omega^*(M)\cong d\Omega^*(M) \oplus \delta\Omega^*(M)\oplus \mathcal H_{\Delta}(M)
$$
where $\delta$ is the dual of $d$ with respect to the metric and $\mathcal H_{\Delta}(M)$ is the solution space of Laplacian equation $\Delta\alpha=0$, i.e. the space of harmonic forms.

Question: So far, I can only theoretically understand this decomposition. That is, we know the existence of such decomposition, but I was wondering if we can get some intuition about it by finding some explicit decomposition.
Now, we equip the torus $T^2$ with the flat metric $g$ induced from $\mathbb R^2\to \mathbb R^2/\mathbb Z^2\equiv T^2$. Let $\alpha= f(x_1,x_2)dx_1+g(x_1,x_2)dx_2$ be an arbitrary one-form. Can we write down explicitly the Hodge decomposition of $\alpha$ with respect to the flat metric?

REPLY [9 votes]: $\def\RR{\mathbb{R}}\def\ZZ{\mathbb{Z}}$This basically comes down to inverting the Laplacian, which is done by the Green's function. Inverting the Laplacian came up in Ted Shifrin's solution, but I want to write an answer that emphasizes it.
We have
$$(d d^{\ast} + d^{\ast} d) (a_1 (x_1, x_2) dx_1 + a_2(x_1,x_2) dx_2) = \nabla^2(a_1) dx_1 + \nabla^2(a_2) dx_2.$$
Here
$$\nabla^2 = \left( \frac{\partial}{\partial x_1} \right)^2 + \left( \frac{\partial}{\partial x_2} \right)^2.$$
Given a function $h(x_1, x_2)$ on $T^2$, can we find $c(x_1, x_2)$ on $T^2$ with $\nabla^2(c) = h$? Not necessarily, because $\int_{T^2} \nabla^2(c)$ will always be zero. But it turns out that this is the only obstacle, and that we can write down solutions in terms of the Green's function of the torus. This is a function $G(x_1, x_2, y_1, y_2)$ on $(T^2 \times T^2) \setminus (\mathrm{diagonal})$ with the property that
$$\nabla^2 \int_{(x_1, x_2) \in T^2} G(x_1, x_2, y_1, y_2) h(x_1, x_2) = h(y_1, y_2) -  \frac{1}{\mathrm{Vol}(T^2)} \int_{(x_1, x_2) \in T^2} h(x_1, x_2) .$$
I'm probably going to drop some scalar factors here, but the Green's function of a torus is given explicitly by something like
$$G(x_1, x_2, y_1, y_2) = \sum_{(n_1, n_2) \in \mathbb{Z}^2 \setminus \{ (0,0) \}} 
\frac{\cos {\big (}n_1 (x_1-y_1)+n_2(x_2-y_2){\big )}}{n_1^2+n_2^2}.$$
It can also be expressed in terms of Jacobi theta functions.
So, given any $1$-form $f_1 dx_1 + f_2 dx_2$, use the Green's function to find $a_j$ with
$$\nabla^2 (a_j) = f_j - \frac{1}{\mathrm{Vol}(T^2)} \int_{T^2} f_j.$$
Then
$$f_j dx_j  = \left( \frac{1}{\mathrm{Vol}(T^2)}  \int_{T^2} f_j \right) dx_j + d d^{\ast}  \left(a_j dx_j \right) + d^{\ast} d  \left(  a_j dx_j \right).$$
So we have "explicitly" written $f_j dx_j$ as the sum of a Harmonic form, an exact form and a co-exact form. Adding this up for $f_1$ and $f_2$, we have solved the problem.