Electricity-And-Magnetism · Unit 1 · Video 4 · Interactive Practice
Closed Line Integrals: Work Around a Loop
IKey Formulas
Formula
Name
When it applies
W=∮CF⋅ds
Work around a closed path
Zero for conservative forces (gravity, electrostatic); can be non-zero otherwise
F⋅ds=Frdr+Fθrdθ
Dot product in polar coordinates
On a centred circle dr=0, so only Fθr0dθ survives
∮C2F⋅ds=∫02πr0kr0dθ=2πk
Whirlpool force F=+rku^θ
Counterclockwise trip around any centred circle
∮F⋅ds=Fθ⋅2πr0
Azimuthal, axially symmetric field
Force times distance; for a wire, ∮B⋅ds=2πrBθ
Key Insight: When Fθ∝1/r — the whirlpool force, or the field Bθ of a long straight wire — the circumference 2πr cancels the 1/r, so every circle centred on the axis gives the same closed integral.
IIVisualization 1 — Adding Up F⋅ds Around a Loop
Carried once around a closed loop, gravity's work always returns to zero; the whirlpool's need not.
IIIVisualization 2 — Why the Radius Drops Out
Around a centred circle W=Fθ⋅2πr0, and only a 1/r force makes the radius drop out.
💡 The magnetic field of a long straight wire also falls off as 1/r, so ∮B⋅ds=2πrBθ is the same on every circle around it — a quantity in tesla-metres, not joules.
IVVisualization 3 — Sign Conventions
The work cannot depend on the sign convention — provided Fθ and θ use the same one.
VQuiz Questions
Problem 1 · Work of the Whirlpool Force
Given: the azimuthal force F=+rku^θ with k=3.0N⋅m (counterclockwise positive). A body is carried once counterclockwise around a circle of radius r0=0.50m centred on the origin. Find the work W=∮F⋅ds.
✅ Correct!W=2πk=6.0πJ≈18.8J — the radius never enters.
❌ Not quite. A closed path gives zero only for a conservative force. This force points along the motion at every point, so every element Fθr0dθ is positive.
❌ Close, but…2πkr0 keeps an extra factor of r0. The force on the circle is k/r0, and its 1/r0 cancels the r0 of the arc length r0dθ.
❌ Close, but…2πk/r0 uses the force k/r0 but forgets that each arc element has length r0dθ, not dθ.
❌ Not quite. On the circle, F⋅ds=Fθr0dθ; integrate θ from 0 to 2π.
Show solution
On a centred circle dr=0 and Fr=0, so F⋅ds=Fθr0dθ with Fθ=+k/r0:
Positive, because the body moves along the force at every point. The value r0=0.50m is not needed: every centred circle gives 2πk.
Problem 2 · Reversing the Trip
Given: the same force F=+rku^θ (counterclockwise positive), but now the body is carried once around a centred circle of radius r0clockwise. Find the work done by the force.
✅ Correct! The body now moves against the force at every point, so every work element is negative.
❌ Close, but…+2πk survives a change of convention, which flips the signs of both Fθ and the limits. Reversing the trip is a physical change: only the limits flip, θ runs from 0 to −2π.
❌ Not quite. The force is non-conservative; going around the other way does not make its closed integral vanish, it reverses its sign.
❌ Close, but… The sign is right, but the r0 of the arc length r0dθ cancels the 1/r0 in the force.
❌ Not quite. Keep the counterclockwise convention and change only the limits.
Show solution
With counterclockwise positive, Fθ=+k/r0 still, and a clockwise trip takes θ from 0 to −2π:
W=∫0−2πr0kr0dθ=k(−2π−0)=−2πk
The force points counterclockwise while every ds points clockwise, so each element F⋅ds is negative. Choosing clockwise as positive instead would make Fθ=−k/r and the limits 0→+2π, giving the same −2πk.
Problem 3 · Constant Tangential Force, Several Laps
Given: a bead on a circular track of radius r0=0.40m is pushed by a force that always points along the track in the direction of motion, with constant size Fθ=2.0N. The bead goes around the track 3 times. Find the total work done by this force.
✅ Correct! Force times distance: 2.0N×3×2π(0.40m)=4.8πJ≈15.1J.
❌ Close, but…5.03J is one lap. Each lap adds another Fθ⋅2πr0 — the force never turns against the motion.
❌ Not quite. The distance per lap is the circumference 2πr0, not the radius r0.
❌ Not quite.πr02 is the area enclosed, not the distance travelled; the line integral needs the circumference 2πr0.
❌ Not quite. Use W=Fθ⋅2πr0 per lap.
Show solution
The force is azimuthal (Fr=0) and has the same size at every point, so one lap gives
Given: the magnetic field of a long straight wire is azimuthal with Bθ∝1/r. At r=0.10m from the wire it has size Bθ=2.0×10−5T. Find∮B⋅ds around a circle of radius 0.30m centred on the wire, taken in the direction of B.
✅ Correct! Because Bθ∝1/r, 2πrBθ is the same on every circle around the wire.
❌ Close, but… This uses the larger circle with the field measured at 0.10m. At 0.30m the field is three times weaker.
❌ Close, but check the units.B is not a force, so ∮B⋅ds is not work: its units are tesla-metres.
❌ Close, but… This uses the weakened field at 0.30m with the circumference of the smaller circle.
❌ Not quite. Use ∮B⋅ds=2πrBθ with Bθ evaluated on the same circle.
Show solution
On the larger circle the field is weaker by the factor 0.10/0.30:
Bθ(0.30m)=2.0×10−5T×0.300.10≈6.67×10−6T
B and ds both point along the circle and Bθ is the same all the way round, so
∮B⋅ds=2πrBθ=2π(0.30m)(6.67×10−6T)≈1.26×10−5T⋅m
The same value comes from the 0.10m circle: 2π(0.10)(2.0×10−5)=4.0π×10−6≈1.26×10−5T⋅m. Ampère's law will relate this number to the current in the wire.