Skip to main content
Logo image

Coordinated Multivariable Calculus

Section 4.6 Green’s Theorem

We know from Section 4.4 that a vector field is path-independent if and only if the circulation around every closed curve in its domain is 0. It is probably not surprising that, given the multitude of names we have for path-independent vector fields, they are important vector fields that arise frequently. However, not every vector field is path-independent, and many times we will want to calculate the circulation around a closed curve in a vector field that is not path-independent. This section explores a connection between line integrals and double integrals that you may find surprising.

Preview Activity 4.6.1.

We will consider the vector field F=2y,3x2y, which is defined on the entire plane. Suppose that we want to calculate the circulation of F around the circle C of radius 2, centered at (0,0), and oriented counterclockwise.

(a)

Verify that F is not path-independent by calculating the circulation of F around the circle C. The SageMath cell below is set up to assist you with this, but you will need to supply a parametrization of C on line 3.
Answer.
8π
Solution.
If we parametrize C as r(t)=2cos(t),2sin(t), then CFdr=8π. To use the SageMath cell to do this, make line 3 read C = vector([2*cos(t),2*sin(t)]) and execute. Because the circulation around C is not 0, we know that F is not path-independent.

(b)

Consider F=F1(x,y),F2(x,y). In Section 4.5, we discussed the circulation density of a two-dimensional vector field at a given point and determined that it can be algebraically determined by F2xF1y. Calculate the circulation density for this vector field.
Answer.
No; 6xy2.
Solution.
Here we have that F2/x=6xy and F1/y=2, so we have that F2/xF1/y=6xy2.

(c)

Sketch the curve C and shade the region inside it. Describe the region bounded by C in both rectangular and polar coordinates.
Answer.
Polar: 0r2, 0θ2π. Rectangular: 2x2, 4x2y4x2.
Solution.
Since we know the radius of C is 2, the region the circle bounds is covered by all values of r with 0r2. For θ, since we have the full disk, the bounds are 0θ2π. In rectangular coordinates, the circle is x2+y2=4. The range for x is 2x2, and solving the equation of the circle for y gives us 4x2y4x2 as the bounds for y.

(d)

Calculate the double integral of F2xF1y over the region inside the circle C. This integral is not the most fun to do by hand, so a SageMath cell has been provided to assist you.
Hint.
If you choose polar coordinates, use θ for the first variable and r for the second variable.
Answer.
8π
Solution.
Denote by D the region inside the circle C. We can describe D readily in polar coordinates with the inequalities 0r2 and 0θ2π. Thus, we need to calculate
D(F2xF1y)dA=D(6xy2)dA=0202π(6r2cos(θ)sin(θ)2)rdθdr.
Using SageMath to calculate this, we obtain 8π.
A natural question after completing this Preview Activity is if there is something special about the vector field F or the curve C that led to the results you obtained, and investigating this will be our principal task in this section

Subsection 4.6.1 Circulation

In Preview Activity 4.6.1, you integrated the circulation density of a smooth vector field over a disk and found the result was equal to the circulation of the vector field along the region’s circular boundary. This relationship is the theme of this section. To see why this would make sense, consider the region R bounded by the curve C shown in Figure 4.6.1. We have placed a square grid inside R to suggest the idea of breaking R up into many smaller regions, most of which are square. This idea should make you think of the methods we have already seen of breaking up a region into smaller and smaller regions for Riemann sums.
described in detail following the image
A bean-shaped region in the plane that is bounded by a closed curve. The curve is oriented so that when walking along the curve, the region is always on the left. There is a square grid dividing the up the interior of the region.
Figure 4.6.1. A region bounded by a curve
The critical idea here is that if we integrate the circulation density over each of the small regions and add those up, this is the same as integrating the circulation density over the entirety of the region R because of the fundamental properties of integrals. Also, integrating circulation per unit area over a two-dimensional region should be related to the total circulation on that region. Now look at Figure 4.6.2 and think of these four square regions as being four of the square regions inside R in Figure 4.6.1.
described in detail following the image
A square region in the plane that is bounded by a closed curve oriented counterclockwise. The square is divided into four squares of equal size, which are labeled as R1, R2, R3, and R4. There are circular arrows inside each of the smaller regions indicating counterclockwise orientations.
Figure 4.6.2. A square region divided into four smaller squares
We orient the boundary Ci of square region Ri in the manner suggested by the circular arrows. This means that the vertical boundary in common between R1 and R2 is oriented up when we calculate the line integral C1Fdr and oriented down when we evaluate C2Fdr. Thus, this line segment does not contribute to the sum C1Fdr+C2Fdr. The same idea applies to the other three interior line segments so that
C1Fdr+C2Fdr+C3Fdr+C4Fdr
is equal to the line integral of F along the boundary of the large square.
Returning to Figure 4.6.1, if we find the circulation along the boundary of each of the smaller regions, the line integrals along the boundaries that lie inside the region R will all offset. Thus the value should equal CFdr. If we make our grid fine enough, all of the smaller regions into which R is divided will be very close to rectangular. Our next activity looks at the relationship between the circulation along a rectangular curve with sides parallel to the coordinate axes and the double integral of the circulation density over the rectangular region inside the curve.

Activity 4.6.2.

For this activity, we will consider the region R satisfying axc and byd. The rectangular curve C will be the boundary of R, oriented counterclockwise. Let F=F1(x,y),F2(x,y) be a vector field that is smooth on C and R. We can write C=C1+C2+C3+C4, where C1 is the top edge of the rectangle and the edges are numbered counterclockwise around the rectangle.
(a)
Sketch the region R and curves C1,C2,C3,C4. Label the four corners of R with the coordinates of the vertices, and be sure to indicate the proper orientation on C.
(b)
Since we know that
CFdr=C1Fdr+C2Fdr+C3Fdr+C4Fdr,
it makes sense to parametrize each curve Ci and write CiFdr as a one-variable integral. For example, C1 can be parametrized as r(x)=c+ax,d with axc. Thus, we have
C1Fdr=acF1(x,d),F2(x,d)1,0dx.
Complete this process to write the integrals for the remaining three sides as integrals with respect to x or y, as appropriate.
Answer.
C2Fdr=bdF1(a,y),F2(a,y)0,1dyC3Fdr=acF1(x,b),F2(x,b)1,0dyC4Fdr=bdF1(c,y),F2(c,y)0,1dy
Solution.
The parametrizations rely on fixing x=a for C2, y=b for C3, and x=d for C4.
C2Fdr=bdF1(a,y),F2(a,y)0,11dyC3Fdr=acF1(x,b),F2(x,b)1,0dyC4Fdr=bdF1(c,y),F2(c,y)0,1dy
(c)
Write CFdr as the sum of two one-variable integrals (one with respect to x and one with respect to y).
Answer.
CFdr=bd(F2(c,y)F2(a,y))dy+ac(F1(x,b)F1(x,d))dx
Solution.
Because the limits of integration for the dx integrals match and the limits of integration for the dy integrals match, we can add and obtain CFdr=bd(F2(c,y)F2(a,y))dy+ac(F1(x,b)F1(x,d))dx.
(d)
We would like to see if the equality of the line integral and double integral in Preview Activity 4.6.1 was a coincidence or holds for more general vector fields. (Soon we will expand our curves beyond rectangles, but for the moment, we focus on the curve C and region R.) To do this, we have to find some way to take our answer to the previous part of this activity, which includes two single integrals and turn them into a double integral over the rectangle R.
We have assumed that F is smooth on C and R, so the partial derivatives F2/x and F1/y are continuous functions on C and R. Rewrite the expression you have for CFdr in the previous step as the sum of two double integrals.
Hint.
With x fixed, the integrand in your dx integral matches what you see on the left-hand side of the Total Change Theorem
 1 
activecalculus.org/single/sec-4-4-FTC.html#wtR
, but now instead of prime notation for the derivative, you will have a partial derivative with respect to y.
Answer.
CFdr=bda(cF2x(x,y)dxdy+a(cdbF1y(x,y)dydx
Solution.
By the Total Change Theorem
 2 
activecalculus.org/single/sec-4-4-FTC.html#wtR
, with y fixed, we have that
F2(c,y)F2(a,y)=acF2x(x,y)dx.

Similarly,

F1(x,b)F1(x,d)=dbF1y(x,y)dy.
Therefore, we have
CFdr=bda(cF2x(x,y)dxdy+a(cdbF1y(x,y)dydx.
(e)
Rewrite your sum of two double integrals in the previous step above as a double integral over the rectangle R, thereby showing that the line integral of F along the curve C is equal to a double integral of the region inside C.
Answer.
CFdr=R(F2xF1y)dA
Solution.
After interchanging the order of integration so that both integrals are done dxdy, the other step we must do to add them is to make the integral of F1/y have lower limit b and upper limit d (with respect to y). We do this by multiplying by 1 and then can add the integrals to obtain
CFdr=R(F2xF1y)dA.
Now we can see that our result in Preview Activity 4.6.1 was not a coincidence and integrating the circulation density of a smooth vector field on a rectangular region gives the same result as calculating the circulation along the boundary of the region.
The phenomenon we verified for rectangular regions in Activity 4.6.2 is a more general result that will be the subject of our next section.

Subsection 4.6.2 Green’s Theorem

So far in this section, we have restricted ourselves to relatively nice closed curves when thinking about circulation. While the main theorem of this section will not allow us to consider arbitrary closed curves, it does cover more varied curves than we have discussed so far. A simple closed curve is a closed curve that does not cross itself, and these are the curves to which our next theorem applies.
In Activity 4.6.2, we showed that Green’s Theorem holds when the region R is a rectangle with sides parallel to the coordinate axes. The discussion that introduced the previous subsection may have you convinced that Green’s Theorem holds in its full form. Although our argument there was not a rigorous proof, we will not say more about why this theorem is true in full generality.
At first glance, it may seem that Green’s Theorem is of purely intellectual interest. However, we have already encountered situations where parametrization a curve can be complicated. This is particularly true when the curve has “corners” that require us to give separate parametrizations for several pieces of the curve, such as with the rectangular curve pictured in Figure 4.6.4. However, as with this rectangle, is often the case that a curve that is difficult to parametrize bounds a region that is not too complex to describe using rectangular or polar coordinates. For instance, the rectangular region in Figure 4.6.4 can be described as 1x4 and 2y4, rather than parametrization each of the four sides of the rectangle separately. Additionally, the integrand of the double integral in Green’s Theorem involves partial derivatives that can sometimes result in an integrand that is very easy to work with. The purpose of Green’s Theorem is, at its core, to allow you to exchange one type of integration problem (a line integral) for another type of integration problem (a double integral). This will be a recurring theme as this chapter continues.
described in detail following the image
A rectangular curve in the xy-plane. The lower-left corner is labeled (1,2). The upper-right corner is labeled (4,4). The curve is oriented counterclockwise.
Figure 4.6.4. A rectangular curve
The next activity asks you to apply Green’s Theorem.

Activity 4.6.3.

For each of the curves described below, find the circulation of the given vector field around the curve. Do this both by calculating the line integral directly as well as by calculating the double integral from Green’s Theorem.
(a)
The curve C1 is the circle of radius 3 centered at the point (2,1) (oriented counterclockwise) and the vector field is F=y2,5x+2xy.
Answer.
45π
Solution.
Here we find that
F2xF1y=(5+2y)2y=5.
Therefore, the integrand in Green’s Theorem is the constant 5. Thus, the circulation of F around C is 5 times the area of the region inside C. That area is π32=9π, which means that the circulation is 45π.
(b)
The curve C2 is the triangle with vertices (0,0), (3,0), and (3,3) (oriented counterclockwise) and the vector field is G=y2,3xy.
Answer.
27/6
Solution.
Here we find that
F2xF1y=3y2y=y.
The region inside C2 can be described by 0x3 and 0yx. Therefore, by Green’s Theorem, we have
C2Gdr=030xydydx=03y22|0xdx=03x22dx=x36|03=276.
Generally, Green’s Theorem is useful for allowing us to calculate line integrals by instead calculating a double integral. Going the other direction is harder, since finding a vector field F1,F2 so that F2/xF1/y is equal to the integrand in the double integral can be difficult. However, the exercises will explore some situations where calculating a suitable line integral is a viable alternative to the double integral.

Subsection 4.6.3 What happens when vector fields are not smooth?

Notice that the assumptions in Green’s Theorem require that the region R be bounded by a simple closed curve C and that the vector field have continuous partial derivatives on R and C. In Exercise 2, we will explore what happens when the region R cannot be bounded by a simple closed curve, as sometimes multiple applications of Green’s Theorem can be used in those circumstances. Now, however, we will take a look at what happens in some cases where the vector field F is not smooth.

Activity 4.6.4.

Consider the vector field F=yx2+y2i+xx2+y2j. Notice that F is smooth everywhere in the plane other than at the point (0,0). This vector field is plotted in Figure 4.6.5, but we have not plotted the vectors close to the origin as their magnitudes get so large that they make it hard to interpret the figure. Here Green’s Theorem applies to any simple closed curve C that neither passes through (0,0) nor bounds a region containing (0,0).
described in detail following the image
A vector field with vectors tangent to circles oriented counterclockwise and centered at the origin as well as the unit circle centered at the origin and oriented counterclockwise. The vectors are longer close to the origin and shorter farther from the origin.
Figure 4.6.5. The vector field F
(a)
Find the circulation density of F (i.e., the integrand of the double integral in Green’s Theorem).
Hint.
Make sure to note any exceptional points at which your formula is not valid.
Answer.
F2xF1y=0 for (x,y)(0,0)
Solution.
For (x,y)(0,0), we have
F2x=2x2(x2+y2)2+1x2+y2=y2x2(x2+y2)2F1y=2y2(x2+y2)21x2+y2=y2x2(x2+y2)2.
Thus,
F2xF1y=0.
(b)
Suppose that C is the unit circle centered at the origin. Without doing any calculations, what can you say about CFdr? what does this tell you about if F is path-independent?
Answer.
Positive; F is not path-independent
Solution.
Notice that F is tangent to C. Thus, CFdr must be positive. (In fact, the circulation of F along C is the length of C or 2π because F consists of unit vectors and the vector field is is tangent to C.) Since there is a closed curve with nonzero circulation, F is not path independent.
(c)
What would you get if you integrated the circulation density of F over the region bounded by C?
Answer.
0
Solution.
The circulation density is 0 everywhere inside C except at the origin, where it is undefined. That single point does not impact the value of the double integral of the circulation density, which is thus 0.
(d)
Do the previous two parts contradict Green’s Theorem? Explain your reasoning.
Answer.
No.
Solution.
There is no contradiction because Green’s Theorem does not apply here. The region R inside the curve C includes the point (0,0), and F is not defined at that point. Green’s Theorem requires that the vector field be smooth at every point of R.
(e)
Is the vector field G=xx2+y2i+yx2+y2j, which is shown in Figure 4.6.6, path-independent? Why or why not?
described in detail following the image
A vector field with vectors radiating from the origin and orthogonal to circles centered at the origin. Vectors are longest near the origin and get shorter farther from the origin.
Figure 4.6.6. The vector field G
Answer.
Yes
Solution.
Let g(x,y)=12ln(x2+y2). Note that g=G, and the domain of g is the same as the domain of G (all of R2 except (0,0)). Thus, G is a gradient vector field and is therefore path-independent.
(f)
Suppose that C is the unit circle centered at the origin. Find CGdr. Can you do this using Green’s Theorem?
Answer.
0; No
Solution.
We have already shown that G is path-independent, and therefore CGdr=0 since C is a closed curve. Because G is not defined at the origin, Green’s Theorem does not apply to this line integral.
We can now see that Green’s Theorem is a powerful tool. However it cannot be used for all line integrals. In particular, the restriction that the vector field be smooth on the entire region bounded by a simple closed curve C creates limitations. This can occur even in cases where holes in the vector field’s domain or points where the vector field is not continuously differentiable lie away from C.

Subsection 4.6.4 Computing area as a line integral

Recall that the area of a region D in the plane can be computed by integrating 1 over D. So if we can find a vector field F such that F2xF1y=1, then the double integral in Green’s Theorem becomes the area of D. Luckily, there are many such vector fields F:
e.g.F=0,x,F=y,0,F=y/2,x/2

Using Green’s Theorem to compute area.

If D is a region in the plane with boundary D, then the area of D can be computed as any of the following line integrals around D.
area(D)=D1dA=Dxdy=Dydx=12Dxdyydx

Example 4.6.7.

Compute the area of the ellipse
(xa)2+(yb)2=1.
Solution.
The ellipse is parametrized as follows.
x(t)=acos(t)y(t)=bsin(t),0t2π
Using Green’s Theorem, we compute the area of the ellipse as a line integral of F=0,x around the boundary of the ellipse. (Any of the other vector fields listed above would work just as well.)
E1dA=Exdy=t=02π(acos(t))(bsin(t))dt=ab02πcos2(t)dt=ab202t1+cos(2t)dt=ab2[t+12sin(2t)]02π=ab2(2π)=abπ

Subsection 4.6.5 Summary

  • Green’s Theorem tells us that we can calculate the circulation of a smooth vector field along a simple closed curve that bounds a region in the plane on which the vector field is also smooth by calculating the double integral of the circulation density instead of the line integral.
  • Integrating the circulation density of a smooth vector field on a region bounded by a simple closed curve gives the same value as calculating the circulation of the vector field around the boundary of the region with suitable orientation.

Exercises 4.6.6 Exercises

1.

Sometimes, the value in Green’s Theorem is in converting a double integral into a line integral. Recall that the area of a region R in the plane can be found by calculating R1dA.
(a)
Find a smooth vector field F such that the circulation density of F is 1 everywhere.
Hint.
There are several ways to choose F=F1,F2 so that F2/xF1/y=1.
(c)
For positive real numbers a,b, the ellipse x2/a2+y2/b2=1 can be parametrized as r(t)=acos(t),bsin(t) with 0t2π. Find the area of this ellipse by calculating a line integral.
(d)
Find another vector field G (different from the one you found in part a) that has circulation density 1 everywhere, and calculate the area of the ellipse in part c by calculating the circulation of G along the ellipse.
(e)
How many possible vector fields are there with circulation density 1 everywhere? Why?

2.

The types of regions in R2 to which Green’s Theorem applies are formally called simply connected regions. To be precise, a simply connected region D in R2 is a set so that there is a path between every pair of points in D that stays inside D and any simple closed curve in D can be shrunk to a point while remaining inside D. We can think of a simply connected region as being a region that does not have any “holes”. There are many instances where we can find a way to apply Green’s Theorem multiple times to work with regions that are not simply connected, however.
Figure 4.6.8. A region that is not simply connected
Figure 4.6.9. Breaking up a region
  1. Explain why the region R in Figure 4.6.8 is not simply connected.
  2. If we let C=C1+C2, then the orientation of C is as required by Green’s Theorem—when walking along the pieces of C, the region R is always on the left-hand side. Assume that F is a vector field that is smooth on R and C. Using Figure 4.6.9 as a guide, write CFdr as a sum of double integrals, one over R1 and the other over R2.
  3. In Activity 4.6.4, we considered the vector field F=yx2+y2i+xx2+y2j and found that the circulation of F around the unit circle centered at the origin (oriented counterclockwise) was 2π. Show that for every simple closed curve C in the plane that bounds a region containing the origin, CFdr=2π.
Hint.
For part c, create a region R as in Figure 4.6.8 using the curve C in place of C1.

3.

This exercise presents another occasion where Green’s Theorem can be used to convert a double integral into a line integral.
  1. Recall from Section 3.4 that the centroid of a lamina D of area A is given by
    x=1ADxdAandy=1ADydA.
    Find vector fields F and G so that
    x=CFdrandy=CGdr,
    where C is the boundary of the lamina D.
  2. Find the centroid of the triangle with vertices (0,0), (a,0), and (0,b) for real numbers a,b>0.