Variational Calculus and Electrostatics

We have used variational calculus in the course to determine what functionals obey certain fundamental physical rules (i.e., minimum time, minimum action). The process has almost always required the use of integration by parts. In this problem, we’ll see how integration by parts generalizes to vector quantities and use this to determine the form of the scalar electric potential that minimizes the field’s energy.

Integration by Parts

Integration by parts is the flip side of the product rule. The product rule says that, when differentiating a function, which is the product of two other functions $a(x)$ and $b(x)$, I can differentiate piecemeal

Now, if I have an integrand of the form $\frac{da}{dx}{dx}$,

I can change the object of differentiation if I find it convenient to do so. Substituting from the product rule,

The first term is a total differential, so it integrates immediately:

To make the extension to vector equations, we’ll focus on functions that can be written $a\nabla b$ and prove Green’s First Theorem, by way of the divergence theorem (there’s another name for this theorem that I hope you’ll remember by the end of the exercise). The goal is to determine the form of integration by parts for an integral of the form

Note that because a divergence is not a total differential, it cannot be integrated out the way we did above. Instead, we recall that the divergence theorem is a statement of the integral of a complete divergence over a volume is controlled by it’s behavior on the surface of the volume:

sort of like the boundary term $(ab)|_{x_0}^{x_1}$ from before.

Electric potential

The electric field $\mathbf{E}(\mathbf{x})$ can be written as the gradient of a potential $\mathbf{E}=\nabla\psi(\mathbf{x})$, and it’s energy can be written as a functional of the potential:

The first term on the right hand side is the familiar definition of the electric field energy, and the second term is the interaction term between the field and any electric charge densities $\rho$ in the volume $V$ of interest. Note that $\rho$ is the charge densities in approripate units $\rho=\rho_0/\epsilon_0$. Let’s investigate what potential $\psi$ minimizes this energy.

The problem proceeds using variational calculus of the energy with respect to potential fields. That is, start by assuming $\psi^\star$ minimizes the energy, and perturb it slightly $\psi = \psi^\star + \delta\psi$. Expand the energy to first order terms in $\delta\psi$ and proceed to the condition of minimization on the field $\psi^\star$.

Does it seem familiar?