Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random  

[parent] Recovering Potential from Electric Fields

(Example)

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

|----------------∫------------|
|                  x          |
V (x) = V (x0) −    Ex (s)ds. |
------------------x0----------
(1)

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

               ∫ x
V (x ) − V0 = −    E0 ds
                0
          =  − E0x,
(2)

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

         (|
         { 0,   x <  0,
Ex (x) =   E0,  0 <  x < d,
         |( 0,   x >  d.
(3)

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:

|-----------------------------|
|       (|                     |
|       { 0,       x ≤ 0,     |
V (x) =   − E0x,   0 ≤ x ≤ d, |
|       |( − E d,   x ≥ d.     |
-------------0-----------------
(4)

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.

PIC

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:

          ∫
            x
V(x ) = −    αs ds
           0[   ]x   |------|
            s2      |  αx2-|
     = − α   2   =  |−  2  .
                0   --------
(5)

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:

                    λ  ∫ s ds′
V (s) − V (s0) = − -----    --′
                  2π 𝜖0 s0 s
                    λ      ′s
              = − 2π-𝜖-[ln s ]s0 .
                      0
(6)

Therefore

|------------------------|
|           λ     ( s )  |
|V (s) = −-----ln   --  .|
----------2-π𝜖0-----s0---
(7)

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:

|------------------------|
|       {                |
V (r) =   keQ ∕a,  r < a,|
|         keQ ∕r,  r ≥ a.|
--------------------------
(8)

The surface charge causes a jump in the normal derivative, not in the potential itself. The result is consistent with an equipotential conductor.

PIC

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.


"Recovering Potential from Electric Fields" is owned by bloftin.
(view preamble)
View style:
Other names:  ES04E5
Also defines:  potential reference, electrostatic potential continuity
Keywords:  integrating electric field, reference potential, piecewise field, continuity of voltage, charged wire

This object's parent.

Cross-references: vector field, gradient, graph, spherical shell, equipotential conductor, electrostatic field, charge, net charge, boundary, dimension, Normal, voltage, Electric Fields
There is 1 reference to this object.

This is version 1 of Recovering Potential from Electric Fields, born on 2026-11-28.
Object id is 1629, canonical name is RecoveringPotentialFromElectricFields.
Accessed 3 times total.

Classification:
Physics Classification: 41.20.Cv (Electrostatics; Poisson and Laplace equations, boundary-value)
 41.20.-q (Applied classical electromagnetism)
 01.40.Fk (Physics education research )

Pending Errata and Addenda

None.

Discussion

No messages.

Interact