Electricity-And-Magnetism ยท Unit 1 ยท Video 3 ยท Interactive Practice

Line Integrals: Work as the Integral of F ยท ds

IKey Formulas

FormulaNameWhen to use it
dW=Fโƒ—โ‹…dsโƒ—=โˆฃFโƒ—โˆฃโ€‰โˆฃdsโƒ—โˆฃcosโกฮธ=Fโˆฅโ€‰โˆฃdsโƒ—โˆฃdW = \vec F \cdot d\vec s = |\vec F|\,|d\vec s|\cos\theta = F_\parallel\,|d\vec s|Work elementOne small step
Fโƒ—โ‹…dsโƒ—=Fxโ€‰dx+Fyโ€‰dy+Fzโ€‰dz=Frโ€‰dr+Fฮธโ€‰rโ€‰dฮธ\vec F \cdot d\vec s = F_x\,dx + F_y\,dy + F_z\,dz = F_r\,dr + F_\theta\,r\,d\thetaComponent formsCartesian or plane polar coordinates
U(B)โˆ’U(A)=โˆ’โˆซABFโƒ—โ‹…dsโƒ—U(B) - U(A) = -\displaystyle\int_A^B \vec F \cdot d\vec sPotential energy (joules)Conservative force, any path from AA to BB
Fr=+kr2,ย U(โˆž)=0โ€…โ€Šโ‡’โ€…โ€ŠU(r)=+krF_r = +\dfrac{k}{r^2},\ U(\infty) = 0 \;\Rightarrow\; U(r) = +\dfrac{k}{r}Repulsive inverse-square forceCentral force, reference at infinity

Key Insight: Inside the integral FrF_r keeps its own sign; the limits (start below, end above) carry the direction of motion. The same law with Eโƒ—\vec E and VV reads V(B)โˆ’V(A)=โˆ’โˆซABErโ€‰drV(B) - V(A) = -\int_A^B E_r\,dr, in volts =J/C= \text{J/C}.

IIVisualization 1 โ€” Only the Component Along the Step Does Work

A work element counts only the force along the step: โˆฃFโƒ—โˆฃโ€‰โˆฃdsโƒ—โˆฃcosโกฮธ|\vec F|\,|d\vec s|\cos\theta equals Fxโ€‰dx+Fyโ€‰dyF_x\,dx + F_y\,dy.

IIIVisualization 2 โ€” The Line Integral as a Sum of Work Elements

The line integral is the limit of the sum of Fโƒ—โ‹…ฮ”sโƒ—\vec F \cdot \Delta\vec s over ever smaller steps, here for Fโƒ—=(y,ย x)\vec F = (y,\ x).

๐Ÿ’ก This field is conservative, Fโƒ—=โˆ‡(xy)\vec F = \nabla(xy), so every path from A=(โˆ’3,1)A = (-3, 1) to B=(3,2)B = (3, 2) gives โˆซABFโƒ—โ‹…dsโƒ—=3โ‹…2โˆ’(โˆ’3)(1)=9\int_A^B \vec F \cdot d\vec s = 3 \cdot 2 - (-3)(1) = 9.

IVVisualization 3 โ€” Potential Energy of an Inverse-Square Force

With U(โˆž)=0U(\infty) = 0, U(r)U(r) equals the signed area under FrF_r from rr out to infinity.

VQuiz Questions

Problem 1 ยท Work Element in Components

Given: A force Fโƒ—=(3,ย โˆ’2,ย 1)ย N\vec F = (3,\ -2,\ 1)\ \text{N} acts on a body during the small displacement dsโƒ—=(0.4,ย 0.1,ย 0.2)ย md\vec s = (0.4,\ 0.1,\ 0.2)\ \text{m} โ€” find the work element dW=Fโƒ—โ‹…dsโƒ—dW = \vec F \cdot d\vec s.

โœ… Correct! dW=Fxโ€‰dx+Fyโ€‰dy+Fzโ€‰dz=1.2โˆ’0.2+0.2=1.2ย JdW = F_x\,dx + F_y\,dy + F_z\,dz = 1.2 - 0.2 + 0.2 = 1.2\ \text{J}.
โŒ Not quite. Those are the three work terms, but a dot product adds them into one number: work is a scalar.
โŒ Check the sign of FyF_y. Fyโ€‰dy=(โˆ’2)(0.1)=โˆ’0.2ย JF_y\,dy = (-2)(0.1) = -0.2\ \text{J}: the yy-component of the force points against the yy-leg of the step, so it does negative work.
โŒ Not quite. Multiply matching components and add: (3)(0.4)+(โˆ’2)(0.1)+(1)(0.2)(3)(0.4) + (-2)(0.1) + (1)(0.2).
Show solution

The dot product multiplies matching components and adds them:

dW=Fxโ€‰dx+Fyโ€‰dy+Fzโ€‰dz=(3)(0.4)+(โˆ’2)(0.1)+(1)(0.2)dW = F_x\,dx + F_y\,dy + F_z\,dz = (3)(0.4) + (-2)(0.1) + (1)(0.2) dW=1.2โˆ’0.2+0.2=1.2ย JdW = 1.2 - 0.2 + 0.2 = 1.2\ \text{J}

Each term is the work done by one component of the force. The yy-term is negative because FyF_y points against dydy; the total is the single number 1.2ย J1.2\ \text{J}.

Problem 2 ยท Polar Form and the Factor of rr

Given: At radius r=0.5ย mr = 0.5\ \text{m} a force has components Fr=3ย NF_r = 3\ \text{N} and Fฮธ=2ย NF_\theta = 2\ \text{N}. The body moves through dr=0.01ย mdr = 0.01\ \text{m} and dฮธ=0.04ย radd\theta = 0.04\ \text{rad} โ€” find dW=Fโƒ—โ‹…dsโƒ—dW = \vec F \cdot d\vec s.

โœ… Correct! Frโ€‰dr+Fฮธโ€‰rโ€‰dฮธ=0.03+0.04=0.07ย JF_r\,dr + F_\theta\,r\,d\theta = 0.03 + 0.04 = 0.07\ \text{J}.
โŒ Close, butโ€ฆ dฮธd\theta is an angle, not a length. The tangential leg of the step is the arc rโ€‰dฮธ=0.5ร—0.04=0.02ย mr\,d\theta = 0.5 \times 0.04 = 0.02\ \text{m}, not 0.040.04.
โŒ Not quite. Dropping the angular term is allowed only for a central force (Fฮธ=0F_\theta = 0) or purely radial motion (dฮธ=0d\theta = 0); here neither holds.
โŒ Not quite. Use Fโƒ—โ‹…dsโƒ—=Frโ€‰dr+Fฮธโ€‰rโ€‰dฮธ\vec F \cdot d\vec s = F_r\,dr + F_\theta\,r\,d\theta, with the tangential displacement rโ€‰dฮธr\,d\theta.
Show solution

Split the displacement into its radial leg drdr and its tangential leg, the arc rโ€‰dฮธr\,d\theta:

rโ€‰dฮธ=(0.5)(0.04)=0.02ย mr\,d\theta = (0.5)(0.04) = 0.02\ \text{m}

Multiply matching components and add:

dW=Frโ€‰dr+Fฮธโ€‰rโ€‰dฮธ=(3)(0.01)+(2)(0.02)=0.03+0.04=0.07ย JdW = F_r\,dr + F_\theta\,r\,d\theta = (3)(0.01) + (2)(0.02) = 0.03 + 0.04 = 0.07\ \text{J}

Problem 3 ยท Moving Inward Against a Repulsive Force

Given: A repulsive central force Fr=+kr2F_r = +\dfrac{k}{r^2} with k=6ย Jโ‹…mk = 6\ \text{J}\cdot\text{m}, Fฮธ=0F_\theta = 0. A body moves radially inward from AA at rA=3ย mr_A = 3\ \text{m} to BB at rB=1ย mr_B = 1\ \text{m} โ€” find U(B)โˆ’U(A)U(B) - U(A).

โœ… Correct! Pushing the body inward against an outward force raises its potential energy by 4ย J4\ \text{J}.
โŒ Check the sign. No extra minus sign for inward motion: the limits 3โ†’13 \to 1 already carry the direction. โˆ’โˆซ316r2โ€‰dr=+4ย J-\int_3^1 \frac{6}{r^2}\,dr = +4\ \text{J}.
โŒ Not quite. 612โˆ’632\tfrac{6}{1^2} - \tfrac{6}{3^2} subtracts forces. Integrate first: the antiderivative of krโˆ’2k r^{-2} is โˆ’krโˆ’1-k r^{-1}.
โŒ Not quite. Evaluating [โˆ’k/r][-k/r] between limits subtracts the lower-limit value: 61โˆ’63\tfrac{6}{1} - \tfrac{6}{3}, not 61+63\tfrac{6}{1} + \tfrac{6}{3}.
โŒ Not quite. Start in the lower limit, end in the upper limit: U(B)โˆ’U(A)=โˆ’โˆซ316r2โ€‰drU(B) - U(A) = -\int_{3}^{1} \frac{6}{r^2}\,dr.
Show solution

The force is central and the motion is radial, so Fโƒ—โ‹…dsโƒ—=Frโ€‰dr\vec F \cdot d\vec s = F_r\,dr. The start rA=3r_A = 3 goes in the lower limit, the end rB=1r_B = 1 in the upper limit, and FrF_r keeps its own sign:

U(B)โˆ’U(A)=โˆ’โˆซ31(+6r2)dr=โˆ’[โˆ’6r]31U(B) - U(A) = -\int_{3}^{1} \left(+\frac{6}{r^2}\right) dr = -\left[-\frac{6}{r}\right]_{3}^{1} =โˆ’(โˆ’61+63)=โˆ’(โˆ’6+2)=4ย J= -\left(-\frac{6}{1} + \frac{6}{3}\right) = -(-6 + 2) = 4\ \text{J}

Check: U(r)=k/rU(r) = k/r gives U(1)โˆ’U(3)=6โˆ’2=4ย JU(1) - U(3) = 6 - 2 = 4\ \text{J}, positive, as it must be for pushing against a repulsive force.

Problem 4 ยท From Field to Potential (Transfer)

Given: A radial electric field Er=18ย Vโ‹…mr2E_r = \dfrac{18\ \text{V}\cdot\text{m}}{r^2}, Eฮธ=0E_\theta = 0, with V(โˆž)=0V(\infty) = 0 โ€” find the potential VV at r=0.3ย mr = 0.3\ \text{m}, and the potential energy UU of a charge q=2ย ฮผCq = 2\ \mu\text{C} placed there.

What is V(0.3ย m)V(0.3\ \text{m})?

What is the potential energy UU of the 2ย ฮผC2\ \mu\text{C} charge there?

โœ… Correct! V=18/0.3=60ย VV = 18/0.3 = 60\ \text{V}, and U=qV=(2ร—10โˆ’6)(60)=1.2ร—10โˆ’4ย JU = qV = (2 \times 10^{-6})(60) = 1.2 \times 10^{-4}\ \text{J}.
โŒ Not quite. 18/0.32=200ย V/m18/0.3^2 = 200\ \text{V/m} is the field ErE_r itself. The potential needs the integral, which turns 1/r21/r^2 into 1/r1/r.
โŒ Check the sign. โˆ’โˆซโˆž0.318r2โ€‰dr=โˆ’[โˆ’18r]โˆž0.3=+180.3-\int_\infty^{0.3} \frac{18}{r^2}\,dr = -\left[-\frac{18}{r}\right]_\infty^{0.3} = +\frac{18}{0.3}: an outward field gives a positive potential, exactly like U=+k/rU = +k/r.
โŒ Check your potential. Use V(r)โˆ’V(โˆž)=โˆ’โˆซโˆžrErโ€‰drV(r) - V(\infty) = -\int_\infty^{r} E_r\,dr with Er=18/r2E_r = 18/r^2.
โŒ Check your potential energy. VV is potential energy per unit charge, so U=qVU = qV with q=2ร—10โˆ’6ย Cq = 2 \times 10^{-6}\ \text{C} and your VV.
Show solution

Step 1: Potential. The field is radial, so Eโƒ—โ‹…dsโƒ—=Erโ€‰dr\vec E \cdot d\vec s = E_r\,dr. Start at infinity (lower limit), end at rr (upper limit):

V(r)โˆ’V(โˆž)=โˆ’โˆซโˆžr18rโ€ฒ2โ€‰drโ€ฒ=โˆ’[โˆ’18rโ€ฒ]โˆžr=+18rV(r) - V(\infty) = -\int_\infty^{r} \frac{18}{r'^2}\,dr' = -\left[-\frac{18}{r'}\right]_\infty^{r} = +\frac{18}{r} V(0.3ย m)=18ย Vโ‹…m0.3ย m=60ย VV(0.3\ \text{m}) = \frac{18\ \text{V}\cdot\text{m}}{0.3\ \text{m}} = 60\ \text{V}

Step 2: Potential energy. VV is energy per unit charge (1ย V=1ย J/C1\ \text{V} = 1\ \text{J/C}), so

U=qV=(2ร—10โˆ’6ย C)(60ย J/C)=1.2ร—10โˆ’4ย JU = qV = (2 \times 10^{-6}\ \text{C})(60\ \text{J/C}) = 1.2 \times 10^{-4}\ \text{J}

Solved: 0 / 4