Specify the experiment before specifying the equation
An insulating region occupies a bounded volume \(\Omega\) with smooth conducting or insulating boundaries. A known free charge density \(\rho_f\) is embedded in the region. For a positive scalar linear permittivity \(\epsilon(\mathbf x)\), electrostatics reduces to
To turn this into an experiment one must decide how each boundary is prepared. A conductor attached to a source supplies a fixed voltage; an isolated conductor keeps a fixed total charge while becoming an equipotential; an insulating surface with known displacement flux prescribes a normal component. These preparations require different mathematical data. The same electrode shape can participate in any of them.
At an interface between two ordinary dielectrics the potential is continuous in the absence of a prescribed dipole sheet. Integrating Gauss's law across the interface gives
where \(\mathbf n\) points from medium 1 to 2. Thus the appropriate field problem can be posed either in a weak integral form across both materials or as two equations joined by voltage and flux conditions. The latter view is especially helpful when a measured charge appears on just one internal sheet. A jump in permittivity alone does not permit an arbitrary jump in voltage.
Prove uniqueness by testing the difference, not the solution
Suppose two solutions \(V_1,V_2\) fit identical prescribed volume sources, material data and boundary voltages. Define \(w=V_1-V_2\). It satisfies \(\nabla\cdot(\epsilon\nabla w)=0\) and vanishes at the boundary. Multiply by \(w\) and apply the product rule to \(\nabla\cdot(w\epsilon\nabla w)\). Integration yields
The boundary term is zero. The integrand on the left is nonnegative and \(\epsilon>0\), so the gradient vanishes wherever the material is regular. The function must be constant on each connected component; its fixed boundary value makes it zero. This proves that at most one field solves the stated problem. It does not itself construct a solution. It converts a difficult task of checking every possible competitor into checking the PDE and boundary data for one candidate.
The same reasoning works for a symmetric positive-definite permittivity tensor: replace \(\epsilon|\nabla w|^2\) by \((\nabla w)^T\boldsymbol\epsilon\nabla w\). It also applies with internal material interfaces. Integrate separately on either side. Their face terms cancel because \(w\) is continuous and the prescribed free sheet makes the jump in the difference flux zero. An unaccounted interface charge would supply precisely the term that invalidates this cancellation.
If only the normal flux is fixed everywhere, the boundary difference flux vanishes and the left integral again gives a constant \(w\). Constants are now indistinguishable by the boundary data; the electric field remains unique. Gauss's law also imposes compatibility \(\oint_{\partial\Omega}\mathbf D\cdot\mathbf n\,dA=\int_\Omega\rho_f\,dV\). Choosing flux values whose sum disagrees with the enclosed charge produces no solution, even after choosing a voltage reference. Numerically this can appear as a residual that never falls below a threshold, or as a solver modifying the source silently to make the equations compatible.
Prove uniqueness when only total conductor charge is known
Take a region surrounding several isolated conductors. The value on each metal is constant but initially unknown. For the difference of two candidate solutions denote these constants by \(w_i\). Then each conductor's contribution to the right-hand side of the energy identity factors as \(w_i\int_{S_i}\epsilon\partial_n w\,dA\). With outward normal from the dielectric into the metal this integral is the difference in the conductor's free charge. Prescribing total charge for each metal makes every such term vanish individually. Provided a reference conductor or condition at infinity removes an overall constant, the potential is unique.
Knowing only the sum of charges over several electrically disconnected metals can be insufficient. For two isolated spheres, allow one to take charge \(+\delta q\) and the other \(-\delta q\) while fixing their total at zero. Their equipotential values can change relative to each other, and an external field may appear. If instead they are joined by an ideal wire they must share one voltage, so the common boundary contribution factors against their total charge. The proof itself identifies the physical distinction between strings of electrically connected metal and separate conductors.
A functional whose variation is Gauss’s law
For fixed boundary voltage consider
The two meanings of \(V\) in this notation are distinguishable from context: \(V(\mathbf x)\) is potential and \(dV\) is a volume element. Add a trial perturbation \(\eta\) that vanishes on the fixed-voltage boundary. The first-order change is \(\int[\nabla\eta\cdot\epsilon\nabla V-\rho_f\eta]dV\). Integrate the first term by parts. Requiring zero for every admissible \(\eta\) gives
On a boundary portion where flux rather than voltage is prescribed, an additional linear boundary contribution accounts for the specified normal derivative. It is not generally correct to hold every trial voltage zero there.
For an exact fixed-voltage solution \(V_*\) expand \(\mathcal I[V_*+\eta]\). The first-order terms vanish, leaving
The exact solution minimises the functional, and the gap measures the field error in an energy-weighted norm. If \(\rho_f=0\) the functional is the stored field energy. With embedded sources the linear term matters; the value of the functional is generally not just field energy. Restrict the trial fields to a finite space and minimize there. This is the variational origin of a potential-based finite-element method. A small change in the energy between two grids can coexist with a noticeably changing local peak field because the integral weights errors by volume.
A complete numerical comparison without a black box
Take a unit area filled by two dielectric slabs each of thickness \(d=1\) mm and relative permittivities 2 and 8. Set one electrode at 10 V, the other at zero, with no free charge inside. A trial straight line through the whole gap obeys both electrode voltages. Its energy per area is \(\epsilon_0(2+8)d(5000)^2/2=1.107\ \mu{\rm J/m^2}\) after unit conversion. The exact interface problem requires constant normal displacement. It gives voltage drops of 8 and 2 V, fields of 8000 and 2000 V/m and energy per area \(0.708\ \mu{\rm J/m^2}\). A single continuous slope produced too much energy by about 56%. The trial is admissible despite its incorrect interface flux, because stationarity, rather than a kinematic constraint, enforces that flux.
Recover the exact answer as a one-variable minimisation. Let \(u\) be the voltage at the interface measured relative to the grounded end, with the first material next to the 10 V electrode. The energy per area is \(\epsilon_0[2(10-u)^2+8u^2]/(2d)\). Differentiation gives \(-2(10-u)+8u=0\), hence \(u=2\) V. The derivative with respect to an interior trial voltage measures the flux imbalance between neighbouring elements. This makes the algebraic finite-element equation a local charge balance. Conversely a trial that fails to equal an electrode's prescribed voltage is inadmissible, even if its energy appears lower than the computed answer.
A maximum principle as a diagnostic independent of energy
In a charge-free region with uniform permittivity the potential at the centre of a sphere equals its mean over the sphere. To see this, differentiate the angular average with respect to its radius. The result is proportional to the total normal derivative, which is zero by Gauss's law for an empty sphere. Shrink the sphere to its centre to identify the constant average. Therefore a nonconstant harmonic function cannot have a strict interior maximum or minimum. If the centre assumes the maximum value, all sufficiently nearby directions must assume that same value to keep the average equal; continuing through the connected region forces constancy.
For source-free Poisson solvers an interior voltage above all fixed outer values indicates an issue with boundary data, source terms or discretisation. But the same observation is entirely possible with positive internal charge, as the one-dimensional grounded-plane parabola demonstrates. The maximum principle concerns potentials; it does not say that a field magnitude, an individual component in an inhomogeneous medium, or the potential restricted to a line must remain between the corresponding boundary values on that line.
A thin dielectric coating turns a boundary voltage into a Robin condition
Suppose a grounded metal enclosure is lined with an insulating film of thickness \(d_f\) and permittivity \(\epsilon_f\). We want the electrostatic potential in an interior region large compared with the film thickness. Simply declaring the film's exposed face grounded neglects its voltage drop. If the tangential scale of the interior field and the radius of curvature of the surface are both much larger than \(d_f\), the film behaves locally like a plane capacitor with capacitance per area \(c_f=\epsilon_f/d_f\). Let \(\mathbf n\) point from the interior into the film, let the backing metal be at \(V_b\), and denote the interior-side surface potential by \(v\). Without free charge at the contact, the outward displacement from the interior equals \(c_f(v-V_b)\). Since \(\mathbf D=-\epsilon\nabla V\) inside, the effective boundary condition is
This is a Robin boundary condition: both the potential and its derivative enter. The coefficient \(c_f\) has units F/m², so both terms are surface charges. For \(c_f\to\infty\) a bounded normal field forces \(V\) to the backing voltage. For \(c_f\to0\) a finite voltage difference can sustain almost no normal flux. The two familiar boundary ideals are limiting cases of one measurable material preparation. The derivation requires the film to contain no embedded free charge and to respond linearly; measured leakage over long times adds a current-balance problem.
The variational proof above extends naturally. Add \(\tfrac12\int_{S_f}c_f(V-V_b)^2dA\) to the interior functional. Its first variation at the exposed face gives \(\epsilon\partial_nV+c_f(V-V_b)\) times the arbitrary boundary variation. The added quadratic term is exactly the electrostatic energy stored in the eliminated thin layer under the one-dimensional approximation. For the difference of two solutions the energy identity becomes
Either a prescribed reference voltage or a positive-area Robin patch with \(c_f>0\) removes the constant null mode. This follows without pretending that the exposed potential itself was prescribed.
Consider a planar interior region of thickness 2.0 mm filled with \(\epsilon_i=4\epsilon_0\), separated from its 0 V backing by a 50 μm film with \(\epsilon_f=2\epsilon_0\). Set the opposite electrode to 10 V. The exact one-dimensional displacement is
The effective electric length in vacuum units is \(0.50+0.025=0.525\) mm, hence \(D=169\) nC/m² and the film takes \(10(0.025/0.525)=0.476\) V. Imposing a direct 0 V boundary at the exposed film face would overpredict displacement by 5%. Solving with the Robin condition instead reproduces the series result exactly in the flat one-dimensional model. For a patterned electrode with wavelength comparable to film thickness, tangential field in the film cannot be ignored and the effective boundary response depends on spatial frequency.
What a voltage error bound does and does not control
If two source-free solutions have slightly different Dirichlet data, their difference is harmonic, not necessarily zero. Let their boundary discrepancy have maximum magnitude \(\delta\). The maximum principle applied to the difference and its negative guarantees \(|V_1-V_2|\le\delta\) throughout the region. This gives a stability estimate for voltage even where the exact solution is unknown. It requires an error bound on the whole boundary and identical sources inside. Collocation residuals evaluated only at a few points do not establish the premise between those points.
Does the same number bound the error in local electric field? Consider the upper half-space with boundary error \(\delta\cos(kx)\). The harmonic difference at height \(h\) is \(w=\delta e^{-kh}\cos(kx)\). Immediately at the boundary the field-error amplitude is \(k\delta\), which can be arbitrarily large as the spatial wavelength shrinks even though the voltage error stays below \(\delta\). At nonzero \(h\) the field-error amplitude for this single mode is \(k\delta e^{-kh}\). For fixed \(h\) it is maximal at \(k=1/h\), with value \(\delta/(eh)\). Depth regularises the sensitivity to ever finer ripples. A global bound on arbitrary superpositions requires accounting for how their amplitudes combine; maximising one sinusoid does not prove that every boundary function attains the same bound.
Suppose a nominally grounded instrument panel has a sinusoidal ripple of peak voltage 5 mV and wavelength 1.0 mm. At the surface it creates an electric-field amplitude of \(31.4\) V/m. Just 1.0 mm away its amplitude is multiplied by \(e^{-2\pi}=0.00187\), leaving 0.0587 V/m. A sensor directly at the surface and one millimetre inside may therefore make very different accuracy demands on the boundary model, despite the same nominal voltage tolerance. A field solver claiming agreement of all electrode voltages to 5 mV still needs a spatial smoothness or resolution statement before claiming local field accuracy.
A useful related identity controls energy error when an approximate potential has an interior residual. Let \(V_h\) satisfy the exact boundary values, and define \(r=\rho+\nabla\cdot(\epsilon\nabla V_h)\). With \(e=V_*-V_h\) zero on the boundary,
Multiplying by \(e\) gives \(\int\epsilon|\nabla e|^2dV=\int r e\,dV\) for a smooth admissible approximation. If a piecewise field has jumps at internal element faces their residual contributions must be included. A tiny volume residual computed inside each piece can coexist with incorrect flux matching at every face. In the two-layer example, a straight-line trial has zero second derivative in both layers, yet its displacement mismatch at the interface is exactly what forces a different physical solution.
Why a conductor becomes equipotential when charge can move
So far conductor voltages or charges entered as boundary conditions. A related variational argument explains the equipotential condition itself. Imagine charges on one connected conductor that may redistribute while their total stays fixed. Treat the final material state as ideal and static, with no ongoing currents or dissipative constraints. The change in electrostatic field energy for an infinitesimal change in free surface charge is \(\delta U=\int_S V(\mathbf x)\delta\sigma(\mathbf x)\,dA\). This follows either by slowly bringing in each incremental charge at its current potential or by varying the symmetric double integral \(\tfrac12\int\int \rho(\mathbf x)G(\mathbf x,\mathbf y)\rho(\mathbf y)d^3x\,d^3y\). The half in the energy disappears upon variation because either source factor may vary.
Move a small positive charge \(dq\) from a patch at potential \(V_A\) to another at \(V_B\), preserving total conductor charge. The change is \((V_B-V_A)dq\). If the two voltages differ, one direction of transfer lowers the energy. At equilibrium every such redistribution must have zero first-order energy change, hence the potential is constant over the connected conductor. For disconnected conductors whose individual totals are fixed the same reasoning gives a different allowed constant on each. If an ideal wire joins them, transfers across the wire become admissible and their two constants equalise. This is a statement about electrical connectivity and constraints, not merely the smoothness or shape of the conducting material.
The second-order change for a neutral redistribution is its own nonnegative field energy. For a fixed-charge isolated conductor it follows that the electrostatic equilibrium distribution minimises energy over all allowed placements of the same surface charge. This is a different trial principle from prescribing electrode voltages and varying a potential throughout the space. A trial charge that obeys a total-charge constraint need not produce an exactly equipotential conductor; its excess energy measures a failure of equilibrium. Confusing these two variational principles can switch the direction of an inferred capacitance bound.
As a measurable limit, take two small spheres far apart, with approximate capacitances \(C_1=4\pi\epsilon_0a_1\) and \(C_2=4\pi\epsilon_0a_2\) to infinity. Temporarily neglect mutual coupling. With total charge \(Q\), write \(U(q)=q^2/(2C_1)+(Q-q)^2/(2C_2)\). Differentiating gives \(q/C_1=(Q-q)/C_2\), the equipotential solution after wiring. For radii 10 and 20 mm and \(Q=30\) pC this gives shares 10 and 20 pC at a common voltage about 9.0 V. Putting all the charge initially on the smaller sphere would give energy \(Q^2/(2C_1)\). After connection the energy is \(Q^2/[2(C_1+C_2)]\), one third as large. The missing field energy leaves during transient currents through radiation or dissipation; static uniqueness alone describes neither time history nor dissipation partition. As sphere spacing is reduced, mutual capacitance must be included and the simple radius ratio becomes an approximation to test rather than an exact rule.
Check a potential independently of its residual
Refine a grounded square with known boundary data. Compare centre voltage with the series solution as well as the discrete residual. The accompanying OneSimulation model solves the same field problem.
Tutorial · can the proposed computation represent this experiment?
Find a compatible flux and determine the remaining freedom
A slab \(0<x<L\) contains uniform positive free charge \(\rho\). At \(x=0\) the outward displacement is measured as \(D_n=-D_0\). Determine what flux must be prescribed at \(L\), the electric field throughout, and one piece of information needed for the absolute potential.
Work through the solution
Positive \(x\) displacement at the left is \(D_0\) because that face's outward normal points towards negative \(x\). Integrating \(dD_x/dx=\rho\) gives
Therefore the outward flux at \(L\) is \(D_0+\rho L\). Their sum per unit area equals \(\rho L\). In constant permittivity \(E_x=(D_0+\rho x)/\epsilon\) and \(V(x)=V(0)-(D_0x+\rho x^2/2)/\epsilon\). A reference voltage fixes \(V(0)\); none can fix an incompatible pair of flux measurements. A negative right-hand outward reading with very large positive enclosed charge would contradict Gauss's law before one even solves for \(V\).
Bound a capacitance with an intentionally poor trial
In a charge-free parallel-plate vacuum gap of thickness \(L\), use \(V(x)=V_0(x/L)^2\) to bound the capacitance per area. Compare with the exact linear voltage. How does improving the potential shape turn into a monotonic bound?
Work through the solution
The trial satisfies the endpoints. It gives energy per area \(\epsilon_0\int_0^L(2V_0x/L^2)^2dx/2=2\epsilon_0V_0^2/(3L)\), hence a capacitance estimate \(4\epsilon_0/(3L)\). The exact value is \(\epsilon_0/L\), lower by the predicted variational inequality. Expanding a trial space to include both the old functions and new ones cannot raise its optimal energy because the old minimiser remains available. This monotonic property requires nested trial spaces and consistent integration; changing quadrature or replacing the physical geometry changes the comparison.