# Towards de Rham Cohomology, Part I: Covector Fields

In vector calculus, we know that a vector field $V: U \to \R^3$ defined on an open subset $U \subseteq \R^3$ is called conservative if there exists $f \in C^1(U)$ such that

This kind of vector field is important since it (i) has zero curl (i.e. irrotational) and (ii) a line integral w.r.t. to this vector field is easy to compute. In term of dynamical systems, having zero (or less) curl could be beneficial since it can potentially converge to an equilibrium point faster.

Because of the reasons above, it is important to have an easy way to check whether a given vector field is conservative or not, other than proving that the function $f$ itself exists or not. In this article, we will see a more general view of these concepts on a smooth manifold and attempt to answer this question in this setting. Important ingredients for this are differential forms and de Rham cohomology groups.

We will begin by re-interpreting Euclidean vector fields as covector fields on smooth manifolds. We will then re-define the term ‘‘conservative’’ in this context. A necessary condition for a covector field to be conservative will then be presented. Finally, we will see that to identify a conservative covector field, one needs to take global topological properties of the manifold. This post can be seen as a summary of Lee’s smooth manifolds book [1] with additional notes from myself.

## Covector fields on smooth manifolds

For any smooth manifold $M$, the disjoint union

is called the ** cotangent bundle** of $M$ (see the notes on Riemannian geometry). A

**(also known as a differential 1-form) is a function $M \to T^*M$ defined by $p \mapsto \omega(p) \in T^*_pM$. That is, a covector field assigns at each point a covector in the cotangent space of that point. Covector fields is the dual of vector field: whereas vector fields can be thought as assigning each point of $M$ with an arrow, covector fields can be thought as assigning at each point of $M$ a function that “measure” arrows at that point.**

*covector field*One important application of covector fields is that they generalize the notion of gradient vector field in the Euclidean space to smooth manifolds. To see this, let $f \in C^\infty(M)$. We define a covector field $df$, called the ** differential of f**, by

for each point $p \in M$. That is, at each point $p$, the differential $df_p(v)$ is just the directional derivative of $f$ in the direction $v$. Given coordinates $(x^i) := (x^1, \dots, x^n)$, on an open subset $U \subseteq M$ of an $n$-dimensional manifold $M$, the differential $df$ is represented point-wise by

(Note we use the Einstein summation convention.) That is each component of $df_p$ is just the partial derivative of $f$ evaluated at $p$. Notice that this is the definition of the gradient in the Euclidean space. So, in general, a “vector” consisting of all partial derivative of a function is not a gradient, but a differential. And it is not a vector field either, but a covector field. This distinction is important if we are in the non-Euclidean setting.

## Line integrals

Another application of covector fields is for generalizing the notion of a line integral that we learn in calculus to smooth manifolds. If $M$ is a smooth manifold, we define a ** smooth curve segment** in $M$ by a continuous curve $\gamma: [a, b] \to M$ where $[a, b] \subset \R$ is a compact interval regarded as a smooth manifold with boundary. It is a

**if there exists a finite partition $a = a_0 < a_1 < \dots < a_k = b$ of $[a, b]$ such that the restriction $\gamma \vert_{[a_{i-1}, a_i]}$ is smooth for each $i$.**

*piecewise smooth curve segment*Suppose $\omega$ is a covector field on $M$ and $\gamma:[a, b] \to M$ is a smooth curve segment on $M$. The ** line integral of $\omega$ over $\gamma$** is the real number

Moreover, if $\gamma$ is piecewise smooth, then

In the case where the covector field $\omega$ is a differential $df$ of some real-valued function $f$ on $M$, the computation of the line integral is trivial. This result is known as *the fundamental theorem for line integrals*.

**Theorem 1 (Fundamental Theorem for Line Integrals).** *Let $M$ be a smooth manifold. Suppose $f$ is a smooth real-valued function on $M$ and $\gamma: [a, b] \to M$ is a piecewise smooth curve segment in $M$. Then*

*Proof.* By definition above,

Furthermore, we can show that

Since $(f \circ \gamma)’$ is the derivative of the real-valued function $f \circ \gamma$ on $[a, b]$, therefore, by the fundamental theorem of calculus, $\int_\gamma df = f\circ\gamma(b) - f\circ\gamma(a)$.

Since $\gamma$ is piecewise smooth, let $a = a_0 < \dots < a_k = b$ be the endpoints of the sub-intervals of $\gamma$ s.t. for each $i$, the restriction $\gamma \vert_{[a_{i-1}, a_i]}$ is smooth. Hence,

since in the summation, everything cancels out except the terms $-f \circ \gamma(a)$ and $f \circ \gamma(b)$.

$\square$

## Conservative covector fields

We say a smooth covector field $\omega$ on $M$ is ** exact** if there is a function $f \in C^\infty(M)$ such that $\omega = df$. Because of the theorem above, it is therefore important to be able to identify covector fields that are exact. In other words, we want to know both necessary and sufficient conditions for a covector field to be exact. The theorem above provides a hint: If $\gamma$ is a

**, i.e. $\gamma(a) = \gamma(b)$, then $\int_\gamma df = 0$ for any $f \in C^\infty(M)$. Formally, we say a covector field $\omega$ is**

*closed curve segment***if for every piecewise smooth closed curve $\gamma$, the line integral $\int_\gamma \omega$ is zero. The following result shows that conservativeness is equivalent to exactness.**

*conservative***Theorem 2.** *Let $M$ be a smooth manifold. A smooth covector field on $M$ is conservative if and only if it is exact.*

*Proof.* See [1], Theorem 11.42.

$\square$

There is a necessary condition for a covector field to be exact (and hence conservative). First we need another definition. A smooth covector field $\omega$ is ** closed** if its components in

*every*smooth chart satisfy

(Note that, in the Euclidean case, this implies that the Jacobian of $\omega$ is symmetric.)

**Proposition 3.** *Every exact covector field is closed.*

*Proof.* Let $\omega$ be an arbitrary exact covector field. Let $f \in C^\infty(M)$ s.t. $\omega = df$ and let $(U, (x^i))$ be any smooth chart on $M$. By Schwarz’s theorem, $f$ satisfies

on $U$. Furthermore, since $\omega = df$, its component $\omega_i$ is equal to $\partial f/ \partial x^i$ for all $i$, by the definition of $df$. Plugging it back to the previous equation, we have

Thus, $\omega$ is closed as required.

$\square$

Proposition 3 along with Theorem 2 therefore imply that we now have a necessary condition for a covector field to be conservative. The only thing left is the reverse direction: What are the conditions for any covector to be conservative? Here is a motivating example why this question might not be trivial to answer.

**Example 4.** Let $M = \R^2 \setminus \{ 0 \}$ and let $\omega$ be the covector field on $M$ given by

Let $\gamma: [0, 2\pi] \to M$ be the curve segment defined by $\gamma(t) := (\cos t, \sin t)$. Therefore $\gamma’(t) = (-\sin t \, dt, \cos t \, dt)$ and the line integral can be written as

We can see that $\gamma$ is the counterclockwise unit circle and thus is a closed curve segment. However as we have just seen, the line integral is non-zero. Thus, $\omega$ is not conservative on $\R^2 \setminus \{ 0 \}$. But, $\omega$ is a closed covector field since

Therefore, this shows that in $\R^2 \setminus \{ 0 \}$, closedness does not necessarily imply exactness.

What if we restrict the domain of $\omega$ to be the right half-plane $U := \{ (x, y): x > 0 \}$ of $\R^2$? There, if we define $f: U \to \R$ by $\tan^{-1} y/x$, which is a smooth function on $U$, we can verify that $\omega = df$. Thus, in this case $\omega$ is exact and therefore conservative by Theorem 2.

As a further note, this problem can be seen more clearly if we think $f$ as the angle function $\theta = \tan^{-1} y/x$ of polar coordinates. On $\R^2 \setminus \{ 0 \}$, there are some discontinuities in $\theta$ which makes it non-smooth. One such discontinuities is at $\theta = 0$, since in this case $y$ must be zero.

//

This example is the principal motivation of de Rham cohomology, which we will look into in a future article: we need to take into account the global topological properties of the domain of a covector field to answer whether it is exact or not. We can formalize the observation above in the following theorem.

**Theorem 5 (Poincaré Lemma for Covector Fields).** *Let $U$ be a star-shaped open subset of $\R^n$ or $\mathbb{H}^n$. That is, $U$ has the following property: There exists $c \in U$ s.t. for every $x \in U$, the line segment from $c$ to $x$ is entirely contained in $U$. Then every closed covector field on $U$ is exact.*

*Proof.* Let $\omega = \omega_i dx^i$ be a closed covector field on $U$. Without loss of generality, we can assume that $c = 0$. For any $x \in U$, let $\gamma_x: [0, 1] \to U$ be the line segment from $0$ to $x$, defined by $\gamma_x(t) := tx$. Since $U$ is star-shape, the image of $\gamma_x$ lies entirely in $U$ for each $x \in U$. Define $f: U \to \R$ by

We need to show that $\omega = df$, i.e. $\partial f / \partial x^j = \omega_j$ for all $j$. We note that

where we have taken a similar step to the computation in Example 4. Now we need to compute the partial derivatives of $f$. Notice that all terms in the integrand are smooth. Hence, by Leibniz’s theorem, we can exchange the differentiation and integral to obtain

Now, since $\omega$ is closed, we have $\partial \omega_i / \partial x^j = \partial \omega_j / \partial x^i$, and thus

as required.

$\square$

Here is a corollary of this theorem which states that every closed covector field is *locally* exact, regardless of the global topology of the space.

**Corollary 6.** *Let $\omega$ be a closed covector field on a smooth manifold $M$. Then every point of $M$ has a neighborhood on which $\omega$ is exact.*

*Proof.* We need to show that for every $p \in M$, there exists a neighborhood $U$ containing $p$ s.t. $\omega$ is exact on $U$. Therefore, let $p \in M$ be arbitrary. Since $\omega$ is closed, by definition, we can pick some smooth coordinate ball $U$ containing $p$. Since balls are convex and therefore star-shaped, Theorem 5 implies that $\omega$ is exact on $U$. Since $p$ is arbitrary, this property holds for every $p \in M$. Thus $\omega$ is locally exact.

$\square$

This corollary is useful in e.g. local analysis of a dynamical system around an equilibrium point: To show that the corresponding covector field is conservative, one only needs to show that its mixed partial derivatives commute there.

In the second part of this series of articles, we will generalize the notion of differential. We will talk about the *exterior derivative* of higher order differential forms. The exterior derivative is an essential ingredient for defining de Rham cohomology, which will be studied in the third and final part of this series.

## References

- Lee, John M. “Smooth manifolds.” Introduction to Smooth Manifolds. Springer, New York, NY, 2013. 1-31.