Scalar and Vector Line Integrals

Distinguish accumulation along a wire from work along an oriented path.

Builds on Density, Centers of Mass and Moments of Inertia

The bigger question: How do local changes inside a field relate to its boundary?

On this page

Two different questions

A wire with density δ\delta has mass ∫Cδ ds\int_C\delta\,ds. A force field F\mathbf F does work ∫CF⋅dr\int_C\mathbf F\cdot d\mathbf r. Both use a curve, but reversing its direction changes work and leaves mass unchanged. Keep the parameter interval with the parametrization.

Visual guide

VISUAL GUIDEWork follows the tangent component
The field F = (−y, x) points counterclockwise around the unit circle. The tangent direction matches it everywhere, producing positive circulation 2π. Reversing the traversal reverses work but not the circle’s length.-1.8-1.8-0.9-0.9000.90.91.81.8xy
  • Unit circle
The field F = (−y, x) points counterclockwise around the unit circle. The tangent direction matches it everywhere, producing positive circulation 2π. Reversing the traversal reverses work but not the circle’s length.

Set up the integral

For a piecewise smooth curve r(t)\mathbf r(t), a≤t≤ba\le t\le b,

∫Cf ds=∫abf(r(t))∥r′(t)∥ dt.\int_C f\,ds=\int_a^b f(\mathbf r(t))\|\mathbf r'(t)\|\,dt. ∫CF⋅dr=∫abF(r(t))⋅r′(t) dt.\int_C\mathbf F\cdot d\mathbf r=\int_a^b\mathbf F(\mathbf r(t))\cdot\mathbf r'(t)\,dt.

The first uses speed, a nonnegative scalar. The second retains the direction of the tangent. Split a path with corners into smooth pieces and add their contributions.

Worked example: wire mass

On r(t)=(t,t)\mathbf r(t)=(t,t), 0≤t≤10\le t\le1, let δ=x+y\delta=x+y. Then ds=2 dtds=\sqrt2\,dt and δ=2t\delta=2t. The mass is ∫012t2 dt=2\int_0^1 2t\sqrt2\,dt=\sqrt2. Substituting the density without the speed factor would give the wrong mass.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Reversing a path’s direction changes which integral’s sign?

Hint 1 · Find a starting point

dr is oriented; ds is a nonnegative length element.

Hint 2 · Take the next step

Reverse the path’s tangent vector.

Show the reasoning

Answer: The work integral ∫ F·dr

Work changes sign under reversal, while a scalar integral with ds is unchanged.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: circulation

Take F=(−y,x)\mathbf F=(-y,x) on the unit circle r(t)=(cos⁡t,sin⁡t)\mathbf r(t)=(\cos t,\sin t), 0≤t≤2π0\le t\le2\pi. The dot product with r′=(−sin⁡t,cos⁡t)\mathbf r'=(-\sin t,\cos t) is 11. Counterclockwise work is 2π2\pi; clockwise work is −2π-2\pi. The field always points along the counterclockwise tangent.

Choosing a path

Write down start, end and orientation before computing. A different parametrization of the same oriented curve gives the same integral. A different geometric path can give different work. Path independence requires additional properties of the field, studied next.

Practice

  1. Find the length of the line segment from (0,0)(0,0) to (3,4)(3,4) using an integral.
  2. Find the work of (2,0)(2,0) along that segment.
  3. Reverse the segment. Which answer changes?
Show worked solutions
  1. Use r(t)=(3t,4t)\mathbf r(t)=(3t,4t) on [0,1][0,1]. Its speed is 55, so the length is 55.
  2. The dot product is 66, so the work is 66.
  3. The length remains 55; the work becomes −6-6. Scalar arc length has no preferred direction.

Further study

MIT OpenCourseWare: Multivariable Calculus provides a full university course with additional lectures and exercises.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →