### Learning Objectives

- 6.2.1 Calculate a scalar line integral along a curve.
- 6.2.2 Calculate a vector line integral along an oriented curve in space.
- 6.2.3 Use a line integral to compute the work done in moving an object along a curve in a vector field.
- 6.2.4 Describe the flux and circulation of a vector field.

We are familiar with single-variable integrals of the form ${\int}_{a}^{b}f\left(x\right)dx,$ where the domain of integration is an interval $\left[a,b\right].$ Such an interval can be thought of as a curve in the *xy*-plane, since the interval defines a line segment with endpoints $\left(a,0\right)$ and $\left(b,0\right)$—in other words, a line segment located on the *x*-axis. Suppose we want to integrate over *any* curve in the plane, not just over a line segment on the *x*-axis. Such a task requires a new kind of integral, called a *line integral.*

Line integrals have many applications to engineering and physics. They also allow us to make several useful generalizations of the Fundamental Theorem of Calculus. And, they are closely connected to the properties of vector fields, as we shall see.

### Scalar Line Integrals

A line integral gives us the ability to integrate multivariable functions and vector fields over arbitrary curves in a plane or in space. There are two types of line integrals: scalar line integrals and vector line integrals. Scalar line integrals are integrals of a scalar function over a curve in a plane or in space. Vector line integrals are integrals of a vector field over a curve in a plane or in space. Let’s look at scalar line integrals first.

A scalar line integral is defined just as a single-variable integral is defined, except that for a scalar line integral, the integrand is a function of more than one variable and the domain of integration is a curve in a plane or in space, as opposed to a curve on the *x*-axis.

For a scalar line integral, we let *C* be a smooth curve in a plane or in space and let $f$ be a function with a domain that includes *C*. We chop the curve into small pieces. For each piece, we choose point *P* in that piece and evaluate $f$ at *P.* (We can do this because all the points in the curve are in the domain of $f.$) We multiply $f\left(P\right)$ by the arc length of the piece $\text{\Delta}s,$ add the product $f\left(P\right)\text{\Delta}s$ over all the pieces, and then let the arc length of the pieces shrink to zero by taking a limit. The result is the scalar line integral of the function over the curve.

For a formal description of a scalar line integral, let $C$ be a smooth curve in space given by the parameterization $\text{r}\left(t\right)=\langle x\left(t\right),y\left(t\right),z\left(t\right)\rangle ,$ $a\le t\le b.$ Let $f\left(x,y,z\right)$ be a function with a domain that includes curve $C.$ To define the line integral of the function $f$ over $C,$ we begin as most definitions of an integral begin: we chop the curve into small pieces. Partition the parameter interval $\left[a,b\right]$ into *n* subintervals $\left[{t}_{i-1},{t}_{i}\right]$ of equal width for $\text{l}\le i\le n,$ where ${t}_{0}=a$ and ${t}_{n}=b$ (Figure 6.12). Let ${t}_{i}^{*}$ be a value in the *i*th interval $\left[{t}_{i-\text{l}},{t}_{i}\right].$ Denote the endpoints of $\text{r}\left({t}_{0}\right),\text{r}\left({t}_{1}\right)\text{,\u2026},\text{r}\left({t}_{n}\right)$ by ${P}_{0}\text{,\u2026},{P}_{n}.$ Points *P _{i}* divide curve $C$ into $n$ pieces ${C}_{1},{C}_{2}\text{,\u2026},{C}_{n,}$ with lengths $\text{\Delta}{s}_{1},\text{\Delta}{s}_{2}\text{,\u2026},\text{\Delta}{s}_{n},$ respectively. Let ${P}_{i}^{*}$ denote the endpoint of $\text{r}({t}_{i}^{*})$ for $1\le i\le n.$ Now, we evaluate the function $f$ at point ${P}_{i}^{*}$ for $1\le i\le n.$ Note that ${P}_{i}^{*}$ is in piece ${C}_{i},$ and therefore ${P}_{i}^{*}$ is in the domain of $f.$ Multiply $f\left({P}_{i}^{*}\right)$ by the length $\text{\Delta}{s}_{\mathrm{i}}$ of ${C}_{i},$ which gives the area of the “sheet” with base ${C}_{i},$ and height $f\left({P}_{i}^{*}\right).$ This is analogous to using rectangles to approximate area in a single-variable integral. Now, we form the sum $\sum _{i=1}^{n}f\left({P}_{i}^{*}\right)\text{\Delta}{s}_{i}}.$ Note the similarity of this sum versus a Riemann sum; in fact, this definition is a generalization of a Riemann sum to arbitrary curves in space. Just as with Riemann sums and integrals of form ${\int}_{a}^{b}g\left(x\right)dx},$ we define an integral by letting the width of the pieces of the curve shrink to zero by taking a limit. The result is the scalar line integral of $f$ along $C.$s

You may have noticed a difference between this definition of a scalar line integral and a single-variable integral. In this definition, the arc lengths $\text{\Delta}{s}_{1},\text{\Delta}{s}_{2}\text{,\u2026},\text{\Delta}{s}_{n}$ aren’t necessarily the same; in the definition of a single-variable integral, the curve in the *x*-axis is partitioned into pieces of equal length. This difference does not have any effect in the limit. As we shrink the arc lengths to zero, their values become close enough that any small difference becomes irrelevant.

### Definition

Let $f$ be a function with a domain that includes the smooth curve $C$ that is parameterized by $\text{r}\left(t\right)=\langle x\left(t\right),y\left(t\right),z\left(t\right)\rangle ,$ $a\le t\le b.$ The scalar line integral of $f$ along $C$ is

if this limit exists $({t}_{i}^{*}$ and $\text{\Delta}{s}_{i}$ are defined as in the previous paragraphs). If *C* is a planar curve, then *C* can be represented by the parametric equations $x=x\left(t\right),y=y\left(t\right),$ and $a\le t\le b.$ If *C* is smooth and $f\left(x,y\right)$ is a function of two variables, then the scalar line integral of $f$ along *C* is defined similarly as

if this limit exists.

If $f$ is a continuous function on a smooth curve *C*, then ${\int}_{C}fds$ always exists. Since ${\int}_{C}fds$ is defined as a limit of Riemann sums, the continuity of $f$ is enough to guarantee the existence of the limit, just as the integral ${\int}_{a}^{b}g\left(x\right)dx$ exists if *g* is continuous over $\left[a,b\right].$

Before looking at how to compute a line integral, we need to examine the geometry captured by these integrals. Suppose that $f\left(x,y\right)\ge 0$ for all points $\left(x,y\right)$ on a smooth planar curve $C.$ Imagine taking curve $C$ and projecting it “up” to the surface defined by $f\left(x,y\right),$ thereby creating a new curve ${C}^{\prime}$ that lies in the graph of $f\left(x,y\right)$ (Figure 6.13). Now we drop a “sheet” from ${C}^{\prime}$ down to the xy-plane. The area of this sheet is ${\int}_{C}f\left(x,y\right)ds}.$ If $f\left(x,y\right)\le 0$ for some points in $C,$ then the value of ${\int}_{C}f\left(x,y\right)ds$ is the area above the xy-plane less the area below the xy-plane. (Note the similarity with integrals of the form ${\int}_{a}^{b}g\left(x\right)dx.})$

From this geometry, we can see that line integral ${\int}_{C}f\left(x,y\right)ds$ does not depend on the parameterization $\text{r}\left(t\right)$ of *C*. As long as the curve is traversed exactly once by the parameterization, the area of the sheet formed by the function and the curve is the same. This same kind of geometric argument can be extended to show that the line integral of a three-variable function over a curve in space does not depend on the parameterization of the curve.

### Example 6.14

#### Finding the Value of a Line Integral

Find the value of integral ${\int}_{C}2ds,$ where $C$ is the upper half of the unit circle.

#### Solution

The integrand is $f\left(x,y\right)=2.$ Figure 6.14 shows the graph of $f\left(x,y\right)=2,$ curve *C*, and the sheet formed by them. Notice that this sheet has the same area as a rectangle with width $\pi $ and length 2. Therefore, ${\int}_{C}2ds=2\pi .$

To see that ${\int}_{C}2ds=2\pi$ using the definition of line integral, we let $\text{r}\left(t\right)$ be a parameterization of *C*. Then, $f\left(\text{r}\left({t}_{i}\right)\right)=2$ for any number ${t}_{i}$ in the domain of **r**. Therefore,

### Checkpoint 6.13

Find the value of ${\int}_{C}\left(x+y\right)ds,$ where $C$ is the curve parameterized by $x=t,$ $y=t,$ $0\le t\le 1.$

Note that in a scalar line integral, the integration is done with respect to arc length *s*, which can make a scalar line integral difficult to calculate. To make the calculations easier, we can translate ${\int}_{C}fds$ to an integral with a variable of integration that is *t*.

Let $\text{r}\left(t\right)=\langle x\left(t\right),y\left(t\right),z\left(t\right)\rangle $ for $a\le t\le b$ be a parameterization of $C.$ Since we are assuming that $C$ is smooth, ${r}^{\prime}\left(t\right)=\langle {x}^{\prime}\left(t\right),{y}^{\prime}\left(t\right),{z}^{\prime}\left(t\right)\rangle $ is continuous for all $t$ in $\left[a,b\right].$ In particular, $x\text{\u2032}\left(t\right),y\text{\u2032}\left(t\right),$ and $z\text{\u2032}\left(t\right)$ exist for all $t$ in $\left[a,b\right].$ According to the arc length formula, we have

If width $\text{\Delta}{t}_{i}={t}_{i}-{t}_{i-1}$ is small, then function ${\int}_{{t}_{i-1}}^{{t}_{i}}\Vert {r}^{\prime}\left(t\right)\Vert dt\approx \Vert {r}^{\prime}\left({t}_{i}^{*}\right)\Vert \text{\Delta}{t}_{i},$ $\Vert {r}^{\prime}\left(t\right)\Vert $ is almost constant over the interval $\left[{t}_{i-1},{t}_{i}\right].$ Therefore,

and we have

See Figure 6.15.

Note that

In other words, as the widths of intervals $[{t}_{i-1},{t}_{i}]$ shrink to zero, the sum $\sum _{i=1}^{n}f(\text{r}({t}_{i}^{*}))}\Vert {r}^{\prime}({t}_{i}^{*})\Vert \text{\Delta}{t}_{i$ converges to the integral ${\int}_{a}^{b}f(\text{r}(t))}\Vert {r}^{\prime}(t)\Vert dt.$ Therefore, we have the following theorem.

### Theorem 6.3

#### Evaluating a Scalar Line Integral

Let $f$ be a continuous function with a domain that includes the smooth curve $C$ with parameterization $\text{r}\left(t\right),a\le t\le b.$ Then

Although we have labeled Equation 6.6 as an equation, it is more accurately considered an approximation because we can show that the left-hand side of Equation 6.6 approaches the right-hand side as $n\to \infty .$ In other words, letting the widths of the pieces shrink to zero makes the right-hand sum arbitrarily close to the left-hand sum. Since

we obtain the following theorem, which we use to compute scalar line integrals.

### Theorem 6.4

#### Scalar Line Integral Calculation

Let $f$ be a continuous function with a domain that includes the smooth curve *C* with parameterization $\text{r}\left(t\right)=\langle x\left(t\right),y\left(t\right),z\left(t\right)\rangle ,a\le t\le b.$ Then

Similarly,

if *C* is a planar curve and $f$ is a function of two variables.

Note that a consequence of this theorem is the equation $ds=\Vert {r}^{\prime}\left(t\right)\Vert dt.$ In other words, the change in arc length can be viewed as a change in the *t* domain, scaled by the magnitude of vector ${r}^{\prime}\left(t\right).$

### Example 6.15

#### Evaluating a Line Integral

Find the value of integral ${\int}_{C}\left({x}^{2}+{y}^{2}+z\right)ds,$ where $C$ is part of the helix parameterized by $\text{r}\left(t\right)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t,t\rangle ,$ $0\le t\le 2\pi .$

#### Solution

To compute a scalar line integral, we start by converting the variable of integration from arc length *s* to *t*. Then, we can use Equation 6.8 to compute the integral with respect to *t*. Note that $f\left(\text{r}\left(t\right)\right)={\text{cos}}^{2}t+{\text{sin}}^{2}t+t=1+t$ and

Therefore,

Notice that Equation 6.8 translated the original difficult line integral into a manageable single-variable integral. Since

we have

### Checkpoint 6.14

Evaluate ${\int}_{C}\left({x}^{2}+{y}^{2}+z\right)ds,$ where *C* is the curve with parameterization $\mathbf{\text{r}}\left(t\right)=\u27e8\text{sin}\left(3t\right),\text{cos}\left(3t\right)\text{,t}\u27e9,0\le t\le 2\mathrm{\pi}.$

### Example 6.16

#### Independence of Parameterization

Find the value of integral ${\int}_{C}\left({x}^{2}+{y}^{2}+z\right)ds,$ where $C$ is part of the helix parameterized by $\text{r}\left(t\right)=\langle \text{cos}\left(2t\right),\text{sin}\left(2t\right),2t\rangle ,0\le t\le \pi .$ Notice that this function and curve are the same as in the previous example; the only difference is that the curve has been reparameterized so that time runs twice as fast.

#### Solution

As with the previous example, we use Equation 6.8 to compute the integral with respect to *t*. Note that $f\left(\text{r}\left(t\right)\right)={\text{cos}}^{2}\left(2t\right)+{\text{sin}}^{2}\left(2t\right)+2t=2t+1$ and

so we have

Notice that this agrees with the answer in the previous example. Changing the parameterization did not change the value of the line integral. Scalar line integrals are independent of parameterization, as long as the curve is traversed exactly once by the parameterization.

### Checkpoint 6.15

Evaluate line integral ${\int}_{C}\left({x}^{2}+yz\right)ds},$ where $C$ is the line with parameterization $\text{r}(t)=\langle 2t,5t,\text{\u2212}t\rangle ,0\le t\le 10.$ Reparameterize *C* with parameterization $\text{s}(t)=\langle 4t,10t,\mathrm{-2}t\rangle ,0\le t\le 5,$ recalculate line integral ${\int}_{C}\left({x}^{2}+yz\right)ds},$ and notice that the change of parameterization had no effect on the value of the integral.

Now that we can evaluate line integrals, we can use them to calculate arc length. If $f\left(x,y,z\right)=1,$ then

Therefore, ${\int}_{C}1ds$ is the arc length of $C.$

### Example 6.17

#### Calculating Arc Length

A wire has a shape that can be modeled with the parameterization $\mathbf{\text{r}}\left(t\right)=\u27e8\text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t,\frac{2}{3}{t}^{3/2}\u27e9,0\le t\le 4\pi .$ Find the length of the wire.

#### Solution

The length of the wire is given by ${\int}_{C}1ds},$ where *C* is the curve with parameterization **r**. Therefore,

### Checkpoint 6.16

Find the length of a wire with parameterization $\text{r}\left(t\right)=\langle 3t+1,4-2t,5+2t\rangle ,0\le t\le 4.$

### Vector Line Integrals

The second type of line integrals are vector line integrals, in which we integrate along a curve through a vector field. For example, let

be a continuous vector field in ${\mathbb{R}}^{3}$ that represents a force on a particle, and let *C* be a smooth curve in ${\mathbb{R}}^{3}$ contained in the domain of $\text{F}.$ How would we compute the work done by $\text{F}$ in moving a particle along *C*?

To answer this question, first note that a particle could travel in two directions along a curve: a forward direction and a backward direction. The work done by the vector field depends on the direction in which the particle is moving. Therefore, we must specify a direction along curve *C*; such a specified direction is called an orientation of a curve. The specified direction is the *positive* direction along *C*; the opposite direction is the *negative* direction along *C*. When *C* has been given an orientation, *C* is called an *oriented curve* (Figure 6.16). The work done on the particle depends on the direction along the curve in which the particle is moving.

A closed curve is one for which there exists a parameterization $\text{r}\left(t\right),$ $a\le t\le b,$ such that $\text{r}\left(a\right)=\text{r}\left(b\right),$ and the curve is traversed exactly once. In other words, the parameterization is one-to-one on the domain $\left(a,b\right).$

Let $\text{r}\left(t\right)$ be a parameterization of *C* for $a\le t\le b$ such that the curve is traversed exactly once by the particle and the particle moves in the positive direction along *C*. Divide the parameter interval $\left[a,b\right]$ into *n* subintervals $\left[{t}_{i-1},{t}_{i}\right],0\le i\le n,$ of equal width. Denote the endpoints of $\text{r}\left({t}_{0}\right),\text{r}\left({t}_{1}\right)\text{,\u2026},\text{r}\left({t}_{n}\right)$ by ${P}_{0}\text{,\u2026},{P}_{n}.$ Points *P _{i}* divide

*C*into

*n*pieces. Denote the length of the piece from

*P*to

_{i−1}*P*by $\text{\Delta}{s}_{i}.$ For each

_{i}*i*, choose a value ${t}_{i}^{*}$ in the subinterval $\left[{t}_{i-1},{t}_{i}\right].$ Then, the endpoint of $\text{r}({t}_{i}^{*})$ is a point in the piece of

*C*between ${P}_{i-1}$ and

*P*(Figure 6.17). If $\text{\Delta}{s}_{i}$ is small, then as the particle moves from ${P}_{i-1}$ to ${P}_{i}$ along

_{i}*C*, it moves approximately in the direction of $\text{T}\left({P}_{i}\right),$ the unit tangent vector at the endpoint of $\text{r}({t}_{i}^{*}).$ Let ${P}_{i}^{*}$ denote the endpoint of $\text{r}({t}_{i}^{*}).$ Then, the work done by the force vector field in moving the particle from ${P}_{i-1}$ to

*P*is $\text{F}\left({P}_{i}^{*}\right)\xb7\left(\text{\Delta}{s}_{i}\text{T}\left({P}_{i}^{*}\right)\right),$ so the total work done along

_{i}*C*is

Letting the arc length of the pieces of *C* get arbitrarily small by taking a limit as $n\to \infty $ gives us the work done by the field in moving the particle along *C*. Therefore, the work done by **F** in moving the particle in the positive direction along *C* is defined as

which gives us the concept of a vector line integral.

### Definition

The vector line integral of vector field **F** along oriented smooth curve *C* is

if that limit exists.

With scalar line integrals, neither the orientation nor the parameterization of the curve matters. As long as the curve is traversed exactly once by the parameterization, the value of the line integral is unchanged. With vector line integrals, the orientation of the curve does matter. If we think of the line integral as computing work, then this makes sense: if you hike up a mountain, then the gravitational force of Earth does negative work on you. If you walk down the mountain by the exact same path, then Earth’s gravitational force does positive work on you. In other words, reversing the path changes the work value from negative to positive in this case. Note that if *C* is an oriented curve, then we let −*C* represent the same curve but with opposite orientation.

As with scalar line integrals, it is easier to compute a vector line integral if we express it in terms of the parameterization function **r** and the variable *t*. To translate the integral ${\int}_{C}\text{F}\xb7\text{T}ds$ in terms of *t*, note that unit tangent vector **T** along *C* is given by $\text{T}=\frac{{r}^{\prime}\left(t\right)}{\Vert {r}^{\prime}\left(t\right)\Vert}$ (assuming $\Vert {r}^{\prime}\left(t\right)\Vert \ne 0).$ Since $ds=\Vert {r}^{\prime}\left(t\right)\Vert dt,$ as we saw when discussing scalar line integrals, we have

Thus, we have the following formula for computing vector line integrals:

Because of Equation 6.9, we often use the notation $\int}_{C}\text{F}\xb7d\text{r$ for the line integral ${\int}_{C}\text{F}\xb7\text{T}ds.$

If $\text{r}\left(t\right)=\langle x\left(t\right),y\left(t\right),z\left(t\right)\rangle ,$ then *d***r** denotes vector differential $\langle {x}^{\prime}\left(t\right),{y}^{\prime}\left(t\right),{z}^{\prime}\left(t\right)\rangle dt.$

### Example 6.18

#### Evaluating a Vector Line Integral

Find the value of integral ${\int}_{C}\text{F}\xb7d\text{r},$ where $C$ is the semicircle parameterized by $\text{r}(t)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,$ $0\le t\le \pi $ and $\text{F}=\langle \text{\u2212}y,x\rangle .$

#### Solution

We can use Equation 6.9 to convert the variable of integration from *s* to *t*. We then have

Therefore,

See Figure 6.18.

### Example 6.19

#### Reversing Orientation

Find the value of integral ${\int}_{C}\text{F}\xb7d\text{r},$ where $C$ is the semicircle parameterized by $\text{r}\left(t\right)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}(t+\pi ),\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,0\le t\le \pi $ and $\text{F}=\langle \text{\u2212}y,x\rangle .$

#### Solution

Notice that this is the same problem as Example 6.18, except the orientation of the curve has been traversed. In this example, the parameterization starts at $\text{r}\left(0\right)=\langle \mathrm{\u20131},0\rangle $ and ends at $\text{r}\left(\pi \right)=\langle 1,0\rangle .$ By Equation 6.9,

Notice that this is the negative of the answer in Example 6.18. It makes sense that this answer is negative because the orientation of the curve goes against the “flow” of the vector field.

Let *C* be an oriented curve and let −*C* denote the same curve but with the orientation reversed. Then, the previous two examples illustrate the following fact:

That is, reversing the orientation of a curve changes the sign of a line integral.

### Checkpoint 6.17

Let $\text{F}=x\text{i}+y\text{j}$ be a vector field and let *C* be the curve with parameterization $\langle t,{t}^{2}\rangle $ for $0\le t\le 2.$ Which is greater: ${\int}_{C}\text{F}\xb7\text{T}ds$ or ${\int}_{\text{\u2212}C}\text{F}\xb7\text{T}ds}?$

Another standard notation for integral $\int}_{C}\text{F}\xb7d\text{r$ is ${\int}_{C}Pdx+Qdy+Rdz.$ In this notation, *P*, *Q*, and *R* are functions, and we think of *d***r** as vector $\langle dx,dy,dz\rangle .$ To justify this convention, recall that $d\text{r}=\text{T}ds={r}^{\prime}\left(t\right)dt=\langle \frac{dx}{dt},\frac{dy}{dt},\frac{dz}{dt}\rangle dt.$ Therefore,

If $d\text{r}=\langle dx,dy,dz\rangle ,$ then $\frac{d\text{r}}{dt}=\langle \frac{dx}{dt},\frac{dy}{dt},\frac{dz}{dt}\rangle ,$ which implies that $d\text{r}=\langle \frac{dx}{dt},\frac{dy}{dt},\frac{dz}{dt}\rangle dt.$ Therefore

### Example 6.20

#### Finding the Value of an Integral of the Form ${\int}_{C}Pdx+Qdy+Rdz$

Find the value of integral ${\int}_{C}zdx+xdy+ydz,$ where *C* is the curve parameterized by $\text{r}\left(t\right)=\langle {t}^{2},\sqrt{t},t\rangle ,1\le t\le 4.$

#### Solution

As with our previous examples, to compute this line integral we should perform a change of variables to write everything in terms of *t*. In this case, Equation 6.10 allows us to make this change:

### Checkpoint 6.18

Find the value of ${\int}_{C}4xdx+zdy+4{y}^{2}dz,$ where $C$ is the curve parameterized by $\text{r}\left(t\right)=\langle 4\phantom{\rule{0.2em}{0ex}}\text{cos}\left(2t\right),2\phantom{\rule{0.2em}{0ex}}\text{sin}\left(2t\right),3\rangle ,0\le t\le \frac{\pi}{4}.$

We have learned how to integrate smooth oriented curves. Now, suppose that *C* is an oriented curve that is not smooth, but can be written as the union of finitely many smooth curves. In this case, we say that *C* is a piecewise smooth curve. To be precise, curve *C* is piecewise smooth if *C* can be written as a union of *n* smooth curves ${C}_{1},{C}_{2}\text{,\u2026},{C}_{n}$ such that the endpoint of ${C}_{i}$ is the starting point of ${C}_{i+1}$ (Figure 6.19). When curves ${C}_{i}$ satisfy the condition that the endpoint of ${C}_{i}$ is the starting point of ${C}_{i+1},$ we write their union as ${C}_{1}+{C}_{2}+\cdots +{C}_{n}.$

The next theorem summarizes several key properties of vector line integrals.

### Theorem 6.5

#### Properties of Vector Line Integrals

Let **F** and **G** be continuous vector fields with domains that include the oriented smooth curve *C*. Then

- $\int}_{C}(\text{F}+\text{G})\xb7d\text{r}}={\displaystyle {\int}_{C}\text{F}\xb7d\text{r}}+{\displaystyle {\int}_{C}\text{G}\xb7d\text{r$
- ${\int}_{C}k\text{F}\xb7d\text{r}}=k{\displaystyle {\int}_{C}\text{F}\xb7d\text{r},$ where
*k*is a constant - $\int}_{\text{\u2212}C}\text{F}\xb7d\text{r}=}{\displaystyle \text{\u2212}{\int}_{C}\text{F}\xb7d\text{r$
- Suppose instead that
*C*is a piecewise smooth curve in the domains of**F**and**G**, where $C={C}_{1}+{C}_{2}+\cdots +{C}_{n}$ and ${C}_{1},{C}_{2}\text{,\u2026},{C}_{n}$ are smooth curves such that the endpoint of ${C}_{i}$ is the starting point of ${C}_{i+1}.$ Then

$${\int}_{C}\text{F}\xb7d\text{s}}={\displaystyle {\int}_{{C}_{1}}\text{F}\xb7d\text{s}}+{\displaystyle {\int}_{{C}_{2}}\text{F}\xb7d\text{s}}+\cdots +{\displaystyle {\int}_{{C}_{n}}\text{F}\xb7d\text{s}}.$$

Notice the similarities between these items and the properties of single-variable integrals. Properties i. and ii. say that line integrals are linear, which is true of single-variable integrals as well. Property iii. says that reversing the orientation of a curve changes the sign of the integral. If we think of the integral as computing the work done on a particle traveling along *C*, then this makes sense. If the particle moves backward rather than forward, then the value of the work done has the opposite sign. This is analogous to the equation $\int}_{a}^{b}f\left(x\right)dx=\text{\u2212}{\displaystyle {\int}_{b}^{a}f\left(x\right)dx.$ Finally, if $\left[{a}_{1},{a}_{2}\right],\left[{a}_{2},{a}_{3}\right]\text{,\u2026},\left[{a}_{n-1},{a}_{n}\right]$ are intervals, then

which is analogous to property iv.

### Example 6.21

#### Using Properties to Compute a Vector Line Integral

Find the value of integral ${\int}_{C}\text{F}\xb7\text{T}}ds,$ where *C* is the rectangle (oriented counterclockwise) in a plane with vertices $\left(0,0\right),\left(2,0\right),\left(2,1\right),\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(0,1\right),$ and where $\text{F}=\langle x-2y,y-x\rangle $ (Figure 6.20).

#### Solution

Note that curve *C* is the union of its four sides, and each side is smooth. Therefore *C* is piecewise smooth. Let ${C}_{1}$ represent the side from $\left(0,0\right)$ to $\left(2,0\right),$ let ${C}_{2}$ represent the side from $\left(2,0\right)$ to $\left(2,1\right),$ let ${C}_{3}$ represent the side from $\left(2,1\right)$ to $\left(0,1\right),$ and let ${C}_{4}$ represent the side from $\left(0,1\right)$ to $\left(0,0\right)$ (Figure 6.20). Then,

We want to compute each of the four integrals on the right-hand side using Equation 6.8. Before doing this, we need a parameterization of each side of the rectangle. Here are four parameterizations (note that they traverse *C* counterclockwise):

Therefore,

Notice that the value of this integral is positive, which should not be surprising. As we move along curve *C _{1}* from left to right, our movement flows in the general direction of the vector field itself. At any point along

*C*, the tangent vector to the curve and the corresponding vector in the field form an angle that is less than 90°. Therefore, the tangent vector and the force vector have a positive dot product all along

_{1}*C*, and the line integral will have positive value.

_{1}The calculations for the three other line integrals are done similarly:

and

Thus, we have ${\int}_{C}\text{F}}\xb7d\text{r}=2.$

### Checkpoint 6.19

Calculate line integral ${\int}_{C}\text{F}}\xb7d\text{r},$ where **F** is vector field $\langle {y}^{2},2xy+1\rangle $ and *C* is a triangle with vertices $\left(0,0\right),$ $\left(4,0\right),$ and $\left(0,5\right),$ oriented counterclockwise.

### Applications of Line Integrals

Scalar line integrals have many applications. They can be used to calculate the length or mass of a wire, the surface area of a sheet of a given height, or the electric potential of a charged wire given a linear charge density. Vector line integrals are extremely useful in physics. They can be used to calculate the work done on a particle as it moves through a force field, or the flow rate of a fluid across a curve. Here, we calculate the mass of a wire using a scalar line integral and the work done by a force using a vector line integral.

Suppose that a piece of wire is modeled by curve *C* in space. The mass per unit length (the linear density) of the wire is a continuous function $\rho \left(x,y,z\right).$ We can calculate the total mass of the wire using the scalar line integral ${\int}_{C}\rho \left(x,y,z\right)ds.$ The reason is that mass is density multiplied by length, and therefore the density of a small piece of the wire can be approximated by $\rho \left(x*,y*,z*\right)\text{\Delta}s$ for some point $\left(x*,y*,z*\right)$ in the piece. Letting the length of the pieces shrink to zero with a limit yields the line integral ${\int}_{C}\rho \left(x,y,z\right)ds.$

### Example 6.22

#### Calculating the Mass of a Wire

Calculate the mass of a spring in the shape of a curve parameterized by $\langle t,2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t,2\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,$ $0\le t\le \frac{\pi}{2},$ with a density function given by $\rho (x,y,z)={e}^{x}+yz$ kg/m (Figure 6.21).

#### Solution

To calculate the mass of the spring, we must find the value of the scalar line integral ${\int}_{C}\left({e}^{x}+yz\right)ds},$ where *C* is the given helix. To calculate this integral, we write it in terms of *t* using Equation 6.8:

Therefore, the mass is $\sqrt{5}\left({e}^{\pi \text{/}2}+1\right)$ kg.

### Checkpoint 6.20

Calculate the mass of a spring in the shape of a helix parameterized by $\text{r}\left(t\right)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t,t\rangle ,0\le t\le 6\pi ,$ with a density function given by $\rho \left(x,y,z\right)=x+y+z$ kg/m.

When we first defined vector line integrals, we used the concept of work to motivate the definition. Therefore, it is not surprising that calculating the work done by a vector field representing a force is a standard use of vector line integrals. Recall that if an object moves along curve *C* in force field **F**, then the work required to move the object is given by ${\int}_{C}\text{F}\xb7d\text{r}}.$

### Example 6.23

#### Calculating Work

How much work is required to move an object in vector force field $\text{F}=\langle yz,xy,xz\rangle $ along path $\text{r}(t)=\langle {t}^{2},t,{t}^{4}\rangle ,$ $0\le t\le 1?$ See Figure 6.22.

#### Solution

Let *C* denote the given path. We need to find the value of ${\int}_{C}\text{F}\xb7d\text{r}}.$ To do this, we use Equation 6.9:

### Flux and Circulation

We close this section by discussing two key concepts related to line integrals: flux across a plane curve and circulation along a plane curve. Flux is used in applications to calculate fluid flow across a curve, and the concept of circulation is important for characterizing conservative gradient fields in terms of line integrals. Both these concepts are used heavily throughout the rest of this chapter. The idea of flux is especially important for Green’s theorem, and in higher dimensions for Stokes’ theorem and the divergence theorem.

Let *C* be a plane curve and let **F** be a vector field in the plane. Imagine *C* is a membrane across which fluid flows, but *C* does not impede the flow of the fluid. In other words, *C* is an idealized membrane invisible to the fluid. Suppose **F** represents the velocity field of the fluid. How could we quantify the rate at which the fluid is crossing *C*?

Recall that the line integral of **F** along *C* is ${\int}_{C}\text{F}\xb7\text{T}ds$—in other words, the line integral is the dot product of the vector field with the unit tangential vector with respect to arc length. If we replace the unit tangential vector with unit normal vector $\text{N}(t)$ and instead compute integral ${\int}_{C}\text{F}\xb7\text{N}ds},$ we determine the flux across *C*. To be precise, the definition of integral ${\int}_{C}\text{F}\xb7\text{N}ds$ is the same as integral ${\int}_{C}\text{F}\xb7\text{T}ds},$ except the **T** in the Riemann sum is replaced with **N**. Therefore, the flux across *C* is defined as

where ${P}_{i}^{*}$ and $\text{\Delta}{s}_{i}$ are defined as they were for integral ${\int}_{C}\text{F}\xb7\text{T}ds}.$ Therefore, a flux integral is an integral that is *perpendicular* to a vector line integral, because **N** and **T** are perpendicular vectors.

If **F** is a velocity field of a fluid and *C* is a curve that represents a membrane, then the flux of **F** across *C* is the quantity of fluid flowing across *C* per unit time, or the rate of flow.

More formally, let *C* be a plane curve parameterized by $\text{r}(t)=\langle x(t),y(t)\rangle ,$ $a\le t\le b.$ Let $\text{n}(t)=\langle {y}^{\prime}(t),\text{\u2212}{x}^{\prime}(t)\rangle $ be the vector that is normal to *C* at the endpoint of $\text{r}(t)$ and points to the right as we traverse *C* in the positive direction (Figure 6.23). Then, $\text{N}(t)=\frac{\text{n}(t)}{\Vert \text{n}(t)\Vert}$ is the unit normal vector to *C* at the endpoint of $\text{r}(t)$ that points to the right as we traverse *C*.

### Definition

The flux of **F** across *C* is line integral ${\int}_{C}\text{F}\xb7\frac{\text{n}(t)}{\Vert \text{n}(t)\Vert}}ds.$

We now give a formula for calculating the flux across a curve. This formula is analogous to the formula used to calculate a vector line integral (see Equation 6.9).

### Theorem 6.6

#### Calculating Flux across a Curve

Let **F** be a vector field and let *C* be a smooth curve with parameterization $\text{r}(t)=\langle x(t),y(t)\rangle ,a\le t\le b.$ Let $\text{n}(t)=\langle {y}^{\prime}(t),\text{\u2212}{x}^{\prime}(t)\rangle .$ The flux of **F** across *C* is

#### Proof

The proof of Equation 6.11 is similar to the proof of Equation 6.8. Before deriving the formula, note that $\Vert \text{n}(t)\Vert =\Vert \langle y\prime (t),\text{\u2212}x\prime (t)\rangle \Vert =\sqrt{{\left(y\prime (t)\right)}^{2}+{\left(x\prime (t)\right)}^{2}}=\Vert {r}^{\prime}(t)\Vert .$ Therefore,

□

### Example 6.24

#### Flux across a Curve

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

#### Solution

To compute the flux, we first need a parameterization of the unit circle. We can use the standard parameterization $\text{r}(t)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,$ $0\le t\le 2\pi .$ The normal vector to a unit circle is $\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle .$ Therefore, the flux is

### Checkpoint 6.21

Calculate the flux of $\text{F}=\langle x+y,2y\rangle $ across the line segment from $(0,0)$ to $(2,3),$ where the curve is oriented from left to right.

Let $\text{F}(x,y)=\langle P(x,y),Q(x,y)\rangle $ be a two-dimensional vector field. Recall that integral ${\int}_{C}\text{F}\xb7\text{T}}ds$ is sometimes written as ${\int}_{C}Pdx+Qdy}.$ Analogously, flux ${\int}_{C}\text{F}\xb7\text{N}ds$ is sometimes written in the notation ${\int}_{C}\text{\u2212}Qdx+Pdy,$ because the unit normal vector **N** is perpendicular to the unit tangent **T**. Rotating the vector $d\text{r}=\langle dx,dy\rangle $ by 90° results in vector $\langle dy,\text{\u2212}dx\rangle .$ Therefore, the line integral in Example 6.21 can be written as ${\int}_{C}\mathrm{-2}ydx+2xdy}.$

Now that we have defined flux, we can turn our attention to circulation. The line integral of vector field **F** along an oriented closed curve is called the circulation of **F** along *C*. Circulation line integrals have their own notation: ${\oint}_{C}\text{F}\xb7\text{T}ds}.$ The circle on the integral symbol denotes that *C* is “circular” in that it has no endpoints. Example 6.18 shows a calculation of circulation.

To see where the term *circulation* comes from and what it measures, let **v** represent the velocity field of a fluid and let *C* be an oriented closed curve. At a particular point *P*, the closer the direction of **v**(*P*) is to the direction of **T**(*P*), the larger the value of the dot product $\text{v}(P)\xb7\text{T}(P).$ The maximum value of $\text{v}(P)\xb7\text{T}(P)$ occurs when the two vectors are pointing in the exact same direction; the minimum value of $\text{v}(P)\xb7\text{T}(P)$ occurs when the two vectors are pointing in opposite directions. Thus, the value of the circulation ${\oint}_{C}\text{v}\xb7\text{T}ds$ measures the tendency of the fluid to move in the direction of *C*.

### Example 6.25

#### Calculating Circulation

Let $\text{F}=\langle -y,x\rangle $ be the vector field from Example 6.16 and let *C* represent the unit circle oriented counterclockwise. Calculate the circulation of **F** along *C*.

#### Solution

We use the standard parameterization of the unit circle: $\text{r}(t)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,0\le t\le 2\pi .$ Then, $\text{F}\left(\text{r}(t)\right)=\langle \text{\u2212}\text{sin}\phantom{\rule{0.2em}{0ex}}t,\text{cos}\phantom{\rule{0.2em}{0ex}}t\rangle $ and ${r}^{\prime}(t)=\langle \text{\u2212}\text{sin}\phantom{\rule{0.2em}{0ex}}t,\text{cos}\phantom{\rule{0.2em}{0ex}}t\rangle .$ Therefore, the circulation of **F** along *C* is

Notice that the circulation is positive. The reason for this is that the orientation of *C* “flows” with the direction of **F**. At any point along the circle, the tangent vector and the vector from **F** form an angle of less than 90°, and therefore the corresponding dot product is positive.

In Example 6.25, what if we had oriented the unit circle clockwise? We denote the unit circle oriented clockwise by $\text{\u2212}C.$ Then

Notice that the circulation is negative in this case. The reason for this is that the orientation of the curve flows against the direction of **F**.

### Checkpoint 6.22

Calculate the circulation of $\text{F}(x,y)=\langle -\frac{y}{{x}^{2}+{y}^{2}},\frac{x}{{x}^{2}+{y}^{2}}\rangle $ along a unit circle oriented counterclockwise.

### Example 6.26

#### Calculating Work

Calculate the work done on a particle that traverses circle *C* of radius 2 centered at the origin, oriented counterclockwise, by field $\text{F}(x,y)=\langle \mathrm{-2},y\rangle .$ Assume the particle starts its movement at $(1,0).$

#### Solution

The work done by **F** on the particle is the circulation of **F** along *C*: ${\oint}_{C}\text{F}\xb7\text{T}ds}.$ We use the parameterization $\text{r}(t)=\langle 2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t,2\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle ,0\le t\le 2\pi $ for *C*. Then, ${r}^{\prime}(t)=\langle \mathrm{-2}\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t,2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t\rangle $ and $\text{F}\left(\text{r}(t)\right)=\langle \mathrm{-2},2\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t\rangle .$ Therefore, the circulation of **F** along *C* is

The force field does zero work on the particle.

Notice that the circulation of **F** along *C* is zero. Furthermore, notice that since **F** is the gradient of $f(x,y)=\mathrm{-2}x+\frac{{y}^{2}}{2},$ **F** is conservative. We prove in a later section that under certain broad conditions, the circulation of a conservative vector field along a closed curve is zero.

### Checkpoint 6.23

Calculate the work done by field $\text{F}(x,y)=\langle 2x,3y\rangle $ on a particle that traverses the unit circle. Assume the particle begins its movement at $(\mathrm{-1},0).$

### Section 6.2 Exercises

*True or False?* Line integral ${\int}_{C}^{}f(x,y)ds$ is equal to a definite integral if *C* is a smooth curve defined on $\left[a,b\right]$ and if function $f$ is continuous on some region that contains curve *C*.

*True or False?* Vector functions ${\text{r}}_{1}=t\text{i}+{t}^{2}\text{j},$ $0\le t\le 1,$ and ${\text{r}}_{2}=(1-t)\text{i}+{(1-t)}^{2}\text{j},$ $0\le t\le 1,$ define the same oriented curve.

*True or False?* A piecewise smooth curve *C* consists of a finite number of smooth curves that are joined together end to end.

*True or False?* If *C* is given by $x(t)=t\text{,}\phantom{\rule{0.2em}{0ex}}y(t)=t\text{, 0}\le \text{t}\le 1,$ then ${\int}_{C}^{}xyds={\displaystyle {\int}_{0}^{1}{t}^{2}dt}}.$

For the following exercises, use a computer algebra system (CAS) to evaluate the line integrals over the indicated path.

**[T]** ${\int}_{C}^{}(x+y)ds$

$C\text{:}\phantom{\rule{0.2em}{0ex}}x=t,y=(1-t)\text{,}\phantom{\rule{0.2em}{0ex}}z=0$ from (0, 1, 0) to (1, 0, 0)

**[T]** ${\int}_{C}^{}(x-y)ds$

$C\text{:}\phantom{\rule{0.2em}{0ex}}\text{r}(t)=4t\text{i}+3t\text{j}$ when $0\le t\le 2$

**[T]** ${\int}_{C}^{}({x}^{2}+{y}^{2}+{z}^{2})ds$

$C\text{:}\phantom{\rule{0.2em}{0ex}}\text{r}(t)=\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{i}+\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{j}+8t\text{k}$ when $0\le t\le \frac{\pi}{2}$

**[T]** Evaluate ${\int}_{C}^{}x{y}^{4}ds},$ where *C* is the right half of circle ${x}^{2}+{y}^{2}=16$ and is traversed in the clockwise direction.

**[T]** Evaluate ${\int}_{C}^{}4{x}^{3}ds},$ where *C* is the line segment from $(\mathrm{-2},\mathrm{-1})$ to (1, 2).

For the following exercises, find the work done.

Find the work done by vector field $\text{F}(x,y,z)=x\text{i}+3xy\text{j}-(x+z)\text{k}$ on a particle moving along a line segment that goes from $(1,4,2)$ to $(0,5,1).$

Find the work done by a person weighing 150 lb walking exactly one revolution up a circular, spiral staircase of radius 3 ft if the person rises 10 ft.

Find the work done by force field $\text{F}(x,y,z)=-\frac{1}{2}x\text{i}-\frac{1}{2}y\text{j}+\frac{1}{4}\text{k}$ on a particle as it moves along the helix $\text{r}(t)=\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{i}+\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{j}+t\text{k}$ from point $(1,0,0)$ to point $\left(\mathrm{-1},0,3\pi \right).$

Find the work done by vector field $\text{F}(x,y)=y\text{i}+2x\text{j}$ in moving an object along path *C*, the straight line which joins points (1, 0) and (0, 1).

Find the work done by force $\text{F}(x,y)=2y\text{i}+3x\text{j}+(x+y)\text{k}$ in moving an object along curve $\text{r}(t)=\text{cos}(t)\text{i}+\text{sin}(t)\text{j}+\frac{1}{6}\text{k},$ where $0\le t\le 2\pi .$

Find the mass of a wire in the shape of a circle of radius 2 centered at (3, 4) with linear mass density $\rho (x,y)={y}^{2}.$

For the following exercises, evaluate the line integrals.

Evaluate ${\int}_{C}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\mathrm{-1}\text{j},$ and *C* is the part of the graph of $y=\frac{1}{2}{x}^{3}-x$ from $(2,2)$ to $(\mathrm{-2},\mathrm{-2}).$

Evaluate ${\int}_{\gamma}^{}{\left({x}^{2}+{y}^{2}+{z}^{2}\right)}^{\mathrm{-1}}ds},$ where $\gamma $ is the helix $x=\text{cos}\phantom{\rule{0.2em}{0ex}}t,y=\text{sin}\phantom{\rule{0.2em}{0ex}}t,z=t(0\le t\le T).$

Evaluate ${\int}_{C}^{}yz\phantom{\rule{0.1em}{0ex}}dx+xz\phantom{\rule{0.1em}{0ex}}dy+xy\phantom{\rule{0.1em}{0ex}}dz$ over the line segment from $(1,1,1)$ to $(3,2,0).$

Let *C* be the line segment from point (0, 1, 1) to point (2, 2, 3). Evaluate line integral ${\int}_{C}^{}yds}.$

**[T]** Use a computer algebra system to evaluate the line integral ${\int}_{C}{y}^{2}dx+xdy},$ where *C* is the arc of the parabola $x=4-{y}^{2}$ from (−5, −3) to (0, 2).

**[T]** Use a computer algebra system to evaluate the line integral ${\int}_{C}^{}\left(x+3{y}^{2}\right)dy$ over the path *C* given by $x=2t\text{,}\phantom{\rule{0.2em}{0ex}}y=10t\text{,}$ where $0\le t\le 1.$

**[T]** Use a CAS to evaluate line integral ${\int}_{C}^{}xydx+ydy$ over path *C* given by $x=2t\text{,}\phantom{\rule{0.2em}{0ex}}y=10t\text{,}$ where $0\le t\le 1.$

Evaluate line integral ${\int}_{C}^{}\left(2x-y\right)dx+\left(x+3y\right)dy},$ where *C* lies along the *x*-axis from $x=0\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}x=5.$

**[T]** Use a CAS to evaluate ${\int}_{C}^{}\frac{y}{2{x}^{2}-{y}^{2}}ds},$ where *C* is $x=t\text{,}\phantom{\rule{0.2em}{0ex}}y=t\text{,}\phantom{\rule{0.2em}{0ex}}1\le t\le 5.$

**[T]** Use a CAS to evaluate ${\int}_{C}xyds,$ where *C* is $x={t}^{2},y=4t,0\le t\le 1.$

In the following exercises, find the work done by force field **F** on an object moving along the indicated path.

$\text{F}(x,y)=\text{\u2212}x\text{i}-2y\text{j}$

$C\text{:}\phantom{\rule{0.2em}{0ex}}y={x}^{3}\phantom{\rule{0.2em}{0ex}}\text{from (0, 0) to (2, 8)}$

$\text{F}(x\text{,}\phantom{\rule{0.2em}{0ex}}y)=2xi+y\text{j}$

*C*: counterclockwise around the triangle with vertices (0, 0), (1, 0), and (1, 1)

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

$\mathit{\text{C}}\text{:}\phantom{\rule{0.2em}{0ex}}\text{r}(t)=2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{i}+2\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{j}+t\text{k}\text{,}\phantom{\rule{0.2em}{0ex}}0\le t\le 2\pi $

Let **F** be vector field $\text{F}(x,y)=\left({y}^{2}+2x{e}^{y}+1\right)\text{i}+\left(2xy+{x}^{2}{e}^{y}+2y\right)\text{j}.$ Compute the work of integral ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where *C* is the path $\text{r}(t)=\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{i}+\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{j}\text{,}\phantom{\rule{0.2em}{0ex}}0\le t\le \frac{\pi}{2}.$

Compute the work done by force $\text{F}(x,y,z)=2x\text{i}+3y\text{j}-z\text{k}$ along path $\text{r}(t)=t\text{i}+{t}^{2}\text{j}+{t}^{3}\text{k},$ where $0\le t\le 1.$

Evaluate ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=\frac{1}{x+y}\text{i}+\frac{1}{x+y}\text{j}$ and *C* is the segment of the unit circle going counterclockwise from $(1,0)$ to (0, 1).

Force $\text{F}(x,y,z)=zy\text{i}+x\text{j}+{z}^{2}x\text{k}$ acts on a particle that travels from the origin to point (1, 2, 3). Calculate the work done if the particle travels:

- along the path $(0,0,0)\to (1,0,0)\to (1,2,0)\to (1,2,3)$ along straight-line segments joining each pair of endpoints;
- along the straight line joining the initial and final points.
- Is the work the same along the two paths?

Find the work done by vector field $\text{F}(x,y,z)=x\text{i}+3xy\text{j}-(x+z)\text{k}$ on a particle moving along a line segment that goes from (1, 4, 2) to (0, 5, 1).

How much work is required to move an object in vector field $\text{F}(x,y)=y\text{i}+3x\text{j}$ along the upper part of ellipse $\frac{{x}^{2}}{4}+{y}^{2}=1$ from (2, 0) to $(\mathrm{-2},0)?$

A vector field is given by $\text{F}(x,y)=(2x+3y)\text{i}+(3x+2y)\text{j}.$ Evaluate the line integral of the field around a circle of unit radius traversed in a clockwise fashion.

Evaluate the line integral of scalar function $xy$ along parabolic path $y={x}^{2}$ connecting the origin to point (1, 1).

Find ${\int}_{C}^{}{y}^{2}dx+\left(xy-{x}^{2}\right)dy$ along *C*: $y=3x$ from (0, 0) to (1, 3).

Find ${\int}_{C}^{}{y}^{2}dx+\left(xy-{x}^{2}\right)dy$ along *C*: ${y}^{2}=9x$ from (0, 0) to (1, 3).

For the following exercises, use a CAS to evaluate the given line integrals.

**[T]** Evaluate $\text{F}(x,y,z)={x}^{2}z\text{i}+6y\text{j}+y{z}^{2}\text{k},$ where *C* is represented by $\text{r}(t)=t\text{i}+{t}^{2}\text{j}+\text{ln}\phantom{\rule{0.2em}{0ex}}t\text{k}\text{,}\phantom{\rule{0.2em}{0ex}}1\le t\le 3.$

**[T]** Evaluate line integral ${\int}_{\gamma}^{}x{e}^{y}ds$ where, $\gamma $ is the arc of curve $x={e}^{y}$ from $(1,0)$ to $(e,1).$

**[T]** Evaluate the integral ${\int}_{\gamma}^{}x{y}^{2}ds},$ where $\gamma $ is a triangle with vertices (0, 1, 2), (1, 0, 3), and $(0,\mathrm{-1},0).$

**[T]** Evaluate line integral ${\int}_{\gamma}^{}\left({y}^{2}-xy\right)ds},$ where $\gamma $ is curve $y=\text{ln}\phantom{\rule{0.2em}{0ex}}x$ from (1, 0) toward $(e\text{,}\phantom{\rule{0.2em}{0ex}}1).$

**[T]** Evaluate line integral ${\int}_{\gamma}^{}x{y}^{4}ds},$ where $\gamma $ is the right half of circle ${x}^{2}+{y}^{2}=16.$

**[T]** Evaluate ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y,z)={x}^{2}y\text{i}+(x-z)\text{j}+xyz\text{k}$ and

*C*: $\text{r}(t)=t\text{i}+{t}^{2}\text{j}+2\text{k}\text{,}\phantom{\rule{0.2em}{0ex}}0\le t\le 1.$

Evaluate ${\int}_{C}^{}\text{F}\xb7d\text{r}},$ where $\text{F}(x,y)=2x\phantom{\rule{0.2em}{0ex}}\text{sin}(y)\text{i}+\left({x}^{2}\text{cos}(y)-3{y}^{2}\right)\text{j}$ and

*C* is any path from $(\mathrm{-1},0)$ to (5, 1).

Find the line integral of $\text{F}(x,y,z)=12{x}^{2}\text{i}-5xy\text{j}+xz\text{k}$ over path *C* defined by $y={x}^{2},$ $z={x}^{3}$ from point (0, 0, 0) to point (2, 4, 8).

Find the line integral of ${\int}_{C}^{}\left(1+{x}^{2}y\right)ds},$ where *C* is ellipse $\text{r}(t)=2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{i}+3\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{j}$ from $0\le t\le \pi .$

For the following exercises, find the flux.

Compute the flux of $\text{F}={x}^{2}\text{i}+y\text{j}$ across a line segment from (0, 0) to (1, 2).

Let $\text{F}=5\text{i}$ and let *C* be curve $y=0,0\le x\le 4.$ Find the flux across *C*.

Let $\text{F}=\text{\u2212}y\text{i}+x\text{j}$ and let *C*: $\text{r}(t)=\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{i}+\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{j}$ $(0\le t\le 2\pi ).$ Calculate the flux across *C*.

Let $\text{F}=\left({x}^{2}+{y}^{3}\right)\text{i}+(2xy)\text{j}.$ Calculate flux **F** orientated counterclockwise across curve *C*: ${x}^{2}+{y}^{2}=9.$

Find the line integral of ${\int}_{C}^{}{z}^{2}dx+ydy+2ydz},$ where *C* consists of two parts: ${C}_{1}$ and ${C}_{2}.$ ${C}_{1}$ is the intersection of cylinder ${x}^{2}+{y}^{2}=16$ and plane $z=3$ from (0, 4, 3) to $(\mathrm{-4},0,3).$ ${C}_{2}$ is a line segment from $(\mathrm{-4},0,3)$ to (0, 1, 5).

A spring is made of a thin wire twisted into the shape of a circular helix $x=2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t\text{,}\phantom{\rule{0.2em}{0ex}}y=2\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t\text{,}\phantom{\rule{0.2em}{0ex}}z=t.$ Find the mass of two turns of the spring if the wire has constant mass density.

A thin wire is bent into the shape of a semicircle of radius *a*. If the linear mass density at point *P* is directly proportional to its distance from the line through the endpoints, find the mass of the wire.

An object moves in force field $\text{F}(x,y,z)={y}^{2}\text{i}+2(x+1)y\text{j}$ counterclockwise from point (2, 0) along elliptical path ${x}^{2}+4{y}^{2}=4$ to $(\mathrm{-2},0),$ and back to point (2, 0) along the *x*-axis. How much work is done by the force field on the object?

Find the work done when an object moves in force field $\text{F}(x,y,z)=2x\text{i}-(x+z)\text{j}+(y-x)\text{k}$ along the path given by $\text{r}(t)={t}^{2}\text{i}+\left({t}^{2}-t\right)\text{j}+3\text{k},$ $0\le t\le 1.$

If an inverse force field **F** is given by $\text{F}(x,y,z)=\frac{\text{k}}{{\Vert \text{r}\Vert}^{3}}\text{r},$ where *k* is a constant, find the work done by **F** as its point of application moves along the *x*-axis from $A(1,0,0)\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}B(2,0,0).$

David and Sandra plan to evaluate line integral $\int}_{C}^{}\text{F}\xb7d\text{r$ along a path in the *xy*-plane from (0, 0) to (1, 1). The force field is $\text{F}(x,y)=(x+2y)\text{i}+(\text{\u2212}x+{y}^{2})\text{j}.$ David chooses the path that runs along the *x*-axis from (0, 0) to (1, 0) and then runs along the vertical line $x=1$ from (1, 0) to the final point (1, 1). Sandra chooses the direct path along the diagonal line $y=x$ from (0, 0) to (1, 1). Whose line integral is larger and by how much?