Electricity-And-Magnetism · Unit 1 · Video 4 · Interactive Practice

Closed Line Integrals: Work Around a Loop

IKey Formulas

FormulaNameWhen it applies
W=∮CF⋅dsW = \oint_{C} \mathbf{F} \cdot d\mathbf{s}Work around a closed pathZero for conservative forces (gravity, electrostatic); can be non-zero otherwise
F⋅ds=Fr dr+Fθ r dθ\mathbf{F} \cdot d\mathbf{s} = F_r\,dr + F_\theta\, r\,d\thetaDot product in polar coordinatesOn a centred circle dr=0dr = 0, so only Fθ r0 dθF_\theta\, r_0\, d\theta survives
∮C2F⋅ds=∫02πkr0 r0 dθ=2πk\displaystyle\oint_{C_2} \mathbf{F} \cdot d\mathbf{s} = \int_0^{2\pi} \frac{k}{r_0}\, r_0\, d\theta = 2\pi kWhirlpool force F=+kru^θ\mathbf{F} = +\frac{k}{r}\hat{\mathbf{u}}_\thetaCounterclockwise trip around any centred circle
∮F⋅ds=Fθ⋅2πr0\oint \mathbf{F} \cdot d\mathbf{s} = F_\theta \cdot 2\pi r_0Azimuthal, axially symmetric fieldForce times distance; for a wire, ∮B⋅ds=2πrBθ\oint \mathbf{B} \cdot d\mathbf{s} = 2\pi r B_\theta

Key Insight: When Fθ∝1/rF_\theta \propto 1/r — the whirlpool force, or the field BθB_\theta of a long straight wire — the circumference 2πr2\pi r cancels the 1/r1/r, so every circle centred on the axis gives the same closed integral.

IIVisualization 1 — Adding Up F⋅ds\mathbf{F} \cdot d\mathbf{s} 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πr0W = F_\theta \cdot 2\pi r_0, and only a 1/r1/r force makes the radius drop out.

💡 The magnetic field of a long straight wire also falls off as 1/r1/r, so ∮B⋅ds=2πrBθ\oint \mathbf{B} \cdot d\mathbf{s} = 2\pi r B_\theta 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θF_\theta and θ\theta use the same one.

VQuiz Questions

Problem 1 · Work of the Whirlpool Force

Given: the azimuthal force F=+kr u^θ\mathbf{F} = +\frac{k}{r}\,\hat{\mathbf{u}}_\theta with k=3.0 N⋅mk = 3.0\ \text{N}\cdot\text{m} (counterclockwise positive). A body is carried once counterclockwise around a circle of radius r0=0.50 mr_0 = 0.50\ \text{m} centred on the origin. Find the work W=∮F⋅dsW = \oint \mathbf{F} \cdot d\mathbf{s}.

✅ Correct! W=2πk=6.0π J≈18.8 JW = 2\pi k = 6.0\pi\ \text{J} \approx 18.8\ \text{J} — 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θ r0 dθF_\theta\, r_0\, d\theta is positive.
❌ Close, but… 2πkr02\pi k r_0 keeps an extra factor of r0r_0. The force on the circle is k/r0k/r_0, and its 1/r01/r_0 cancels the r0r_0 of the arc length r0 dθr_0\, d\theta.
❌ Close, but… 2πk/r02\pi k/r_0 uses the force k/r0k/r_0 but forgets that each arc element has length r0 dθr_0\,d\theta, not dθd\theta.
❌ Not quite. On the circle, F⋅ds=Fθ r0 dθ\mathbf{F} \cdot d\mathbf{s} = F_\theta\, r_0\, d\theta; integrate θ\theta from 00 to 2π2\pi.
Show solution

On a centred circle dr=0dr = 0 and Fr=0F_r = 0, so F⋅ds=Fθ r0 dθ\mathbf{F} \cdot d\mathbf{s} = F_\theta\, r_0\, d\theta with Fθ=+k/r0F_\theta = +k/r_0:

W=∫02πkr0 r0 dθ=k∫02πdθ=2πkW = \int_0^{2\pi} \frac{k}{r_0}\, r_0\, d\theta = k \int_0^{2\pi} d\theta = 2\pi k W=2π (3.0 N⋅m)=6.0π J≈18.8 JW = 2\pi\,(3.0\ \text{N}\cdot\text{m}) = 6.0\pi\ \text{J} \approx 18.8\ \text{J}

Positive, because the body moves along the force at every point. The value r0=0.50 mr_0 = 0.50\ \text{m} is not needed: every centred circle gives 2πk2\pi k.

Problem 2 · Reversing the Trip

Given: the same force F=+kr u^θ\mathbf{F} = +\frac{k}{r}\,\hat{\mathbf{u}}_\theta (counterclockwise positive), but now the body is carried once around a centred circle of radius r0r_0 clockwise. 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+2\pi k survives a change of convention, which flips the signs of both FθF_\theta and the limits. Reversing the trip is a physical change: only the limits flip, θ\theta runs from 00 to −2π-2\pi.
❌ 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 r0r_0 of the arc length r0 dθr_0\, d\theta cancels the 1/r01/r_0 in the force.
❌ Not quite. Keep the counterclockwise convention and change only the limits.
Show solution

With counterclockwise positive, Fθ=+k/r0F_\theta = +k/r_0 still, and a clockwise trip takes θ\theta from 00 to −2π-2\pi:

W=∫0−2πkr0 r0 dθ=k (−2π−0)=−2πkW = \int_0^{-2\pi} \frac{k}{r_0}\, r_0\, d\theta = k\,(-2\pi - 0) = -2\pi k

The force points counterclockwise while every dsd\mathbf{s} points clockwise, so each element F⋅ds\mathbf{F} \cdot d\mathbf{s} is negative. Choosing clockwise as positive instead would make Fθ=−k/rF_\theta = -k/r and the limits 0→+2π0 \to +2\pi, giving the same −2πk-2\pi k.

Problem 3 · Constant Tangential Force, Several Laps

Given: a bead on a circular track of radius r0=0.40 mr_0 = 0.40\ \text{m} is pushed by a force that always points along the track in the direction of motion, with constant size Fθ=2.0 NF_\theta = 2.0\ \text{N}. The bead goes around the track 3 times. Find the total work done by this force.

✅ Correct! Force times distance: 2.0 N×3×2π(0.40 m)=4.8π J≈15.1 J2.0\ \text{N} \times 3 \times 2\pi(0.40\ \text{m}) = 4.8\pi\ \text{J} \approx 15.1\ \text{J}.
❌ Close, but… 5.03 J5.03\ \text{J} is one lap. Each lap adds another Fθ⋅2πr0F_\theta \cdot 2\pi r_0 — the force never turns against the motion.
❌ Not quite. The distance per lap is the circumference 2πr02\pi r_0, not the radius r0r_0.
❌ Not quite. πr02\pi r_0^2 is the area enclosed, not the distance travelled; the line integral needs the circumference 2πr02\pi r_0.
❌ Not quite. Use W=Fθ⋅2πr0W = F_\theta \cdot 2\pi r_0 per lap.
Show solution

The force is azimuthal (Fr=0F_r = 0) and has the same size at every point, so one lap gives

W1=∮F⋅ds=Fθ r0∫02πdθ=Fθ⋅2πr0=(2.0)(2π)(0.40)=1.6π J≈5.03 JW_1 = \oint \mathbf{F} \cdot d\mathbf{s} = F_\theta\, r_0 \int_0^{2\pi} d\theta = F_\theta \cdot 2\pi r_0 = (2.0)(2\pi)(0.40) = 1.6\pi\ \text{J} \approx 5.03\ \text{J}

Three laps take θ\theta from 00 to 6π6\pi:

W=Fθ r0∫06πdθ=3W1=4.8π J≈15.1 JW = F_\theta\, r_0 \int_0^{6\pi} d\theta = 3 W_1 = 4.8\pi\ \text{J} \approx 15.1\ \text{J}

Problem 4 · Magnetic Field Around a Wire

Given: the magnetic field of a long straight wire is azimuthal with Bθ∝1/rB_\theta \propto 1/r. At r=0.10 mr = 0.10\ \text{m} from the wire it has size Bθ=2.0×10−5 TB_\theta = 2.0 \times 10^{-5}\ \text{T}. Find ∮B⋅ds\oint \mathbf{B} \cdot d\mathbf{s} around a circle of radius 0.30 m0.30\ \text{m} centred on the wire, taken in the direction of B\mathbf{B}.

✅ Correct! Because Bθ∝1/rB_\theta \propto 1/r, 2πrBθ2\pi r B_\theta is the same on every circle around the wire.
❌ Close, but… This uses the larger circle with the field measured at 0.10 m0.10\ \text{m}. At 0.30 m0.30\ \text{m} the field is three times weaker.
❌ Close, but check the units. B\mathbf{B} is not a force, so ∮B⋅ds\oint \mathbf{B} \cdot d\mathbf{s} is not work: its units are tesla-metres.
❌ Close, but… This uses the weakened field at 0.30 m0.30\ \text{m} with the circumference of the smaller circle.
❌ Not quite. Use ∮B⋅ds=2πrBθ\oint \mathbf{B} \cdot d\mathbf{s} = 2\pi r B_\theta with BθB_\theta evaluated on the same circle.
Show solution

On the larger circle the field is weaker by the factor 0.10/0.300.10/0.30:

Bθ(0.30 m)=2.0×10−5 T×0.100.30≈6.67×10−6 TB_\theta(0.30\ \text{m}) = 2.0 \times 10^{-5}\ \text{T} \times \frac{0.10}{0.30} \approx 6.67 \times 10^{-6}\ \text{T}

B\mathbf{B} and dsd\mathbf{s} both point along the circle and BθB_\theta is the same all the way round, so

∮B⋅ds=2πrBθ=2π (0.30 m) (6.67×10−6 T)≈1.26×10−5 T⋅m\oint \mathbf{B} \cdot d\mathbf{s} = 2\pi r B_\theta = 2\pi\,(0.30\ \text{m})\,(6.67 \times 10^{-6}\ \text{T}) \approx 1.26 \times 10^{-5}\ \text{T}\cdot\text{m}

The same value comes from the 0.10 m0.10\ \text{m} circle: 2π(0.10)(2.0×10−5)=4.0π×10−6≈1.26×10−5 T⋅m2\pi(0.10)(2.0 \times 10^{-5}) = 4.0\pi \times 10^{-6} \approx 1.26 \times 10^{-5}\ \text{T}\cdot\text{m}. Ampère's law will relate this number to the current in the wire.

Solved: 0 / 4