Line Integral

Let CC be a smooth curve with parametric equations x=x(t)x = x(t), y=y(t)y = y(t), z=z(t)z = z(t), a≤t≤ba \le t \le b, and ff defined on CC. Let P={t0,t1,…,tn}P = \{t_0, t_1, \dots, t_n\}, a=t0<t1<⋯<tn=ba = t_0 < t_1 < \dots < t_n = b, be a partition of [a,b][a,b], dividing CC into nn subarcs. Let Δsk\Delta s_k be the length of the kkth subarc, and (xk∗,yk∗,zk∗)(x_k^*, y_k^*, z_k^*) a sample point on the kkth subarc. The line integral of ff over CC with respect to arc length is

∫Cf(x,y,z) ds=lim⁡max⁡{Δsk}→0∑k=1nf(xk∗,yk∗,zk∗) Δsk\int_C f(x,y,z)\,\text{d}s = \lim_{\max\{\Delta s_k\} \to 0} \sum_{k=1}^{n} f(x_k^*, y_k^*, z_k^*)\,\Delta s_k

provided the limit exists and does not depend on the choice of partition or sample points.

Partition of a curve The curve C is divided into subarcs by a partition. A sample point is chosen on each subarc. C parameter C t₀ t₁ t₂ t₃ t₄ P₁* Δs₁
A partition divides C into subarcs of length Δsₖ. The point (x₁*, y₁*) is a sample point on the first subarc.

For r(t)=x(t)i+y(t)j+z(t)k\boldsymbol{r}(t) = x(t)\boldsymbol{i} + y(t)\boldsymbol{j} + z(t)\boldsymbol{k}, a≤t≤ba \le t \le b,

ds=∥r′(t)∥ dt=(dxdt)2+(dydt)2+(dzdt)2 dt\text{d}s = \lVert \boldsymbol{r}'(t) \rVert\,\text{d}t = \sqrt{\left(\frac{\text{d}x}{\text{d}t}\right)^2 + \left(\frac{\text{d}y}{\text{d}t}\right)^2 + \left(\frac{\text{d}z}{\text{d}t}\right)^2}\,\text{d}t

so

∫Cf(x,y,z) ds=∫abf(x(t),y(t),z(t)) ∥r′(t)∥ dt\int_C f(x,y,z)\,\text{d}s = \int_a^b f(x(t),y(t),z(t))\,\lVert \boldsymbol{r}'(t) \rVert\,\text{d}t

Line Integral of a Vector Field

Let F\boldsymbol{F} be a vector field and CC a piecewise smooth oriented curve parametrized by r(t)=x(t)i+y(t)j+z(t)k\boldsymbol{r}(t) = x(t)\boldsymbol{i} + y(t)\boldsymbol{j} + z(t)\boldsymbol{k}, a≤t≤ba \le t \le b. The line integral of F\boldsymbol{F} along CC is

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

For F=Pi+Qj+Rk\boldsymbol{F} = P\boldsymbol{i} + Q\boldsymbol{j} + R\boldsymbol{k},

∫CF⋅dr=∫CP dx+Q dy+R dz\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = \int_C P\,\text{d}x + Q\,\text{d}y + R\,\text{d}z

To evaluate the above integral when CC is given by x=x(t)x = x(t), y=y(t)y = y(t), z=z(t)z = z(t), a≤t≤ba \le t \le b:

  1. Differentiate the parametric equations to get dx=x′(t) dt\text{d}x = x'(t)\,\text{d}t, dy=y′(t) dt\text{d}y = y'(t)\,\text{d}t, dz=z′(t) dt\text{d}z = z'(t)\,\text{d}t.
  2. Replace xx, yy, zz, dx\text{d}x, dy\text{d}y, dz\text{d}z in the integrand, which leaves an integral in tt only.
  3. Integrate from t=at = a to t=bt = b.
∫CP dx+Q dy+R dz=∫ab(P x′(t)+Q y′(t)+R z′(t))dt\int_C P\,\text{d}x + Q\,\text{d}y + R\,\text{d}z = \int_a^b \left(P\,x'(t) + Q\,y'(t) + R\,z'(t)\right)\text{d}t

Work

For a particle moving along a smooth curve CC, oriented in the direction of motion, under a continuous force field F\boldsymbol{F}, the work done by F\boldsymbol{F} on the particle is

W=∫CF⋅drW = \int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r}

Fundamental Theorem of Line Integrals

Suppose CC be a piecewise smooth curve parametrized by r(t)\boldsymbol{r}(t), a≤t≤ba \le t \le b.

If F\boldsymbol{F} is a conservative field with potential function ϕ\phi on CC, and

∫CF⋅dr=∫C∇ϕ⋅dr=ϕ(r(b))−ϕ(r(a))\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = \int_C \nabla \phi \cdot \text{d}\boldsymbol{r} = \phi(\boldsymbol{r}(b)) - \phi(\boldsymbol{r}(a))

For a conservative field, the work depends only on the end points of CC.

Integral over a Closed Curve

Let F\boldsymbol{F} be conservative on DD and CC a piecewise smooth closed curve in DD. Then

∮CF⋅dr=0\oint_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = 0

Equivalence of Conservative Fields

Let F(x,y,z)=fi+gj+hk\boldsymbol{F}(x,y,z) = f\boldsymbol{i} + g\boldsymbol{j} + h\boldsymbol{k} be continuous on an open connected region D⊆R3D \subseteq \mathbb{R}^3. The following are equivalent:

  • F\boldsymbol{F} is conservative on DD
  • ∫CF⋅dr=0\displaystyle\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = 0 for every piecewise smooth closed curve CC in DD
  • For any 2 points PP, QQ in DD, ∫CF⋅dr\displaystyle\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} is independent of the piecewise smooth curve CC in DD from PP to QQ

Worked Examples

Line Integral with Respect to Arc Length

Evaluate the following integral, where CC is the quarter circle r(t)=cos⁡t i+sin⁡t j\boldsymbol{r}(t) = \cos t\,\boldsymbol{i} + \sin t\,\boldsymbol{j}, 0≤t≤π20 \le t \le \dfrac{\pi}{2}.

∫Cxy ds\int_C xy\,\text{d}s
Solution Reveal Hide

Speed:

r′(t)=−sin⁡t i+cos⁡t j,∥r′(t)∥=sin⁡2t+cos⁡2t=1\boldsymbol{r}'(t) = -\sin t\,\boldsymbol{i} + \cos t\,\boldsymbol{j}, \quad \lVert \boldsymbol{r}'(t) \rVert = \sqrt{\sin^2 t + \cos^2 t} = 1

Integral:

∫Cxy ds=∫0π/2cos⁡tsin⁡t⋅1 dt=[sin⁡2t2]0π/2=12\int_C xy\,\text{d}s = \int_0^{\pi/2} \cos t \sin t \cdot 1\,\text{d}t = \left[\frac{\sin^2 t}{2}\right]_0^{\pi/2} = \frac{1}{2}

Integral Along a Parabola

Evaluate the following integral for F=x2 i+xy j\boldsymbol{F} = x^2\,\boldsymbol{i} + xy\,\boldsymbol{j}, where CC is r(t)=t i+t2 j\boldsymbol{r}(t) = t\,\boldsymbol{i} + t^2\,\boldsymbol{j}, 0≤t≤10 \le t \le 1.

∫CF⋅dr\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r}
Solution Reveal Hide

Field along the curve:

F(r(t))=t2 i+t3 j,r′(t)=i+2t j\boldsymbol{F}(\boldsymbol{r}(t)) = t^2\,\boldsymbol{i} + t^3\,\boldsymbol{j}, \quad \boldsymbol{r}'(t) = \boldsymbol{i} + 2t\,\boldsymbol{j}

Dot product:

F(r(t))⋅r′(t)=t2+2t4\boldsymbol{F}(\boldsymbol{r}(t)) \cdot \boldsymbol{r}'(t) = t^2 + 2t^4

Integral:

∫CF⋅dr=∫01(t2+2t4) dt=13+25=1115\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = \int_0^1 (t^2 + 2t^4)\,\text{d}t = \frac{1}{3} + \frac{2}{5} = \frac{11}{15}

Integral in Differential Form

Evaluate ∫C(y dx−z dy+x dz)\int_C (y\,\text{d}x - z\,\text{d}y + x\,\text{d}z), where CC is x=t2x = t^2, y=e−ty = e^{-t}, z=etz = e^{t}, 0≤t≤10 \le t \le 1.

Solution Reveal Hide

Differentials:

dx=2t dt,dy=−e−t dt,dz=et dt\text{d}x = 2t\,\text{d}t, \quad \text{d}y = -e^{-t}\,\text{d}t, \quad \text{d}z = e^{t}\,\text{d}t

Each term in terms of tt:

y dx=2te−t dt,−z dy=ete−t dt=dt,x dz=t2et dty\,\text{d}x = 2t e^{-t}\,\text{d}t, \quad -z\,\text{d}y = e^{t} e^{-t}\,\text{d}t = \text{d}t, \quad x\,\text{d}z = t^2 e^{t}\,\text{d}t

Integral:

∫C(y dx−z dy+x dz)=∫01(2te−t+1+t2et)dt\int_C (y\,\text{d}x - z\,\text{d}y + x\,\text{d}z) = \int_0^1 \left(2t e^{-t} + 1 + t^2 e^{t}\right)\text{d}t

Integrating by parts for the 1st and 3rd terms:

∫012te−t dt=[−2(t+1)e−t]01=2−4e,∫01t2et dt=[(t2−2t+2)et]01=e−2\int_0^1 2t e^{-t}\,\text{d}t = \left[-2(t + 1)e^{-t}\right]_0^1 = 2 - \frac{4}{e}, \quad \int_0^1 t^2 e^{t}\,\text{d}t = \left[(t^2 - 2t + 2)e^{t}\right]_0^1 = e - 2

Sum:

∫C(y dx−z dy+x dz)=(2−4e)+1+(e−2)=1+e−4e\int_C (y\,\text{d}x - z\,\text{d}y + x\,\text{d}z) = \left(2 - \frac{4}{e}\right) + 1 + (e - 2) = 1 + e - \frac{4}{e}

Work Along a Circle

Find the work done by F=−y i+x j\boldsymbol{F} = -y\,\boldsymbol{i} + x\,\boldsymbol{j} on a particle moving once counterclockwise around the unit circle r(t)=cos⁡t i+sin⁡t j\boldsymbol{r}(t) = \cos t\,\boldsymbol{i} + \sin t\,\boldsymbol{j}, 0≤t≤2π0 \le t \le 2\pi.

Solution Reveal Hide
F(r(t))=−sin⁡t i+cos⁡t j,r′(t)=−sin⁡t i+cos⁡t j\boldsymbol{F}(\boldsymbol{r}(t)) = -\sin t\,\boldsymbol{i} + \cos t\,\boldsymbol{j}, \quad \boldsymbol{r}'(t) = -\sin t\,\boldsymbol{i} + \cos t\,\boldsymbol{j}W=∫02π(sin⁡2t+cos⁡2t) dt=∫02π1 dt=2πW = \int_0^{2\pi} (\sin^2 t + \cos^2 t)\,\text{d}t = \int_0^{2\pi} 1\,\text{d}t = 2\pi

Path-Independent Integral

Evaluate ∫CF⋅dr\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} for F=yz i+xz j+xy k\boldsymbol{F} = yz\,\boldsymbol{i} + xz\,\boldsymbol{j} + xy\,\boldsymbol{k}, where CC is any piecewise smooth curve from (1,1,1)(1,1,1) to (2,3,4)(2,3,4).

Solution Reveal Hide

Potential function:

ϕ=xyz,∇ϕ=yz i+xz j+xy k=F\phi = xyz, \quad \nabla \phi = yz\,\boldsymbol{i} + xz\,\boldsymbol{j} + xy\,\boldsymbol{k} = \boldsymbol{F}

Integral:

∫CF⋅dr=ϕ(2,3,4)−ϕ(1,1,1)=24−1=23\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} = \phi(2,3,4) - \phi(1,1,1) = 24 - 1 = 23
Written by November 11, 2026 4 min read
Was this helpful?