## Learning Objectives

- 6.4.1 Apply the circulation form of Green’s theorem.
- 6.4.2 Apply the flux form of Green’s theorem.
- 6.4.3 Calculate circulation and flux on more general regions.

In this section, we examine Green’s theorem, which is an extension of the Fundamental Theorem of Calculus to two dimensions. Green’s theorem has two forms: a circulation form and a flux form, both of which require region *D* in the double integral to be simply connected. However, we will extend Green’s theorem to regions that are not simply connected.

Put simply, Green’s theorem relates a line integral around a simply closed plane curve *C* and a double integral over the region enclosed by *C*. The theorem is useful because it allows us to translate difficult line integrals into more simple double integrals, or difficult double integrals into more simple line integrals.

## Extending the Fundamental Theorem of Calculus

Recall that the Fundamental Theorem of Calculus says that

As a geometric statement, this equation says that the integral over the region below the graph of ${F}^{\prime}(x)$ and above the line segment $[a,b]$ depends only on the value of *F* at the endpoints *a* and *b* of that segment. Since the numbers *a* and *b* are the boundary of the line segment $[a,b],$ the theorem says we can calculate integral ${\int}_{a}^{b}F\text{\u2032}(x)dx$ based on information about the boundary of line segment $[a,b]$ (Figure 6.32). The same idea is true of the Fundamental Theorem for Line Integrals:

When we have a potential function (an “antiderivative”), we can calculate the line integral based solely on information about the boundary of curve *C*.

Green’s theorem takes this idea and extends it to calculating double integrals. Green’s theorem says that we can calculate a double integral over region *D* based solely on information about the boundary of *D*. Green’s theorem also says we can calculate a line integral over a simple closed curve *C* based solely on information about the region that *C* encloses. In particular, Green’s theorem connects a double integral over region *D* to a line integral around the boundary of *D*.

## Circulation Form of Green’s Theorem

The first form of Green’s theorem that we examine is the circulation form. This form of the theorem relates the vector line integral over a simple, closed plane curve *C* to a double integral over the region enclosed by *C*. Therefore, the circulation of a vector field along a simple closed curve can be transformed into a double integral and vice versa.

## Theorem 6.12

### Green’s Theorem, Circulation Form

Let *D* be an open, simply connected region with a boundary curve *C* that is a piecewise smooth, simple closed curve oriented counterclockwise (Figure 6.33). Let $\text{F}=\langle P,Q\rangle $ be a vector field with component functions that have continuous partial derivatives on *D*. Then,

Notice that Green’s theorem can be used only for a two-dimensional vector field **F**. If **F** is a three-dimensional field, then Green’s theorem does not apply. Since

this version of Green’s theorem is sometimes referred to as the *tangential form* of Green’s theorem.

The proof of Green’s theorem is rather technical, and beyond the scope of this text. Here we examine a proof of the theorem in the special case that *D* is a rectangle. For now, notice that we can quickly confirm that the theorem is true for the special case in which $\text{F}=\langle P,Q\rangle $ is conservative. In this case,

because the circulation is zero in conservative vector fields. By Cross-Partial Property of Conservative Fields, **F** satisfies the cross-partial condition, so ${P}_{y}={Q}_{x}.$ Therefore,

which confirms Green’s theorem in the case of conservative vector fields.

### Proof

Let’s now prove that the circulation form of Green’s theorem is true when the region *D* is a rectangle. Let *D* be the rectangle $\left[a,b\right]\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\left[c,d\right]$ oriented counterclockwise. Then, the boundary *C* of *D* consists of four piecewise smooth pieces ${C}_{1},$ ${C}_{2},$ ${C}_{3},$ and ${C}_{4}$ (Figure 6.34). We parameterize each side of *D* as follows:

Then,

By the Fundamental Theorem of Calculus,

Therefore,

But,

Therefore, $\int}_{C}\text{F}\xb7d\text{r}={\displaystyle \int {\displaystyle {\int}_{D}\left({Q}_{x}-{P}_{y}\right)dA}$ and we have proved Green’s theorem in the case of a rectangle.

To prove Green’s theorem over a general region *D*, we can decompose *D* into many tiny rectangles and use the proof that the theorem works over rectangles. The details are technical, however, and beyond the scope of this text.

□

## Example 6.38

### Applying Green’s Theorem over a Rectangle

Calculate the line integral

where *C* is a rectangle with vertices $(1,1),$ $(4,1),$ $(4,5),$ and $(1,5)$ oriented counterclockwise.

### Solution

Let $\text{F}\left(x,y\right)=\langle P\left(x,y\right),Q\left(x,y\right)\rangle =\langle {x}^{2}y,y-3\rangle .$ Then, ${Q}_{x}=0$ and ${P}_{y}={x}^{2}.$ Therefore, ${Q}_{x}-{P}_{y}=\text{\u2212}{x}^{2}.$

Let *D* be the rectangular region enclosed by *C* (Figure 6.35). By Green’s theorem,

### Analysis

If we were to evaluate this line integral without using Green’s theorem, we would need to parameterize each side of the rectangle, break the line integral into four separate line integrals, and use the methods from Line Integrals to evaluate each integral. Furthermore, since the vector field here is not conservative, we cannot apply the Fundamental Theorem for Line Integrals. Green’s theorem makes the calculation much simpler.

## Example 6.39

### Applying Green’s Theorem to Calculate Work

Calculate the work done on a particle by force field

as the particle traverses circle ${x}^{2}+{y}^{2}=4$ exactly once in the counterclockwise direction, starting and ending at point $(2,0).$

### Solution

Let *C* denote the circle and let *D* be the disk enclosed by *C*. The work done on the particle is

As with Example 6.38, this integral can be calculated using tools we have learned, but it is easier to use the double integral given by Green’s theorem (Figure 6.36).

Let $\text{F}\left(x,y\right)=\langle P\left(x,y\right),Q\left(x,y\right)\rangle =\langle y+\text{sin}\phantom{\rule{0.2em}{0ex}}x,{e}^{y}-x\rangle .$ Then, ${Q}_{x}=\mathrm{-1}$ and ${P}_{y}=1.$ Therefore, ${Q}_{x}-{P}_{y}=\mathrm{-2}.$

By Green’s theorem,

## Checkpoint 6.34

Use Green’s theorem to calculate line integral

where *C* is a right triangle with vertices $(\mathrm{-1},2),$ $(4,2),$ and $(4,5)$ oriented counterclockwise.

In the preceding two examples, the double integral in Green’s theorem was easier to calculate than the line integral, so we used the theorem to calculate the line integral. In the next example, the double integral is more difficult to calculate than the line integral, so we use Green’s theorem to translate a double integral into a line integral.

## Example 6.40

### Applying Green’s Theorem over an Ellipse

Calculate the area enclosed by ellipse $\frac{{x}^{2}}{{a}^{2}}+\frac{{y}^{2}}{{b}^{2}}=1$ (Figure 6.37).

### Solution

Let *C* denote the ellipse and let *D* be the region enclosed by *C*. Recall that ellipse *C* can be parameterized by

Calculating the area of *D* is equivalent to computing double integral ${\iint}_{D}dA}.$ To calculate this integral without Green’s theorem, we would need to divide *D* into two regions: the region above the *x*-axis and the region below. The area of the ellipse is

These two integrals are not straightforward to calculate (although when we know the value of the first integral, we know the value of the second by symmetry). Instead of trying to calculate them, we use Green’s theorem to transform ${\iint}_{D}dA$ into a line integral around the boundary *C*.

Consider vector field

Then, ${Q}_{x}=\frac{1}{2}$ and ${P}_{y}=-\frac{1}{2},$ and therefore ${Q}_{x}-{P}_{y}=1.$ Notice that **F** was chosen to have the property that ${Q}_{x}-{P}_{y}=1.$ Since this is the case, Green’s theorem transforms the line integral of **F** over *C* into the double integral of 1 over *D*.

By Green’s theorem,

Therefore, the area of the ellipse is $\pi ab.$

In Example 6.40, we used vector field $\text{F}(x,y)=\langle P,Q\rangle =\langle -\frac{y}{2},\frac{x}{2}\rangle $ to find the area of any ellipse. The logic of the previous example can be extended to derive a formula for the area of any region *D*. Let *D* be any region with a boundary that is a simple closed curve *C* oriented counterclockwise. If $\text{F}(x,y)=\langle P,Q\rangle =\langle -\frac{y}{2},\frac{x}{2}\rangle ,$ then ${Q}_{x}-{P}_{y}=1.$ Therefore, by the same logic as in Example 6.40,

It’s worth noting that if $\text{F}=\langle P,Q\rangle $ is any vector field with ${Q}_{x}-{P}_{y}=1,$ then the logic of the previous paragraph works. So. Equation 6.14 is not the only equation that uses a vector field’s mixed partials to get the area of a region.

## Checkpoint 6.35

Find the area of the region enclosed by the curve with parameterization $\text{r}\left(t\right)=\langle \text{sin}\phantom{\rule{0.2em}{0ex}}t\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,0\le t\le \pi .$

## Flux Form of Green’s Theorem

The circulation form of Green’s theorem relates a double integral over region *D* to line integral ${\int}_{C}\text{F}\xb7\text{T}ds},$ where *C* is the boundary of *D*. The flux form of Green’s theorem relates a double integral over region *D* to the flux across boundary *C*. The flux of a fluid across a curve can be difficult to calculate using the flux line integral. This form of Green’s theorem allows us to translate a difficult flux integral into a double integral that is often easier to calculate.

## Theorem 6.13

### Green’s Theorem, Flux Form

Let *D* be an open, simply connected region with a boundary curve *C* that is a piecewise smooth, simple closed curve that is oriented counterclockwise (Figure 6.38). Let $\text{F}=\langle P,Q\rangle $ be a vector field with component functions that have continuous partial derivatives on an open region containing *D*. Then,

Because this form of Green’s theorem contains unit normal vector **N**, it is sometimes referred to as the *normal form* of Green’s theorem.

### Proof

Recall that ${\int}_{C}\text{F}\xb7\text{N}ds}={\displaystyle {\int}_{C}\text{\u2212}Qdx+Pdy}.$ Let $M=\text{\u2212}Q$ and $N=P.$ By the circulation form of Green’s theorem,

□

## Example 6.41

### Applying Green’s Theorem for Flux across a Circle

Let *C* be a circle of radius *r* centered at the origin (Figure 6.39) and let $\text{F}(x,y)=\langle x,y\rangle .$ Calculate the flux across *C*.

### Solution

Let *D* be the disk enclosed by *C.* The flux across *C* is ${\int}_{C}\text{F}\xb7\text{N}ds}.$ We could evaluate this integral using tools we have learned, but Green’s theorem makes the calculation much more simple. Let $P\left(x,y\right)=x$ and $Q\left(x,y\right)=y$ so that $\text{F}=\langle P,Q\rangle .$ Note that ${P}_{x}=1={Q}_{y},$ and therefore ${P}_{x}+{Q}_{y}=2.$ By Green’s theorem,

Since $\int {\displaystyle {\int}_{D}dA}$ is the area of the circle, $\int {\displaystyle {\int}_{D}dA}}=\pi {r}^{2}.$ Therefore, the flux across *C* is $2\pi {r}^{2}.$

## Example 6.42

### Applying Green’s Theorem for Flux across a Triangle

Let *S* be the triangle with vertices $(0,0),$ $(1,0),$ and $(0,3)$ oriented clockwise (Figure 6.40). Calculate the flux of $\text{F}\left(x,y\right)=\langle P\left(x,y\right),Q\left(x,y\right)\rangle =\langle {x}^{2}+{e}^{y},x+y\rangle $ across *S*.

### Solution

To calculate the flux without Green’s theorem, we would need to break the flux integral into three line integrals, one integral for each side of the triangle. Using Green’s theorem to translate the flux line integral into a single double integral is much more simple.

Let *D* be the region enclosed by *S*. Note that ${P}_{x}=2x$ and ${Q}_{y}=1;$ therefore, ${P}_{x}+{Q}_{y}=2x+1.$ Green’s theorem applies only to simple closed curves oriented counterclockwise, but we can still apply the theorem because ${\int}_{C}\text{F}\xb7\text{N}ds=\text{\u2212}}{\displaystyle {\int}_{\text{\u2212}S}\text{F}\xb7\text{N}ds$ and $\text{\u2212}S$ is oriented counterclockwise. By Green’s theorem, the flux is

Notice that the top edge of the triangle is the line $y=\mathrm{-3}x+3.$ Therefore, in the iterated double integral, the *y*-values run from $y=0$ to $y=\mathrm{-3}x+3,$ and we have

## Checkpoint 6.36

Calculate the flux of $\text{F}(x,y)=\langle {x}^{3},{y}^{3}\rangle $ across a unit circle oriented counterclockwise.

## Example 6.43

### Applying Green’s Theorem for Water Flow across a Rectangle

Water flows from a spring located at the origin. The velocity of the water is modeled by vector field $\text{v}\left(x,y\right)=\langle 5x+y,x+3y\rangle $ m/sec. Find the amount of water per second that flows across the rectangle with vertices $\left(\mathrm{-1},\mathrm{-2}\right),\left(1,\mathrm{-2}\right),\left(1,3\right),\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(\mathrm{-1},3\right),$ oriented counterclockwise (Figure 6.41).

### Solution

Let *C* represent the given rectangle and let *D* be the rectangular region enclosed by *C*. To find the amount of water flowing across *C*, we calculate flux ${\int}_{C}\text{v}\cdot \text{N}\mathrm{ds}.$ Let $P\left(x,y\right)=5x+y$ and $Q\left(x,y\right)=x+3y$ so that $\text{v}=\left(P,Q\right).$ Then, ${P}_{x}=5$ and ${Q}_{y}=3.$ By Green’s theorem,

Therefore, the water flux is 80 m^{2}/sec.

Recall that if vector field **F** is conservative, then **F** does no work around closed curves—that is, the circulation of **F** around a closed curve is zero. In fact, if the domain of **F** is simply connected, then **F** is conservative if and only if the circulation of **F** around any closed curve is zero. If we replace “circulation of **F**” with “flux of **F,**” then we get a definition of a source-free vector field. The following statements are all equivalent ways of defining a source-free field $\text{F}=\langle P,Q\rangle $ on a simply connected domain (note the similarities with properties of conservative vector fields):

- The flux ${\int}_{C}\text{F}\xb7\text{N}ds$ across any closed curve
*C*is zero. - If ${C}_{1}$ and ${C}_{2}$ are curves in the domain of
**F**with the same starting points and endpoints, then ${\int}_{{C}_{1}}\text{F}\xb7\text{N}ds}={\displaystyle {\int}_{{C}_{2}}\text{F}\xb7\text{N}ds}.$ In other words, flux is independent of path. - There is a stream function $g(x,y)$ for
**F**. A stream function for $\text{F}=\langle P,Q\rangle $ is a function*g*such that $P={g}_{y}$ and $Q=\text{\u2212}{g}_{x}.$ Geometrically, $\text{F}\left(a,b\right)$ is tangential to the level curve of*g*at $\left(a,b\right).$ Since the gradient of*g*is perpendicular to the level curve of*g*at $\left(a,b\right),$ stream function*g*has the property $\text{F}\left(a,b\right)\xb7\text{\u2207}g\left(a,b\right)=0$ for any point $\left(a,b\right)$ in the domain of*g*. (Stream functions play the same role for source-free fields that potential functions play for conservative fields.) - ${P}_{x}+{Q}_{y}=0$

## Example 6.44

### Finding a Stream Function

Verify that rotation vector field $\text{F}(x,y)=\langle y,\text{\u2212}x\rangle $ is source free, and find a stream function for **F**.

### Solution

Note that the domain of **F** is all of ${\mathbb{R}}^{2},$ which is simply connected. Therefore, to show that **F** is source free, we can show any of items 1 through 4 from the previous list to be true. In this example, we show that item 4 is true. Let $P\left(x,y\right)=y$ and $Q\left(x,y\right)=\text{\u2212}x.$ Then ${P}_{x}+0={Q}_{y},$ and therefore ${P}_{x}+{Q}_{y}=0.$ Thus, **F** is source free.

To find a stream function for **F**, proceed in the same manner as finding a potential function for a conservative field. Let *g* be a stream function for **F**. Then ${g}_{y}=y,$ which implies that

Since $\text{\u2212}{g}_{x}=Q=\text{\u2212}x,$ we have $h\text{\u2032}\left(x\right)=x.$ Therefore,

Letting $C=0$ gives stream function

To confirm that *g* is a stream function for **F**, note that ${g}_{y}=y=P$ and $\text{\u2212}{g}_{x}=\text{\u2212}x=Q.$

Notice that source-free rotation vector field $\text{F}(x,y)=\langle y,\text{\u2212}x\rangle $ is perpendicular to conservative radial vector field $\text{\u2207}g=\langle x,y\rangle $ (Figure 6.42).

## Checkpoint 6.37

Find a stream function for vector field $\text{F}\left(x,y\right)=\langle x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}y,\text{cos}\phantom{\rule{0.2em}{0ex}}y\rangle .$

Vector fields that are both conservative and source free are important vector fields. One important feature of conservative and source-free vector fields on a simply connected domain is that any potential function $f$ of such a field satisfies Laplace’s equation ${f}_{xx}+{f}_{yy}=0.$ Laplace’s equation is foundational in the field of partial differential equations because it models such phenomena as gravitational and magnetic potentials in space, and the velocity potential of an ideal fluid. A function that satisfies Laplace’s equation is called a *harmonic* function. Therefore any potential function of a conservative and source-free vector field is harmonic.

To see that any potential function of a conservative and source-free vector field on a simply connected domain is harmonic, let $f$ be such a potential function of vector field $\text{F}=\langle P,Q\rangle .$ Then, ${f}_{x}=P$ and ${f}_{x}=Q$ because $\text{\u2207}f=\text{F}.$ Therefore, ${f}_{xx}={P}_{x}$ and ${f}_{yy}={Q}_{y}.$ Since **F** is source free, ${f}_{xx}+{f}_{yy}={P}_{x}+{Q}_{y}=0,$ and we have that $f$ is harmonic.

## Example 6.45

### Satisfying Laplace’s Equation

For vector field $\text{F}\left(x,y\right)=\langle {e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y,{e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y\rangle ,$ verify that the field is both conservative and source free, find a potential function for **F**, and verify that the potential function is harmonic.

### Solution

Let $P\left(x,y\right)={e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y$ and $Q\left(x,y\right)={e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y.$ Notice that the domain of **F** is all of two-space, which is simply connected. Therefore, we can check the cross-partials of **F** to determine whether **F** is conservative. Note that ${P}_{y}={e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y={Q}_{x},$ so **F** is conservative. Since ${P}_{x}={e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y$ and ${Q}_{y}=-{e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y,{P}_{x}+{Q}_{y}=0$ and the field is source free.

To find a potential function for **F**, let $f$ be a potential function. Then, $\text{\u2207}f=\text{F},$ so ${f}_{x}={e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y.$ Integrating this equation with respect to *x* gives $f\left(x,y\right)={e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y+h\left(y\right).$ Since ${f}_{y}={e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y,$ differentiating $f$ with respect to *y* gives ${e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y={e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y+h\text{\u2032}\left(y\right).$ Therefore, we can take $h\left(y\right)=0,$ and $f\left(x,y\right)={e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y$ is a potential function for $f.$

To verify that $f$ is a harmonic function, note that ${f}_{xx}=\frac{\partial}{\partial x}\left({e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y\right)={e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y$ and

${f}_{yy}=\frac{\partial}{\partial x}\left({e}^{x}\text{cos}\phantom{\rule{0.2em}{0ex}}y\right)=\text{\u2212}{e}^{x}\text{sin}\phantom{\rule{0.2em}{0ex}}y.$ Therefore, ${f}_{xx}+{f}_{yy}=0,$ and $f$ satisfies Laplace’s equation.

## Checkpoint 6.38

Is the function $f\left(x,y\right)={e}^{x+5y}$ harmonic?

## Green’s Theorem on General Regions

Green’s theorem, as stated, applies only to regions that are simply connected—that is, Green’s theorem as stated so far cannot handle regions with holes. Here, we extend Green’s theorem so that it does work on regions with finitely many holes (Figure 6.43).

Before discussing extensions of Green’s theorem, we need to go over some terminology regarding the boundary of a region. Let *D* be a region and let *C* be a component of the boundary of *D*. We say that *C* is *positively oriented* if, as we walk along *C* in the direction of orientation, region *D* is always on our left. Therefore, the counterclockwise orientation of the boundary of a disk is a positive orientation, for example. Curve *C* is *negatively oriented* if, as we walk along *C* in the direction of orientation, region *D* is always on our right. The clockwise orientation of the boundary of a disk is a negative orientation, for example.

Let *D* be a region with finitely many holes (so that *D* has finitely many boundary curves), and denote the boundary of *D* by $\partial D$ (Figure 6.44). To extend Green’s theorem so it can handle *D*, we divide region *D* into two regions, ${D}_{1}$ and ${D}_{2}$ (with respective boundaries $\partial {D}_{1}$ and $\partial {D}_{2}),$ in such a way that $D={D}_{1}\cup {D}_{2}$ and neither ${D}_{1}$ nor ${D}_{2}$ has any holes (Figure 6.44).

Assume the boundary of *D* is oriented as in the figure, with the inner holes given a negative orientation and the outer boundary given a positive orientation. The boundary of each simply connected region ${D}_{1}$ and ${D}_{2}$ is positively oriented. If **F** is a vector field defined on *D*, then Green’s theorem says that

Therefore, Green’s theorem still works on a region with holes.

To see how this works in practice, consider annulus *D* in Figure 6.45 and suppose that $\text{F}=\langle P,Q\rangle $ is a vector field defined on this annulus. Region *D* has a hole, so it is not simply connected. Orient the outer circle of the annulus counterclockwise and the inner circle clockwise (Figure 6.45) so that, when we divide the region into ${D}_{1}$ and ${D}_{2},$ we are able to keep the region on our left as we walk along a path that traverses the boundary. Let ${D}_{1}$ be the upper half of the annulus and ${D}_{2}$ be the lower half. Neither of these regions has holes, so we have divided *D* into two simply connected regions.

We label each piece of these new boundaries as ${P}_{i}$ for some *i,* as in Figure 6.45. If we begin at *P* and travel along the oriented boundary, the first segment is ${P}_{1},$ then ${P}_{2},{P}_{3},$ and ${P}_{4}.$ Now we have traversed ${D}_{1}$ and returned to *P.* Next, we start at *P* again and traverse ${D}_{2}.$ Since the first piece of the boundary is the same as ${P}_{4}$ in ${D}_{1},$ but oriented in the opposite direction, the first piece of ${D}_{2}$ is $\text{\u2212}{P}_{4}.$ Next, we have ${P}_{5},$ then $\text{\u2212}{P}_{2},$ and finally ${P}_{6}.$

Figure 6.45 shows a path that traverses the boundary of *D*. Notice that this path traverses the boundary of region ${D}_{1},$ returns to the starting point, and then traverses the boundary of region ${D}_{2}.$ Furthermore, as we walk along the path, the region is always on our left. Notice that this traversal of the ${P}_{i}$ paths covers the entire boundary of region *D.* If we had only traversed one portion of the boundary of *D*, then we cannot apply Green’s theorem to *D*.

The boundary of the upper half of the annulus, therefore, is ${P}_{1}\cup {P}_{2}\cup {P}_{3}\cup {P}_{4}$ and the boundary of the lower half of the annulus is $\text{\u2212}{P}_{4}\cup {P}_{5}\cup -{P}_{2}\cup {P}_{6}.$ Then, Green’s theorem implies

Therefore, we arrive at the equation found in Green’s theorem—namely,

The same logic implies that the flux form of Green’s theorem can also be extended to a region with finitely many holes:

## Example 6.46

### Using Green’s Theorem on a Region with Holes

Calculate integral

where *D* is the annulus given by the polar inequalities $1\le \text{r}\le 2,$ $0\le \theta \le 2\pi .$

### Solution

Although *D* is not simply connected, we can use the extended form of Green’s theorem to calculate the integral. Since the integration occurs over an annulus, we convert to polar coordinates:

## Example 6.47

### Using the Extended Form of Green’s Theorem

Let $\text{F}=\langle P,Q\rangle =\langle \frac{y}{{x}^{2}+{y}^{2}},-\frac{x}{{x}^{2}+{y}^{2}}\rangle $ and let *C* be any simple closed curve in a plane oriented counterclockwise. What are the possible values of ${\int}_{C}\text{F}\xb7d\text{r}?$

### Solution

We use the extended form of Green’s theorem to show that $\int}_{C}\text{F}\xb7d\text{r$ is either 0 or $\mathrm{-2}\pi $—that is, no matter how crazy curve *C* is, the line integral of **F** along *C* can have only one of two possible values. We consider two cases: the case when *C* encompasses the origin and the case when *C* does not encompass the origin.

### Case 1: *C* Does Not Encompass the Origin

In this case, the region enclosed by *C* is simply connected because the only hole in the domain of **F** is at the origin. We showed in our discussion of cross-partials that **F** satisfies the cross-partial condition. If we restrict the domain of **F** just to *C* and the region it encloses, then **F** with this restricted domain is now defined on a simply connected domain. Since **F** satisfies the cross-partial property on its restricted domain, the field **F** is conservative on this simply connected region and hence the circulation $\int}_{C}\text{F}\xb7d\text{r$ is zero.

### Case 2: *C* Does Encompass the Origin

In this case, the region enclosed by *C* is not simply connected because this region contains a hole at the origin. Let ${C}_{1}$ be a circle of radius *a* centered at the origin so that ${C}_{1}$ is entirely inside the region enclosed by *C* (Figure 6.46). Give ${C}_{1}$ a clockwise orientation.

Let *D* be the region between ${C}_{1}$ and *C*, and *C* is orientated counterclockwise. By the extended version of Green’s theorem,

and therefore

Since ${C}_{1}$ is a specific curve, we can evaluate ${\int}_{{C}_{1}}\text{F}\xb7d\text{r}}.$ Let

be a parameterization of ${C}_{1}.$ Then,

Therefore, ${\int}_{C}\text{F}\xb7d\text{r}=}-2\pi .$

## Checkpoint 6.39

Calculate integral ${\int}_{\partial D}\text{F}\xb7d\text{r},$ where *D* is the annulus given by the polar inequalities $2\le r\le 5,0\le \theta \le 2\pi ,$ and $\text{F}\left(x,y\right)=\langle {x}^{3},5x+{e}^{y}\text{sin}\phantom{\rule{0.2em}{0ex}}y\rangle .$

## Student Project

### Measuring Area from a Boundary: The Planimeter

Imagine you are a doctor who has just received a magnetic resonance image of your patient’s brain. The brain has a tumor (Figure 6.47). How large is the tumor? To be precise, what is the area of the red region? The red cross-section of the tumor has an irregular shape, and therefore it is unlikely that you would be able to find a set of equations or inequalities for the region and then be able to calculate its area by conventional means. You could approximate the area by chopping the region into tiny squares (a Riemann sum approach), but this method always gives an answer with some error.

Instead of trying to measure the area of the region directly, we can use a device called a *rolling planimeter* to calculate the area of the region exactly, simply by measuring its boundary. In this project you investigate how a planimeter works, and you use Green’s theorem to show the device calculates area correctly.

A rolling planimeter is a device that measures the area of a planar region by tracing out the boundary of that region (Figure 6.48). To measure the area of a region, we simply run the tracer of the planimeter around the boundary of the region. The planimeter measures the number of turns through which the wheel rotates as we trace the boundary; the area of the shape is proportional to this number of wheel turns. We can derive the precise proportionality equation using Green’s theorem. As the tracer moves around the boundary of the region, the tracer arm rotates and the roller moves back and forth (but does not rotate).

Let *C* denote the boundary of region *D*, the area to be calculated. As the tracer traverses curve *C*, assume the roller moves along the *y*-axis (since the roller does not rotate, one can assume it moves along a straight line). Use the coordinates $\left(x,y\right)$ to represent points on boundary *C*, and coordinates $\left(0,Y\right)$ to represent the position of the pivot. As the planimeter traces *C*, the pivot moves along the *y*-axis while the tracer arm rotates on the pivot.

## Media

Watch a short animation of a planimeter in action.

Begin the analysis by considering the motion of the tracer as it moves from point $\left(x,y\right)$ counterclockwise to point $\left(x+dx,y+dy\right)$ that is close to $\left(x,y\right)$ (Figure 6.49). The pivot also moves, from point $\left(0,Y\right)$ to nearby point $\left(0,Y+dY\right).$ How much does the wheel turn as a result of this motion? To answer this question, break the motion into two parts. First, roll the pivot along the *y*-axis from $\left(0,Y\right)$ to $\left(0,Y+dY\right)$ without rotating the tracer arm. The tracer arm then ends up at point $\left(x,y+dY\right)$ while maintaining a constant angle $\varphi $ with the *x*-axis. Second, rotate the tracer arm by an angle $d\theta $ without moving the roller. Now the tracer is at point $\left(x+dx,y+dy\right).$ Let $l$ be the distance from the pivot to the wheel and let *L* be the distance from the pivot to the tracer (the length of the tracer arm).

- Explain why the total distance through which the wheel rolls the small motion just described is $\text{sin}\phantom{\rule{0.2em}{0ex}}\varphi dY+ld\theta =\frac{x}{L}dY+ld\theta .$
- Show that ${\int}_{C}d\theta =0.$
- Use step 2 to show that the total rolling distance of the wheel as the tracer traverses curve
*C*is

Total wheel roll $=\frac{1}{L}{\displaystyle {\int}_{C}xdY.}$

Now that you have an equation for the total rolling distance of the wheel, connect this equation to Green’s theorem to calculate area*D*enclosed by*C*. - Show that ${x}^{2}+{\left(y-Y\right)}^{2}={L}^{2}.$
- Assume the orientation of the planimeter is as shown in Figure 6.49. Explain why $Y\le y,$ and use this inequality to show there is a unique value of
*Y*for each point $\left(x,y\right)\text{:}$ $Y=y-\sqrt{{L}^{2}-{x}^{2}}.$ - Use step 5 to show that $dY=dy+\frac{x}{\sqrt{{L}^{2}-{x}^{2}}}dx.$
- Use Green’s theorem to show that ${\int}_{C}\frac{x}{\sqrt{{L}^{2}-{x}^{2}}}dx=0.$
- Use step 7 to show that the total wheel roll is

Total wheel roll $=\frac{1}{L}{\displaystyle {\int}_{C}xdy.}$

It took a bit of work, but this equation says that the variable of integration*Y*in step 3 can be replaced with*y*. - Use Green’s theorem to show that the area of
*D*is ${\int}_{C}xdy.$ The logic is similar to the logic used to show that the area of $D=\frac{1}{2}{\displaystyle {\int}_{C}\text{\u2212}ydx+xdy.}$ - Conclude that the area of
*D*equals the length of the tracer arm multiplied by the total rolling distance of the wheel.

You now know how a planimeter works and you have used Green’s theorem to justify that it works. To calculate the area of a planar region*D*, use a planimeter to trace the boundary of the region. The area of the region is the length of the tracer arm multiplied by the distance the wheel rolled.

## Section 6.4 Exercises

For the following exercises, evaluate the line integrals by applying Green’s theorem.

${\int}_{C}^{}2xydx+(x+y)dy},$ where *C* is the path from (0, 0) to (1, 1) along the graph of $y={x}^{3}$ and from (1, 1) to (0, 0) along the graph of $y=x$ oriented in the counterclockwise direction

${\int}_{C}^{}2xydx+(x+y)dy},$ where *C* is the boundary of the region lying between the graphs of $y=0$ and $y=4-{x}^{2}$ oriented in the counterclockwise direction

${\int}_{C}^{}2\phantom{\rule{0.2em}{0ex}}\text{arctan}\left(\frac{y}{x}\right)dx+\text{ln}\left({x}^{2}+{y}^{2}\right)dy,$ where *C* is defined by $x=4+2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}\theta ,y=4\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}\theta $ oriented in the counterclockwise direction

${\int}_{C}^{}\text{sin}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}ydx+(xy+\text{cos}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}y)dy}\text{,$ where *C* is the boundary of the region lying between the graphs of $y=x$ and $y=\sqrt{x}$ oriented in the counterclockwise direction

${\int}_{C}^{}xydx+(x+y)dy},$ where *C* is the boundary of the region lying between the graphs of ${x}^{2}+{y}^{2}=1$ and ${x}^{2}+{y}^{2}=9$ oriented in the counterclockwise direction

${\int}_{C}(\text{\u2212}ydx+xdy)},$ where *C* consists of line segment *C*_{1} from $\left(\mathrm{-1},0\right)$ to (1, 0), followed by the semicircular arc *C*_{2} from (1, 0) back to (–1, 0)

For the following exercises, use Green’s theorem.

Let *C* be the curve consisting of line segments from (0, 0) to (1, 1) to (0, 1) and back to (0, 0). Find the value of ${\int}_{C}xydx+\sqrt{{y}^{2}+1}dy.$

Evaluate line integral ${\int}_{C}x{e}^{\mathrm{-2}x}dx+\left({x}^{4}+2{x}^{2}{y}^{2}\right)dy,$ where *C* is the boundary of the region between circles ${x}^{2}+{y}^{2}=1$ and ${x}^{2}+{y}^{2}=4,$ and is a positively oriented curve.

Find the counterclockwise circulation of field $\text{F}\left(x,y\right)=xy\text{i}+{y}^{2}\text{j}$ around and over the boundary of the region enclosed by curves $y={x}^{2}$ and $y=x$ in the first quadrant and oriented in the counterclockwise direction.

Evaluate ${\int}_{C}{y}^{3}dx-{x}^{3}{y}^{2}dy},$ where *C* is the positively oriented circle of radius 2 centered at the origin.

Evaluate ${\int}_{C}{y}^{3}dx-{x}^{3}dy},$ where *C* includes the two circles of radius 2 and radius 1 centered at the origin, both with positive orientation.

Calculate ${\int}_{C}\text{\u2212}{x}^{2}ydx+x{y}^{2}dy},$ where *C* is a circle of radius 2 centered at the origin and oriented in the counterclockwise direction.

Calculate integral ${\int}_{C}2\left[y+x\phantom{\rule{0.2em}{0ex}}\text{sin}\left(y\right)\right]dx+\left[{x}^{2}\text{cos}(y)-3{y}^{2}\right]dy$ along triangle *C* with vertices (0, 0), (1, 0) and (1, 1), oriented counterclockwise, using Green’s theorem.

Evaluate integral ${\int}_{C}\left({x}^{2}+{y}^{2}\right)dx+2xydy},$ where *C* is the curve that follows parabola $y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{from}\phantom{\rule{0.2em}{0ex}}\left(0,0\right)\text{to}\left(2,4\right),$ then the line from (2, 4) to (2, 0), and finally the line from (2, 0) to (0, 0).

Evaluate line integral ${\int}_{C}(y-\text{sin}(y)\text{cos}(y))dx+2x\phantom{\rule{0.2em}{0ex}}{\text{sin}}^{2}(y)dy},$ where *C* is oriented in a counterclockwise path around the region bounded by $x=\mathrm{-1},x=2,y=4-{x}^{2},$ and $y=x-2.$

For the following exercises, use Green’s theorem to find the area.

Find the area between ellipse $\frac{{x}^{2}}{9}+\frac{{y}^{2}}{4}=1$ and circle ${x}^{2}+{y}^{2}=25.$

Find the area of the region enclosed by parametric equation

Find the area of the region bounded by hypocycloid $\text{r}(t)={\text{cos}}^{3}(t)\text{i}+{\text{sin}}^{3}(t)\text{j}.$ The curve is parameterized by $t\in \left[0,2\pi \right].$

Find the area of a pentagon with vertices $(0,4),(4,1),(3,0),(\mathrm{-1},\mathrm{-1}),$ and $(\mathrm{-2},2).$

Use Green’s theorem to evaluate ${\int}_{C}^{+}({y}^{2}+{x}^{3})dx+{x}^{4}dy,$ where ${C}^{+}$ is the perimeter of square $\left[0,1\right]\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\left[0,1\right]$ oriented counterclockwise.

Use Green’s theorem to prove the area of a disk with radius $a$ is $A=\pi {a}^{2}.$

Use Green’s theorem to find the area of one loop of a four-leaf rose $r=3\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}2\theta .$ (*Hint*: $xdy-ydx={r}^{2}d\theta ).$

Use Green’s theorem to find the area under one arch of the cycloid given by parametric plane $x=t-\text{sin}\phantom{\rule{0.2em}{0ex}}t,y=1-\text{cos}\phantom{\rule{0.2em}{0ex}}t,t\ge 0.$

Use Green’s theorem to find the area of the region enclosed by curve

**[T]** Veryfiy Green’s theorem by using a computer algebra system to evaluate the integral ${\int}_{C}x{e}^{y}dx+{e}^{x}dy,$ where *C* is the circle given by ${x}^{2}+{y}^{2}=4$ and is oriented in the counterclockwise direction.

Evaluate ${\int}_{C}\left({x}^{2}y-2xy+{y}^{2}\right)ds,$ where *C* is the boundary of the unit square $0\le x\le 1\text{,}\phantom{\rule{0.2em}{0ex}}0\le y\le 1\text{,}$ traversed counterclockwise. Use $ds=dx+dy$ for this exercise.

Evaluate ${\int}_{C}^{}\frac{\text{\u2212}(y+2)dx+(x-1)dy}{{(x-1)}^{2}+{(y+2)}^{2}}}\text{,$ where *C* is any simple closed curve with an interior that does not contain point $(1,\mathrm{-2})$ traversed counterclockwise.

Evaluate ${\int}_{C}^{}\frac{xdx+ydy}{{x}^{2}+{y}^{2}}},$ where *C* is any piecewise, smooth simple closed curve enclosing the origin, traversed counterclockwise.

For the following exercises, use Green’s theorem to calculate the work done by force **F** on a particle that is moving counterclockwise around closed path *C*.

$\text{F}(x,y)=xy\text{i}+(x+y)\text{j},$ $C:{x}^{2}+{y}^{2}=4$

$\text{F}(x,y)=\left({x}^{3\text{/}2}-3y\right)\text{i}+\left(6x+5\sqrt{y}\right)\text{j},$ *C* : boundary of a triangle with vertices (0, 0), (5, 0), and (0, 5)

Evaluate ${\int}_{C}\left(2{x}^{3}-{y}^{3}\right)dx+\left({x}^{3}+{y}^{3}\right)dy,$ where *C* is a unit circle oriented in the counterclockwise direction.

A particle starts at point $(\mathrm{-2},0),$ moves along the *x*-axis to (2, 0), and then travels along semicircle $y=\sqrt{4-{x}^{2}}$ to the starting point. Use Green’s theorem to find the work done on this particle by force field $\text{F}(x,y)=x\text{i}+\left({x}^{3}+3x{y}^{2}\right)\text{j}.$

David and Sandra are skating on a frictionless pond in the wind. David skates on the inside, going along a circle of radius 2 in a counterclockwise direction. Sandra skates once around a circle of radius 3, also in the counterclockwise direction. Suppose the force of the wind at point $\left(x,y\right)$ $\left(x,y\right)$ $\left(x,y\right)$ is $\text{F}(x,y)=\left({x}^{2}y+10y\right)\text{i}+\left({x}^{3}+2x{y}^{2}\right)\text{j}.$ Use Green’s theorem to determine who does more work.

Use Green’s theorem to find the work done by force field $\text{F}(x,y)=(3y-4x)\text{i}+(4x-y)\text{j}$ when an object moves once counterclockwise around ellipse $4{x}^{2}+{y}^{2}=4.$

Use Green’s theorem to evaluate line integral ${\int}_{C}{e}^{2x}\text{sin}\phantom{\rule{0.2em}{0ex}}2ydx+{e}^{2x}\text{cos}\phantom{\rule{0.2em}{0ex}}2ydy},$ where *C* is ellipse $9{(x-1)}^{2}+4{(y-3)}^{2}=36$ oriented counterclockwise.

Evaluate line integral ${\int}_{C}{y}^{2}dx+{x}^{2}dy,$ where *C* is the boundary of a triangle with vertices $\left(0,0\right),\left(1,1\right),\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(1,0\right),$ with the counterclockwise orientation.

Use Green’s theorem to evaluate line integral $\int}_{C}\text{h}\xb7d\text{r$ if $\text{h}\left(x,y\right)={e}^{y}\text{i}-\text{sin}\phantom{\rule{0.2em}{0ex}}\pi x\text{j},$ where *C* is a triangle with vertices (1, 0), (0, 1), and (–1, 0) traversed counterclockwise.

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}\sqrt{1+{x}^{3}}dx+2xydy$ where *C* is a triangle with vertices (0, 0), (1, 0), and (1, 3) oriented clockwise.

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}{x}^{2}ydx-x{y}^{2}dy$ where *C* is a circle ${x}^{2}+{y}^{2}=4$ oriented counterclockwise.

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}\left(3y-{e}^{\text{sin}\phantom{\rule{0.2em}{0ex}}x}\right)dx}+\left(7x+\sqrt{{y}^{4}+1}\right)dy$ where *C* is circle ${x}^{2}+{y}^{2}=9$ oriented in the counterclockwise direction.

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}(3x-5y)dx}+(x-6y)dy\text{,$ where *C* is ellipse $\frac{{x}^{2}}{4}+{y}^{2}=1$ and is oriented in the counterclockwise direction.

Let *C* be a triangular closed curve from (0, 0) to (1, 0) to (1, 1) and finally back to (0, 0). Let $\text{F}(x,y)=4y\text{i}+6{x}^{2}\text{j}.$ Use Green’s theorem to evaluate ${\int}_{C}\text{F}\xb7d\text{s}}.$

Use Green’s theorem to evaluate line integral ${\int}_{C}ydx-xdy}\text{,$ where *C* is circle ${x}^{2}+{y}^{2}={a}^{2}$ oriented in the clockwise direction.

Use Green’s theorem to evaluate line integral ${\int}_{C}(y+x)dx+(x+\text{sin}\phantom{\rule{0.2em}{0ex}}y)dy}\text{,$ where *C* is any smooth simple closed curve joining the origin to itself oriented in the counterclockwise direction.

Use Green’s theorem to evaluate line integral ${\int}_{C}\left(y-\text{ln}\left({x}^{2}+{y}^{2}\right)\right)dx+\left(2\phantom{\rule{0.2em}{0ex}}\text{arctan}\phantom{\rule{0.2em}{0ex}}\frac{y}{x}\right)dy},$ where C is the positively oriented circle ${\left(x-2\right)}^{2}+{\left(y-3\right)}^{2}=1.$

Use Green’s theorem to evaluate ${\int}_{C}xydx+{x}^{3}{y}^{3}dy,$ where *C* is a triangle with vertices (0, 0), (1, 0), and (1, 2) with positive orientation.

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}\text{sin}\phantom{\rule{0.2em}{0ex}}ydx+x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}ydy},$ where *C* is ellipse ${x}^{2}+xy+{y}^{2}=1$ oriented in the counterclockwise direction.

Let $\text{F}(x,y)=\left(\text{cos}\left({x}^{5}\right)\right)-\frac{1}{3}{y}^{3}\text{i}+\frac{1}{3}{x}^{3}\text{j}.$ Find the counterclockwise circulation ${\int}_{C}\text{F}\xb7d\text{r}},$ where *C* is a curve consisting of the line segment joining $(\mathrm{-2},0)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}(\mathrm{-1},0)\text{,}$ half circle $y=\sqrt{1-{x}^{2}},$ the line segment joining (1, 0) and (2, 0), and half circle $y=\sqrt{4-{x}^{2}}.$

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}\text{sin}\left({x}^{3}\right)dx+2y{e}^{{x}^{2}}dy},$ where *C* is a triangular closed curve that connects the points (0, 0), (2, 2), and (0, 2) counterclockwise.

Let *C* be the boundary of square $0\le x\le \pi \text{,}\phantom{\rule{0.2em}{0ex}}0\le y\le \pi \text{,}$ traversed counterclockwise. Use Green’s theorem to find ${\int}_{C}^{}\text{sin}(x+y)dx+\text{cos}(x+y)dy}.$

Use Green’s theorem to evaluate line integral ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\left({y}^{2}-{x}^{2}\right)\text{i}+\left({x}^{2}+{y}^{2}\right)\text{j},$ and *C* is a triangle bounded by $y=0\text{,}\phantom{\rule{0.2em}{0ex}}x=3,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=x\text{,}$ oriented counterclockwise.

Use Green’s Theorem to evaluate integral ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\left(x{y}^{2}\right)\text{i}+x\text{j},$ and *C* is a unit circle oriented in the counterclockwise direction.

Use Green’s theorem in a plane to evaluate line integral ${\int}_{C}\left(xy+{y}^{2}\right)dx+{x}^{2}dy},$ where *C* is a closed curve of a region bounded by $y=x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y={x}^{2}$ oriented in the counterclockwise direction.

Calculate the outward flux of $\text{F}=\text{\u2212}x\text{i}+2y\text{j}$ over a square with corners $\left(\mathrm{\pm 1},\mathrm{\pm 1}\right),$ where the unit normal is outward pointing and oriented in the counterclockwise direction.

**[T]** Let *C* be circle ${x}^{2}+{y}^{2}=4$ oriented in the counterclockwise direction. Evaluate ${\int}_{C}\left[\left(3y-{e}^{\text{tan}-{1}_{x}}\right)dx+\left(7x+\sqrt{{y}^{4}+1}\right)dy\right]$ using a computer algebra system.

Find the flux of field $\text{F}=\text{\u2212}x\text{i}+y\text{j}$ across ${x}^{2}+{y}^{2}=16$ oriented in the counterclockwise direction.

Let $\text{F}=\left({y}^{2}-{x}^{2}\right)\text{i}+\left({x}^{2}+{y}^{2}\right)\text{j},$ and let *C* be a triangle bounded by $y=0,x=3,$ and $y=x$ oriented in the counterclockwise direction. Find the outward flux of **F** through *C*.

**[T]** Let *C* be unit circle ${x}^{2}+{y}^{2}=1$ traversed once counterclockwise. Evaluate ${\int}_{C}\left[\text{\u2212}{y}^{3}+\text{sin}\left(xy\right)+xy\phantom{\rule{0.2em}{0ex}}\text{cos}\left(xy\right)\right]dx+\left[{x}^{3}+{x}^{2}\text{cos}\left(xy\right)\right]dy$ by using a computer algebra system.

**[T]** Find the outward flux of vector field $\text{F}=x{y}^{2}\text{i}+{x}^{2}y\text{j}$ across the boundary of annulus $R=\left\{\left(x,y\right):1\le {x}^{2}+{y}^{2}\le 4\right\}=\left\{\left(r,\theta \right):1\le r\le 2,0\le \theta \le 2\pi \right\}$ using a computer algebra system.

Consider region *R* bounded by parabolas $y={x}^{2}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x={y}^{2}.$ Let *C* be the boundary of *R* oriented counterclockwise. Use Green’s theorem to evaluate ${\int}_{C}\left(y+{e}^{\sqrt{x}}\right)dx+\left(2x+\text{cos}\left({y}^{2}\right)\right)dy.$