Courses / Physics I
Differential Equations and Vector Calculus

Line Integrals

Physics I 192 words Free to read

A line integral computes the accumulation of a field along a curve.

Scalar line integral — Integrate a scalar field ff along curve CC:

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

Vector line integral — Integrate a vector field F\vec{F} along CC:

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

This computes the work done by F\vec{F} along the path.

Conservative fields — A field F\vec{F} is conservative if F=ϕ\vec{F} = \nabla\phi for some potential ϕ\phi. Then:

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

The integral depends only on the endpoints, not the path.

Test for conservativeness in R3\mathbb{R}^{3}:

×F=0\nabla\times\vec{F} = \vec{0}

Example — Work done by gravity moving from height h1h_1 to h2h_2:

W=CFgdr=mg(h2h1)W = \int_C \vec{F}_g\cdot d\vec{r} = -mg(h_2-h_1)

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

Key insight: If ×F=0\nabla\times\vec{F}=\vec{0} on a simply connected domain, then F\vec{F} is conservative and you can find a potential function instead of computing the integral directly.
Common pitfall: Path-independence is a privilege of conservative fields, not a general truth. Before replacing a line integral by endpoint values, verify F=f\vec{F} = \nabla f (e.g. check the curl vanishes on a simply connected region).
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
Start Physics I free

Differential Equations and Vector Calculus