ES04E5: Recovering Potential from Electric Fields
Learning goal. Integrate prescribed Electric Fields to recover potential, choose the voltage
reference, and join piecewise solutions without introducing unphysical jumps. Electrostatic
potential is continuous across ordinary finite surface-charge sheets even when the Normal
electric-field component has a finite jump.
1 Recover V from E
In one dimension, Ex(x) = −dV∕dx, so
The constant V (x0) must be fixed by a reference or boundary condition. Adding one constant to
every region leaves E unchanged. Independent constants in adjacent regions must generally be
linked by continuity of V at interfaces.
2 Worked example 1: constant electric field
Suppose Ex = +E0 between two planes at x = 0 and x = d, and choose V (0) = V 0.
Then
so V (x) = V 0 − E0x. In particular V (d) − V (0) = −E0d. A positive field along +x always
points downhill in potential. If the planes have prescribed voltages V L and V R, then
Ex = −(V R − V L)∕d.
3 Worked example 2: field confined to a finite slab
Consider the one-dimensional idealization
This resembles a pair of idealized infinite charged sheets whose fields cancel outside. Set V (0) = 0.
Integrating in the first two regions and joining continuously at x = 0 gives V = 0 for x < 0 and
V = −E0x for 0 < x < d. At x = d the value is −E0d; because the field beyond is zero, the
potential must be constant there:
The derivative jumps at the sheet boundaries, but the potential does not. Arbitrarily setting V = 0
again in the last region would introduce a spurious discontinuity.
Figure 1. A piecewise constant field and its continuous piecewise-linear potential. The potential
slope equals −Ex.
4 Worked example 3: a field that varies linearly with position
Suppose Ex(x) = αx for −a ≤ x ≤ a, where α is constant, and set V (0) = 0. Integrate from the
origin:
The field changes sign at the origin while the potential is even in x. For α > 0, V is maximal
at the center and decreases on either side. Verify by differentiating −αx2∕2 to obtain
Ex = +αx.
5 Worked example 4: radial potential in a cylindrical field
An infinitely long, uniformly charged line has Es = λ∕(2π𝜖0s) directed radially outward, where s is
cylindrical radius and λ > 0. Attempting to set V (∞) = 0 fails because ∫
∞ds∕s diverges. Instead
specify a finite reference radius s0 > 0 with V (s0) = 0:
Therefore
The argument of the logarithm is dimensionless. Differentiating gives Es = −dV∕ds = λ∕(2π𝜖0s).
6 Worked example 5: a conducting sphere with interior and exterior fields
A conducting sphere of radius a carries net charge Q, with no interior charge in the metal and no
other nearby sources. Its electrostatic field is zero inside and keQr∕r2 outside. Choose V (∞) = 0.
Integrating the exterior gives V (r) = keQ∕r for r ≥ a. Continuity at r = a gives the interior
constant V = keQ∕a:
The surface charge causes a jump in the normal derivative, not in the potential itself. The result is
consistent with an equipotential conductor.
Figure 2. Conducting spherical shell. The radial potential is constant in the interior and decreases
as 1∕r outside, while the normal electric field changes at the surface.
7 Exercises and complete solutions
Exercise 1. If Ex(x) = −βx2, β > 0, and V (0) = 0, find V (x).
Solution. V (x) = −∫
0x(−βs2)ds = βx3∕3, and differentiation gives −V ′(x) = −βx2.
Exercise 2. In Example 2, choose instead V (d) = +7 V . Find the entire piecewise potential.
Solution. Add the constant 7 + E0d to every piece of Equation (4). Thus the left region is 7 + E0d,
the middle 7 + E0(d − x), and the right 7 volts.
Exercise 3. A radial field is Er = C∕r2 for r > a and V (∞) = 0. Find the potential.
Solution. V (r) = −∫
∞rCs−2ds = C∕r, assuming the integral converges. For a Coulomb field
C = keQ.
Exercise 4. If a graph of V (x) has a horizontal tangent at x = x0, does this guarantee E = 0 there
in three dimensions?
Solution. It guarantees only Ex = −∂V∕∂x = 0 along that slice. Other components Ey and Ez
may still be nonzero. The complete gradient must vanish for the full vector field to be
zero.
References
[1] MIT 8.02.1x, Chapter 4, Potential Difference and Electric Fields.
[2] D. J. Griffiths, Introduction to Electrodynamics, electrostatic potential.