ES04E2: Electric Work Along Straight and Curved Paths
Learning goal. Evaluate ΔV = −∫
ABE ⋅ dl along parameterized paths and distinguish
conservativeness from mere simplicity of the path. A line integral is the integral of a local dot
product, so the angle between the electric field and the path tangent matters at each
position.
1 Geometry of an electrostatic line integral
For a path parameter t running from t0 to t1, write r(t) and dl = r′(t)dt. Then
units provide a check: (V∕m) ⋅ m = V. Reversing the path reverses the integral. If the electrostatic
field is conservative, changing the route without changing endpoints does not change
ΔV .
Figure 1. Two different routes connect identical endpoints. The potential difference is
path-independent, but the local dot products and intermediate integrals need not be equal.
2 Worked example 1: two routes through a uniform field
Let E = E0x with E0 > 0. Move from A = (0, 0) to B = (L,H). Along the straight route,
parameterize r(t) = tLx + tHy for 0 ≤ t ≤ 1. Then dl = (Lx + Hy)dt, giving
Along the broken route A → C = (L, 0) → B, the first segment gives −E0L and the second,
vertical segment gives zero because E ⊥ dl. Hence the sum is again −E0L, independent of
H.
3 Worked example 2: radial motion in a point-charge field
For source Q fixed at the origin, the radial field is E = keQr∕r2. Travel radially from r
A to
rB:
If Q > 0 and rB > rA, ΔV < 0. Now consider a circular arc of radius rA. Its tangent is
perpendicular to r, so the field does zero work along that arc. Connecting such arcs with radial
segments reproduces the same endpoints-only result.
4 Worked example 3: a varying, conservative two-dimensional field
Suppose the electrostatic field is
where β has units of V∕m3. Check ∂E
y∕∂x = −2βx = ∂Ex∕∂y; the two-dimensional curl vanishes.
Recover a potential from Ex = −∂V∕∂x:
Differentiate with respect to y: ∂V∕∂y = βx2 + f′(y) must equal −E
y = βx2. Therefore f′(y) = 0
and V = βx2y + C. Between A = (0, 0) and B = (L,H),
Verify directly on the two-leg path A → (L, 0) → (L,H). The horizontal leg has y = 0, so its
integral vanishes. Along the vertical leg, E ⋅ dl = Ey dy = −βL2 dy, hence ΔV = +βL2H.
5 Worked example 4: the same path with a different order
For the field in Example 3, use the route (0, 0) → (0,H) → (L,H). The first leg has x = 0, giving
zero work. Along the second leg y = H and dl = dxx, so
Both piecewise paths agree. This is a more informative test than asserting path independence,
because the nonzero contribution occurs on a different leg of each path.
6 Worked example 5: detecting a nonconservative field
Consider a mathematical vector field F(x,y) = −ωyx + ωxy with constant ω. Take the
counterclockwise square 0 ≤ x ≤ L, 0 ≤ y ≤ L. Along the bottom edge, y = 0 and F ⋅ dl = 0.
Along the right edge, x = L and the integral is ωL2. Along the top edge, y = L but x
decreases from L to 0, so the integral is another ωL2. The left edge contributes zero.
Thus
Such a field cannot be an electrostatic field in a simply connected stationary domain,
because ∇× F = 2ωz. It can illustrate a rotational vector field, or a nonconservative
electric field in the presence of changing magnetic flux, but the latter requires Faraday’s
law.
Figure 2. A nonconservative rotational field circulates around a square. The signed line integral of
this field is nonzero, unlike an electrostatic field.
7 Exercises and solutions
Exercise 1. In E = −3x2xV∕m (with x in meters), find V (2) − V (1).
Solution. ΔV = −∫
12(−3x2)dx = [x3]
12 = 7 V .
Exercise 2. In a uniform +x field E0, a charge traverses a horizontal displacement +L and
returns by a curved route. What is ∮
E ⋅ dl?
Solution. Zero. The outbound path contributes E0L and the return contributes −E0L regardless of
its shape.
Exercise 3. Take V (x,y) = κ(x2 − y2). Compute E and its curl.
Solution. E = −2κxx + 2κyy. Its two-dimensional curl component is ∂Ey∕∂x−∂Ex∕∂y = 0 − 0 = 0.
Exercise 4. Does ∮
E ⋅ dl = 0 imply E = 0 everywhere on the closed curve?
Solution. No. The positive and negative tangential contributions may cancel, and perpendicular
components perform no work. A radial Coulomb field is nonzero on circles about its source even
though every circular path integral vanishes.
References
[1] MIT 8.02.1x, Chapter 4 and Appendix C, Work and Line Integrals.
[2] E. M. Purcell and D. J. Morin, Electricity and Magnetism.