Unit 5, lesson 35

Work, Circulation, and Vector Line Integrals

How to integrate a vector field along an oriented curve, how that integral measures work and circulation, and why reversing the direction flips its sign.

  • Theory part 69
  • Practice part 70
  • Vector Fields and Line Integrals

Push a shopping cart across a parking lot while the wind blows. Where the wind pushes along your direction of travel it helps you, where it pushes against you it costs you effort, and where it blows straight across your path it does nothing for or against you. Adding up that helpful or harmful part of the wind along the whole route is exactly a vector line integral.

Key terms

Oriented curves and their parametrizations

Definition An oriented curve is a piecewise regular curve CC together with a chosen direction of travel, from an initial point to a terminal point, or a chosen sense of travel if CC is closed. A regular parametrization r(t)\mathbf{r}(t), a≤t≤ba \le t \le b, of a regular piece is compatible with the orientation when r(t)\mathbf{r}(t) moves in the chosen direction as tt increases. On such a piece the unit tangent vector in the chosen direction is

T(t)=r′(t)∣r′(t)∣.\mathbf{T}(t) = \frac{\mathbf{r}'(t)}{\lvert \mathbf{r}'(t) \rvert}.

In plain words The same set of points can be walked two ways. An orientation picks one, and a compatible parametrization is a way of walking it in that direction.

Example The segment from (1,0)(1, 0) to (0,1)(0, 1) has the compatible parametrization r(t)=⟨1−t,t⟩\mathbf{r}(t) = \langle 1 - t, t \rangle, 0≤t≤10 \le t \le 1, with unit tangent

T=12⟨−1,1⟩.\mathbf{T} = \frac{1}{\sqrt{2}} \langle -1, 1 \rangle.

The parametrization ⟨t,1−t⟩\langle t, 1 - t \rangle, 0≤t≤10 \le t \le 1, traces the same points from (0,1)(0, 1) to (1,0)(1, 0), so it belongs to the opposite orientation.

Vector line integral

Definition Let CC be an oriented regular curve with compatible parametrization r(t)\mathbf{r}(t), a≤t≤ba \le t \le b, and let F\mathbf{F} be a vector field that is continuous on CC. The line integral of F\mathbf{F} along CC is the scalar line integral of the tangential component F⋅T\mathbf{F} \cdot \mathbf{T},

∫CF⋅dr=∫CF⋅T ds=∫abF(r(t))⋅r′(t) dt.\begin{aligned} \int_C \mathbf{F} \cdot d\mathbf{r} &= \int_C \mathbf{F} \cdot \mathbf{T} \, ds \\[0.4em] &= \int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t) \, dt. \end{aligned}

The second form holds because the speeds cancel in T ds=r′(t) dt\mathbf{T} \, ds = \mathbf{r}'(t) \, dt. For an oriented piecewise regular curve C=C1∪⋯∪CmC = C_1 \cup \cdots \cup C_m, each piece carrying the orientation of CC, the integral is the sum of the integrals over the pieces. Any two compatible regular parametrizations that trace each piece exactly once give the same value.

In plain words At each point keep only the part of the field that points along the curve, with a sign, and add it up along the length. A field perpendicular to the path contributes nothing.

Example Let F(x,y)=⟨y,x2⟩\mathbf{F}(x, y) = \langle y, x^2 \rangle and let CC be the parabola y=x2y = x^2 from (0,0)(0, 0) to (1,1)(1, 1), with r(t)=⟨t,t2⟩\mathbf{r}(t) = \langle t, t^2 \rangle, 0≤t≤10 \le t \le 1. Substitute to get F(r(t))=⟨t2,t2⟩\mathbf{F}(\mathbf{r}(t)) = \langle t^2, t^2 \rangle and r′(t)=⟨1,2t⟩\mathbf{r}'(t) = \langle 1, 2t \rangle. Then

∫CF⋅dr=∫01(t2+2t3) dt=13+12=56.\begin{aligned} \int_C \mathbf{F} \cdot d\mathbf{r} &= \int_0^1 (t^2 + 2t^3) \, dt \\[0.4em] &= \frac{1}{3} + \frac{1}{2} = \frac{5}{6}. \end{aligned}

The differential dr

Definition For a parametrization r(t)=⟨x(t),y(t),z(t)⟩\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle the vector differential is

dr=r′(t) dt=⟨dx,dy,dz⟩,d\mathbf{r} = \mathbf{r}'(t) \, dt = \langle dx, dy, dz \rangle,

where dx=x′(t) dtdx = x'(t) \, dt, dy=y′(t) dtdy = y'(t) \, dt and dz=z′(t) dtdz = z'(t) \, dt. Its length is ∣dr∣=∣r′(t)∣ dt=ds\lvert d\mathbf{r} \rvert = \lvert \mathbf{r}'(t) \rvert \, dt = ds when dt>0dt > 0, and its direction is the direction of travel, so dr=T dsd\mathbf{r} = \mathbf{T} \, ds.

In plain words Think of drd\mathbf{r} as a tiny arrow along the curve, pointing the way you walk, whose length is the tiny distance dsds.

Example On the helix r(t)=⟨cos⁡t,sin⁡t,t⟩\mathbf{r}(t) = \langle \cos t, \sin t, t \rangle,

dr=⟨−sin⁡t,cos⁡t,1⟩ dt.d\mathbf{r} = \langle -\sin t, \cos t, 1 \rangle \, dt.

At t=0t = 0 this arrow points along ⟨0,1,1⟩\langle 0, 1, 1 \rangle, and its length is 2 dt=ds\sqrt{2} \, dt = ds.

Coordinate forms

Definition Writing F=⟨P,Q,R⟩\mathbf{F} = \langle P, Q, R \rangle with PP, QQ, RR continuous on CC, the line integral in differential form is

∫CP dx+Q dy+R dz=∫ab(Px′(t)+Qy′(t)+Rz′(t)) dt,\begin{aligned} &\int_C P \, dx + Q \, dy + R \, dz \\[0.4em] &\quad = \int_a^b \big( P x'(t) + Q y'(t) \\[0.4em] &\qquad\quad + R z'(t) \big) \, dt, \end{aligned}

with PP, QQ, RR evaluated at r(t)\mathbf{r}(t). In the plane drop the RR term. A single piece such as ∫CP dx\int_C P \, dx is the case F=⟨P,0,0⟩\mathbf{F} = \langle P, 0, 0 \rangle.

In plain words Replace xx, yy, zz by their formulas in tt everywhere, and replace dxdx, dydy, dzdz by the derivatives times dtdt. Then it is a one-variable integral.

Example Compute ∫Cx2 dx+xy dy\int_C x^2 \, dx + xy \, dy along the segment from (0,0)(0, 0) to (1,2)(1, 2). Take x=tx = t, y=2ty = 2t, 0≤t≤10 \le t \le 1, so dx=dtdx = dt and dy=2 dtdy = 2 \, dt. The integrand becomes t2+2t2⋅2=5t2t^2 + 2t^2 \cdot 2 = 5t^2, and

∫015t2 dt=53.\int_0^1 5t^2 \, dt = \frac{5}{3}.

Work

Definition If F\mathbf{F} is a continuous force field and an object moves along an oriented piecewise regular curve CC, the work done by F\mathbf{F} on the object is

W=∫CF⋅dr=∫CF⋅T ds.W = \int_C \mathbf{F} \cdot d\mathbf{r} = \int_C \mathbf{F} \cdot \mathbf{T} \, ds.

Each small step contributes F⋅T Δs\mathbf{F} \cdot \mathbf{T} \, \Delta s, which is positive where the force has a component along the motion, negative where it opposes the motion and zero where it is perpendicular. In general the value depends on the path, not only on its endpoints.

In plain words Work is force along the path times distance, added up with signs. Two routes between the same points can cost different amounts.

Example Let F(x,y)=⟨−y,x⟩\mathbf{F}(x, y) = \langle -y, x \rangle, a field that circles the origin counterclockwise. Along the segment from (1,0)(1, 0) to (0,1)(0, 1) with r(t)=⟨1−t,t⟩\mathbf{r}(t) = \langle 1 - t, t \rangle,

F(r(t))⋅r′(t)=⟨−t,1−t⟩⋅⟨−1,1⟩=t+1−t=1,\begin{aligned} &\mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t) \\[0.4em] &\quad = \langle -t, 1 - t \rangle \cdot \langle -1, 1 \rangle \\[0.4em] &\quad = t + 1 - t = 1, \end{aligned}

so W=∫011 dt=1W = \int_0^1 1 \, dt = 1. Along the quarter circle ⟨cos⁡t,sin⁡t⟩\langle \cos t, \sin t \rangle, 0≤t≤π/20 \le t \le \pi/2, between the same points, the integrand is sin⁡2t+cos⁡2t=1\sin^2 t + \cos^2 t = 1 and W=π/2W = \pi/2. Both are positive since the field pushes along both paths, but the values differ, so the work depends on the route.

Circulation

Definition If CC is an oriented closed piecewise regular curve, the line integral of F\mathbf{F} around CC is called the circulation of F\mathbf{F} around CC and is written

∮CF⋅dr.\oint_C \mathbf{F} \cdot d\mathbf{r}.

For a simple closed curve in the plane, positive orientation means counterclockwise, with the enclosed region on the left.

In plain words Circulation measures how much the field pushes you around the loop overall. A positive value means the field tends to carry you in the chosen direction.

Example For F=⟨−y,x⟩\mathbf{F} = \langle -y, x \rangle around the unit circle counterclockwise, r(t)=⟨cos⁡t,sin⁡t⟩\mathbf{r}(t) = \langle \cos t, \sin t \rangle, 0≤t≤2π0 \le t \le 2\pi, the integrand is sin⁡2t+cos⁡2t=1\sin^2 t + \cos^2 t = 1, so

∮CF⋅dr=∫02π1 dt=2π.\oint_C \mathbf{F} \cdot d\mathbf{r} = \int_0^{2\pi} 1 \, dt = 2\pi.

The field points along the circle at every point, so every bit contributes positively. Clockwise the circulation is −2π-2\pi.

Reversing orientation

Definition Let −C-C denote CC with the opposite orientation. For F\mathbf{F} continuous on the oriented piecewise regular curve CC,

∫−CF⋅dr=−∫CF⋅dr.\int_{-C} \mathbf{F} \cdot d\mathbf{r} = -\int_C \mathbf{F} \cdot d\mathbf{r}.

On a regular piece, the reversed parametrization r−(t)=r(a+b−t)\mathbf{r}^-(t) = \mathbf{r}(a + b - t) has velocity −r′(a+b−t)-\mathbf{r}'(a + b - t), and the substitution u=a+b−tu = a + b - t turns the integral into the negative of the original. Equivalently, T\mathbf{T} changes sign while dsds does not. The same holds for each coordinate form, for example ∫−CP dx=−∫CP dx\int_{-C} P \, dx = -\int_C P \, dx.

In plain words Walk the path backwards and every tangent arrow flips, so help becomes hindrance and the total changes sign. Scalar integrals with dsds do not do this.

Example Reverse the parabola from the vector line integral example. With r−(t)=⟨1−t,(1−t)2⟩\mathbf{r}^-(t) = \langle 1 - t, (1 - t)^2 \rangle, 0≤t≤10 \le t \le 1, going from (1,1)(1, 1) to (0,0)(0, 0), the substitution gives

∫01(−(1−t)2−2(1−t)3) dt=−13−12=−56,\begin{aligned} &\int_0^1 \big( -(1 - t)^2 - 2(1 - t)^3 \big) \, dt \\[0.4em] &\quad = -\frac{1}{3} - \frac{1}{2} = -\frac{5}{6}, \end{aligned}

the negative of 5/65/6, as predicted.

Check yourself

  1. Find the work done by F(x,y)=⟨x+y,y⟩\mathbf{F}(x, y) = \langle x + y, y \rangle on an object that moves from (0,0)(0, 0) to (1,0)(1, 0) and then straight up to (1,1)(1, 1).
Show the answer

On the first piece, r(t)=⟨t,0⟩\mathbf{r}(t) = \langle t, 0 \rangle, the integrand is ⟨t,0⟩⋅⟨1,0⟩=t\langle t, 0 \rangle \cdot \langle 1, 0 \rangle = t, giving 1/21/2. On the second, r(t)=⟨1,t⟩\mathbf{r}(t) = \langle 1, t \rangle, the integrand is ⟨1+t,t⟩⋅⟨0,1⟩=t\langle 1 + t, t \rangle \cdot \langle 0, 1 \rangle = t, giving 1/21/2. The total work is 11.

  1. Find the circulation of F(x,y)=⟨y,0⟩\mathbf{F}(x, y) = \langle y, 0 \rangle around the unit circle traversed counterclockwise. Explain the sign.
Show the answer

With r(t)=⟨cos⁡t,sin⁡t⟩\mathbf{r}(t) = \langle \cos t, \sin t \rangle the integrand is sin⁡t⋅(−sin⁡t)=−sin⁡2t\sin t \cdot (-\sin t) = -\sin^2 t, so

∮CF⋅dr=−∫02πsin⁡2t dt=−π.\oint_C \mathbf{F} \cdot d\mathbf{r} = -\int_0^{2\pi} \sin^2 t \, dt = -\pi.

The field points right above the xx-axis and left below it, which is clockwise, against the direction of travel.

  1. The work done by a field F\mathbf{F} along an oriented curve CC is 77. What is the work along −C-C, and what happens to ∫C∣F∣ ds\int_C \lvert \mathbf{F} \rvert \, ds when the orientation is reversed?
Show the answer

The work along −C-C is −7-7, because vector line integrals change sign with the orientation. The integral of ∣F∣\lvert \mathbf{F} \rvert with respect to arc length is a scalar line integral, so it does not change.

How this lesson connects

It also uses Dot products, parametrized curves and arc length and Scalar line integrals and basic work.

Resources for this lesson