Main content
Multivariable calculus
Course: Multivariable calculus > Unit 5
Lesson 3: Green's theorem (articles)Green's theorem
Green's theorem relates the double integral curl to a certain line integral. It's actually really beautiful.
Background
Not strictly required, but helpful for a fuller understanding:
Other resources
You can find examples of how Green's theorem is used to solve problems in the next article. Here, I will walk through what I find to be a beautiful line of reasoning for why it is true. You can find a different perspective in Sal's video on the topic.
One lesson, four times the payoff
Green's theorem is one of four major theorems at the culmination of multivariable calculus:
- Green's theorem
- 2D divergence theorem
- Stokes' theorem
- 3D Divergence theorem
Here's the good news: All four of these have very similar intuitions. So if you really get to the point where you feel Green's theorem in your bones, you're already most of the way there to understanding these other three!
What we're building to
- Setup:
is a two-dimensional vector field. is some region in the -plane. is the boundary of that region, oriented counterclockwise.
- Green's theorem states that the line integral of
around the boundary of is the same as the double integral of the curl of within : - You think of the left-hand side as adding up all the little bits of rotation at every point within a region
, and the right-hand side as measuring the total fluid rotation around the boundary of . - Often times
is written component-wise as follows:In terms of and , here's what Green's theorem looks like:
Fluid rotation around a boundary
As you read on, the picture to have in your head is a blob in a vector field.
is the function for the vector field. And, as you're probably getting used to if you've read other articles like this involving vector fields, imagine that represents a fluid flow. is some region in the -plane. In practice, and in problems, it will be some well-defined shape like a circle or the boundary between two graphs, but while thinking abstractly I like to just draw it as a blob. is the boundary of , oriented counterclockwise. Remember that orientation, because it actually matters when you solve problems. Counterclockwise. Are you remembering it? Counterclockwise.
Concept check: How can you interpret the following line integral in terms of a fluid flow?
(Remember, in a line integral through a vector field, the term represents a tiny step along the curve, as a vector, which in this case will always point in the counterclockwise direction.)
Here's one way to think about the line integral : Image rowing a boat around the line , counterclockwise.
At each point of your journey, the vector gives the direction of your motion. The dot product will be positive at points where the fluid flow is with you, and negative at points where it's against you.
On the whole, the line integral adds up all these dot products to tell you if the flow was generally helpful or burdensome.
So this line integral is positive when the fluid flow has a general counterclockwise tendency around the boundary (meaning it was generally helpful), and it will be negative if it has a clockwise tendency (generally burdensome).
Bringing the boundary to the interior
Green's theorem is all about taking this idea of fluid rotation around the boundary of , and relating it to what goes on inside . Conceptually, this will involve chopping up into many small pieces. In formulas, the end result will be taking the double integral of .
Cut the region
Imagine chopping up the region with a line straight down the middle, giving two subregions and :
Name the boundaries of these two regions and . What happens if we take the line integral of around these two boundaries, and add them up?
Notice, these line integrals will cancel out along the vertical line cut that you made. Namely, the integral around goes "up" this line, while the integral around integrates "down" this line. (Remember, when performing a line integral in a vector field, changing the direction along a curve multiplies your result by ).
This means the sum of our two integrals is the same as just going around the full boundary .
Cut it again
You could do this one more time, maybe with a horizontal cut this time:
If you integrate around the boundaries of the resulting four subregions, the integrals will all cancel out along the cuts you made in the interior of :
In a formula, this means the sum of the line integrals around all four subregions end up just equalling the line integral around the full region:
I should emphasize that this only works if we make sure that all the boundaries are oriented the same way. Otherwise, they might not cancel each other out along the cuts. It's common to think of counterclockwise as being the positive direction, so think about everything as being oriented counterclockwise.
Cut it many, many times
You might be able to see where I'm going with this. Imagine chopping of the region into many many tiny pieces, . Orient all of their boundaries counterclockwise, and integrate the function over each one.
The integrals will cancel out along all the cuts inside itself. This is because for any cut, one of the integrals will go along it in one direction, while another goes along it in the other direction. In the end, the only parts where these integrals don't cancel are the pieces of the boundary .
This means adding up the line integrals along the tiny boundaries of the pieces will give the same result as just integrating across the full region:
Integrating curl
So... why am I doing this? It's because there is another way to interpret each of these line integrals around a tiny piece using two-dimensional curl. Pick one of those pieces and zoom in on it.
- Let
be the piece you chose, with boundary . - Let
represent the area of , which we are thinking of as being some very small number. - Let
be some point sitting inside this piece, any point really.
The fluid rotation around this piece due to can be measured with the line integral . Think tiny row boat. But since this is a really small piece, there is another multivariable calculus concept that measures fluid rotation: Curl.
This line integral can be approximated by taking the of at any point within , and multiplying it by the (tiny) area :
Also, and this is important, the smaller is, the better this approximation is.
Adding up these approximations over all of the tiny pieces , here's what you get:
Taking the conclusion from the previous section, the left-hand side above is the same as a single line integral around the full boundary of , so we can rewrite this approximation as follows:
Now take a close look at the sum on the right-hand side.
- It includes a scalar-valued function,
- The sum is taken over many tiny pieces
of a two-dimensional region, . - For each piece within the sum, the function is evaluated on a point inside that piece, then multiplied by its area.
Sound familiar? This is all the recipe for a double integral! (If this does not sound familiar, consider taking a look at this article on double integrals).
In particular, if you imagine chopping up the region more and more finely, you can replace the sum above with a double integral of over :
Putting everything together, here's what we have:
This is actually more than a mere approximation, the line integral around the boundary equals the double integral of two-dimensional curl:
This marvelous fact is called Green's theorem. When you look at it, you can read it as saying that the rotation of a fluid around the full boundary of a region (the left-hand side) is the same as looking at all the little "bits of rotation" inside the region and adding them up (the right-hand side).
Alternative notation
It is very common to see Green's theorem written like this:
This is just spelling out the dot product in the left-hand side line integral, as well as the curl in the right-hand side double integral. For whatever reason, it is common to use the letters and to denote the components of the vector-valued function :
In the next article, you will find examples of how this formula can be used to make either line integrals or double integrals simpler.
Summary
- You can think about the line integral
as measuring the rotation of the fluid flow represented by the vector field around the curve . It is conventional to think of counterclockwise rotation as being positive, in which case should be oriented counterclockwise.
- Imagine chopping up the two-dimensional region
enclosed by into many tiny pieces. Name the boundaries of these pieces , and orient them all counterclockwise. Then adding up the line integrals of around each piece-boundary boils down to the same thing as the line integral around the full boundary .That is to say, the little line integrals cancel out along all the cuts within - As you consider smaller and smaller pieces, the line integral around each tiny piece can be approximated using two-dimensional curl:
- Adding up these little "bits of curl" using a double integral over
, and applying the fact that the sum of the line integrals cancels out along interior cuts, you get Green's theorem:
Want to join the conversation?
- Shouldn't you put parentheses around "Pdx+Qdy"? Like ∮(Pdx+Qdy)=∬(∂Q/∂x−∂P/∂y)dA(8 votes)
- No, unfortunately writing ∮ Pdx + Qdy is common notation that you should expect to see. I don't understand why people use it––maybe someone else could comment on that––but I think it's terrible notation. It is used fairly often, though, so you just have to learn to recognize it.(9 votes)
- I don't understand the P and Q notation. Why Pdx + Qdy? Are the dx and dy the differential vector components of dr?(3 votes)
- Yes exactly, that is what it is. dr = idx+jdy, where i j are the cartesian basis vectors.(3 votes)
- How do we know that the error of the approximation is significantly smaller than r?(4 votes)
- First, it is hard to read the technical definitions, specifically the end. I hope this gets looked into and resolved soon.
Second, I don't fully realize why the area R(x,y) is significantly greater than the error factor in the 2-d curl.(3 votes)- The formal definition of 2-D curl uses a line integral to calculate the "net rotation" of some fluid in a region. As the region shrinks and becomes closer to some point (x, y) (and its area approaches 0), the approximation of the line integral gets closer and closer to the curl at (x, y). The error factor keeps getting smaller as the R(x,y) shrinks.
You can read about the formal definition here: https://www.khanacademy.org/math/multivariable-calculus/greens-theorem-and-stokes-theorem/formal-definitions-of-divergence-and-curl/a/defining-curl(2 votes)
- I found somewhere that said "vector integral identities," and it included some identities not mentioned here. There was ∬n × ∇f dΣ = ∮f d r, ∭∇ × F dV = ∯n × F dΣ, ∭∇f dV = ∯n F dΣ, and something called Green's first and second identities. What are these?(3 votes)
- In the equation:
∬ 2d-curl F dA
R
What is dA? Do we have to replace dA by the derivative of the area of region R to evaluate the integral?(1 vote)- dA is the infinitesimal area element.
In rectangular coordinates, dA is dxdy (or dydx).
In polar coordinates, dA is r dr d theta (or r d theta dr).
Note, in particular, that the double integral over a region R of a constant function is just that constant times the area of R. This can be used to simplify some calculations.(2 votes)
- Can you do an article in the future about Green's first and second identities?(1 vote)
- Why does he say--> 2D curl F at a point, times the tiny area, is a "scalar valued function". Isn't curl by definition a vector? Why isn't this a vector valued function? Isn't Curl a cross product resulting in a vector?(1 vote)