Electrostatics Review
Coulomb's law, Gauss's law, Poisson/Laplace equations, Green functions, and uniqueness theorems at the graduate level.
1.1 Coulomb's Law & Superposition
The foundational law of electrostatics was established by Coulomb in 1785. For two point charges$q_1$ and $q_2$ separated by displacement $\boldsymbol{\mathscr{r}}$, the force on $q_2$ due to $q_1$ is:
The inverse-square law with $\epsilon_0 = 8.854 \times 10^{-12}$ F/m. The $4\pi$ rationalization ensures Gauss's law takes its simplest form.
For continuous distributions, the electric field at position $\mathbf{r}$ due to a charge density $\rho(\mathbf{r}')$ is:
The electric field is related to the scalar potential $\Phi$ through $\mathbf{E} = -\nabla\Phi$, where the potential is:
Derivation 1: Gauss's Law from Coulomb's Law
We derive the integral and differential forms of Gauss's law from Coulomb's law using the divergence of the Coulomb field.
Step 1: Solid angle subtended by a surface element
For a point charge $q$ at the origin, consider a surface element $d\mathbf{a}$ at position $\mathbf{r}$. The flux through $d\mathbf{a}$ is:
$$d\Phi_E = \mathbf{E}\cdot d\mathbf{a} = \frac{q}{4\pi\epsilon_0}\frac{\hat{r}\cdot d\mathbf{a}}{r^2} = \frac{q}{4\pi\epsilon_0}\,d\Omega$$
where $d\Omega = \hat{r}\cdot d\mathbf{a}/r^2$ is the solid angle subtended by $d\mathbf{a}$ at the charge location.
Step 2: Total flux through a closed surface
Integrating over a closed surface $\mathcal{S}$ enclosing the charge, the total solid angle is $4\pi$:
$$\oint_\mathcal{S} \mathbf{E}\cdot d\mathbf{a} = \frac{q}{4\pi\epsilon_0}\oint d\Omega = \frac{q}{\epsilon_0}$$
If the charge is outside the surface, the net solid angle vanishes, giving zero flux.
Step 3: Generalization by superposition
By superposition, the total flux through any closed surface equals the total enclosed charge divided by $\epsilon_0$:
$$\boxed{\oint_\mathcal{S} \mathbf{E}\cdot d\mathbf{a} = \frac{Q_{\text{enc}}}{\epsilon_0} = \frac{1}{\epsilon_0}\int_\mathcal{V} \rho\,d^3r'}$$
Step 4: Differential form via the divergence theorem
Apply the divergence theorem to convert the surface integral to a volume integral:
$$\int_\mathcal{V} \nabla\cdot\mathbf{E}\,d^3r = \frac{1}{\epsilon_0}\int_\mathcal{V} \rho\,d^3r$$
Since this holds for any volume $\mathcal{V}$, the integrands must be equal:
$$\boxed{\nabla\cdot\mathbf{E} = \frac{\rho}{\epsilon_0}}$$
Step 5: Connection to the Dirac delta function
Formally, the divergence of the Coulomb field of a point charge is:
$$\nabla\cdot\left(\frac{\hat{r}}{r^2}\right) = 4\pi\delta^3(\mathbf{r})$$
This distributional identity is the mathematical foundation of Gauss's law. It converts the integral statement into a local differential equation.
1.2 Poisson & Laplace Equations
Combining $\mathbf{E} = -\nabla\Phi$ with $\nabla\cdot\mathbf{E} = \rho/\epsilon_0$ yields the Poisson equation:
In charge-free regions ($\rho = 0$), this reduces to the Laplace equation: $\nabla^2\Phi = 0$.
The Laplacian in various coordinate systems is crucial. In Cartesian: $\nabla^2 = \partial^2/\partial x^2 + \partial^2/\partial y^2 + \partial^2/\partial z^2$. In spherical: $\nabla^2 = \frac{1}{r^2}\frac{\partial}{\partial r}\left(r^2\frac{\partial}{\partial r}\right) + \frac{1}{r^2\sin\theta}\frac{\partial}{\partial\theta}\left(\sin\theta\frac{\partial}{\partial\theta}\right) + \frac{1}{r^2\sin^2\theta}\frac{\partial^2}{\partial\phi^2}$.
Derivation 2: Green's Function for the Poisson Equation
The Green's function method provides the most general solution to the Poisson equation with arbitrary boundary conditions.
Step 1: Define the Green's function
The Green's function $G(\mathbf{r}, \mathbf{r}')$ satisfies:
$$\nabla^2 G(\mathbf{r}, \mathbf{r}') = -4\pi\delta^3(\mathbf{r} - \mathbf{r}')$$
The free-space Green's function (no boundaries) is simply $G_0(\mathbf{r}, \mathbf{r}') = 1/|\mathbf{r} - \mathbf{r}'|$.
Step 2: Green's second identity
For two scalar functions $\phi$ and $\psi$ in a volume $\mathcal{V}$ bounded by surface $\mathcal{S}$:
$$\int_\mathcal{V}(\phi\nabla^2\psi - \psi\nabla^2\phi)\,d^3r' = \oint_\mathcal{S}\left(\phi\frac{\partial\psi}{\partial n'} - \psi\frac{\partial\phi}{\partial n'}\right)da'$$
Step 3: Apply with $\phi = \Phi$ and $\psi = G$
Set $\phi = \Phi(\mathbf{r}')$ (the potential satisfying Poisson's equation) and $\psi = G(\mathbf{r}, \mathbf{r}')$:
$$\Phi(\mathbf{r}) = \frac{1}{4\pi\epsilon_0}\int_\mathcal{V} \rho(\mathbf{r}')G(\mathbf{r}, \mathbf{r}')\,d^3r' + \frac{1}{4\pi}\oint_\mathcal{S}\left[G\frac{\partial\Phi}{\partial n'} - \Phi\frac{\partial G}{\partial n'}\right]da'$$
Step 4: Dirichlet boundary condition
If $\Phi$ is specified on $\mathcal{S}$ (Dirichlet), choose $G_D$ such that $G_D(\mathbf{r}, \mathbf{r}') = 0$ for $\mathbf{r}'$ on $\mathcal{S}$. Then:
$$\Phi(\mathbf{r}) = \frac{1}{4\pi\epsilon_0}\int_\mathcal{V}\rho(\mathbf{r}')G_D\,d^3r' - \frac{1}{4\pi}\oint_\mathcal{S}\Phi(\mathbf{r}')\frac{\partial G_D}{\partial n'}da'$$
Step 5: Neumann boundary condition
If $\partial\Phi/\partial n$ is specified on $\mathcal{S}$ (Neumann), choose $G_N$ such that $\partial G_N/\partial n' = -4\pi/S$ on $\mathcal{S}$ (constant). Then the surface term with $\Phi$ contributes only an overall constant (the average of $\Phi$ on the surface), and the solution depends on the normal derivative data:
$$\Phi(\mathbf{r}) = \langle\Phi\rangle_\mathcal{S} + \frac{1}{4\pi\epsilon_0}\int_\mathcal{V}\rho G_N\,d^3r' + \frac{1}{4\pi}\oint_\mathcal{S}\frac{\partial\Phi}{\partial n'}G_N\,da'$$
1.3 Uniqueness Theorems
The uniqueness theorems guarantee that boundary conditions determine the electrostatic potential uniquely (up to an additive constant for Neumann conditions). This is central to the method of images and separation of variables.
Derivation 3: First Uniqueness Theorem
If $\Phi$ is specified on the boundary, the solution to Poisson's equation is unique.
Step 1: Assume two solutions exist
Suppose $\Phi_1$ and $\Phi_2$ both satisfy $\nabla^2\Phi = -\rho/\epsilon_0$ in $\mathcal{V}$ with $\Phi_1 = \Phi_2$ on $\mathcal{S}$. Define $U = \Phi_1 - \Phi_2$.
Step 2: U satisfies Laplace's equation with zero boundary data
$\nabla^2 U = 0$ in $\mathcal{V}$ and $U = 0$ on $\mathcal{S}$.
Step 3: Apply the identity $\nabla\cdot(U\nabla U) = U\nabla^2 U + |\nabla U|^2$
Integrate over $\mathcal{V}$ and use the divergence theorem:
$$\oint_\mathcal{S} U\frac{\partial U}{\partial n}\,da = \int_\mathcal{V}(U\nabla^2 U + |\nabla U|^2)\,d^3r$$
Step 4: Both terms on left vanish or simplify
Since $U = 0$ on $\mathcal{S}$, the left side vanishes. Since $\nabla^2 U = 0$, we get:
$$\int_\mathcal{V}|\nabla U|^2\,d^3r = 0$$
Step 5: Conclude uniqueness
Since $|\nabla U|^2 \geq 0$ everywhere and its integral vanishes, we must have $\nabla U = 0$ everywhere. Combined with $U = 0$ on the boundary, this gives $U = 0$ throughout $\mathcal{V}$. Therefore $\Phi_1 = \Phi_2$ everywhere. QED.
The second uniqueness theorem extends this to conductors: if the total charge on each conductor is given (rather than the potential), plus the charge density in the regions between conductors, the field is uniquely determined.
1.4 Formal Solution with Green Functions
The Green's function $G(\mathbf{r}, \mathbf{r}')$ encodes both the differential equation and boundary conditions. It has the physical interpretation as the potential at $\mathbf{r}$ due to a unit point charge at $\mathbf{r}'$ in the presence of boundaries.
The Green's function can be decomposed as: $G(\mathbf{r}, \mathbf{r}') = \frac{1}{|\mathbf{r} - \mathbf{r}'|} + F(\mathbf{r}, \mathbf{r}')$, where $F$ satisfies the Laplace equation ($\nabla'^2 F = 0$ in $\mathcal{V}$) and is chosen to enforce boundary conditions. The symmetry property $G(\mathbf{r}, \mathbf{r}') = G(\mathbf{r}', \mathbf{r})$ follows from Green's second identity.
Derivation 4: Symmetry of the Green's Function
The Dirichlet Green's function is symmetric: $G_D(\mathbf{r}, \mathbf{r}') = G_D(\mathbf{r}', \mathbf{r})$.
Step 1: Apply Green's second identity to two Green's functions
Let $\phi(\mathbf{x}) = G(\mathbf{x}, \mathbf{y})$ and $\psi(\mathbf{x}) = G(\mathbf{x}, \mathbf{z})$ where $\mathbf{y}, \mathbf{z}$ are two distinct points in $\mathcal{V}$.
Step 2: Evaluate the volume integral
$$\int_\mathcal{V}[G(\mathbf{x},\mathbf{y})\nabla^2 G(\mathbf{x},\mathbf{z}) - G(\mathbf{x},\mathbf{z})\nabla^2 G(\mathbf{x},\mathbf{y})]\,d^3x$$
Using $\nabla^2 G(\mathbf{x},\mathbf{y}) = -4\pi\delta^3(\mathbf{x} - \mathbf{y})$, this becomes:
$$-4\pi G(\mathbf{z},\mathbf{y}) + 4\pi G(\mathbf{y},\mathbf{z})$$
Step 3: Surface integral vanishes for Dirichlet conditions
The surface integral from Green's second identity vanishes because both $G(\mathbf{x},\mathbf{y}) = 0$ and $G(\mathbf{x},\mathbf{z}) = 0$ when $\mathbf{x} \in \mathcal{S}$.
Step 4: Conclude symmetry
Therefore $-4\pi G(\mathbf{z},\mathbf{y}) + 4\pi G(\mathbf{y},\mathbf{z}) = 0$, which gives:
$$\boxed{G(\mathbf{y}, \mathbf{z}) = G(\mathbf{z}, \mathbf{y})}$$
Step 5: Physical interpretation
Symmetry means the potential at $\mathbf{r}$ due to a unit charge at $\mathbf{r}'$ equals the potential at $\mathbf{r}'$ due to a unit charge at $\mathbf{r}$ (reciprocity). This is a consequence of the self-adjointness of the Laplacian operator with Dirichlet boundary conditions.
1.5 Electrostatic Energy
The energy stored in a continuous charge distribution is:
The field energy density is $u = \frac{\epsilon_0}{2}|\mathbf{E}|^2$, giving the total energy as an integral over all space. The electrostatic stress tensor is:
Derivation 5: Electrostatic Energy in Terms of the Field
We show that $W = \frac{1}{2}\int\rho\Phi\,d^3r = \frac{\epsilon_0}{2}\int|\mathbf{E}|^2\,d^3r$.
Step 1: Start with the charge-potential form
$$W = \frac{1}{2}\int\rho\Phi\,d^3r$$
The factor of $1/2$ avoids double-counting pairs of charges.
Step 2: Replace $\rho$ using Gauss's law
Substitute $\rho = \epsilon_0\nabla\cdot\mathbf{E}$:
$$W = \frac{\epsilon_0}{2}\int(\nabla\cdot\mathbf{E})\Phi\,d^3r$$
Step 3: Integration by parts
Use the product rule $\nabla\cdot(\Phi\mathbf{E}) = (\nabla\Phi)\cdot\mathbf{E} + \Phi(\nabla\cdot\mathbf{E})$:
$$W = \frac{\epsilon_0}{2}\left[\oint\Phi\mathbf{E}\cdot d\mathbf{a} - \int(\nabla\Phi)\cdot\mathbf{E}\,d^3r\right]$$
Step 4: Surface term vanishes; use $\mathbf{E} = -\nabla\Phi$
As we integrate over all space, $\Phi$ and $\mathbf{E}$ fall off sufficiently fast that the surface term at infinity vanishes. Since $\nabla\Phi = -\mathbf{E}$:
$$W = \frac{\epsilon_0}{2}\int|\mathbf{E}|^2\,d^3r$$
Step 5: Interpretation
The energy density $u = \frac{\epsilon_0}{2}|\mathbf{E}|^2$ is positive definite, confirming that the electrostatic energy is stored in the field itself. For a point charge, this integral diverges (the self-energy problem), which is an inherent difficulty of classical electrodynamics addressed by renormalization in QED.
Historical Context
Charles-Augustin de Coulomb (1736-1806) established the inverse-square law using his torsion balance in 1785. Carl Friedrich Gauss (1777-1855) formulated the flux theorem in 1835. Simeon Denis Poisson (1781-1840) generalized Laplace's equation to include source terms. George Green (1793-1841), a self-taught mathematician, introduced the concept of Green's functions in his 1828 essay, providing the most powerful technique for solving boundary value problems. These developments laid the mathematical foundation that Maxwell would later unify into a complete theory of electromagnetism.
The uniqueness theorems, established rigorously in the 19th century, are not merely mathematical curiosities. They guarantee that physically motivated approximation methods (method of images, separation of variables) yield the correct answer when they satisfy the right boundary conditions. Jackson's treatment emphasizes the Green's function formalism, which connects directly to quantum field theory through the propagator.
Applications
Electron Optics
Solving Laplace's equation in cylindrical geometry designs electron lenses in electron microscopes. The potential distribution determines focusing properties.
Capacitor Design
The energy formula $W = \frac{\epsilon_0}{2}\int|\mathbf{E}|^2 d^3r$ determines capacitance and energy storage. Green's function methods handle complex geometries.
Electrostatic Precipitators
Industrial pollution control uses strong electric fields to charge and collect particulates. Poisson's equation models the space-charge-limited field distribution.
Ion Traps
Penning and Paul traps use electrostatic and oscillating fields. Earnshaw's theorem (a consequence of Laplace's equation) forbids stable 3D electrostatic trapping.
Simulation: Gauss's Law & Poisson Equation
This simulation verifies Gauss's law numerically by computing the electric flux through Gaussian surfaces of varying radii, solves the 1D Poisson equation via finite differences, and visualizes the electrostatic potential of a dipole configuration.
Electrostatics: Gauss's Law, Poisson Equation & Potential
PythonClick Run to execute the Python code
Code will be executed with Python 3 on the server
Practice Problems
Problem 1:Use Gauss's law to find the electric field everywhere for a uniformly charged solid sphere of total charge Q and radius R.
Solution:
1. By symmetry, $\mathbf{E} = E(r)\hat{r}$. Choose a spherical Gaussian surface of radius $r$.
2. Gauss's law: $\oint \mathbf{E}\cdot d\mathbf{A} = \frac{Q_{\text{enc}}}{\epsilon_0}$, so $E(4\pi r^2) = \frac{Q_{\text{enc}}}{\epsilon_0}$.
3. For $r > R$: $Q_{\text{enc}} = Q$, so $E = \frac{Q}{4\pi\epsilon_0 r^2}$ (same as point charge).
4. For $r < R$: the charge density is $\rho = \frac{3Q}{4\pi R^3}$, so $Q_{\text{enc}} = Q\frac{r^3}{R^3}$.
5. Inside: $E = \frac{Qr}{4\pi\epsilon_0 R^3}$. The field grows linearly with $r$ inside and falls as $1/r^2$ outside.
Problem 2:A parallel-plate capacitor has plate area A, separation d, and is charged to voltage V. Find the capacitance, stored energy, and force between the plates.
Solution:
1. The uniform field between the plates is $E = V/d$, with surface charge density $\sigma = \epsilon_0 E = \epsilon_0 V/d$.
2. Total charge: $Q = \sigma A = \epsilon_0 A V/d$, so capacitance $C = Q/V = \epsilon_0 A/d$.
3. Stored energy: $U = \frac{1}{2}CV^2 = \frac{\epsilon_0 A V^2}{2d}$.
4. Alternatively, using the energy density: $u = \frac{\epsilon_0}{2}E^2$, so $U = u \cdot Ad = \frac{\epsilon_0 A V^2}{2d}$.
5. Force between plates (at constant charge): $F = -\frac{\partial U}{\partial d}\bigg|_Q = \frac{Q^2}{2\epsilon_0 A} = \frac{\epsilon_0 A V^2}{2d^2}$.
Problem 3:A point charge +q is placed a distance d above an infinite grounded conducting plane. Using the method of images, find the potential, induced surface charge, and total induced charge.
Solution:
1. Place an image charge $-q$ at distance $d$ below the plane. This satisfies $V = 0$ on the plane by symmetry.
2. Potential above the plane: $V = \frac{q}{4\pi\epsilon_0}\left(\frac{1}{\sqrt{r^2 + (z-d)^2}} - \frac{1}{\sqrt{r^2 + (z+d)^2}}\right)$ for $z > 0$.
3. Induced surface charge: $\sigma = -\epsilon_0\frac{\partial V}{\partial z}\bigg|_{z=0} = \frac{-qd}{2\pi(r^2 + d^2)^{3/2}}$.
4. Total induced charge: $Q_{\text{ind}} = \int_0^\infty \sigma \cdot 2\pi r\,dr = -q$ (integrate using substitution $u = r^2 + d^2$).
5. The force on the charge is $F = \frac{-q^2}{4\pi\epsilon_0(2d)^2} = \frac{-q^2}{16\pi\epsilon_0 d^2}$ (attractive).
Problem 4:Find the electrostatic energy of a uniformly charged sphere of total charge Q and radius R by integrating the energy density of the electric field.
Solution:
1. From Problem 1, $E_{\text{in}} = \frac{Qr}{4\pi\epsilon_0 R^3}$ and $E_{\text{out}} = \frac{Q}{4\pi\epsilon_0 r^2}$.
2. Energy density: $u = \frac{\epsilon_0}{2}E^2$. Integrate over all space using spherical shells $dV = 4\pi r^2\,dr$.
3. Inside ($r < R$): $U_{\text{in}} = \int_0^R \frac{\epsilon_0}{2}\left(\frac{Qr}{4\pi\epsilon_0 R^3}\right)^2 4\pi r^2\,dr = \frac{Q^2}{40\pi\epsilon_0 R}$.
4. Outside ($r > R$): $U_{\text{out}} = \int_R^\infty \frac{\epsilon_0}{2}\left(\frac{Q}{4\pi\epsilon_0 r^2}\right)^2 4\pi r^2\,dr = \frac{Q^2}{8\pi\epsilon_0 R}$.
5. Total: $U = U_{\text{in}} + U_{\text{out}} = \frac{Q^2}{8\pi\epsilon_0 R}\left(\frac{1}{5} + 1\right) = \frac{3Q^2}{20\pi\epsilon_0 R}$.
Problem 5:A spherical shell of radius R carries surface charge density σ(θ) = σ₀ cos θ. Find the potential inside and outside the sphere.
Solution:
1. Since $\sigma(\theta) = \sigma_0\cos\theta = \sigma_0 P_1(\cos\theta)$, only the $l = 1$ term survives in the Legendre expansion.
2. General solution: $V_{\text{in}} = A_1 r\cos\theta$ and $V_{\text{out}} = \frac{B_1}{r^2}\cos\theta$.
3. Boundary condition (continuity of $V$ at $r = R$): $A_1 R = B_1/R^2$, so $B_1 = A_1 R^3$.
4. Discontinuity of normal $E$: $-\frac{\partial V_{\text{out}}}{\partial r}\bigg|_R + \frac{\partial V_{\text{in}}}{\partial r}\bigg|_R = \frac{\sigma_0\cos\theta}{\epsilon_0}$.
5. This gives $2A_1 R^{-3} \cdot R^3 \cos\theta + A_1\cos\theta = \frac{\sigma_0\cos\theta}{\epsilon_0}$, so $3A_1 = \frac{\sigma_0}{\epsilon_0}$.
6. Result: $V_{\text{in}} = \frac{\sigma_0}{3\epsilon_0}r\cos\theta$ (uniform field inside!) and $V_{\text{out}} = \frac{\sigma_0 R^3}{3\epsilon_0 r^2}\cos\theta$ (pure dipole).