TheoremComplete

The Fundamental Theorem of Line Integrals

The fundamental theorem of line integrals extends the fundamental theorem of calculus to line integrals of gradient fields, establishing path independence for conservative vector fields.


The Theorem

Theorem10.4Fundamental Theorem of Line Integrals

Let f:DRf : D \to \mathbb{R} be a C1C^1 function on an open set DRnD \subseteq \mathbb{R}^n, and let CC be a piecewise smooth curve in DD from point a\mathbf{a} to point b\mathbf{b}. Then Cfdr=f(b)f(a)\int_C \nabla f \cdot d\mathbf{r} = f(\mathbf{b}) - f(\mathbf{a}) In particular, the integral depends only on the endpoints and is independent of the path CC.

Proof: If r(t)\mathbf{r}(t), atba \leq t \leq b, parametrizes CC, then by the chain rule: Cfdr=abf(r(t))r(t)dt=abddt[f(r(t))]dt=f(r(b))f(r(a))\int_C \nabla f \cdot d\mathbf{r} = \int_a^b \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\,dt = \int_a^b \frac{d}{dt}[f(\mathbf{r}(t))]\,dt = f(\mathbf{r}(b)) - f(\mathbf{r}(a))


Applications

ExampleWork in a gravitational field

The gravitational potential near Earth's surface is f(x,y,z)=mgzf(x,y,z) = -mgz. The work done by gravity F=mgk^=f\mathbf{F} = -mg\,\hat{\mathbf{k}} = \nabla f along any path from height z1z_1 to height z2z_2 is W=f(z2)f(z1)=mg(z2z1)=mg(z1z2)W = f(z_2) - f(z_1) = -mg(z_2 - z_1) = mg(z_1 - z_2) This is independent of the horizontal motion — only the height difference matters.

ExampleElectrostatic potential energy

The electrostatic potential of a point charge qq at the origin is V(r)=q4πϵ0rV(r) = \frac{q}{4\pi\epsilon_0 r}. The electric field E=V\mathbf{E} = -\nabla V. The work done by E\mathbf{E} moving a test charge from distance r1r_1 to r2r_2 is W=V(r1)V(r2)=q4πϵ0(1r11r2)W = V(r_1) - V(r_2) = \frac{q}{4\pi\epsilon_0}\left(\frac{1}{r_1} - \frac{1}{r_2}\right)


Exact Differentials

Theorem10.5Criterion for Exactness

The differential expression Pdx+QdyP\,dx + Q\,dy is exact on a simply connected domain DD (i.e., equals dfdf for some ff) if and only if Py=Qx\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} throughout DD.

RemarkConnection to differential forms

In the language of differential forms, the fundamental theorem of line integrals states Cdf=f(b)f(a)\int_C df = f(\mathbf{b}) - f(\mathbf{a}), which is the generalized Stokes' theorem applied to 00-forms. The exactness condition Py=Qx\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} says the 11-form ω=Pdx+Qdy\omega = P\,dx + Q\,dy is closed (dω=0d\omega = 0), and on simply connected domains, closed forms are exact.