Courses / Physics I
Differential Equations and Vector Calculus

Line Integrals

A line integral accumulates a field along a curve C. A scalar line integral integrates a scalar field f along C: A vector line integral integrates a vec…

Physics I 182 words Free to read

Scalar vs Vector Line Integrals

A line integral accumulates a field along a curve CC.

A scalar line integral integrates a scalar field ff along CC:

Cfds=abf(r(t))r(t)dt\int_C f\,ds = \int_a^b f(\vec{r}(t))\,\|\vec{r}'(t)\|\,dt

A vector line integral integrates a vector field F\vec{F} along CC, computing the work done:

CFdr=abF(r(t))r(t)dt\int_C \vec{F}\cdot d\vec{r} = \int_a^b \vec{F}(\vec{r}(t))\cdot\vec{r}'(t)\,dt

TypeIntegrandMeasureUse Case
Scalarf(r)f(\vec{r})ds=r(t)dtds = \|\vec{r}'(t)\| dtMass, arc length
VectorF(r)\vec{F}(\vec{r})dr=r(t)dtd\vec{r} = \vec{r}'(t) dtWork, flow

Conservative Fields & Path Independence

A field F\vec{F} is conservative if F=ϕ\vec{F} = \nabla\phi for some potential ϕ\phi. Then the integral depends only on endpoints:

CFdr=ϕ(rB)ϕ(rA)\int_C \vec{F}\cdot d\vec{r} = \phi(\vec{r}_B) - \phi(\vec{r}_A)

Test for conservativeness in R3\mathbb{R}^{3}: verify ×F=0\nabla\times\vec{F} = \vec{0}.

Example: Gravity work moving from h1h_1 to h2h_2:

W=mg(h2h1)W = -mg(h_2-h_1)

This is path-independent because gravity is conservative with ϕ=mgh\phi = mgh.

Common pitfall: Path-independence requires a conservative field. Always verify ×F=0\nabla\times\vec{F}=\vec{0} on a simply connected domain before using endpoints.
Placeholder: Line Integrals

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

14practice questions
2interactive scenes

Differential Equations and Vector Calculus