Project Project
Multivariable Calculus

Green’s Theorem

Interactive 3D Model

If you are or have been a student of mathematics, physics, or engineering, you have likely encountered the following equation:

This statement, known as Green’s theorem, combines several ideas studied in multi-variable calculus and gives a relationship between curves in the plane and the regions they surround, when embedded in a vector field. While most students are capable of computing these expressions, far fewer have any kind of visual or visceral understanding. In this post, I want to build some of that understanding by discussing each component of the theorem in a visual way. My hope is that, armed with the right intuitions, Green’s theorem should feel nearly natural.

I will assume familiarity with vectors, partial derivatives, and integration.

To begin with, let’s state the theorem properly.

Let be a vector field in the plane. Let be a simple closed curve in the plane which is positively oriented and piecewise smooth, surrounding a region . Then,

In words, the line integral along of is equal to the double integral over of .

Here’s a picture of what’s going on:

Interactive 3D Model

The first thing to notice is the collection of needles on this plane, pointing in various directions. This is a representation of the vector field permeating this square region of the plane. A vector field is just an assignment of a vector to each point of the plane–a function from points (x, y) to vectors (x, y). Notice that the vectors (needles) are longer towards the right half of the square, showing that the vector field is stronger there. Here is the equation for this vector field:

The square region here is [0, 1.5] x [0, 1.5].

Embedded in this vector field is a simple, closed curve (tracing a wedge shape in the plane). It is simple because it doesn’t cross over itself, and closed because it ends where it begins (if one were to walk around it). The curve encloses a region in the plane we can call . Along this curve runs a ribbon which varies in height, and even dips below the square. This ribbon represents the left expression in Green’s theorem, a line integral. The claim, then, of Green’s theorem is that the total surface area of this ribbon (counting the parts under the square as negative) is equal to this quantity integrated over . We’ll discuss double and line integrals below, but in this example, I have chosen a vector field for which the integrand to be equal to 1, meaning that the ribbon’s area should be equal to the area of the region enclosed by . An eyeballing of the area of the ribbon and the area of may convince you that they are indeed equal.

Line Integrals

Let’s look at that vector field again:

At each point of this region, we have assigned a vector. Imagine that this vector field represents the currents of a river you are crossing (at any given point inside the river, you would feel the current pushing you in some direction). If you crossed this river by following some path, you would feel the currents change and move around you. At times you would feel resisted by the currents and at others you would be helped along. A line integral is a way to add up all these changes in the current as you move along your path, in a way that represents the total resistance you felt along the way. How might we add up this ‘total resistance’? Well, consider that as you move through the vector field, your progress forward (along the path) is only impeded by current in the direction opposite your movement. If the current is at your back, you feel negative resistance. And if the current is perpendicular to your path, it doesn’t affect your forward motion.

The dot product captures this notion precisely. If two vectors (of unit length) are aligned, their dot product is 1. If they are opposite, it is -1, and if they are perpendicular it is 0. You can think of the dot product as a measure of how aligned two (unit) vectors are. Algebraically, the dot product is given by . The dot product also takes into account the magnitude of the two vectors (in particular it gives the length of the projection of one of the vectors onto the other).

So at each point along your path, we can find the dot product of your unit tangent vector (your ‘instantaneous’ direction of motion) and the value of the vector field (the direction and strength of the current at that point). This gives a measure of ‘instantaneous’ resistance. To measure ‘total resistance’, we just need to integrate that value along your path. This integration is what the ribbons above represent.

Here, to approximate the line integral, I’ve measured the ‘instantaneous resistance’ at a (finite) number of points along the curve, and displayed that number as the height of a small column anchored at those points. The total area (my model gives the ribbon thickness, but mathematically they have zero thickness) of this approximate ribbon represents the total resistance. As you can see, the ribbon is shortest where the vector field is most perpendicular to the path, and tallest where the vector field aligns with the path.

The usual notation for this vector line integral is where for is a parametrization of the curve . The statement of Green’s theorem uses different notation, but refers to the same integral (it’s easy to show they’re the same, given and ).

Double Integrals

Consider our region . At every point within that region, we can compute the value (where and are the components of our vector field ). Then the double integral represents the integration of these values over each point within the region. Much like with our ribbons, we could approximate this total value by computing at a (finite) number of points, creating columns, and measuring their total volume. However, in this case we have a shortcut! Recall our choice of vector field:

We see that . This means that the value of the double integral is just the area of .

Since Green’s theorem tells us that , we find that we can calculate the area of using only the line integral . In fact, any choice of vector field such that allows us to measure area in this way. This is the principle behind the planimeter.

Wrapping Up

There are a few details I omitted before. The curve must be piecewise smooth, meaning that it must be composed of one or more pieces that are each infinitely differentiable. It must also have a positive orientation, meaning that the interior will always be on the left while walking along the curve (reversing this orientation would require we flip the sign on one of the integrals).

Also note that, while I chose the vector field specifically so that we could calculate the area of , the theorem holds for any vector field—it’s just simpler to illustrate the theorem using only the area of the interior region to represent the double integral.

Now, while I hope that I’ve provided some intuition for the meaning of the pieces Green’s theorem, I’ve provided no intuition about why the theorem is true, and in particular the origin of these integrands and . Leaving these unexplained causes Green’s theorem to read at best as, “measure the resistance as you move around your loop and that’s the same as some double integral over the enclosed region”. The proper explanation requires more mathematical tools, but within that explanation I believe lies the real beauty behind Green’s theorem. So I will be covering it in a future post, in which I will detail Stokes’ theorem, give some intuition behind its proof, and show how Green’s theorem falls nicely out of it.

← Back to Project Project Home