### Learning Objectives

- 6.3.1 Describe simple and closed curves; define connected and simply connected regions.
- 6.3.2 Explain how to find a potential function for a conservative vector field.
- 6.3.3 Use the Fundamental Theorem for Line Integrals to evaluate a line integral in a vector field.
- 6.3.4 Explain how to test a vector field to determine whether it is conservative.

In this section, we continue the study of conservative vector fields. We examine the Fundamental Theorem for Line Integrals, which is a useful generalization of the Fundamental Theorem of Calculus to line integrals of conservative vector fields. We also show how to test whether a given vector field is conservative, and determine how to build a potential function for a vector field known to be conservative.

### Curves and Regions

Before continuing our study of conservative vector fields, we need some geometric definitions. The theorems in the subsequent sections all rely on integrating over certain kinds of curves and regions, so we develop the definitions of those curves and regions here.

We first define two special kinds of curves: closed curves and simple curves. As we have learned, a closed curve is one that begins and ends at the same point. A simple curve is one that does not cross itself. A curve that is both closed and simple is a simple closed curve (Figure 6.25).

### Definition

Curve *C* is a closed curve if there is a parameterization $\text{r}\left(t\right),a\le t\le b$ of *C* such that the parameterization traverses the curve exactly once and $\text{r}\left(a\right)=\text{r}\left(b\right).$ Curve *C* is a simple curve if *C* does not cross itself. That is, *C* is simple if there exists a parameterization $\text{r}\left(t\right),a\le t\le b$ of *C* such that **r** is one-to-one over $\left(a,b\right).$ It is possible for $\text{r}\left(a\right)=\text{r}\left(b\right),$ meaning that the simple curve is also closed.

### Example 6.27

#### Determining Whether a Curve Is Simple and Closed

Is the curve with parameterization $\text{r}(t)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\frac{\text{sin}(2t)}{2}\rangle ,0\le t\le 2\pi $ a simple closed curve?

#### Solution

Note that $\text{r}\left(0\right)=\langle 1,0\rangle =\text{r}\left(2\pi \right);$ therefore, the curve is closed. The curve is not simple, however. To see this, note that $\text{r}\left(\frac{\pi}{2}\right)=\langle 0,0\rangle =\text{r}\left(\frac{3\pi}{2}\right),$ and therefore the curve crosses itself at the origin (Figure 6.26).

### Checkpoint 6.24

Is the curve given by parameterization $\text{r}\left(t\right)=\langle 2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t,3\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}t\rangle ,0\le t\le 6\pi ,$ a simple closed curve?

Many of the theorems in this chapter relate an integral over a region to an integral over the boundary of the region, where the region’s boundary is a simple closed curve or a union of simple closed curves. To develop these theorems, we need two geometric definitions for regions: that of a connected region and that of a simply connected region. A connected region is one in which there is a path in the region that connects any two points that lie within that region. A simply connected region is a connected region that does not have any holes in it. These two notions, along with the notion of a simple closed curve, allow us to state several generalizations of the Fundamental Theorem of Calculus later in the chapter. These two definitions are valid for regions in any number of dimensions, but we are only concerned with regions in two or three dimensions.

### Definition

A region *D* is a connected region if, for any two points ${P}_{1}$ and ${P}_{2},$ there is a path from ${P}_{1}$ to ${P}_{2}$ with a trace contained entirely inside *D*. A region *D* is a simply connected region if *D* is connected for any simple closed curve *C* that lies inside *D*, and curve *C* can be shrunk continuously to a point while staying entirely inside *D*. In two dimensions, a region is simply connected if it is connected and has no holes.

All simply connected regions are connected, but not all connected regions are simply connected (Figure 6.27).

### Checkpoint 6.25

Is the region in the below image connected? Is the region simply connected?

### Fundamental Theorem for Line Integrals

Now that we understand some basic curves and regions, let’s generalize the Fundamental Theorem of Calculus to line integrals. Recall that the Fundamental Theorem of Calculus says that if a function $f$ has an antiderivative *F*, then the integral of $f$ from *a* to *b* depends only on the values of *F* at *a* and at *b*—that is,

If we think of the gradient as a derivative, then the same theorem holds for vector line integrals. We show how this works using a motivational example.

### Example 6.28

#### Evaluating a Line Integral and the Antiderivatives of the Endpoints

Let $\text{F}\left(x,y\right)=\langle 2x,4y\rangle .$ Calculate ${\int}_{C}\text{F}.d\text{r},$ where *C* is the line segment from (0,0) to (2,2)(Figure 6.28).

#### Solution

We use Equation 6.9 to calculate ${\int}_{C}\text{F}.d\text{r}.$ Curve *C* can be parameterized by $\text{r}\left(t\right)=\langle 2t,2t\rangle ,0\le t\le 1.$ Then, $\text{F}\left(\text{r}\left(t\right)\right)=\langle 4t,8t\rangle $ and ${\text{r}}^{\prime}\left(t\right)=\langle 2,2\rangle ,$ which implies that

Notice that $F=\text{\u2207}f,$ where $f\left(x,y\right)={x}^{2}+2{y}^{2}.$ If we think of the gradient as a derivative, then $f$ is an “antiderivative” of **F**. In the case of single-variable integrals, the integral of derivative ${g}^{\prime}\left(x\right)$ is $g\left(b\right)-g\left(a\right),$ where *a* is the start point of the interval of integration and *b* is the endpoint. If vector line integrals work like single-variable integrals, then we would expect integral **F** to be $f\left({P}_{1}\right)-f\left({P}_{0}\right),$ where ${P}_{1}$ is the endpoint of the curve of integration and ${P}_{0}$ is the start point. Notice that this is the case for this example:

and

In other words, the integral of a “derivative” can be calculated by evaluating an “antiderivative” at the endpoints of the curve and subtracting, just as for single-variable integrals.

The following theorem says that, under certain conditions, what happened in the previous example holds for any gradient field. The same theorem holds for vector line integrals, which we call the Fundamental Theorem for Line Integrals.

### Theorem 6.7

#### The Fundamental Theorem for Line Integrals

Let *C* be a piecewise smooth curve with parameterization $\text{r}\left(t\right),a\le t\le b.$ Let $f$ be a function of two or three variables with first-order partial derivatives that exist and are continuous on *C*. Then,

#### Proof

By Equation 6.9,

By the chain rule,

Therefore, by the Fundamental Theorem of Calculus,

□

We know that if **F** is a conservative vector field, there are potential functions $f$ such that $\text{\u2207}f=\text{F}.$ Therefore ${\int}_{C}\text{F}\xb7d\text{r}}={\displaystyle {\int}_{C}\text{\u2207}f\xb7d\text{r}}=f\left(\text{r}(b)\right)-f\left(\text{r}(a)\right).$ In other words, just as with the Fundamental Theorem of Calculus, computing the line integral ${\int}_{C}\text{F}\xb7d\text{r}},$ where **F** is conservative, is a two-step process: (1) find a potential function (“antiderivative”) $f$ for **F** and (2) compute the value of $f$ at the endpoints of *C* and calculate their difference $f\left(\text{r}\left(b\right)\right)-f\left(\text{r}\left(a\right)\right).$ Keep in mind, however, there is one major difference between the Fundamental Theorem of Calculus and the Fundamental Theorem for Line Integrals. *A function of one variable that is continuous must have an antiderivative. However, a vector field, even if it is continuous, does not need to have a potential function.*

### Example 6.29

#### Applying the Fundamental Theorem

Calculate integral ${\int}_{C}\text{F}.d\text{r},$ where $\text{F}\left(x,y,z\right)=\langle 2x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.1em}{0ex}}y,\frac{{x}^{2}}{y}+{z}^{2},2yz\rangle $ and *C* is a curve with parameterization $\text{r}\left(t\right)=\langle {t}^{2},t,t\rangle ,1\le t\le e$

- without using the Fundamental Theorem of Line Integrals and
- using the Fundamental Theorem of Line Integrals.

#### Solution

- First, let’s calculate the integral without the Fundamental Theorem for Line Integrals and instead use Equation 6.9:

$$\begin{array}{cc}\hfill {\displaystyle {\int}_{C}\text{F}.dr}& ={\displaystyle {\int}_{1}^{e}\text{F}\left(r\left(t\right)\right).{r}^{\prime}\left(t\right)dt}\hfill \\ & ={\displaystyle {\int}_{1}^{e}\langle 2{t}^{2}\text{ln}\phantom{\rule{0.1em}{0ex}}t,\frac{{t}^{4}}{t}+{t}^{2},2{t}^{2}\rangle}.\langle 2t,1,1\rangle dt\hfill \\ & ={\displaystyle {\int}_{1}^{e}\left(4{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}t+{t}^{3}+3{t}^{2}\right)dt}\hfill \\ & ={\displaystyle {\int}_{1}^{e}4{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt+{\displaystyle {\int}_{1}^{e}\left({t}^{3}+3{t}^{2}\right)dt}}\hfill \\ & ={\displaystyle {\int}_{1}^{e}4{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt+{\left[\frac{{t}^{4}}{4}+{t}^{3}\right]}_{1}^{e}}\hfill \\ & =2{\displaystyle {\int}_{1}^{e}{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt+\frac{{e}^{4}}{4}+{e}^{3}-\frac{5}{4}}.\hfill \end{array}$$

Integral ${\int}_{1}^{e}{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt$ requires integration by parts. Let $u=\text{ln}\phantom{\rule{0.1em}{0ex}}t$ and $dv={t}^{3}.$ Then $u=\text{ln}\phantom{\rule{0.1em}{0ex}}t,dv={t}^{3}$

and

$$du=\frac{1}{t}dt,v=\frac{{t}^{4}}{4}.$$

Therefore,

$$\begin{array}{cc}\hfill {\displaystyle {\int}_{1}^{e}{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt}& ={\left[\frac{{t}^{4}}{4}\text{ln}\phantom{\rule{0.1em}{0ex}}t\right]}_{1}^{e}-\frac{1}{4}{\displaystyle {\int}_{1}^{e}{t}^{3}dt}\hfill \\ & =\frac{{e}^{4}}{4}-\frac{1}{4}\left(\frac{{e}^{4}}{4}-\frac{1}{4}\right).\hfill \end{array}$$

Thus,

$$\begin{array}{cc}\hfill {\displaystyle {\int}_{C}\text{F}}.dr& =4{\displaystyle {\int}_{1}^{e}{t}^{3}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt+\frac{{e}^{4}}{4}+{e}^{3}-\frac{5}{4}}\hfill \\ & =4\left(\frac{{e}^{4}}{4}-\frac{1}{4}\left(\frac{{e}^{4}}{4}-\frac{1}{4}\right)\right)+\frac{{e}^{4}}{4}+{e}^{3}-\frac{5}{4}\hfill \\ & ={e}^{4}-\frac{{e}^{4}}{4}+\frac{1}{4}+\frac{{e}^{4}}{4}+{e}^{3}-\frac{5}{4}\hfill \\ & ={e}^{4}+{e}^{3}-1.\hfill \end{array}$$ - Given that $f\left(x,y,z\right)={x}^{2}\text{ln}\phantom{\rule{0.1em}{0ex}}y+y{z}^{2}$ is a potential function for
**F**, let’s use the Fundamental Theorem for Line Integrals to calculate the integral. Note that

$$\begin{array}{cc}\hfill {\displaystyle {\int}_{C}\text{F}}.d\text{r}& ={\displaystyle {\int}_{C}\text{\u2207}f.d\text{r}}\hfill \\ & =f\left(\text{r}\left(e\right)\right)-f\left(\text{r}\left(1\right)\right)\hfill \\ & =f\left({e}^{2},e,e\right)-f\left(1,1,1\right)\hfill \\ & ={e}^{4}+{e}^{3}-1.\hfill \end{array}$$

This calculation is much more straightforward than the calculation we did in (a). As long as we have a potential function, calculating a line integral using the Fundamental Theorem for Line Integrals is much easier than calculating without the theorem.

Example 6.29 illustrates a nice feature of the Fundamental Theorem of Line Integrals: it allows us to calculate more easily many vector line integrals. As long as we have a potential function, calculating the line integral is only a matter of evaluating the potential function at the endpoints and subtracting.

### Checkpoint 6.26

Given that $f\left(x,y\right)={\left(x-1\right)}^{2}y+{\left(y+1\right)}^{2}x$ is a potential function for $\text{F}=\langle 2xy-2y+{\left(y+1\right)}^{2},{\left(x-1\right)}^{2}+2yx+2x\rangle ,$ calculate integral ${\int}_{C}\text{F}\xb7d\text{r}},$ where *C* is the lower half of the unit circle oriented counterclockwise.

The Fundamental Theorem for Line Integrals has two important consequences. The first consequence is that if **F** is conservative and *C* is a closed curve, then the circulation of **F** along *C* is zero—that is, ${\int}_{C}\text{F}\xb7d\text{r}}=0.$ To see why this is true, let $f$ be a potential function for **F**. Since *C* is a closed curve, the terminal point **r**(b) of *C* is the same as the initial point **r**(a) of *C*—that is, $\text{r}\left(a\right)=\text{r}\left(b\right).$ Therefore, by the Fundamental Theorem for Line Integrals,

Recall that the reason a conservative vector field **F** is called “conservative” is because such vector fields model forces in which energy is conserved. We have shown gravity to be an example of such a force. If we think of vector field **F** in integral $\oint}_{C}\text{F}\xb7d\text{r$ as a gravitational field, then the equation ${\oint}_{C}\text{F}\xb7d\text{r}}=0$ follows. If a particle travels along a path that starts and ends at the same place, then the work done by gravity on the particle is zero.

The second important consequence of the Fundamental Theorem for Line Integrals is that line integrals of conservative vector fields are independent of path—meaning, they depend only on the endpoints of the given curve, and do not depend on the path between the endpoints.

### Definition

Let **F** be a vector field with domain *D*. The vector field **F** is independent of path (or path independent) if $\int}_{{C}_{1}}\text{F}\xb7d\text{r}}={\displaystyle {\int}_{{C}_{2}}\text{F}\xb7d\text{r$ for any paths ${C}_{1}$ and ${C}_{2}$ in *D* with the same initial and terminal points.

The second consequence is stated formally in the following theorem.

### Theorem 6.8

#### Path Independence of Conservative Fields

If **F** is a conservative vector field, then **F** is independent of path.

#### Proof

Let *D* denote the domain of **F** and let ${C}_{1}$ and ${C}_{2}$ be two paths in *D* with the same initial and terminal points (Figure 6.29). Call the initial point ${P}_{1}$ and the terminal point ${P}_{2}.$ Since **F** is conservative, there is a potential function $f$ for **F**. By the Fundamental Theorem for Line Integrals,

Therefore, $\int}_{{C}_{1}}\text{F}\xb7d\text{r}}={\displaystyle {\int}_{{C}_{2}}\text{F}\xb7d\text{r$ and **F** is independent of path.

□

To visualize what independence of path means, imagine three hikers climbing from base camp to the top of a mountain. Hiker 1 takes a steep route directly from camp to the top. Hiker 2 takes a winding route that is not steep from camp to the top. Hiker 3 starts by taking the steep route but halfway to the top decides it is too difficult for him. Therefore he returns to camp and takes the non-steep path to the top. All three hikers are traveling along paths in a gravitational field. Since gravity is a force in which energy is conserved, the gravitational field is conservative. By independence of path, the total amount of work done by gravity on each of the hikers is the same because they all started in the same place and ended in the same place. The work done by the hikers includes other factors such as friction and muscle movement, so the total amount of energy each one expended is not the same, but the net energy expended against gravity is the same for all three hikers.

We have shown that if **F** is conservative, then **F** is independent of path. It turns out that if the domain of **F** is open and connected, then the converse is also true. That is, if **F** is independent of path and the domain of **F** is open and connected, then **F** is conservative. Therefore, the set of conservative vector fields on open and connected domains is precisely the set of vector fields independent of path.

### Theorem 6.9

#### The Path Independence Test for Conservative Fields

If **F** is a continuous vector field that is independent of path and the domain *D* of **F** is open and connected, then **F** is conservative.

#### Proof

We prove the theorem for vector fields in ${\mathbb{R}}^{2}.$ The proof for vector fields in ${\mathbb{R}}^{3}$ is similar. To show that $\text{F}=\langle P,Q\rangle $ is conservative, we must find a potential function $f$ for **F**. To that end, let *X* be a fixed point in *D*. For any point $\left(x,y\right)$ in *D*, let *C* be a path from *X* to $\left(x,y\right).$ Define $f$$\left(x,y\right)$ by $f(x,y)={\displaystyle {\int}_{C}\text{F}\xb7d\text{r}.}$ (Note that this definition of $f$ makes sense only because **F** is independent of path. If **F** was not independent of path, then it might be possible to find another path ${C}^{\prime}$ from *X* to $\left(x,y\right)$ such that ${\int}_{C}\text{F}\xb7d\text{r}}\ne {\displaystyle {\int}_{C}\text{F}\xb7d\text{r}},$ and in such a case $f$$\left(x,y\right)$ would not be a function.) We want to show that $f$ has the property $\text{\u2207}f=\text{F}.$

Since domain *D* is open, it is possible to find a disk centered at $\left(x,y\right)$ such that the disk is contained entirely inside *D*. Let $\left(a,y\right)$ with $a<x$ be a point in that disk. Let *C* be a path from *X* to $\left(x,y\right)$ that consists of two pieces: ${C}_{1}$ and ${C}_{2}.$ The first piece, ${C}_{1},$ is any path from *X* to $\left(a,y\right)$ that stays inside *D*; ${C}_{2}$ is the horizontal line segment from $\left(a,y\right)$ to $\left(x,y\right)$ (Figure 6.30). Then

The first integral does not depend on *x*, so

If we parameterize ${C}_{2}$ by $\text{r}\left(t\right)=\langle t,y\rangle ,a\le t\le x,$ then

By the Fundamental Theorem of Calculus (part 1),

A similar argument using a vertical line segment rather than a horizontal line segment shows that ${f}_{y}=Q\left(x,y\right).$

Therefore $\text{\u2207}f=\text{F}$ and **F** is conservative.

□

We have spent a lot of time discussing and proving Path Independence of Conservative Fields and The Path Independence Test for Conservative Fields, but we can summarize them simply: a vector field **F** on an open and connected domain is conservative if and only if it is independent of path. This is important to know because conservative vector fields are extremely important in applications, and these theorems give us a different way of viewing what it means to be conservative using path independence.

### Example 6.30

#### Showing That a Vector Field Is Not Conservative

Use path independence to show that vector field $\text{F}(x,y)=\langle {x}^{2}y,y+5\rangle $ is not conservative.

#### Solution

We can indicate that **F** is not conservative by showing that **F** is not path independent. We do so by giving two different paths, ${C}_{1}$ and ${C}_{2},$ that both start at $(0,0)$ and end at $(1,1),$ and yet ${\int}_{{C}_{1}}\text{F}}.dr\ne {\displaystyle {\int}_{{C}_{2}}\text{F}.d\text{r}.$

Let ${C}_{1}$ be the curve with parameterization ${r}_{1}(t)=\langle t,t\rangle ,0\le t\le 1$ and let ${C}_{2}$ be the curve with parameterization ${r}_{2}(t)=\langle t,{t}^{2}\rangle ,0\le t\le 1$ (Figure 6.31). Then

and

Since ${\int}_{{C}_{1}}\text{F}.d\text{r}}\ne {\displaystyle {\int}_{{C}_{2}}\text{F}.d\text{r},$ the value of a line integral of **F** depends on the path between two given points. Therefore, **F** is not independent of path, and **F** is not conservative.

### Checkpoint 6.27

Show that $\text{F}(x,y)=\langle xy,{x}^{2}{y}^{2}\rangle $ is not path independent by considering the line segment from $(0,0)$ to $(2,2)$ and the piece of the graph of $y=\frac{{x}^{2}}{2}$ that goes from $(0,0)$ to $(2,2).$

### Conservative Vector Fields and Potential Functions

As we have learned, the Fundamental Theorem for Line Integrals says that if **F** is conservative, then calculating ${\int}_{C}\text{F}\xb7dr$ has two steps: first, find a potential function $f$ for **F** and, second, calculate $f({P}_{1})-f({P}_{0}),$ where ${P}_{1}$ is the endpoint of *C* and ${P}_{0}$ is the starting point. To use this theorem for a conservative field **F**, we must be able to find a potential function $f$ for **F**. Therefore, we must answer the following question: Given a conservative vector field **F**, how do we find a function $f$ such that $\text{\u2207}f=\text{F}?$ Before giving a general method for finding a potential function, let’s motivate the method with an example.

### Example 6.31

#### Finding a Potential Function

Find a potential function for $\text{F}\left(x,y\right)=\langle 2x{y}^{3},3{x}^{2}{y}^{2}+\text{cos}\left(y\right)\rangle ,$ thereby showing that **F** is conservative.

#### Solution

Suppose that $f(x,y)$ is a potential function for **F**. Then, $\text{\u2207}f=\text{F},$ and therefore

Integrating the equation ${f}_{x}=2x{y}^{3}$ with respect to *x* yields the equation

Notice that since we are integrating a two-variable function with respect to *x*, we must add a constant of integration that is a constant with respect to *x*, but may still be a function of *y*. The equation $f(x,y)={x}^{2}{y}^{3}+h(y)$ can be confirmed by taking the partial derivative with respect to *x*:

Since $f$ is a potential function for **F**,

and therefore

This implies that $h\prime (y)=\text{cos}\phantom{\rule{0.1em}{0ex}}y,$ so $h(y)=\text{sin}\phantom{\rule{0.1em}{0ex}}y+C.$ Therefore, *any* function of the form $f\left(x,y\right)={x}^{2}{y}^{3}+\text{sin}\left(y\right)+C$ is a potential function. Taking, in particular, $C=0$ gives the potential function $f\left(x,y\right)={x}^{2}{y}^{3}+\text{sin}\left(y\right).$

To verify that $f$ is a potential function, note that $\text{\u2207}f=\langle 2x{y}^{3},3{x}^{2}{y}^{2}+\text{cos}\phantom{\rule{0.1em}{0ex}}y\rangle =\text{F}.$

### Checkpoint 6.28

Find a potential function for $\text{F}(x,y)=\langle {e}^{x}{y}^{3}+y,3{e}^{x}{y}^{2}+x\rangle .$

The logic of the previous example extends to finding the potential function for any conservative vector field in ${\mathbb{R}}^{2}.$ Thus, we have the following problem-solving strategy for finding potential functions:

### Problem-Solving Strategy

#### Problem-Solving Stragegy: Finding a Potential Function for a Conservative Vector Field $\text{F}\left(x,y\right)=\langle P\left(x,y\right),Q\left(x,y\right)\rangle $

- Integrate
*P*with respect to*x*. This results in a function of the form $g\left(x,y\right)+h\left(y\right),$ where $h\left(y\right)$ is unknown. - Take the partial derivative of $g\left(x,y\right)+h\left(y\right)$ with respect to
*y*, which results in the function ${g}_{y}\left(x,y\right)+{h}^{\prime}\left(y\right).$ - Use the equation ${g}_{y}\left(x,y\right)+{h}^{\prime}\left(y\right)=Q\left(x,y\right)$ to find ${h}^{\prime}\left(y\right).$
- Integrate ${h}^{\prime}\left(y\right)$ to find $h\left(y\right).$
- Any function of the form $f\left(x,y\right)=g\left(x,y\right)+h\left(y\right)+C,$ where
*C*is a constant, is a potential function for**F**.

We can adapt this strategy to find potential functions for vector fields in ${\mathbb{R}}^{3},$ as shown in the next example.

### Example 6.32

#### Finding a Potential Function in ${\mathbb{R}}^{3}$

Find a potential function for $\text{F}\left(x,y,z\right)=\langle 2xy,{x}^{2}+2y{z}^{3},3{y}^{2}{z}^{2}+2z\rangle ,$ thereby showing that $\text{F}$ is conservative.

#### Solution

Suppose that $f$ is a potential function. Then, $\text{\u2207}f=\text{F}$ and therefore ${f}_{x}=2xy.$ Integrating this equation with respect to *x* yields the equation $f\left(x,y,z\right)={x}^{2}y+g\left(y,z\right)$ for some function *g*. Notice that, in this case, the constant of integration with respect to *x* is a function of *y* and *z*.

Since $f$ is a potential function,

Therefore,

Integrating this function with respect to *y* yields

for some function $h\left(z\right)$ of *z* alone. (Notice that, because we know that *g* is a function of only *y* and *z*, we do not need to write $g\left(y,z\right)={y}^{2}{z}^{3}+h\left(x,z\right).)$ Therefore,

To find $f$, we now must only find *h*. Since $f$ is a potential function,

This implies that ${h}^{\prime}\left(z\right)=2z,$ so $h\left(z\right)={z}^{2}+C.$ Letting $C=0$ gives the potential function

To verify that $f$ is a potential function, note that $\text{\u2207}f=\langle 2xy,{x}^{2}+2y{z}^{3},3{y}^{2}{z}^{2}+2z\rangle =\text{F}.$

### Checkpoint 6.29

Find a potential function for $\text{F}\left(x,y,z\right)=\langle 12{x}^{2},\text{cos}\phantom{\rule{0.1em}{0ex}}y\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}z,1-\text{sin}\phantom{\rule{0.1em}{0ex}}y\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}z\rangle .$

We can apply the process of finding a potential function to a gravitational force. Recall that, if an object has unit mass and is located at the origin, then the gravitational force in ${\mathbb{R}}^{2}$ that the object exerts on another object of unit mass at the point $\left(x,y\right)$ is given by vector field

where *G* is the universal gravitational constant. In the next example, we build a potential function for **F**, thus confirming what we already know: that gravity is conservative.

### Example 6.33

#### Finding a Potential Function

Find a potential function $f$ for $\text{F}\left(x,y\right)=\text{\u2212}G\langle \frac{x}{{\left({x}^{2}+{y}^{2}\right)}^{3\text{/}2}},\frac{y}{{\left({x}^{2}+{y}^{2}\right)}^{3\text{/}2}}\rangle .$

#### Solution

Suppose that $f$ is a potential function. Then, $\text{\u2207}f=\text{F}$ and therefore

To integrate this function with respect to *x,* we can use *u*-substitution. If $u={x}^{2}+{y}^{2},$ then $\frac{du}{2}=xdx,$ so

for some function $h(y).$ Therefore,

Since $f$ is a potential function for **F**,

Since $f(x,y)=\frac{G}{\sqrt{{x}^{2}+{y}^{2}}}+h(y),$ ${f}_{y}$ also equals $\frac{\text{\u2212}Gy}{{\left({x}^{2}+{y}^{2}\right)}^{3\text{/}2}}+{h}^{\prime}\left(y\right).$

Therefore,

which implies that ${h}^{\prime}(y)=0.$ Thus, we can take $h(y)$ to be any constant; in particular, we can let $h(y)=0.$ The function

is a potential function for the gravitational field **F**. To confirm that $f$ is a potential function, note that

### Checkpoint 6.30

Find a potential function $f$ for the three-dimensional gravitational force $\text{F}(x,y,z)=\langle \frac{\text{\u2212}Gx}{{\left({x}^{2}+{y}^{2}+{z}^{2}\right)}^{3\text{/}2}},\frac{\text{\u2212}Gy}{{\left({x}^{2}+{y}^{2}+{z}^{2}\right)}^{3\text{/}2}},\frac{\text{\u2212}Gz}{{\left({x}^{2}+{y}^{2}+{z}^{2}\right)}^{3\text{/}2}}\rangle .$

### Testing a Vector Field

Until now, we have worked with vector fields that we know are conservative, but if we are not told that a vector field is conservative, we need to be able to test whether it is conservative. Recall that, if **F** is conservative, then **F** has the cross-partial property (see The Cross-Partial Property of Conservative Vector Fields). That is, if $\text{F}=\langle P,Q,R\rangle $ is conservative, then ${P}_{y}={Q}_{x},{P}_{z}={R}_{x},$ and ${Q}_{z}={R}_{y}.$ So, if **F** has the cross-partial property, then is **F** conservative? If the domain of **F** is open and simply connected, then the answer is yes.

### Theorem 6.10

#### The Cross-Partial Test for Conservative Fields

If $\text{F}=\langle P,Q,R\rangle $ is a vector field on an open, simply connected region *D* and ${P}_{y}={Q}_{x},{P}_{z}={R}_{x},$ and ${Q}_{z}={R}_{y}$ throughout *D*, then **F** is conservative.

Although a proof of this theorem is beyond the scope of the text, we can discover its power with some examples. Later, we see why it is necessary for the region to be simply connected.

Combining this theorem with the cross-partial property, we can determine whether a given vector field is conservative:

### Theorem 6.11

#### Cross-Partial Property of Conservative Fields

Let $\text{F}=\langle P,Q,R\rangle $ be a vector field on an open, simply connected region *D.* Then ${P}_{y}={Q}_{x},{P}_{z}={R}_{x},$ and ${Q}_{z}={R}_{y}$ throughout *D* if and only if **F** is conservative.

The version of this theorem in ${\mathbb{R}}^{2}$ is also true. If $\text{F}=\langle P,Q\rangle $ is a vector field on an open, simply connected domain in ${\mathbb{R}}^{2},$ then **F** is conservative if and only if ${P}_{y}={Q}_{x}.$

### Example 6.34

#### Determining Whether a Vector Field Is Conservative

Determine whether vector field $\text{F}\left(x,y,z\right)=\langle x{y}^{2}z,{x}^{2}yz,{z}^{2}\rangle $ is conservative.

#### Solution

Note that the domain of **F** is all of ${\mathbb{R}}^{2}$ and ${\mathbb{R}}^{3}$ is simply connected. Therefore, we can use Cross-Partial Property of Conservative Fields to determine whether **F** is conservative. Let

Since ${Q}_{z}={x}^{2}y$ and ${R}_{y}=0,$ the vector field is not conservative.

### Example 6.35

#### Determining Whether a Vector Field Is Conservative

Determine vector field $\text{F}\left(x,y\right)=\langle x\phantom{\rule{0.2em}{0ex}}\text{ln}\left(y\right),\frac{{x}^{2}}{2y}\rangle $ is conservative.

#### Solution

Note that the domain of **F** is the part of ${\mathbb{R}}^{2}$ in which $y>0.$ Thus, the domain of **F** is part of a plane above the *x*-axis, and this domain is simply connected (there are no holes in this region and this region is connected). Therefore, we can use Cross-Partial Property of Conservative Fields to determine whether **F** is conservative. Let

Then ${P}_{y}=\frac{x}{y}={Q}_{x}$ and thus **F** is conservative.

### Checkpoint 6.31

Determine whether $\text{F}\left(x,y\right)=\langle \text{sin}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}y,\text{cos}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}y\rangle $ is conservative.

When using Cross-Partial Property of Conservative Fields, it is important to remember that a theorem is a tool, and like any tool, it can be applied only under the right conditions. In the case of Cross-Partial Property of Conservative Fields, the theorem can be applied only if the domain of the vector field is simply connected.

To see what can go wrong when misapplying the theorem, consider the vector field:

This vector field satisfies the cross-partial property, since

and

Since **F** satisfies the cross-partial property, we might be tempted to conclude that **F** is conservative. However, **F** is not conservative. To see this, let

be a parameterization of the upper half of a unit circle oriented counterclockwise (denote this ${C}_{1})$ and let

be a parameterization of the lower half of a unit circle oriented clockwise (denote this ${C}_{2}).$ Notice that ${C}_{1}$ and ${C}_{2}$ have the same starting point and endpoint. Since ${\text{sin}}^{2}t+{\text{cos}}^{2}t=1,$

and

Therefore,

Thus, ${C}_{1}$ and ${C}_{2}$ have the same starting point and endpoint, but ${\int}_{{C}_{1}}\text{F}\xb7d\text{r}}\ne {\displaystyle {\int}_{{C}_{2}}\text{F}\xb7d\text{r}}.$ Therefore, **F** is not independent of path and **F** is not conservative.

To summarize: **F** satisfies the cross-partial property and yet **F** is not conservative. What went wrong? Does this contradict Cross-Partial Property of Conservative Fields? The issue is that the domain of **F** is all of ${\mathbb{R}}^{2}$ except for the origin. In other words, the domain of **F** has a hole at the origin, and therefore the domain is not simply connected. Since the domain is not simply connected, Cross-Partial Property of Conservative Fields does not apply to **F**.

We close this section by looking at an example of the usefulness of the Fundamental Theorem for Line Integrals. Now that we can test whether a vector field is conservative, we can always decide whether the Fundamental Theorem for Line Integrals can be used to calculate a vector line integral. If we are asked to calculate an integral of the form ${\int}_{C}\text{F}\xb7d\text{r}},$ then our first question should be: Is **F** conservative? If the answer is yes, then we should find a potential function and use the Fundamental Theorem for Line Integrals to calculate the integral. If the answer is no, then the Fundamental Theorem for Line Integrals can’t help us and we have to use other methods, such as using Equation 6.9.

### Example 6.36

#### Using the Fundamental Theorem for Line Integrals

Calculate line integral ${\int}_{C}\text{F}\xb7dr},$ where $\text{F}(x,y,z)=\langle 2x{e}^{y}z+{e}^{x}z,{x}^{2}{e}^{y}z,{x}^{2}{e}^{y}+{e}^{x}\rangle $ and *C* is any smooth curve that goes from the origin to $(1,1,1).$

#### Solution

Before trying to compute the integral, we need to determine whether **F** is conservative and whether the domain of **F** is simply connected. The domain of **F** is all of ${\mathbb{R}}^{3},$ which is connected and has no holes. Therefore, the domain of **F** is simply connected. Let

so that $\text{F}=\langle P,Q,R\rangle .$ Since the domain of **F** is simply connected, we can check the cross partials to determine whether **F** is conservative. Note that

Therefore, **F** is conservative.

To evaluate ${\int}_{C}\text{F}\xb7dr$ using the Fundamental Theorem for Line Integrals, we need to find a potential function $f$ for **F**. Let $f$ be a potential function for **F**. Then, $\text{\u2207}f=\text{F},$ and therefore ${f}_{x}=2x{e}^{y}z+{e}^{x}z.$ Integrating this equation with respect to *x* gives $f\left(x,y,z\right)={x}^{2}{e}^{y}z+{e}^{x}z+h\left(y,z\right)$ for some function *h*. Differentiating this equation with respect to *y* gives ${x}^{2}{e}^{y}z+{h}_{y}=Q={x}^{2}{e}^{y}z,$ which implies that ${h}_{y}=0.$ Therefore, *h* is a function of *z* only, and $f(x,y,z)={x}^{2}{e}^{y}z+{e}^{x}z+h(z).$ To find *h*, note that ${f}_{z}={x}^{2}{e}^{y}+{e}^{x}+h\prime (z)=R={x}^{2}{e}^{y}+{e}^{x}.$ Therefore, $h\prime (z)=0$ and we can take $h(z)=0.$ A potential function for **F** is $f(x,y,z)={x}^{2}{e}^{y}z+{e}^{x}z.$

Now that we have a potential function, we can use the Fundamental Theorem for Line Integrals to evaluate the integral. By the theorem,

#### Analysis

Notice that if we hadn’t recognized that **F** is conservative, we would have had to parameterize *C* and use Equation 6.9. Since curve *C* is unknown, using the Fundamental Theorem for Line Integrals is much simpler.

### Checkpoint 6.32

Calculate integral ${\int}_{C}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\langle \text{sin}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}y,5-\text{cos}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}y\rangle $ and *C* is a semicircle with starting point $(0,\pi )$ and endpoint $(0,\text{\u2212}\pi ).$

### Example 6.37

#### Work Done on a Particle

Let $\text{F}\left(x,y\right)=\langle 2x{y}^{2},2{x}^{2}y\rangle $ be a force field. Suppose that a particle begins its motion at the origin and ends its movement at any point in a plane that is not on the *x*-axis or the *y*-axis. Furthermore, the particle’s motion can be modeled with a smooth parameterization. Show that **F** does positive work on the particle.

#### Solution

We show that **F** does positive work on the particle by showing that **F** is conservative and then by using the Fundamental Theorem for Line Integrals.

To show that **F** is conservative, suppose $f\left(x,y\right)$ were a potential function for **F**. Then, $\text{\u2207}f=\text{F}=\langle 2x{y}^{2},2{x}^{2}y\rangle $ and therefore ${f}_{x}=2x{y}^{2}$ and ${f}_{y}=2{x}^{2}y.$ Equation ${f}_{x}=2x{y}^{2}$ implies that $f\left(x,y\right)={x}^{2}{y}^{2}+h\left(y\right).$ Deriving both sides with respect to *y* yields ${f}_{y}=2{x}^{2}y+{h}^{\prime}\left(y\right).$ Therefore, ${h}^{\prime}(y)=0$ and we can take $h\left(y\right)=0.$

If $f(x,y)={x}^{2}{y}^{2},$ then note that $\text{\u2207}f=\langle 2x{y}^{2},2{x}^{2}y\rangle =\text{F},$ and therefore $f$ is a potential function for **F**.

Let $(a,b)$ be the point at which the particle stops is motion, and let *C* denote the curve that models the particle’s motion. The work done by **F** on the particle is ${\int}_{C}\text{F}\xb7d\text{r}}.$ By the Fundamental Theorem for Line Integrals,

Since $a\ne 0$ and $b\ne 0,$ by assumption, ${a}^{2}{b}^{2}>0.$ Therefore, ${\int}_{C}\text{F}\xb7d\text{r}}>0,$ and **F** does positive work on the particle.

#### Analysis

Notice that this problem would be much more difficult without using the Fundamental Theorem for Line Integrals. To apply the tools we have learned, we would need to give a curve parameterization and use Equation 6.9. Since the path of motion *C* can be as exotic as we wish (as long as it is smooth), it can be very difficult to parameterize the motion of the particle.

### Checkpoint 6.33

Let $\text{F}(x,y)=\langle 4{x}^{3}{y}^{4},4{x}^{4}{y}^{3}\rangle ,$ and suppose that a particle moves from point $(4,4)$ to $(1,1)$ along any smooth curve. Is the work done by **F** on the particle positive, negative, or zero?

### Section 6.3 Exercises

*True* or *False?* If vector field **F** is conservative on the open and connected region *D*, then line integrals of **F** are path independent on *D*, regardless of the shape of *D*.

*True* or *False?* Function $\text{r}\left(t\right)=\text{a}+t\left(\text{b}-\text{a}\right),$ where $0\le t\le 1,$ parameterizes the straight-line segment from $\text{a}\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}\text{b}.$

*True* or *False?* Vector field $\text{F}\left(x,y,z\right)=\left(y\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}z\right)\text{i}+\left(x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}z\right)\text{j}+\left(xy\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}z\right)\text{k}$ is conservative.

*True* or *False?* Vector field $\text{F}\left(x,y,z\right)=y\text{i}+\left(x+z\right)\text{j}-y\text{k}$ is conservative.

Verify the Fundamental Theorem of Line Integrals for $\int}_{C}\text{F}\xb7d\text{r$ by computing the integral using a parameterization and, separately, by finding a potential function for the case when $\text{F}\left(x,y\right)=\left(2x+2y\right)\text{i}+\left(2x+2y\right)\text{j}$ and *C* is a portion of the positively oriented circle ${x}^{2}+{y}^{2}=25$ from (5, 0) to (3, 4).

**[T]** Find ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\left(y{e}^{xy}+\text{cos}\phantom{\rule{0.1em}{0ex}}x\right)\text{i}+\left(x{e}^{xy}+\frac{1}{{y}^{2}+1}\right)\text{j}$ and *C* is a portion of curve $y=\text{sin}\phantom{\rule{0.1em}{0ex}}x$ from $x=0$ to $x=\frac{\pi}{2}.$

**[T]** Evaluate line integral ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\left({e}^{x}\text{sin}\phantom{\rule{0.1em}{0ex}}y-y\right)\text{i}+\left({e}^{x}\text{cos}\phantom{\rule{0.1em}{0ex}}y-x-2\right)\text{j},$ and *C* is the path given by $r(t)=\left[{t}^{3}\text{sin}\phantom{\rule{0.2em}{0ex}}\frac{\pi t}{2}\right]\text{i}-\left[\frac{\pi}{2}\text{cos}\left(\frac{\pi t}{2}+\frac{\pi}{2}\right)\right]\text{j}$ for $0\le t\le 1.$

For the following exercises, determine whether the vector field is conservative and, if it is, find the potential function.

$\text{F}(x,y)=2x{y}^{3}\text{i}+3{y}^{2}{x}^{2}\text{j}$

$\text{F}(x,y)=\left(\text{\u2212}y+{e}^{x}\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}+\left[\left(x+2\right){e}^{x}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right]\text{j}$

$\text{F}(x,y)=\left({e}^{2x}\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}+\left[{e}^{2x}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right]\text{j}$

$\text{F}(x,y)=\left[2x\phantom{\rule{0.2em}{0ex}}\text{cos}(y)-y\phantom{\rule{0.2em}{0ex}}\text{cos}(x)\right]\text{i}+\left[\text{\u2212}{x}^{2}\text{sin}(y)-\text{sin}(x)\right]\text{j}$

$\text{F}(x,y)=\left[y{e}^{x}+\text{sin}(y)\right]\text{i}+\left[{e}^{x}+x\phantom{\rule{0.2em}{0ex}}\text{cos}(y)\right]\text{j}$

For the following exercises, evaluate the line integrals using the Fundamental Theorem of Line Integrals.

${\int}_{C}(y\text{i}+x\text{j})\xb7d\text{r}},$ where *C* is any path from (0, 0) to (2, 4)

**[T]** ${\int}_{C}\left[\text{arctan}\phantom{\rule{0.2em}{0ex}}\frac{y}{x}-\frac{xy}{{x}^{2}+{y}^{2}}\right]dx+\left[\frac{{x}^{2}}{{x}^{2}+{y}^{2}}+{e}^{\text{\u2212}y}(1-y)\right]dy},$ where *C* is any smooth curve from (1, 1) to $\left(\mathrm{-1},2\right)$

Find the conservative vector field for the potential function

For the following exercises, determine whether the vector field is conservative and, if so, find a potential function.

$\text{F}(x,y)=\left(12xy\right)\text{i}+6\left({x}^{2}+{y}^{2}\right)\text{j}$

$\text{F}(x,y)=\left({e}^{x}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}+6\left({e}^{x}\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{j}$

$\text{F}(x,y)=\left(2xy{e}^{{x}^{2}y}\right)\text{i}+6\left({x}^{2}{e}^{{x}^{2}y}\right)\text{j}$

$\text{F}(x,y\text{,}\phantom{\rule{0.2em}{0ex}}z)=\left(y{e}^{z}\right)\text{i}+\left(x{e}^{z}\right)\text{j}+\left(xy{e}^{z}\right)\text{k}$

$\text{F}(x,y\text{,}\phantom{\rule{0.2em}{0ex}}z)=\left(\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}-\left(x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right)\text{j}+\text{k}$

$\text{F}(x,y\text{,}\phantom{\rule{0.2em}{0ex}}z)=\left(\u2013\frac{1}{y}\right)\text{i}+\left(\frac{x}{{y}^{2}}\right)\text{j}+\left(2z-1\right)\text{k}$

$\text{F}(x,y,z)=3{z}^{2}\text{i}-\text{cos}\phantom{\rule{0.1em}{0ex}}y\text{j}+2xz\text{k}$

$\text{F}(x,y\text{,}\phantom{\rule{0.2em}{0ex}}z)=\left(2xy\right)\text{i}+\left({x}^{2}+2yz\right)\text{j}+{y}^{2}\text{k}$

$\text{F}\left(x,y\right)=\left({e}^{x}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}+6\left({e}^{x}\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{j}$

$\text{F}\left(x,y\right)=\left(2xy{e}^{{x}^{2}y}\right)\text{i}+\left({x}^{2}{e}^{{x}^{2}y}\right)\text{j}$

For the following exercises, evaluate the integral using the Fundamental Theorem of Line Integrals.

Evaluate ${\int}_{C}\nabla f\xb7d\text{r}},$ where $f(x,y\text{,}\phantom{\rule{0.2em}{0ex}}z)=\text{cos}(\pi x)+\text{sin}(\pi y)-xyz$ and *C* is any path that starts at $\left(1,\frac{1}{2},2\right)$ and ends at $\left(2,1,\mathrm{-1}\right).$

**[T]** Evaluate ${\int}_{C}\nabla f\xb7d\text{r}},$ where $f(x,y)=xy+{e}^{x}$ and *C* is a straight line from $\left(0,0\right)$ to $\left(2,1\right).$

**[T]** Evaluate ${\int}_{C}\nabla f\xb7d\text{r}},$ where $f(x,y)={x}^{2}y-x$ and *C* is any path in a plane from (1, 2) to (3, 2).

Evaluate ${\int}_{C}\nabla f\xb7d\text{r}},$ where $f(x,y\text{,}\phantom{\rule{0.2em}{0ex}}z)=xy{z}^{2}-yz$ and *C* has initial point (1, 2, 3) and terminal point (3, 5, 1).

For the following exercises, let $\text{F}(x,y)=2x{y}^{2}\text{i}+\left(2y{x}^{2}+2y\right)\text{j}$ and $G(x,y)=(y+x)\text{i}+(y-x)\text{j},$ and let *C*_{1} be the curve consisting of the circle of radius 2, centered at the origin and oriented counterclockwise, and *C*_{2} be the curve consisting of a line segment from (0, 0) to (1, 1) followed by a line segment from (1, 1) to (3, 1).

Calculate the line integral of **F** over *C*_{1}.

Calculate the line integral of **F** over *C*_{2}.

**[T]** Let $\text{F}(x,y,z)={x}^{2}\text{i}+z\phantom{\rule{0.2em}{0ex}}\text{sin}(yz)\text{j}+y\phantom{\rule{0.2em}{0ex}}\text{sin}(yz)\text{k}.$ Calculate ${\oint}_{C}\text{F}\xb7dr},$ where *C* is a path from $A=(0,0,1)$ to $B=(3,1,2).$

**[T]** Find line integral ${\oint}_{C}\text{F}\xb7dr$ of vector field $\text{F}(x,y,z)=3{x}^{2}z\text{i}+{z}^{2}\text{j}+\left({x}^{3}+2yz\right)\text{k}$ along curve *C* parameterized by $r(t)=\left(\frac{\text{ln}\phantom{\rule{0.1em}{0ex}}t}{\text{ln}\phantom{\rule{0.2em}{0ex}}2}\right)\text{i}+{t}^{3\text{/}2}\text{j}+t\phantom{\rule{0.2em}{0ex}}\text{cos}\left(\pi t\right)\text{,}\phantom{\rule{0.2em}{0ex}}1\le t\le 4.$

For the following exercises, show that the following vector fields are conservative by using a computer. Calculate $\int}_{C}\text{F}\xb7d\text{r$ for the given curve.

$\text{F}=\left(x{y}^{2}+3{x}^{2}y\right)\text{i}+\left(x+y\right){x}^{2}\text{j};$ *C* is the curve consisting of line segments from $(1,1)$ to $(0,2)$ to $(3,0).$

$\text{F}=\frac{2x}{{y}^{2}+1}\text{i}-\frac{2y\left({x}^{2}+1\right)}{{\left({y}^{2}+1\right)}^{2}}\text{j};$ *C* is parameterized by $x={t}^{3}-1,y={t}^{6}-t,0\le t\le 1.$

**[T]** $\text{F}=\left[\text{cos}\left(x{y}^{2}\right)-x{y}^{2}\text{sin}\left(x{y}^{2}\right)\right]\text{i}-2{x}^{2}y\phantom{\rule{0.2em}{0ex}}\text{sin}\left(x{y}^{2}\right)\text{j};$ *C* is curve $\left({e}^{t},{e}^{t+1}\right),\mathrm{-1}\le t\le 0.$

The mass of Earth is approximately $6\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{27}\text{g}$ and that of the Sun is 330,000 times as much. The gravitational constant is $6.7\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{\mathrm{-8}}{\text{cm}}^{3}\text{/}{\text{s}}^{2}\xb7\text{g}.$ The distance of Earth from the Sun is about $1.5\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{12}\text{cm}.$ Compute, approximately, the work necessary to increase the distance of Earth from the Sun by $1\phantom{\rule{0.2em}{0ex}}\text{cm}.$

**[T]** Let $\text{F}=(x,y,z)=\left({e}^{x}\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}+\left({e}^{x}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right)\text{j}+{z}^{2}\text{k}.$ Evaluate the integral ${\int}_{C}\text{F}\xb7ds},$ where C is the curve $\left(\sqrt{t},{t}^{3},{e}^{\sqrt{t}}\right),0\le t\le 1.$

**[T]** Let $\text{c}:\left[1,2\right]\to {\mathbb{R}}^{2}$ be given by $x={e}^{t-1},y=\text{sin}\left(\frac{\pi}{t}\right).$ Use a computer to compute the integral $\int}_{C}\text{F}\xb7d\text{s}={\displaystyle {\int}_{C}2x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}ydx-{x}^{2}\text{sin}\phantom{\rule{0.1em}{0ex}}ydy,$ where $\text{F}=\left(2x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}y\right)\text{i}-\left({x}^{2}\text{sin}\phantom{\rule{0.1em}{0ex}}y\right)\text{j}.$

**[T]** Use a computer algebra system to find the mass of a wire that lies along curve $\text{r}(t)=\left({t}^{2}-1\right)\text{j}+2t\text{k},0\le t\le 1,$ if the density is $\frac{3}{2}t.$

Find the circulation and flux of field $\text{F}=\text{\u2212}y\text{i}+x\text{j}$ around and across the closed semicircular path that consists of semicircular arch ${\text{r}}_{1}(t)=\left(a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}t\right)\text{i}+\left(a\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}t\right)\text{j},0\le t\le \pi ,$ followed by line segment ${\text{r}}_{2}(t)=t\text{i},\text{\u2212}a\le t\le a.$

Compute ${\int}_{C}\text{cos}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}ydx-\text{sin}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}ydy},$ where $\text{c}(t)=\left(t,{t}^{2}\right),0\le t\le 1.$

Complete the proof of The Path Independence Test for Conservative Fields by showing that ${f}_{y}=Q\left(x,y\right).$