Skip to main content

Lecture 12: Line Integrals

Download the original PDF →


12.1 Introduction​

Since in evaluating line integral we need to express the curve in parametric equation as function of tt, let recognize parametric representation first.

Bodies that move in space form paths that may be represented by curves CC. This and other applications show the need for parametric representations of CC with parameter tt, which may denote time or something else (see Fig. 12.1). A typical parametric representation is given by

r(t)=[x(t),y(t),z(t)]=x(t)i+y(t)j+z(t)k.\mathbf{r}(t) = [x(t), \quad y(t), \quad z(t)] = x(t)\mathbf{i} + y(t)\mathbf{j} + z(t)\mathbf{k}.

Figure 12.1: Parametric representation of curve

Figure 12.1: Parametric representation of curve

Here tt is the parameter and xx, yy, zz are Cartesian coordinates, that is, the usual rectangular coordinates. To each value t=tot = t_o, there corresponds a point of CC with position vector r(to)r(t_o) whose coordinates are x(to),y(to),z(to)x(t_o), y(t_o), z(t_o).

When we give parametric equations and a parameter interval for a curve, we say that we have parametrized the curve. The equations and interval together constitute a parametrization of the curve. A given curve can be represented by different sets of parametric equations.

The advantages of using parametric representation are that, the coordinates xx, yy, zz all play an equal role, that is, all three coordinates are dependent variables. Moreover, the parametric representation induces an orientation on CC. This means that as we increase tt, we travel along the curve CC in a certain direction. The sense of increasing tt is called the positive sense on CC. The sense of decreasing tt is then called the negative sense on CC.

Table 12.1: Parametric Equation for Some Basic Curves

CurveCounter-ClockwiseClockwise *
x2a2+y2b2=1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1 (Ellipse)x=acos⁡(t)x = a\cos(t)
y=bsin⁡(t)y = b\sin(t)
0≤t≤2π0 \leq t \leq 2\pi
x=acos⁡(t)x = a\cos(t)
y=−bsin⁡(t)y = -b\sin(t)
0≤t≤2π0 \leq t \leq 2\pi
x2+y2=r2x^2 + y^2 = r^2 (Circle)x=rcos⁡(t)x = r\cos(t)
y=rsin⁡(t)y = r\sin(t)
0≤t≤2π0 \leq t \leq 2\pi
x=rcos⁡(t)x = r\cos(t)
y=−rsin⁡(t)y = -r\sin(t)
0≤t≤2π0 \leq t \leq 2\pi
Line Segment from (x0,y0,z0)(x_0, y_0, z_0) to (x1,y1,z1)(x_1, y_1, z_1)x=(1−t)x0+tx1x = (1-t)x_0 + t x_1
y=(1−t)y0+ty1y = (1-t)y_0 + t y_1
z=(1−t)z0+tz1z = (1-t)z_0 + t z_1
0≤t≤10 \leq t \leq 1
Parabola: y=x2y = x^2Parabola: x=tx = t, y=t2y = t^2, −∞≤t≤∞-\infty \leq t \leq \infty

* For clockwise curve, an alternative is to use the same counter-clockwise parameterization, but reverse the limits of integration. This gives a negative integral as compared to the counter-clockwise curve.

Example 12.1: Circle. Parametric Representation. Positive Sense​

The circle x2+y2=4x^2 + y^2 = 4, z=0z = 0 in the xyxy-plane with center 0 and radius 2 can be represented parametrically by

r(t)=[2cos⁡t,2sin⁡t,0]or simply byr(t)=[2cos⁡t,2sin⁡t]\mathbf{r}(t) = [2\cos t, 2\sin t, 0] \qquad \text{or simply by} \qquad \mathbf{r}(t) = [2\cos t, 2\sin t]

where 0≤t≤2π0 \leq t \leq 2\pi. Indeed, x2+y2=(2cos⁡t)2+(2sin⁡t)2=4(cos⁡2t+sin⁡2t)=4x^2 + y^2 = (2\cos t)^2 + (2\sin t)^2 = 4(\cos^2 t + \sin^2 t) = 4. For t=0t = 0 we have r(0)=[2,0]\mathbf{r}(0) = [2, 0], for t=12πt = \frac{1}{2}\pi we get r(12π)=[0,2]\mathbf{r}(\frac{1}{2}\pi) = [0, 2], and so on. The positive sense induced by this representation is the counterclockwise sense.

If we replace tt with t∗=−tt^* = -t, we have t=−t∗t = -t^* and get

r∗(t∗)=[2cos⁡(−t∗),2sin⁡(−t∗)]=[2cos⁡t∗,−2sin⁡t∗].\mathbf{r}^*(t^*) = [2\cos(-t^*), 2\sin(-t^*)] = [2\cos t^*, -2\sin t^*].

This has reversed the orientation, and the circle is now oriented clockwise.

The circle x^2 + y^2 = 4 with the points at t = 0, t = π/2, t = π and t = 3π/2


12.2 Basic Concepts​

In a line integral, we shall integrate a given function, also called the integrand, along a curve CC in space or in the plane as shown in Figure 12.2. (Hence curve integral would be a better name but line integral is standard.)

Figure 12.2: Oriented curves

Figure 12.2: Oriented curves

This requires that we represent the curve CC by a parametric representation

r(t)=[x(t),y(t),z(t)]=x(t)i+y(t)j+z(t)k(a≤t≤b).(1)\mathbf{r}(t) = [x(t), y(t), z(t)] = x(t)\mathbf{i} + y(t)\mathbf{j} + z(t)\mathbf{k} \qquad (a \leq t \leq b). \qquad (1)

The curve CC is called the path of integration. Look at Fig. 12.2a. The path of integration goes from AA to BB. Thus A:r(a)A: \mathbf{r}(a) is its initial point and B:r(b)B: \mathbf{r}(b) is its terminal point. CC is now oriented. The direction from AA to BB, in which tt increases is called the positive direction on CC. We mark it by an arrow. The points AA and BB may coincide, as it happens in Fig. 12.2b. Then CC is called a closed path.

A line integral of a vector function F(r)F(r) over a curve C:r(t)C: \mathbf{r}(t) is defined by

∫CF(r)⋅dr=∫abF(r(t))⋅r′(t) dt(2)\int_C \mathbf{F}(\mathbf{r}) \cdot d\mathbf{r} = \int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\, dt \qquad (2)

Where r′=drdt\mathbf{r}' = \dfrac{d\mathbf{r}}{dt} and r(t)\mathbf{r}(t) is the parametric representation of CC as given in (1). Writing (2) in terms of components, with dr=[dx,dy,dz]d\mathbf{r} = [dx, dy, dz] and ′=ddt' = \dfrac{d}{dt}, we get

∫CF(r)⋅dr=∫CM dx+N dy+P dz=∫abM x′+N y′+P z′ dt\begin{aligned} \int_C \mathbf{F}(\mathbf{r}) \cdot d\mathbf{r} &= \int_C M\, dx + N\, dy + P\, dz \\ &= \int_a^b M\, x' + N\, y' + P\, z'\, dt \end{aligned}

Note that the integrand in (2) is a scalar, not a vector, because we take the dot product. Indeed, F∙r′/∣r′∣\mathbf{F} \bullet \mathbf{r}' / |\mathbf{r}'| is the tangential component of F\mathbf{F}. Line integrals arises naturally in mechanics, where they give the work done by a force F\mathbf{F} in a displacement along CC. This will be explained in detail below. We may thus call the line integral (2) the work integral.

Evaluating the Line Integral of F = Mi + Nj + Pk along C: r(t) = g(t)i + h(t)j + k(t)k
  1. Express the vector field F\mathbf{F} in terms of the parametrized curve CC as F(r(t))\mathbf{F}(\mathbf{r}(t)) by substituting the components x=g(t)x = g(t), y=h(t)y = h(t), z=k(t)z = k(t) of r\mathbf{r} into the scalar components M(x,y,z)M(x, y, z), N(x,y,z)N(x, y, z), P(x,y,z)P(x, y, z) of F\mathbf{F}.
  2. Find the derivative (velocity) vector dr/dtd\mathbf{r}/dt.
  3. Evaluate the line integral with respect to the parameter tt, a≤t≤ba \leq t \leq b, to obtain

∫CF⋅dr=∫abF(r(t))⋅drdt dt.\int_C \mathbf{F} \cdot d\mathbf{r} = \int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \frac{d\mathbf{r}}{dt}\, dt.

Example 12.2: Evaluation of a Line Integral in the Plane​

Find the value of line integral when F(r)=[−y,−xy]=−yi−xyjF(r) = [-y, -xy] = -y\mathbf{i} - xy\mathbf{j} and CC is the circular arc from A to B.

The circular arc C from A to B

Solution

We may represent CC by r(t)=[cos⁡t,sin⁡t]=cos⁡t i+sin⁡t j\mathbf{r}(t) = [\cos t, \sin t] = \cos t\,\mathbf{i} + \sin t\,\mathbf{j}, where 0≤t≤π/20 \leq t \leq \pi/2. Then x(t)=cos⁡tx(t) = \cos t, y(t)=sin⁡ty(t) = \sin t, and

F(r(t))=−y(t)i−x(t)y(t)j=[−sin⁡t,−cos⁡tsin⁡t]=−sin⁡t i−cos⁡tsin⁡t j.\mathbf{F}(\mathbf{r}(t)) = -y(t)\mathbf{i} - x(t)y(t)\mathbf{j} = [-\sin t, -\cos t \sin t] = -\sin t\,\mathbf{i} - \cos t \sin t\,\mathbf{j}.

By differentiation, r′(t)=[−sin⁡t,cos⁡t]=−sin⁡t i+cos⁡t j\mathbf{r}'(t) = [-\sin t, \cos t] = -\sin t\,\mathbf{i} + \cos t\,\mathbf{j}, set cos⁡t=u\cos t = u in the second term

∫CF(r)⋅dr=∫0π/2[−sin⁡t,−cos⁡tsin⁡t]∙[−sin⁡t,cos⁡t] dt=∫0π/2(sin⁡2t−cos⁡2tsin⁡t)dt=∫0π/212(1−cos⁡2t) dt−∫10u2(−du)=π4−0−13≈0.4521.\begin{aligned} \int_C \mathbf{F}(\mathbf{r}) \cdot d\mathbf{r} &= \int_0^{\pi/2} [-\sin t, -\cos t \sin t] \bullet [-\sin t, \cos t]\, dt = \int_0^{\pi/2} \left(\sin^2 t - \cos^2 t \sin t\right) dt \\ &= \int_0^{\pi/2} \frac{1}{2}(1 - \cos 2t)\, dt - \int_1^0 u^2(-du) = \frac{\pi}{4} - 0 - \frac{1}{3} \approx 0.4521. \end{aligned}

Example 12.3: Line Integral in Space​

The evaluation of line integral in space is practically the same as it is in the plane. To see this, find the value of line integral when F(r)=[z,x,y]=zi+xj+ykF(r) = [z, x, y] = z\mathbf{i} + x\mathbf{j} + y\mathbf{k} and CC is the helix. Given that

r(t)=[cos⁡t,sin⁡t,3t]=cos⁡t i+sin⁡t j+3t k\mathbf{r}(t) = [\cos t, \sin t, 3t] = \cos t\,\mathbf{i} + \sin t\,\mathbf{j} + 3t\,\mathbf{k}

The helix C from A to B

Solution

From the parametrization above we have x(t)=cos⁡tx(t) = \cos t, y(t)=sin⁡ty(t) = \sin t, z(t)=3tz(t) = 3t. Thus

F(r(t))⋅r′(t)=(3t i+cos⁡t j+sin⁡t k)∙(−sin⁡t i+cos⁡t j+3k).\mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = (3t\,\mathbf{i} + \cos t\,\mathbf{j} + \sin t\,\mathbf{k}) \bullet (-\sin t\,\mathbf{i} + \cos t\,\mathbf{j} + 3\mathbf{k}).

The dot product is 3t(−sin⁡t)+cos⁡2t+3sin⁡t3t(-\sin t) + \cos^2 t + 3 \sin t. Hence

∫CF(r)⋅dr=∫02π(−3tsin⁡t+cos⁡2t+3sin⁡t)dt=6π+π+0=7π≈21.99.\int_C \mathbf{F}(\mathbf{r}) \cdot d\mathbf{r} = \int_0^{2\pi} \left(-3t \sin t + \cos^2 t + 3 \sin t\right) dt = 6\pi + \pi + 0 = 7\pi \approx 21.99.

Example 12.4: Evaluation of a Line Integral along the Curve, C​

Evaluate ∫cF⋅dr\displaystyle \int_c \mathbf{F} \cdot d\mathbf{r}, where F(x,y,z)=zi+xy j−y2kF(x, y, z) = z\mathbf{i} + xy\,\mathbf{j} - y^2\mathbf{k} along the curve CC given by r(t)=t2i+tj+t k\mathbf{r}(t) = t^2\mathbf{i} + t\mathbf{j} + \sqrt{t}\,\mathbf{k}, 0≤t≤10 \leq t \leq 1.

Solution

SOL=1720\text{SOL} = \frac{17}{20}

Simple general properties of the line integral (2)

a)∫CkF⋅dr=k∫CF⋅dr(k constant)a) \quad \int_C k\mathbf{F} \cdot d\mathbf{r} = k\int_C \mathbf{F} \cdot d\mathbf{r} \qquad (k \text{ constant})

b)∫C(F+G)⋅dr=∫CF⋅dr+∫CG⋅drb) \quad \int_C (\mathbf{F} + \mathbf{G}) \cdot d\mathbf{r} = \int_C \mathbf{F} \cdot d\mathbf{r} + \int_C \mathbf{G} \cdot d\mathbf{r}

c)∫CF⋅dr=∫C1F⋅dr+∫C2F⋅drc) \quad \int_C \mathbf{F} \cdot d\mathbf{r} = \int_{C_1} \mathbf{F} \cdot d\mathbf{r} + \int_{C_2} \mathbf{F} \cdot d\mathbf{r}

Figure 12.3 Formula (c)

Figure 12.3 Formula (c)

where in (c) the path CC is subdivided into two arcs C1C_1 and C2C_2 that have the same orientation as CC (Fig. 12.3). In (b) the orientation of CC is the same in all three integrals. If the sense of integration along CC is reversed, the value of the integral is multiplied by -1.


12.3 Line Integral: Work Done by Force​

Suppose that the vector field F=M(x,y,z)i+N(x,y,z)j+P(x,y,z)k\mathbf{F} = M(x, y, z)\mathbf{i} + N(x, y, z)\mathbf{j} + P(x, y, z)\mathbf{k} represents a force throughout a region in space (it might be the force of gravity or an electromagnetic force of some kind) and that

r(t)=g(t)i+h(t)j+k(t)k,a≤t≤b,\mathbf{r}(t) = g(t)\mathbf{i} + h(t)\mathbf{j} + k(t)\mathbf{k}, \qquad a \leq t \leq b,

is a smooth curve in the region. For a curve CC in space, we define the work done by a continuous force field F\mathbf{F} to move an object along CC from a point AA to another point BB as follows.

DEFINITION

Let CC be a smooth curve parametrized by r(t)\mathbf{r}(t), a≤t≤ba \leq t \leq b, and F\mathbf{F} be a continuous force field over a region containing CC. Then the work done in moving an object from the point A=r(a)A = \mathbf{r}(a) to the point B=r(b)B = \mathbf{r}(b) along CC is

W=∫CF⋅T ds=∫abF(r(t))⋅drdt dt.W = \int_C \mathbf{F} \cdot \mathbf{T}\, ds = \int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \frac{d\mathbf{r}}{dt}\, dt.

In other words, the work done by a force FF is the line integral of the scalar component F.TF.T over the smooth curve from AA to BB as shown in Fig 12.4. The sign of the number we calculate with this integral depends on the direction in which the curve is traversed. If we reverse the direction of motion, then we reverse the direction of T\mathbf{T} in Figure 12.4 and change the sign of F⋅T\mathbf{F} \cdot \mathbf{T} and its integral.

Figure 12.4: The work done by a force F is the line

Figure 12.4: The work done by a force F is the line

Example 12.5​

Find the work done by the force field F=(y−x2)i+(z−y2)j+(x−z2)k\mathbf{F} = (y - x^2)\mathbf{i} + (z - y^2)\mathbf{j} + (x - z^2)\mathbf{k} along the curve r(t)=ti+t2j+t3k\mathbf{r}(t) = t\mathbf{i} + t^2\mathbf{j} + t^3\mathbf{k}, 0≤t≤10 \leq t \leq 1, from (0,0,0)(0, 0, 0) to (1,1,1)(1, 1, 1)

Solution

First we evaluate F\mathbf{F} on the curve r(t)\mathbf{r}(t):

F=(y−x2)i+(z−y2)j+(x−z2)k=(t2−t2⏟0)i+(t3−t4)j+(t−t6)k.Substitute x=t, y=t2, z=t3.\begin{aligned} \mathbf{F} &= (y - x^2)\mathbf{i} + (z - y^2)\mathbf{j} + (x - z^2)\mathbf{k} \\ &= (\underbrace{t^2 - t^2}_{0})\mathbf{i} + (t^3 - t^4)\mathbf{j} + (t - t^6)\mathbf{k}. \qquad \text{Substitute } x = t, \ y = t^2, \ z = t^3. \end{aligned}

The curve r(t) = ti + t²j + t³k from (0, 0, 0) to (1, 1, 1)

Then we find dr/dtd\mathbf{r}/dt,

drdt=ddt(ti+t2j+t3k)=i+2tj+3t2k.\frac{d\mathbf{r}}{dt} = \frac{d}{dt}\left(t\mathbf{i} + t^2\mathbf{j} + t^3\mathbf{k}\right) = \mathbf{i} + 2t\mathbf{j} + 3t^2\mathbf{k}.

Finally, we find F⋅dr/dt\mathbf{F} \cdot d\mathbf{r}/dt and integrate from t=0t = 0 to t=1t = 1:

F⋅drdt=[(t3−t4)j+(t−t6)k]⋅(i+2tj+3t2k)=(t3−t4)(2t)+(t−t6)(3t2)=2t4−2t5+3t3−3t8\begin{aligned} \mathbf{F} \cdot \frac{d\mathbf{r}}{dt} &= \left[(t^3 - t^4)\mathbf{j} + (t - t^6)\mathbf{k}\right] \cdot \left(\mathbf{i} + 2t\mathbf{j} + 3t^2\mathbf{k}\right) \\ &= (t^3 - t^4)(2t) + (t - t^6)(3t^2) = 2t^4 - 2t^5 + 3t^3 - 3t^8 \end{aligned}

so,

Work=∫01(2t4−2t5+3t3−3t8)dt=[25t5−26t6+34t4−39t9]01=2960.\begin{aligned} \text{Work} &= \int_0^1 \left(2t^4 - 2t^5 + 3t^3 - 3t^8\right) dt \\ &= \left[\frac{2}{5}t^5 - \frac{2}{6}t^6 + \frac{3}{4}t^4 - \frac{3}{9}t^9\right]_0^1 = \frac{29}{60}. \end{aligned}

Example 12.6​

Find the work done by the force fields F=xi+yj+zk\mathbf{F} = x\mathbf{i} + y\mathbf{j} + z\mathbf{k} in moving an object along the curve CC parameterized by r(t)=cos⁡(πt) i+t2j+sin⁡(πt) k\mathbf{r}(t) = \cos(\pi t)\,\mathbf{i} + t^2\mathbf{j} + \sin(\pi t)\,\mathbf{k}, 0≤t≤10 \leq t \leq 1

Solution

We begin by writing F\mathbf{F} along CC as a function of tt,

F(r(t))=cos⁡(πt) i+t2j+sin⁡(πt) k.\mathbf{F}(\mathbf{r}(t)) = \cos(\pi t)\,\mathbf{i} + t^2\mathbf{j} + \sin(\pi t)\,\mathbf{k}.

Next we compute dr/dtd\mathbf{r}/dt,

drdt=−πsin⁡(πt) i+2tj+πcos⁡(πt) k.\frac{d\mathbf{r}}{dt} = -\pi \sin(\pi t)\,\mathbf{i} + 2t\mathbf{j} + \pi \cos(\pi t)\,\mathbf{k}.

We then calculate the dot product,

F(r(t))⋅drdt=−πsin⁡(πt)cos⁡(πt)+2t3+πsin⁡(πt)cos⁡(πt)=2t3.\mathbf{F}(\mathbf{r}(t)) \cdot \frac{d\mathbf{r}}{dt} = -\pi \sin(\pi t)\cos(\pi t) + 2t^3 + \pi \sin(\pi t)\cos(\pi t) = 2t^3.

The work done is the line integral

∫abF(r(t))⋅drdt dt=∫012t3 dt=t42∣01=12.\int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \frac{d\mathbf{r}}{dt}\, dt = \int_0^1 2t^3\, dt = \left.\frac{t^4}{2}\right|_0^1 = \frac{1}{2}.

Path Dependence​

Path Dependence

The line integral generally depends not only on F\mathbf{F} and on the endpoints AA and BB of the path, but also on the path itself along which the integral is taken.

Take, for instance, the straight segment C1:r1(t)=[t,t,0]C_1: r_1(t) = [t, t, 0] and the parabola C2:r2(t)=[t,t2,0]C_2: r_2(t) = [t, t^2, 0] as shown in Figure 12.5 with 0≤t≤10 \leq t \leq 1 and integrate F=[0,xy,0]F = [0, xy, 0]. Then

For curve C1C_1: r1′(t)=[1,1,0]r_1'(t) = [1, 1, 0], F=[0,(t)(t),0]F = [0, (t)(t), 0], therefore F(r1(t))∙r1′(t)=t2F(r_1(t)) \bullet r_1'(t) = t^2

For curve C2C_2: r2′(t)=[1,2t,0]r_2'(t) = [1, 2t, 0], F=[0,(t)(t2),0]F = [0, (t)(t^2), 0], therefore F(r2(t))∙r2′(t)=2t4F(r_2(t)) \bullet r_2'(t) = 2t^4

It is obvious that the two integrands of the line integral are different even though the two curves share the same endpoints A and B. Logically, this gives different values of 1/3 and 2/5 respectively.

Figure 12.5: Proof of Theorem

Figure 12.5: Proof of Theorem

As an additional information, if a vector function FF is the gradient of a scalar function F=∇fF = \nabla f, this vector function FF is known as a conservative vector field, and its line integral is interestingly independent on path, which means integrating FF along C1C_1 or C2C_2 produces the same value for the same endpoints A and B: ∫c1F⋅dr1=∫c2F⋅dr2\int_{c_1} F \cdot dr_1 = \int_{c_2} F \cdot dr_2

Example 12.7:​

Evaluate the line integral with the vector function given as F(x,y)=(x−y)i+xjF(x, y) = (x - y)\mathbf{i} + x\mathbf{j}. The curve CC is a closed curve that forms a unit circle. A closed circular curve can be parameterized as below, considering a range of tt that forms the complete circular path:

C:r(t)=cos⁡(t) i+sin⁡(t) j,0≤t≤2πC: r(t) = \cos(t)\,\mathbf{i} + \sin(t)\,\mathbf{j}, \qquad 0 \leq t \leq 2\pi

Solution

From F(x,y)=(x−y)i+xjF(x, y) = (x - y)\mathbf{i} + x\mathbf{j} and C:r(t)=cos⁡(t) i+sin⁡(t) jC: r(t) = \cos(t)\,\mathbf{i} + \sin(t)\,\mathbf{j}, 0≤t≤2π0 \leq t \leq 2\pi, we obtain:

F(x,y)=(x−y)i+xj,drdt=−sin⁡(t) i+cos⁡(t) jF(x, y) = (x - y)\mathbf{i} + x\mathbf{j}, \qquad \frac{d\mathbf{r}}{dt} = -\sin(t)\,\mathbf{i} + \cos(t)\,\mathbf{j}

Therefore: F⋅drdt=−sin⁡tcos⁡t+sin⁡2t+cos⁡2t=−sin⁡tcos⁡t+1F \cdot \dfrac{d\mathbf{r}}{dt} = -\sin t \cos t + \sin^2 t + \cos^2 t = -\sin t \cos t + 1

∫02π(−sin⁡t)(cos⁡t)+1 dt=[(cos⁡t)22+t]02π=(12+2π)−(12+0)=2π\begin{aligned} \int_0^{2\pi} (-\sin t)(\cos t) + 1\, dt &= \left[\frac{(\cos t)^2}{2} + t\right]_0^{2\pi} \\ &= \left(\frac{1}{2} + 2\pi\right) - \left(\frac{1}{2} + 0\right) \\ &= 2\pi \end{aligned}

Figure 12.6: The vector field has a counter clockwise circulation of 2π around the unit circle.

Figure 12.6: The vector field has a counter clockwise circulation of 2π around the unit circle.

Example 12.8​

Evaluate the closed-curve line integral

∮C−y2dx+xy dy,\oint_C -y^2 dx + xy\, dy,

Where CC is the square cut from the first quadrant by the lines x=1x = 1 and y=1y = 1 (counter-clockwise)

Solution

The square contour C with the sides C1 to C4

∮C−y2dx+xy dy=∮C1(−y2(dxdt)+xy(dydt))dt+⋯+∮C4(−y2(dxdt)+xy(dydt))dt:\oint_C -y^2 dx + xy\, dy = \oint_{C_1}\left(-y^2\left(\frac{dx}{dt}\right) + xy\left(\frac{dy}{dt}\right)\right) dt + \cdots + \oint_{C_4}\left(-y^2\left(\frac{dx}{dt}\right) + xy\left(\frac{dy}{dt}\right)\right) dt :

C1C_1: y=0, 0≤x≤1 (from 0 to 1)Use x=t, y=0
dxdt=1,dydt=0\dfrac{dx}{dt} = 1, \dfrac{dy}{dt} = 0
∫01(−(02)(1)+(t)(0)(0))dt=0\int_0^1\left(-(0^2)(1) + (t)(0)(0)\right) dt = 0
C2C_2: x=1, 0≤y≤1 (from 0 to 1)Use x=1, y=t
dxdt=0,dydt=1\dfrac{dx}{dt} = 0, \dfrac{dy}{dt} = 1
∫01(−(t2)(0)+(1)(t)(1))dt=[t22]01=12\int_0^1\left(-(t^2)(0) + (1)(t)(1)\right) dt = \left[\dfrac{t^2}{2}\right]_0^1 = \dfrac{1}{2}
C3C_3: y=1, 0≤x≤1 (from 1 to 0)Use x=t, y=1
dxdt=1,dydt=0\dfrac{dx}{dt} = 1, \dfrac{dy}{dt} = 0
∫10(−(12)(1)+(t)(1)(0))dt=−∫01−1 dt=[t]01=1\int_1^0\left(-(1^2)(1) + (t)(1)(0)\right) dt = -\int_0^1 -1\, dt = [t]_0^1 = 1
C4C_4: x=0, 0≤y≤1 (from 1 to 0)Use x=0, y=t
dxdt=0,dydt=1\dfrac{dx}{dt} = 0, \dfrac{dy}{dt} = 1
∫01(−(t2)(0)+(0)(t)(1))dt=0\int_0^1\left(-(t^2)(0) + (0)(t)(1)\right) dt = 0

Therefore, ∮C−y2dx+xy dy=0+12+1+0=32\displaystyle \oint_C -y^2 dx + xy\, dy = 0 + \frac{1}{2} + 1 + 0 = \frac{3}{2}

Example 12.9​

Compute ∮xy dx+xy dy\oint xy\, dx + xy\, dy, over the counter-clockwise rectangle with corners (1,1), (3,1), (3,2), (1,2).

Solution

∮Cxy dx+xy dy=∮C1(xy(dxdt)+xy(dydt))dt+⋯+∮C4(xy(dxdt)+xy(dydt))dt\oint_C xy\, dx + xy\, dy = \oint_{C_1}\left(xy\left(\frac{dx}{dt}\right) + xy\left(\frac{dy}{dt}\right)\right) dt + \cdots + \oint_{C_4}\left(xy\left(\frac{dx}{dt}\right) + xy\left(\frac{dy}{dt}\right)\right) dt

C1C_1: y=1, 1≤x≤3 (from 1 to 3)Use x=t, y=1
dxdt=1,dydt=0\dfrac{dx}{dt} = 1, \dfrac{dy}{dt} = 0
∫13((t)(1)(1)+(t)(1)(0))dt\int_1^3\left((t)(1)(1) + (t)(1)(0)\right) dt
=∫13t dt=82= \int_1^3 t\, dt = \dfrac{8}{2}
C2C_2: x=3, 1≤y≤2 (from 1 to 2)Use x=3, y=t
dxdt=0,dydt=1\dfrac{dx}{dt} = 0, \dfrac{dy}{dt} = 1
∫12((3)(t)(0)+(3)(t)(1))dt\int_1^2\left((3)(t)(0) + (3)(t)(1)\right) dt
=∫123t dt=92= \int_1^2 3t\, dt = \dfrac{9}{2}
C3C_3: y=2, 1≤x≤3 (from 3 to 1)Use x=t, y=2
dxdt=1,dydt=0\dfrac{dx}{dt} = 1, \dfrac{dy}{dt} = 0
∫31((t)(2)(1)+(t)(2)(0))dt\int_3^1\left((t)(2)(1) + (t)(2)(0)\right) dt
=−∫132t dt=−162= -\int_1^3 2t\, dt = -\dfrac{16}{2}
C4C_4: x=1, 1≤y≤2 (from 2 to 1)Use x=1, y=t
dxdt=0,dydt=1\dfrac{dx}{dt} = 0, \dfrac{dy}{dt} = 1
∫21((1)(t)(0)+(1)(t)(1))dt\int_2^1\left((1)(t)(0) + (1)(t)(1)\right) dt
=−∫12t dt=−32= -\int_1^2 t\, dt = -\dfrac{3}{2}

∮xy dx+xy dy=82+92−162−32=−1\oint xy\, dx + xy\, dy = \frac{8}{2} + \frac{9}{2} - \frac{16}{2} - \frac{3}{2} = -1

The solutions of line integral involving closed curve can be tedious when the closed curve is defined by multiple sections as in Examples 12.8 and 12.9. In some cases, it will be more convenient to relate a closed-curve line integral with an integral involving the curl of the vector function FF over a surface that is bounded by the closed curve. This is known as the (circulation form of) Green's theorem, which is explained in the topic of Stokes' theorem.