Line Integral

Work in progress. This note is still being written and incomplete.

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.

For r(t)=x(t)i^+y(t)j^+z(t)k^\boldsymbol{r}(t) = x(t)\hat{i} + y(t)\hat{j} + z(t)\hat{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)\hat{i} + y(t)\hat{j} + z(t)\hat{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\hat{i} + Q\hat{j} + R\hat{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

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} = \nabla \phi on a region containing CC,

∫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))

Worked Examples

Line Integral with Respect to Arc Length

Evaluate ∫Cxy ds\int_C xy\,\text{d}s, where CC is the quarter circle r(t)=cos⁡t i^+sin⁡t j^\boldsymbol{r}(t) = \cos t\,\hat{i} + \sin t\,\hat{j}, 0≤t≤π20 \le t \le \dfrac{\pi}{2}.

Speed:

r′(t)=−sin⁡t i^+cos⁡t j^,∥r′(t)∥=sin⁡2t+cos⁡2t=1\boldsymbol{r}'(t) = -\sin t\,\hat{i} + \cos t\,\hat{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 ∫CF⋅dr\int_C \boldsymbol{F} \cdot \text{d}\boldsymbol{r} for F=x2 i^+xy j^\boldsymbol{F} = x^2\,\hat{i} + xy\,\hat{j}, where CC is r(t)=t i^+t2 j^\boldsymbol{r}(t) = t\,\hat{i} + t^2\,\hat{j}, 0≤t≤10 \le t \le 1.

Field along the curve:

F(r(t))=t2 i^+t3 j^,r′(t)=i^+2t j^\boldsymbol{F}(\boldsymbol{r}(t)) = t^2\,\hat{i} + t^3\,\hat{j}, \quad \boldsymbol{r}'(t) = \hat{i} + 2t\,\hat{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}

Work Along a Circle

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

F(r(t))=−sin⁡t i^+cos⁡t j^,r′(t)=−sin⁡t i^+cos⁡t j^\boldsymbol{F}(\boldsymbol{r}(t)) = -\sin t\,\hat{i} + \cos t\,\hat{j}, \quad \boldsymbol{r}'(t) = -\sin t\,\hat{i} + \cos t\,\hat{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\,\hat{i} + xz\,\hat{j} + xy\,\hat{k}, where CC is any piecewise smooth curve from (1,1,1)(1,1,1) to (2,3,4)(2,3,4).

Potential function:

ϕ=xyz,∇ϕ=yz i^+xz j^+xy k^=F\phi = xyz, \quad \nabla \phi = yz\,\hat{i} + xz\,\hat{j} + xy\,\hat{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 October 10, 2026 2 min read
Was this helpful?