Green's theorem says the circulation of a field around a closed curve equals the total spin inside, because the circulations around tiny cells add up and the inner edges cancel; it gives areas by line integrals, handles regions with holes through the winding number, and its proof for the area of an image gives the change of variables formula with the Jacobian determinant.
Taught in 375/376Apostol, not taughtBeyond the courseApostol Vol. 2, 11.19 to 11.34MATH 376 Weeks 4 and 5: lectures of 11, 13 and 16 February, worksheets 8, 9 and 27, homework 4, Midterm 2 problem 4(b), practice Final problem 3Green, An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism (1828)Katz, Change of variables in multiple integrals: Euler to Cartan (1982)
A circle of wind blows round a hill. How much does it push a cyclist who rides once round the foot of the hill? You can add up the push along the road, the line integral of 6.1. Or you can cut the area inside the road into tiny squares, measure how much the wind swirls in each, and add. Green’s theorem says the two answers are the same. It turns a one-dimensional integral into a two-dimensional one, and back, and the same idea turns the problem ‘what factor multiplies the area when you change coordinates’ into the Jacobian determinant.
Before you start
6.1: the circulation around a closed path. 6.3: type I and type II regions and iterated integrals. 5.4: the Jacobian determinant. 2.7: the determinant of a matrix.
Quick checkThe circulation of F=(−y,x) counterclockwise around the unit circle is 2π. What is it clockwise?
Reversing the direction of a path flips the sign of the line integral (6.1). The orientation of the boundary matters in Green's theorem for exactly this reason.Review: reversing a path
Quick checkIn ∫01∫0xfdydx, what is the region of integration?
The outer variable x runs from 0 to 1 and, for each x, y runs from 0 to x: the points on or below the diagonal.Review: type I regions
Quick checkThe matrix A=[2003] sends the unit square to a rectangle. By what factor does it multiply areas?
The image is the 2×3 rectangle of area 6, and ∣detA∣=6. The absolute value of the determinant is the area scaling factor of a linear map.Review: the determinant
The picture: spin in every cell, cancellation on the edges
Each little cell has its own circulation: the push of the field around its four edges. Pull the cells apart and look at two neighbours: they run along their shared edge in opposite directions, so that edge contributes + in one cell and − in the other, and cancels in the sum. Only the outer edges are left. So the sum of all cell circulations equals the circulation around the whole boundary. And for a small cell the circulation is about the spin Qx−Py times its area, so the sum is a Riemann sum for ∬(Qx−Py)dA. The three numbers in the explanation line agree.
The idea, in words
For a field F=(P,Q) and a tiny square of side h, go once counterclockwise around it. The bottom edge pushes by about P(x,y)h. The top edge, run backwards, contributes −P(x,y+h)h. The two together are −(P(x,y+h)−P(x,y))h≈−Pyh2. The right and left edges give +Qxh2 in the same way. The circulation of the square is about (Qx−Py)h2: the field’s local spin, times area. Adding up the squares gives the theorem.
Why· Why the theorem is true, in one sentence, and why it needs a hole-free field
Inside the region everything cancels in pairs, so the total is carried by the boundary. That argument breaks exactly when the field is not defined, or not differentiable, at some point inside: then the small cell around that point has no honest spin. The angle field of 6.2 has Qx−Py=0 everywhere it is defined, yet its circulation around the unit circle is 2π, all of it carried by the one cell around the origin that we are not allowed to cut.
Where this came from· Green, Riemann and the planimeter
George Green’s 1828 essay on electricity and magnetism contains an identity between an integral over a region of space and one over its boundary surface, in the form his theory of the potential needed. It was published privately in Nottingham and almost nobody noticed until William Thomson (Kelvin) found it in the 1840s and had it reprinted. The statement for a plane region, the one in this chapter, was first printed without proof by Cauchy in 1846, and Riemann proved it in his 1851 doctoral dissertation on functions of a complex variable. Meanwhile engineers had a machine that computes an area from the boundary: Johann Martin Hermann is credited with inventing the first planimeter in 1814, and in 1854 Jakob Amsler built the polar planimeter, in which you trace the boundary of a drawn region with a pointer and read the area off a wheel. The area formula 21∮(xdy−ydx) below is the mathematics behind that idea.
The statement
Definition T
Jordan curve
A curve C⊂R2 is a Jordan curve if it is traced by a path α:[a,b]→R2 with α(a)=α(b) and α one-to-one on [a,b): a closed simple path (6.1). The Jordan curve theorem (stated in the lecture without proof) says that such a curve splits the plane into exactly two connected open pieces, a bounded interior and an unbounded exterior. The region R in Green’s theorem is the interior together with C.
In one lineA closed curve that does not cross or touch itself: α:[a,b]→R2 with α(a)=α(b) and α one-to-one on [a,b).
Why it existsIt is the shape of a boundary: a loop with a clear inside and outside, which is what Green's theorem integrates around and over.
Definition T
Positive orientation
A Jordan curve C is positively oriented (traversed counterclockwise) if, walking along C in the direction of the parametrization, the interior lies on your left. The circle α(t)=(cost,sint), 0≤t≤2π, is positively oriented. A rigorous definition through the winding number is given at the end of the section on holes.
In one lineA Jordan curve is positively oriented (counterclockwise) if the region it bounds lies on your left as you walk along it.
Why it existsGreen's theorem is stated for this direction; the opposite direction gives the opposite sign.
Let C be a piecewise smooth Jordan curve, positively oriented, and R the interior of C together with C. Let S be an open set with R⊂S and F=(P,Q):S→R2 of class C1 (continuous first partial derivatives). Then
∮CPdx+Qdy=∬R(∂x∂Q−∂y∂P)dA.
In one lineIf C is a positively oriented piecewise smooth Jordan curve bounding R, and P and Q are C1 on an open set containing R, then ∮CPdx+Qdy=∬R(Qx−Py)dA.
Why it is trueIt trades a line integral for an area integral (or the reverse), whichever is easier, and it is the plane case of the big theorems of 6.5 and 6.6.
What goes wrong without each hypothesis. Check all of them every time.
Orientation. Traverse C clockwise and the line integral changes sign. A problem that says ‘counterclockwise’ is giving you the positive orientation.
Closed. An open curve encloses no region.
Simple. If C crosses itself, for example a figure eight, the two loops run in opposite senses, and the line integral equals the double integral over one loop minus the double integral over the other, not over the whole enclosed set.
Piecewise smooth. The line integral needs a velocity that is continuous on pieces (6.1).
C1 on an open set containing all of R, the inside included. The angle field F=x2+y2(−y,x) is C1 on the plane minus the origin and has Qx−Py=0 there, so the right side of Green over the unit disc would be 0 if the theorem applied; but the circulation around the unit circle is 2π. The theorem fails because F is not defined at the origin, which is inside the circle: no open set containing R is available.
Watch out· Four checks before you use Green
The curve is closed and simple. It is counterclockwise. The field is C1 everywhere inside and on it. Then replace the line integral by ∬(Qx−Py)dA.
Proof for a region that is of type I and type II
The lecture skipped the proof for time; worksheet 8 problem 6 proves it for a region of both types (6.3).
ProofMATH 376 worksheet 8 problem 6
The idea: Split the line integral into its P part and its Q part. For the P part use the type I description: only the bottom and top curves contribute, and the fundamental theorem of calculus turns their difference into the integral of P_y. For the Q part use the type II description, and add.
Let R be of both types.
R={a≤x≤b,g1(x)≤y≤g2(x)}={c≤y≤d,h1(y)≤x≤h2(y)} with all four functions continuous. We prove ∮Pdx=−∬PydA and ∮Qdy=∬QxdA and add.
The curve has four pieces: the bottom graph y=g1(x) (traversed with x increasing), the right side, the top graph y=g2(x) (traversed with x decreasing) and the left side. The sides may be single points.
Counterclockwise keeps the region on the left: along the bottom curve you move right, along the top curve you move left.
On the vertical sides x is constant, so they add nothing to ∮Pdx.
Parametrize each by x. Reversing the direction of the top piece flips the sign of its integral (6.1).
P(x,g2(x))−P(x,g1(x))=∫g1(x)g2(x)Py(x,y)dy.
Fundamental theorem of calculus in the variable y: Py is continuous, so P(x,⋅) is an antiderivative of Py(x,⋅).
So ∮CPdx=−∫ab∫g1(x)g2(x)Pydydx=−∬RPydA.
The type I integral formula of 6.3 for the continuous function Py.
∮CQdy=∫cdQ(h2(y),y)dy−∫cdQ(h1(y),y)dy.
Now describe R as type II. Counterclockwise: up the right curve x=h2(y), down the left curve x=h1(y). The horizontal pieces have dy=0.
=∫cd∫h1(y)h2(y)Qxdxdy=∬RQxdA.
Fundamental theorem of calculus in x for the continuous Qx, then the type II integral formula.
∮CPdx+Qdy=∬R(Qx−Py)dA. ■
Add the two results.
Proof workshopRebuild the proof of Green's theorem for a region of both typesMATH 376 worksheet 8 problem 6
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
The proof uses both descriptions: one for the P part and one for the Q part.
The bottom curve is run left to right and the top curve right to left, which reverses its sign.
First describe the region and its boundary pieces.
The fundamental theorem of calculus in y for each fixed x.
This rewrites the difference that appeared after combining the two curve integrals.
The type I iterated integral of 6.3 is the double integral.
You need the difference written as an integral in y first.
The same argument with x and y exchanged: the right curve goes up and the left curve goes down.
Finish the P part before turning to the Q part.
The two results are added.
This is the conclusion; it needs both parts.
A more general region, such as an annulus, is cut by interior segments into finitely many pieces of this kind. Along each cut the two neighbouring pieces traverse the cut in opposite directions, so the line integrals along it cancel, and only the original boundary is left: this is the cancellation of the picture at the top of the chapter.
What is proved here, and what is not. The proof above covers regions of both types, and, by cutting, every region that can be cut into such pieces (discs, polygons, regions between curves, the annulus), which is every region met in practice. Green’s theorem for an arbitrary piecewise smooth Jordan curve is true, and Apostol 11.19 states it in that generality, but its complete proof is a topic for analysis (it rests on the Jordan curve theorem, which Veblen proved completely in 1905).
Worked example MATH 376 worksheet 8 problem 3
Compute ∮Cxy2dx+x2ydy where C is the boundary of the rectangle with vertices (0,0), (2,0), (2,3), (0,3), counterclockwise.
Solution.
Check the hypotheses.C is closed, simple, piecewise smooth (four corners) and counterclockwise as stated. P=xy2 and Q=x2y are polynomials, hence C1 on the whole plane. Green applies.
Compute the spin.Qx=2xy and Py=2xy, so Qx−Py=0.
Integrate.∮C=∬R0dA=0.
Answer.0.
Worked example MATH 376 worksheet 8 problem 5 and worksheet 9 problem 5
Find the work of F=(y+x,2x+cos(y2)) around the triangle with vertices (0,0), (1,0), (0,1), counterclockwise. Then compute ∮C(xy+ex2)dx+(x2−ln(y2+1))dy around the same triangle.
Solution.
First field, spin.P=y+x, Q=2x+cos(y2), so Qx=2 and Py=1, and Qx−Py=1.
First field, integrate. The work is ∬R1dA, the area of the triangle: 21. One subtlety: ∂P/∂x=2x1 is not continuous at x=0 and x is not defined for x<0, so no open set containing the triangle works and the theorem as stated here does not literally apply. Only Py and Qx appear in the formula, and they are fine, so the worksheet’s answer comes from Green, but the direct computation along the three edges is what proves it. It confirms 32+(−61+K)+(−K)=21, where K=∫01cos(t2)dt cancels.
Second field, spin.Qx=2x and Py=x, so Qx−Py=x. Both components are C1 on the plane (y2+1>0).
Second field, integrate. The triangle is 0≤x≤1, 0≤y≤1−x: ∫01∫01−xxdydx=∫01x(1−x)dx=21−31=61.
Answer.21 and 61.
Worked example MATH 376 worksheet 9 problem 4 and worksheet 27 problem 3
Compute ∮Cy3dx+(x3+3xy2)dy where C is the circle x2+y2=4, counterclockwise. Then compute the circulation of F=(−y,x) around the unit circle both directly and by Green.
Solution.
Spin.P=y3, Q=x3+3xy2 are polynomials. Qx=3x2+3y2 and Py=3y2, so Qx−Py=3x2.
Polar coordinates over the disc of radius 2.∬3x2dA=∫02π∫023r2cos2θ⋅rdrdθ=3∫02πcos2θdθ∫02r3dr=3⋅π⋅4=12π. The integrand factors into a function of θ times a function of r over constant limits. Parametrizing the circle would give a harder integral.
Second problem, directly.α=(cost,sint), F(α)=(−sint,cost), F⋅α′=1, so the circulation is ∫02π1dt=2π.
Second problem, by Green.P=−y, Q=x, so Qx−Py=1−(−1)=2; the field is C1 on the plane; ∬disc2dA=2π.
Answer.12π and 2π (both ways).
Your answerCompute ∮C(−y3)dx+x3dy around the unit circle, counterclockwise.
Use polar coordinates for the disc; the area element is rdrdθ.
P=−y3, Q=x3, so Qx−Py=3x2+3y2=3r2. ∬3r2dA=∫02π∫013r2⋅rdrdθ=2π⋅43=23π.
Quick checkGreen's theorem is applied to the unit circle traversed clockwise with F=(−y,x). What does ∮F⋅dr equal?
Green gives ∬(Qx−Py)dA=2π only for the counterclockwise (positive) orientation; clockwise reverses the sign. The field is not a gradient, so 0 is wrong too.
Quick checkF=x2+y2(−y,x) has Qx−Py=0, and C is the unit circle counterclockwise. Why is ∮CF⋅dr=2π and not 0?
The theorem is true, but its hypotheses are not met: there is no open set containing the disc on which F is C1. The version for regions with holes, below, accounts for the 2π.
Area by a line integral
To get an area, choose a field with Qx−Py=1; then the right side of Green is ∬R1dA=area(R).
Theorem TMATH 376 lecture 4.22; Apostol 11.20
Area as a line integral
Let C be a positively oriented piecewise smooth Jordan curve α(t)=(X(t),Y(t)), a≤t≤b, bounding S. Then for any real c, area(S)=∫ab[(c−1)Y(t)X′(t)+cX(t)Y′(t)]dt.
In one lineFor a positively oriented piecewise smooth Jordan curve α(t)=(X(t),Y(t)) bounding S, and any real c, area(S)=∫ab[(c−1)YX′+cXY′]dt; with c=1,0,21: area(S)=∮xdy=−∮ydx=21∮(xdy−ydx).
Why it is trueIt computes an area by walking once around the boundary, which is what the planimeter does and what a surveyor does with the coordinates of the corners.
ProofMATH 376 lecture 4.22
The idea: Apply Green's theorem to the field ((c-1) y, c x), whose spin is c minus (c-1), which is 1.
Take the field F=((c−1)y,cx).
P=(c−1)y and Q=cx are polynomials, so C1 on the plane; the curve satisfies the other hypotheses.
Qx−Py=c−(c−1)=1.
Qx=c and Py=c−1.
∮CF⋅dr=∬R1dA=area(S), and the left side is ∫ab[(c−1)YX′+cXY′]dt. ■
Green's theorem. The left side in terms of the parameter: Px′+Qy′=(c−1)YX′+cXY′.
Worked example MATH 376 lecture example 4.23; worksheet 8 problem 2; worksheet 27 problem 4; homework 4 problem 4
Use the area formula with c=1 and with c=21 to find the area of the unit disc, then the area of the ellipse x=acost, y=bsint using ∮xdy, and again using 21∮(xdy−ydx).
Solution.
Disc, c=1.α=(cost,sint), so XY′=cos2t and ∫02πcos2tdt=[2t+4sin2t]02π=π. The term with (c−1) vanishes.
Disc, c=21. The integrand is −21sint⋅(−sint)+21costcost=21, and 21⋅2π=π. Both agree with π⋅12.
Ellipse with ∮xdy. The curve is a Jordan curve and increasing t goes counterclockwise. xdy=(acost)(bcost)dt=abcos2tdt, and ∫02πabcos2tdt=πab.
Ellipse with 21∮(xdy−ydx).dx=−asintdt and dy=bcostdt, so xdy−ydx=ab(cos2t+sin2t)dt=abdt and the area is 21⋅ab⋅2π=πab.
Answer. The disc has area π both ways, and the ellipse has area πab both ways.
Worked example MATH 376 homework 4 problem 5
A thin plate of uniform density occupies the triangle with vertices (−1,0), (0,1), (1,0). Use Green's theorem to find its centre of mass.
Solution.
Area. Base 2, height 1, so A=1. The centre of mass has xˉ=A1∬xdA and yˉ=A1∬ydA.
Choose fields with the right spin. For ∬ydA take P=−2y2, Q=0 (spin y). For ∬xdA take P=0, Q=2x2 (spin x). Both are C1 on the plane.
∬ydA=∮−2y2dx. Base: y=0, so 0. Right edge from (1,0) to (0,1): x=1−t, y=t, dx=−dt, giving ∫012t2dt=61. Left edge from (0,1) to (−1,0): x=t−1, y=t, t from 1 to 0, giving ∫10−2t2dt=61. Sum 31, so yˉ=31.
∬xdA=∮2x2dy. The base has dy=0. Right edge: ∫012(1−t)2dt=61. Left edge: ∫102(t−1)2dt=−61. Sum 0, so xˉ=0, as symmetry in the y-axis says.
Answer.(0,31): one third of the way up. Check: the width of the triangle at height y is 2(1−y), so ∬ydA=∫01y⋅2(1−y)dy=31.
Worked example Apostol 11.22 (exercise style)
Find the area of the astroid x=acos3t, y=asin3t, 0≤t≤2π.
Solution.
Setup. The curve is simple and counterclockwise. x′=−3acos2tsint and y′=3asin2tcost.
Choose the symmetric formula.xy′−yx′=acos3t⋅3asin2tcost+asin3t⋅3acos2tsint=3a2sin2tcos2t(cos2t+sin2t)=3a2sin2tcos2t.
Integrate. Area =21∫02π3a2sin2tcos2tdt=23a2∫02π4sin22tdt=23a2⋅4π. sintcost=21sin2t and ∫02πsin22tdt=π.
Answer.83πa2.
Your answerA land parcel has corners, in order counterclockwise, at (0,0), (120,0), (150,80), (40,110) (metres). Use the formula 21∑(xiyi+1−xi+1yi) for the area in square metres.
On the edge from (xi,yi) to (xi+1,yi+1) the integral of xdy−ydx is xiyi+1−xi+1yi.
The formula is 21∮(xdy−ydx) summed over the four straight edges. The terms are 0, 120⋅80−150⋅0=9600, 150⋅110−40⋅80=13300 and 40⋅0−0⋅110=0; the sum is 22900 and half of it is 11450.
Regions with holes, and the winding number
Beyond the course: for understanding· Apostol 11.21 to 11.25 (label A)
The course stated only the simplest version of Green’s theorem. This section is the rest of Apostol’s treatment: what happens when the region has holes.
Theorem AApostol Thm 11.12 (11.23)
Green's theorem for regions with holes
Let C1,…,Cn be piecewise smooth Jordan curves such that no two intersect, C2,…,Cn lie in the interior of C1, and each Ci lies in the exterior of Cj for i=j, i,j>1. Let R be C1 together with the part of its interior outside C2,…,Cn. If P and Q are C1 on an open set containing R, then
with every curve traversed counterclockwise. The minus signs are the clockwise orientation of the inner curves: the region stays on your left.
In one lineIf C1 is a Jordan curve and C2,…,Cn are disjoint Jordan curves inside it, all counterclockwise, and R is the region inside C1 and outside the others, then ∬R(Qx−Py)dA=∮C1−∮C2−⋯−∮Cn of Pdx+Qdy, for P,Q of class C1 on an open set containing R.
Why it is trueIt handles an annulus or a plate with holes: the outer curve counts positively, the inner curves negatively, and the field may be undefined inside the holes.
ProofApostol 11.23
The idea: For n = 2, cut the annulus by two crosscuts into two simply connected pieces, apply Green's theorem to each piece, and add. The crosscuts are traversed once in each direction and cancel.
Cut the region into an upper piece bounded by the Jordan curve K1 (upper halves of C2 and C1 and the two crosscuts) and a lower piece bounded by K2.
Introduce two crosscuts AB and CD joining the inner and outer curves.
∬Ri(Qx−Py)dA=∮KiPdx+Qdy for i=1,2.
Green's theorem for each piece, which has no holes.
Adding, the crosscut integrals disappear, and the remaining parts of K1 and K2 are C1 counterclockwise and C2 clockwise.
Each crosscut is traversed once in each direction, so its two integrals cancel.
∬R(Qx−Py)dA=∮C1−∮C2. The general n follows by induction on n. ■
Additivity of the double integral over the two pieces.
Corollary AApostol Thm 11.13 (11.25)
Invariance of a line integral under deformation
Let P,Q be C1 on an open connected set S with Py=Qx everywhere on S. Let C1,C2 be piecewise smooth Jordan curves in S with C2 inside C1, and the points inside C1 and outside C2 in S. Then ∮C1Pdx+Qdy=∮C2Pdx+Qdy (both traversed in the same direction).
In one lineIf Py=Qx on an open connected set S and C2 lies inside C1 with the region between them in S, then ∮C1Pdx+Qdy=∮C2Pdx+Qdy, both counterclockwise.
Why it is trueIt lets you replace a complicated curve around a hole by a small circle, and it shows that for such fields the integral around a hole counts how often the curve winds.
The proof is the previous theorem with Qx−Py=0: the double integral is 0, so ∮C1−∮C2=0.
Worked example MATH 376 (the argument for the angle field); Apostol 11.25, exercise style
Let F=x2+y2(−y,x) and let C be any counterclockwise Jordan curve with the origin inside it. Show ∮CF⋅dr=2π. Then let G=F(1,0)+3F(−1,0), where Fp(x)=F(x−p) is the angle field about the point p, and compute ∮G⋅dr around the circle of radius 3 about the origin and around small circles about each point.
Solution.
Cut a hole. Choose a small circle C2 of radius ρ about the origin lying inside C. Let R be the region between them. F is C1 on the plane minus the origin, and the origin is not in R, so the hole version applies with C1=C.
Apply the hole version.∮CF⋅dr−∮C2F⋅dr=∬R(Qx−Py)dA=∬R0dA=0. Qx−Py=0 was computed in 6.2.
Compute on the small circle.α(t)=(ρcost,ρsint), F(α)=ρ2(−ρsint,ρcost), and F⋅α′=1, so ∮C2F⋅dr=2π. Hence ∮CF⋅dr=2π for every such C.
The two-hole field.G has spin 0 away from the two points (±1,0). Around the circle of radius 3, which contains both points, the hole version with two small circles gives ∮G=2π⋅1+2π⋅3=8π. Around a small circle about (1,0) that excludes (−1,0): 2π. Around a small circle about (−1,0): 6π. Each hole contributes its coefficient times 2π.
Answer.2π; and 8π, 2π, 6π for the three curves. This is also why a circulation of 0 around circles about the missing point implies a potential for a field with Py=Qx (the instructor’s remark on Final problem 1(a)): every closed curve is a whole number of laps around the hole.
Your answerWith G=F(1,0)+3F(−1,0) as above, what is the circulation of G counterclockwise around the circle of radius 3 centred at the origin?
Cut a small circle out around each singular point and use the hole version of Green's theorem.
Both singular points lie inside the circle, each with circulation 2π times its coefficient: 2π⋅1+2π⋅3=8π.
Definition A
Winding number
Let r(t)=(X(t),Y(t)), a≤t≤b, be a closed piecewise smooth path and p=(x0,y0) a point not on it. The winding number of r about p is
It is always an integer (the total change of the angle of r(t)−p, divided by 2π). If C is a Jordan curve it is 0 for p outside C, and for p inside it is +1 at every inside point or −1 at every inside point; the first case is the positive orientation.
In one lineThe winding number W(r;p) of a closed piecewise smooth path r about a point p not on it is 2π1∮(x−x0)2+(y−y0)2−(y−y0)dx+(x−x0)dy: the number of times r goes counterclockwise around p.
Why it existsIt makes 'goes around' exact: it is the circulation of the angle field about p divided by 2π, and it is always a whole number.
Worked example Apostol 11.24 (definition and Figure 11.20); the limacon is new
Find the winding number of (a) the unit circle run twice counterclockwise about the origin; (b) the circle of radius 1 about (3,0), about the origin; (c) the limacon r=1+2cosθ, 0≤θ≤2π, about the points (1.5,0), (0.5,0) and (−0.2,0).
Solution.
(a) The circulation of the angle field is 2π per lap, so after two laps it is 4π and W=2. The lab in 6.2 gave 12.566=4π.
(b) The origin is outside the circle about (3,0), which lies in the half plane x>2, where the angle θ is a single valued function, so the angle returns to its start without winding: W=0.
(c) Shape. The limacon has a big outer loop through (3,0) and a small inner loop through the origin and (1,0) (where r=−1).
(c) Count. A point inside the outer loop but outside the inner loop, such as (1.5,0), has W=1; a point inside the inner loop, such as (0.5,0), is circled twice, W=2; a point outside everything, such as (−0.2,0), has W=0. Checked numerically by following the angle of r(t)−p and dividing the total change by 2π: the values 1,2,0.
Answer. (a) 2; (b) 0; (c) 1, 2 and 0.
Python labGreen's theorem, numerically, and where it fails
import numpy as npc, s = np.cos, np.sindef circulation(F, r, dr, n=20000): # line integral of F around the closed curve r(t), 0 <= t <= 2 pi t = np.linspace(0, 2 * np.pi, n + 1); m = (t[:-1] + t[1:]) / 2 (x, y), (u, v) = r(m), dr(m); P, Q = F(x, y) return np.sum(P * u + Q * v) * 2 * np.pi / ndef double(curl, inside, box, n=1500): # double integral of the curl over the region, midpoint grid x0, x1, y0, y1 = box X, Y = np.meshgrid(x0 + (np.arange(n) + .5) * (x1 - x0) / n, y0 + (np.arange(n) + .5) * (y1 - y0) / n) return np.sum(np.where(inside(X, Y), curl(X, Y), 0)) * (x1 - x0) * (y1 - y0) / n**2ell = (lambda t: (2 * c(t), s(t)), lambda t: (-2 * s(t), c(t))) # the ellipse x^2/4 + y^2 = 1, counterclockwiseinside = lambda X, Y: X**2 / 4 + Y**2 <= 1box = (-2, 2, -1, 1)F1 = lambda x, y: (-y**3, x**3) # spin 3 x^2 + 3 y^2F2 = lambda x, y: (y**2, x) # spin 1 - 2 yF3 = lambda x, y: (-y / (x**2 + y**2), x / (x**2 + y**2)) # the angle field, spin 0 away from the originfor name, F, curl in [("(-y^3, x^3)", F1, lambda X, Y: 3 * X**2 + 3 * Y**2), ("(y^2, x)", F2, lambda X, Y: 1 - 2 * Y), ("angle field", F3, lambda X, Y: 0 * X)]: print(f"F = {name:12s} line integral {circulation(F, *ell):9.4f} integral of the spin {double(curl, inside, box):9.4f}")
Try this.Run it. For the ellipse x^2/4 + y^2 = 1 and F = (-y^3, x^3), the line integral around the boundary and the double integral of Q_x - P_y over the inside agree to about three decimals (both are 15*pi/2 = 23.562). For F = (y^2, x) the spin is 1 - 2y, whose integral over the symmetric ellipse equals the area 2*pi. For the angle field the spin is 0 but the line integral is 2*pi, because the field is not defined at the origin inside the ellipse. Change the curve to the circle of radius 0.5 centred at (2, 0), that is (2 + 0.5 cos t, 0.5 sin t), and the box and the inside test to match: the angle field now gives 0, because the origin is outside the curve and Green's theorem applies with spin 0.
Change of variables
In one variable, if g:[a,b]→R is C1 and f is continuous on g([a,b]), then ∫g(a)g(b)f(x)dx=∫abf(g(u))g′(u)du: substitution. The factor g′(u) says by how much g stretches a tiny interval. In the plane, a transformation is a map g(u,v)=(X(u,v),Y(u,v)) from a region T in the (u,v)-plane to a region S=g(T) in the (x,y)-plane. Its derivative is the Jacobian matrix (5.3), and its determinant, the Jacobian determinant (5.4),
should be the area-stretching factor, the analogue of g′. The columns are the partial derivatives with respect to u and v.
Slide the cell around and shrink its size h. The purple patch is the true image of the little square; the green parallelogram is what the Jacobian matrix at the corner does to it. The ratio of areas is the Jacobian, up to a small error that goes to zero with h.
Why· Why the weight is the absolute value of the Jacobian determinant
Put f=1; the formula says area(g(T))=∬Twdudv for some weight w, which must be the local area stretching factor. A translation keeps areas, so w=1, and its Jacobian matrix is the identity. A linear map with matrix A sends the unit square to the parallelogram spanned by the columns of A, of area ∣detA∣ (2.7). A general C1 map is close to its linear approximation g(a+h)≈g(a)+Dg(a)h on a tiny square, so there the factor is ∣detDg(a)∣. Area is positive, so we need the absolute value: J is negative for a map that flips orientation.
Where this came from· Euler, Lagrange and Jacobi
Leonhard Euler studied double integrals in 1769 and was apparently the first to ask systematically how they change under a change of variables. A few years later Joseph-Louis Lagrange, working on the attraction of a solid body, needed a triple integral, found Euler’s method messy in three variables, and derived a general change of variables for triple integrals. The determinant that appears in the formula was studied for its own sake by Carl Jacobi in his 1841 paper on functional determinants (see 5.3), and carries his name. The best single account is V. Katz, Change of Variables in Multiple Integrals: Euler to Cartan (1982).
Theorem TMATH 376 lecture Thm 4.27 and the lecture of 16 February; Apostol 11.26 and 11.29 to 11.30
Change of variables in a double integral
Let T=[a,b]×[c,d] (or a more general region) and g=(X,Y):T→R2 one-to-one and C1 with J(u,v)=0 for every (u,v)∈T. If f is continuous on g(T), then
∬g(T)f(x,y)dxdy=∬Tf(X(u,v),Y(u,v))∣J(u,v)∣dudv.
In Rn the statement is the same with T a box and ∣detDg∣.
In one lineIf g:T→S is one-to-one and C1 with J=0 (allowed to fail on a set of content zero) and f is continuous on S, then ∬Sfdxdy=∬Tf(X(u,v),Y(u,v))∣J(u,v)∣dudv.
Why it is trueIt lets you trade a region or integrand that is awkward in (x,y) for a simple one in (u,v), at the price of one extra factor: the absolute Jacobian determinant.
What fails without each hypothesis.
One-to-one. If g covers part of the image twice, the right side counts it twice. Example: g(u,v)=(u2,v) on [−1,1]×[0,1] has image [0,1]2 of area 1, but ∬T∣2u∣dudv=2. Polar coordinates with θ∈[0,4π] cover the disc twice.
J=0. Where J=0 the map squashes a direction. For polar coordinates J=r vanishes at r=0, and g also fails to be one-to-one on the line r=0 and on θ=0 versus θ=2π; these bad sets have area zero, so the formula still holds.
C1. The linear approximation needs continuous partial derivatives.
The absolute value. Dropping it is a common error (worksheet 9 problems 3 and 6, worksheet 27 problem 6).
The direction of the Jacobian. The formula needs ∂(x,y)/∂(u,v): the old variables expressed through the new. If you solved for u,v in terms of x,y, what you computed is ∂(u,v)/∂(x,y), the reciprocal.
The recipe
Choose a substitution (u,v) that makes the region or the integrand simple.
Map the boundary. For a polygon, send each vertex to the uv-plane and check that the sides map to the sides.
Write x,y in terms of u,v, compute J=XuYv−XvYu and take ∣J∣.
Rewrite the integrand in u,v.
Integrate over the new region with the right limits.
Map
x,y in terms of the new variables
∣J∣
polar
x=rcosθ,y=rsinθ
r
stretched polar
x=arcosθ,y=brsinθ
abr
scaling
x=2u,y=3v
6
sum and difference
u=x−y,v=x+y, so x=2u+v,y=2v−u
21
cylindrical
x=rcosθ,y=rsinθ,z=z
r
spherical
x=ρsinφcosθ,y=ρsinφsinθ,z=ρcosφ
ρ2sinφ
Quick checkYou substitute u=x+y, v=x−y and compute ∂(u,v)/∂(x,y)=−2. What factor multiplies the integrand in the dudv integral?
The formula needs ∂(x,y)/∂(u,v), the reciprocal of −2, which is −21, and then the absolute value: 21. Areas in the uv-plane are twice as large as in the xy-plane, so the integrand must be halved.
Worked example MATH 376 lecture 4.28; practice Final problem 3, see [A.5](/vol2/a5-practice-exams/)
Find the Jacobian determinant of polar coordinates and of g(r,θ)=r(cos2πθ,21sin2πθ). Then compute the area of the elliptic ring E={(x,y):1≤x2+4y2≤11}.
Solution.
Polar.det[cosθsinθ−rsinθrcosθ]=rcos2θ+rsin2θ=r. Columns are ∂/∂r and ∂/∂θ.
The practice map.x=rcos2πθ, y=2rsin2πθ. Then xr=cos2πθ, xθ=−2πrsin2πθ, yr=21sin2πθ, yθ=πrcos2πθ. Chain rule: the inner function 2πθ has derivative 2π.
Determinant.J=xryθ−xθyr=πrcos22πθ+πrsin22πθ=πr. The second product is 2πrsin(⋅)⋅21sin(⋅)=πrsin2(⋅), with a plus sign after subtracting the negative.
Turn the ring into a rectangle.x2+4y2=r2cos22πθ+r2sin22πθ=r2, so the ring is 1≤r≤11, θ∈[0,1). g is the polar map followed by a squeeze of y by 21, one-to-one for r>0 and C1 with J=πr=0 for r≥1: all hypotheses hold.
Check. The ellipse x2+4y2≤ρ2 has half-axes ρ and ρ/2, area 2πρ2, and 211π−2π=5π.
Answer.J=r for polar, J=πr for the practice map, and Area(E)=5π. (With the polar J=r the disc of radius R has area ∫02π∫0Rrdrdθ=πR2, the lecture’s first use of the theorem.)
Worked example MATH 376 homework 4 problem 3; worksheet 9 problem 6
Find the area of the ellipse a2x2+b2y2≤1 with x=arcosθ, y=brsinθ. Then compute ∬R(x2+y2)dA over 4x2+9y2≤1 with x=2u, y=3v.
Solution.
Jacobian.[acosθbsinθ−arsinθbrcosθ] has determinant abrcos2θ+abrsin2θ=abr. a2x2+b2y2=r2, so the ellipse is 0≤r≤1.
Area.∫02π∫01abrdrdθ=πab. One-to-one except on a set of area zero (r=0 and the cut at θ=0).
Second problem: scaling. The map x=2u, y=3v is linear with ∣J∣=6, and the condition becomes u2+v2≤1.
Rewrite.∬R(x2+y2)dA=∬u2+v2≤1(4u2+9v2)⋅6dudv.
Polar in the uv-plane.6∫02π∫01(4r2cos2θ+9r2sin2θ)rdrdθ=6⋅41(4π+9π)=239π. ∫01r3dr=41 and ∫02πcos2θdθ=∫02πsin2θdθ=π.
Answer.πab and 239π.
Your answerUse x=2u, y=3v to find the area of the ellipse 4x2+9y2≤1.
The Jacobian of a diagonal linear map is the product of the diagonal entries.
∣J∣=6 and the region becomes the unit disc of area π, so the area is 6π. This agrees with πab for a=2, b=3.
Worked example MATH 376 worksheet 9 problem 3
Compute ∬Rx+yx−ydA where R is the square with vertices (0,1), (1,2), (2,1), (1,0), using u=x−y, v=x+y.
Solution.
Map the vertices.(x,y)↦(u,v): (0,1)→(−1,1), (1,2)→(−1,3), (2,1)→(1,3), (1,0)→(1,1). These are the corners of the rectangle [−1,1]×[1,3]. The sides of R lie on the lines x−y=±1 and x+y=1,3.
Solve for the old variables. Adding the definitions, u+v=2x; subtracting, v−u=2y. So x=2u+v, y=2v−u. The formula needs ∂(x,y)/∂(u,v), so x,y must be written in terms of u,v.
Jacobian.det[21−212121]=41+41=21, so ∣J∣=21.
Rewrite the integrand.x+yx−y=vu, continuous since v≥1.
Integrate.∫13∫−11vu⋅21dudv=21∫13v1[2u2]−11dv=0. The integrand is odd in u over the symmetric interval [−1,1].
Answer.0.
Worked example MATH 376 worksheet 27 problem 6
Compute ∬D(x+y)dA where D is the parallelogram that corresponds to 0≤u≤2, 0≤v≤4 under u=x+y, v=x−y.
Solution.
Solve.x=2u+v, y=2u−v.
Jacobian.det[212121−21]=−41−41=−21. The Jacobian is negative, so ∣J∣=21. The absolute value is required: area is positive, and this map reverses orientation.
Integrand.x+y=u.
Integrate.∫02∫04u⋅21dvdu=∫022udu=4.
Answer.4.
Worked example MATH 376 homework 4 problem 6; Topic 5 table
Compute the Jacobian determinants of cylindrical and spherical coordinates, and use the second to verify dV=ρ2sinφdρdφdθ.
Solution.
Cylindrical. For (r,θ,z)↦(rcosθ,rsinθ,z) the matrix is cosθsinθ0−rsinθrcosθ0001. Expand along the third column, which has a single non-zero entry 1 with sign +: det=1⋅(rcos2θ+rsin2θ)=r.
Expand along the third row, with signs +,−,+; the third entry is 0. The first entry cosφ has minor ρ2cosφsinφ(cos2θ+sin2θ)=ρ2sinφcosφ. The second entry −ρsinφ (sign −) has minor ρsin2φ.
Worked example the Gaussian integral (label B); used in 8.1
Show that ∫−∞∞e−x2dx=π.
Solution.
Square it.(∫e−x2dx)2=∬R2e−(x2+y2)dxdy. Separable integrand: the product of two single integrals (Fubini, extended to the plane as a limit of integrals over larger and larger discs).
Polar coordinates.=∫02π∫0∞e−r2rdrdθ=2π[−21e−r2]0∞=π. The factor r of the Jacobian is what makes the antiderivative elementary.
Square root. The integral is positive, so it equals π.
Answer.π. This is the normalising constant of the Gaussian density in 10.1.
Why the formula is true
Three layers, in the order Apostol gives them. The first layer is the one a good proof sketch should name; the second is a complete proof of the case that matters; the third is a sketch.
Theorem AApostol 11.29
Area under a change of variables
Let g=(X,Y) be one-to-one with continuous second partial derivatives and J=XuYv−XvYu>0 on a region T bounded by a piecewise smooth Jordan curve C∗ (positively oriented), and S=g(T) with boundary C=g(C∗). Then area(S)=∬TJ(u,v)dudv.
In one lineIf g=(X,Y) has continuous second partials and J>0 on a region T bounded by a piecewise smooth Jordan curve, then the area of g(T) equals ∬TJdudv.
Why it is trueThis is the formula with f=1; the rest of the change of variables theorem is deduced from it by a step-function argument, and its proof is Green's theorem.
ProofApostol 11.29
The idea: Write the area of S as a line integral of x dy around its boundary with Green's theorem. Parametrize the boundary through the (u, v) plane. Then apply Green's theorem again in the (u, v) plane; the mixed second partials cancel and what is left is the Jacobian.
area(S)=∮Cxdy.
Green's theorem with P=0, Q=x (spin 1), for the curve C, positively oriented because J>0 preserves orientation (Apostol states this).
∮Cxdy=∮C∗X(Yudu+Yvdv).
Parametrize C∗ by (u(t),v(t)); then C is (X(u(t),v(t)),Y(u(t),v(t))), and the chain rule gives dy=Yuu′dt+Yvv′dt.
=∬T[(XYv)u−(XYu)v]dudv.
Green's theorem in the (u,v)-plane with P=XYu and Q=XYv (these are C1 because X,Y are C2).
(XYv)u−(XYu)v=XuYv−XvYu+X(Yvu−Yuv).
Product rule: (XYv)u=XuYv+XYvu and (XYu)v=XvYu+XYuv.
So the integrand is XuYv−XvYu=J, and area(S)=∬TJdudv. ■
Equality of mixed partials for the C2 function Y (5.5): Yvu=Yuv.
Proof workshopGive the reason for each line: the area of an image is the integral of JApostol 11.29
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
area(S)=∮Cxdy.
∮Cxdy=∮C∗X(Yudu+Yvdv).
=∬T[(XYv)u−(XYu)v]dudv.
(XYv)u−(XYu)v=XuYv−XvYu+X(Yvu−Yuv).
Yvu=Yuv, so the integrand is J.
From f=1 to every f. Apply the formula to a rectangle R in the xy-plane and its image R∗ in the uv-plane under the inverse map: ∬Rdxdy=∬R∗∣J∣dudv. Multiply by a constant cij and sum over the cells of a partition: this proves the formula for step functions s on R. Given an integrable f and step functions s≤f≤t, composing with g keeps the inequalities, and multiplying by ∣J∣≥0 keeps them too; so the number ∬R∗f(g(u,v))∣J∣dudv lies between ∬s and ∬t for all such s,t, hence equals ∬Rf. Finally extend f by zero from a general region to a rectangle containing it (Apostol 11.30). This is the sandwich argument of 6.3 again.
The lecture’s proof (label T, a sketch). The lecture of 16 February proved the theorem on a rectangle by a different route. By uniform continuity of the partial derivatives, for every ε there is δ such that ∥g(p+h)−g(p)−Dg(p)h∥∞≤ε∥h∥∞ for all p and all ∥h∥∞<δ. Cut the rectangle into cells of side below δ. On each cell the true image g(Rk) lies within a band of width about εδ of the parallelogram Dg(pk)(Rk), whose area is ∣J(pk)∣area(Rk); since ∣J∣ has a positive minimum, the area error is a small multiple of ε times the area of the cell. Summing, the integral of f over g(Q) is within O(ε) of ∑f(g(pk))∣J(pk)∣area(Rk), which lies between the step integrals of the continuous function (f∘g)∣J∣. Since ε is arbitrary, the two integrals are equal. This is a sketch: several constants are not tracked.
Where it is used
Used inside maths· Inside maths: Cauchy's theorem, Stokes, and densities under a change of variables
Green’s theorem is the plane case of Stokes’ theorem. The 376 midterm asked to deduce Green’s theorem from Stokes’ theorem for the flat disc D×{0} with normal (0,0,1) and the field (P,Q,0), whose curl is (0,0,Qx−Py); the full-credit solution is in A.1, where Stokes’ theorem is the given and this chapter’s statement is the target. Another consequence is a ‘normal form’ of Green’s theorem: applying it to (−Q,P) shows that the flux of a field F=(P,Q) out of a region equals ∬(Px+Qy)dA, the divergence, which becomes the divergence theorem in 3-space. In complex analysis, ∮f(z)dz=0 for analytic f follows from Green’s theorem and the Cauchy–Riemann equations, and the winding number appears in the residue theorem. In probability, if (X,Y) has density fX,Y and (U,V)=h(X,Y) is one-to-one and smooth, then fU,V(u,v)=fX,Y(h−1(u,v))∣detDh−1(u,v)∣: this chapter’s theorem, read as a statement about densities.
Used in the real world· Used in the real world: the planimeter, the surveyor's formula and the bell curve
A polar planimeter measures the area of a region on a map or an indicator diagram by tracing its boundary once with a pointer; the reading of its wheel is a line integral of the motion of the pointer along the boundary, and by Green’s theorem that line integral is proportional to the enclosed area. Land surveyors use the polygon version: for a parcel with corners (xi,yi) listed counterclockwise, the area is 21∑(xiyi+1−xi+1yi), because on the straight edge from (xi,yi) to (xi+1,yi+1) the integral of xdy−ydx is exactly xiyi+1−xi+1yi. For corners (0,0), (120,0), (150,80), (40,110) metres the area is 21(0+9600+13300+0)=11,450 m2. The same formula is what graphics libraries use to find the signed area of a polygon, and a negative sign tells them the corners were listed clockwise.
The bell curve: the density of a standard normal variable is 2π1e−x2/2, and the constant 2π1 comes from the Gaussian integral ∫e−x2/2dx=2π, which is the polar-coordinate computation above (with x2/2 in place of x2). Without the factor r from the Jacobian, no one would have found the integral in closed form. And when the heat in a circular plate is computed in polar coordinates, or the gravitational pull of a ball in spherical coordinates, the Jacobians r and ρ2sinφ are the factors that make the integrals tractable.
Traps
Watch out· Deduce means: say what each ingredient becomes
On the 376 midterm, a student were asked in problem 4(b) to ‘Deduce Green’s theorem from Stokes’ theorem’. They wrote Stokes’ theorem and the determinant formula for the curl, and the rubric item was ‘Stated Green’s theorem or Stokes’ theorem, otherwise no helpful steps’: 0.5 of 3. Quoting the big theorem is the first line of the argument. The rest: name the surface (D×{0}), its normal ((0,0,1)), the field (P,Q,0) and its curl (0,0,Qx−Py), check the orientation of the boundary, and conclude. The full solution is in A.1. A ‘deduce’ question is a checklist.
Watch out· Check all the hypotheses of Green, especially the inside
Orientation (counterclockwise, region on your left), closed and simple, and a C1 field on an open set containing the inside as well as the boundary. The designed counterexample is the angle field around the origin: spin 0, circulation 2π. If the curve encloses a point where F is undefined, cut it out with the hole version.
Watch out· Keep the absolute value, and use the right Jacobian
The factor is ∣J∣, never J (worksheet 9 problems 3 and 6, worksheet 27 problem 6 all test this). And it is ∂(x,y)/∂(u,v), the old variables in terms of the new. If you solved u=x+y, v=x−y and computed the matrix of u,v in terms of x,y (determinant −2), invert: the factor is 21.
Watch out· Map the region, not only the integrand
Change the boundary as well as the integrand. For a polygon, map its vertices and check that the images of the sides are the sides of the new region (worksheet 9 problem 3 turns a tilted square into a rectangle). A substitution that simplifies the integrand but leaves a messy region is usually the wrong substitution.
Watch out· Do not forget r in polar coordinates
dA=rdrdθ. The same goes for r in cylindrical and ρ2sinφ in spherical coordinates. Polar limits are constants only for a disc, a sector or a ring centred at the origin.
Watch out· A curve that crosses itself
For a figure eight, Green’s theorem does not give the integral over the whole enclosed set: the loops run in opposite senses and the line integral is the integral over one loop minus the integral over the other. Split the curve into its simple loops, or use the winding number.
Problems
checkMATH 376 worksheet 8 problem 3 style
Compute ∮Cx2ydx+xy2dy around the boundary of the square [0,1]2, counterclockwise.
Solution
P=x2y, Q=xy2 are polynomials. Qx−Py=y2−x2. ∬[0,1]2(y2−x2)dA=31−31=0.
check
The Jacobian determinant of (r,θ)↦(rcosθ,rsinθ) is r. By what factor does polar coordinates multiply the area of a tiny cell at r=5?
Solution
By 5. A cell of sides dr and dθ is sent to a nearly rectangular patch with sides dr and 5dθ, of area 5drdθ.
check
True or false: if Qx−Py=0 at every point of the plane minus the origin, then ∮CPdx+Qdy=0 for every closed curve in that set.
Solution
False. The angle field has Qx−Py=0 there and circulation 2π around the unit circle. The statement is true for curves that do not wind around the origin (their inside stays in the domain).
checkMATH 376 worksheet 9 problem 3, step 1 only
The linear map u=x−y, v=x+y sends the triangle with vertices (0,0), (1,0), (0,1) to a triangle in the uv-plane. Find its vertices and the Jacobian ∂(x,y)/∂(u,v).
Solution
(0,0)↦(0,0), (1,0)↦(1,1), (0,1)↦(−1,1). With x=2u+v, y=2v−u, the Jacobian is det[21−212121]=21. (Check: the new triangle has base 2 and height 1, area 1, which is twice the area 21 of the old; so areas in the (x,y)-plane are half those in the (u,v)-plane, matching ∣J∣=21.)
usenew (MATH 376 worksheet 9 problem 4 style)
Use Green’s theorem to compute the work of F=(ex−y3,siny+x3) around the circle x2+y2=1, counterclockwise.
Solution
F is C1 on the plane. Qx−Py=3x2+3y2. In polar coordinates ∬3r2dA=∫02π∫013r3drdθ=23π.
useMATH 376 worksheet 27 problem 4 style
Find the area enclosed by the ellipse 9x2+16y2=1 by 21∮(xdy−ydx).
Solution
x=3cost, y=4sint, xdy−ydx=12(cos2t+sin2t)dt=12dt, so the area is 21⋅12⋅2π=12π (=πab).
useApostol 11.28 style
Compute ∬Dx2+y2dA where D is the half disc x2+y2≤4, y≥0.
Solution
Polar: ∫0π∫02r⋅rdrdθ=π⋅38=38π.
use
Use u=x+y, v=y−2x to compute ∬T(x+y)dA over the triangle T with vertices (0,0), (1,0), (0,1).
Solution
The vertices map to (0,0), (1,−2), (1,1). Solving: u−v=3x, so x=3u−v, and y=u−x=32u+v. J=det[3132−3131]=91+92=31. The new triangle is 0≤u≤1, −2u≤v≤u, and the integrand is u: ∫01∫−2uuu⋅31dvdu=31∫013u2du=31. Check directly: ∬T(x+y)dA=∫01∫01−x(x+y)dydx=31.
proveMATH 376 lecture 4.22 / Apostol 11.20
Use Green’s theorem to prove that 21∮(xdy−ydx) is the area of the region bounded by a positively oriented piecewise smooth Jordan curve.
Solution
Take P=−2y, Q=2x. They are C1 on the plane, and Qx−Py=21+21=1. By Green’s theorem, ∮Pdx+Qdy=∬R1dA=area(R), and the left side is 21∮(xdy−ydx).
proveMATH 376 Midterm 2 problem 4(b) style (the Green side)
Using Green’s theorem, show that the area of a polygon with counterclockwise vertices (x1,y1),…,(xn,yn) is 21∑i=1n(xiyi+1−xi+1yi), with (xn+1,yn+1)=(x1,y1).
Solution
By the previous problem the area is 21∮(xdy−ydx) around the polygon. On the edge from (xi,yi) to (xi+1,yi+1) parametrize x=xi+t(xi+1−xi), y=yi+t(yi+1−yi), 0≤t≤1. Then dx=(xi+1−xi)dt and dy=(yi+1−yi)dt, so xdy−ydx=[(xi+tΔx)Δy−(yi+tΔy)Δx]dt with Δx=xi+1−xi, Δy=yi+1−yi. The terms in t cancel (tΔxΔy−tΔyΔx=0), leaving (xiΔy−yiΔx)dt=(xiyi+1−xi+1yi)dt, because −xiyi+yixi=0. Integrating over [0,1] and summing over the edges gives the formula.
proveMATH 376 lecture 4.25 / Remark 4.26
Prove that a linear map g(u,v)=A(u,v)T with invertible A multiplies areas by ∣detA∣, by finding the area of the image of the unit square.
Solution
A(u,v)T=uc1+vc2 where c1,c2 are the columns of A, so the image of [0,1]2 is the parallelogram spanned by c1 and c2. Its area is ∣det(c1,c2)∣=∣detA∣ (2.7); for example, with sides (2,0) and (0,3) it is a 2×3 rectangle of area 6=det[2003]. The absolute value is needed because area is not negative. By translation invariance and additivity the same factor applies to every square, hence (by exhaustion with squares) to every region.
prove
Let F=x2+y2(−y,x). Prove that ∮CF⋅dr=0 for any counterclockwise Jordan curve C that does not enclose the origin.
Solution
The origin is outside C, so it is not in the region R bounded by C, and F is C1 on the open set (plane minus origin) containing R. By Green’s theorem, ∮CF⋅dr=∬R(Qx−Py)dA=∬R0dA=0.
proveMATH 376 homework 4 problem 6 and Topic 5 table
Show that a map g:R2→R2 of the form g(r,θ)=(rcosθ,rsinθ) restricted to (0,∞)×[0,2π) is one-to-one, and explain why the change of variables formula still applies on the whole disc, where J=0 at the origin.
Solution
If r1(cosθ1,sinθ1)=r2(cosθ2,sinθ2) with ri>0, take lengths: r1=r2; then (cosθ1,sinθ1)=(cosθ2,sinθ2) forces θ1=θ2 in [0,2π). So g is one-to-one there. On the closed rectangle [0,R]×[0,2π] the map fails to be one-to-one on the sides r=0 (all go to the origin) and θ=0 versus θ=2π, and J=r=0 on r=0. These sets are segments of the boundary of the rectangle, which have content zero, and the theorem allows g to fail to be one-to-one, and J to vanish, on a set of content zero (Apostol 11.26). So ∬discfdA=∫02π∫0Rf(rcosθ,rsinθ)rdrdθ.
stretchApostol 11.25 (exercise style)
A curve goes twice counterclockwise around the unit circle and then once clockwise around the circle of radius 3 about the origin (a closed path in two pieces, connected by a radial segment traversed both ways). Find its winding number about (a) the origin; (b) the point (0,2); (c) the point (5,0).
Solution
The winding number adds over pieces, and the radial segment traversed both ways contributes nothing. (a) Origin: inside both circles, 2⋅(+1)+1⋅(−1)=1. (b) (0,2): inside the circle of radius 3 but outside the unit circle, so 2⋅0+(−1)=−1. (c) (5,0): outside both, 0.
stretchnew (change of variables to a density)
The random point (X,Y) is uniform on the unit disc, with density π1 there. Use polar coordinates to find the density of the distance R=X2+Y2 and the expected distance E[R].
Solution
P(R≤ρ)=∬r≤ρπ1dA=∫02π∫0ρπ1rdrdθ=ρ2 for 0≤ρ≤1. So the density of R is 2ρ on [0,1] (the Jacobian factor r is where the 2ρ comes from), and E[R]=∫01ρ⋅2ρdρ=32.
Summary
Green’s theorem: for a positively oriented (counterclockwise) piecewise smooth Jordan curve C bounding R, and P,Q of class C1 on an open set containing R, ∮CPdx+Qdy=∬R(Qx−Py)dA. Check closed, simple, counterclockwise and C1 inside. The proof for a region of both types integrates Py in y and Qx in x and uses the fundamental theorem of calculus; in general, the inner edges of small cells cancel.
Area:area(R)=∮xdy=−∮ydx=21∮(xdy−ydx) (take a field with spin 1). The same method gives centroids and the surveyor’s polygon formula.
Holes: for a region with holes, the outer curve counts positively and the inner curves negatively. For a field with Py=Qx, a curve around a hole can be replaced by a small circle, so the angle field gives 2π times the winding number.
Change of variables:∬g(T)fdxdy=∬Tf(g(u,v))∣J∣dudv with J=∂(x,y)/∂(u,v), for g one-to-one and C1 with J=0 (except on a set of content zero). Use the absolute value, the old variables in terms of the new, and map the region.
Standard Jacobians:r (polar and cylindrical), abr (stretched polar), ρ2sinφ (spherical), ∣detA∣ (linear map). They are the area or volume stretching factors.
Why it is true: a linear map multiplies areas by ∣detA∣; for f=1 the area of an image equals ∬J, proved by applying Green’s theorem twice (using equality of mixed partials); general f follows by a step-function sandwich.
Uses: the Gaussian integral π, planimeters, densities of transformed random variables, and Cauchy’s theorem in complex analysis.
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
MATH 376: Weeks 4 and 5. Green's theorem with its hypotheses and the proof for a region of both types (worksheet 8 problem 6), area by line integral, the change of variables theorem with the lecture's proof sketch, polar, cylindrical and spherical Jacobians, and the practice Final problem on the Jacobian of r(cos 2 pi theta, sin(2 pi theta)/2). Midterm 2 problem 4(b), 'deduce Green's theorem from Stokes' theorem', lost 2.5 points; its solution is in 9.1 and uses this theorem as the target.
MATH 521 and complex analysis: Cauchy's theorem for analytic functions is Green's theorem applied to the real and imaginary parts, and the winding number of this chapter is the index that appears in the residue theorem. 521 proves the change of variables formula for the Lebesgue integral, where the Jacobian becomes the density of the pushed-forward measure.
MATH 431 and STAT 309: If $(X, Y)$ has density $f$ and $(U, V) = h(X, Y)$ is a one-to-one smooth change of variables, the density of $(U, V)$ is $f$ composed with $h^{-1}$ times $|\det Dh^{-1}|$: this is the change of variables theorem. The Gaussian integral (8.1) is computed with it.
Engineering: A mechanical planimeter measures the area of a drawn region by tracing its boundary once, which is Green's theorem at work. Surveyors compute the area of a parcel from the coordinates of its corners with the field $\frac12(-y, x)$.