The Three-Dimensional Dirac Delta Function

This chapter has been carrying an unresolved scandal. The field v=r^/r2\mathbf{v}=\hat{\mathbf{r}}/r^2 — the shape of every point charge's electric field — has divergence zero at every point where you can compute it: the spherical formula 1r2∂r(r2vr)\frac{1}{r^2}\partial_r(r^2v_r) eats the 1/r21/r^2 and returns 0. Yet the flux of this field through any sphere around the origin is 4π4\pi, no matter how small the sphere. The divergence theorem then insists that ∫∇⋅v dτ=4π\int\nabla\cdot\mathbf{v}\,\mathrm{d}\tau=4\pi — a volume integral of "zero" that equals 4π4\pi. One of our most trusted theorems appears to be broken by our most important field. The resolution is the punchline of the entire vector-calculus chapter: all the divergence is concentrated at the single point r=0r=0, where the field blows up and ordinary calculus goes blind. With the one-dimensional delta function in hand from the previous article, we can now say this precisely:

∇⋅(r^r2)=4π δ3(r)\nabla\cdot\left(\frac{\hat{\mathbf{r}}}{r^2}\right)=4\pi\,\delta^3(\mathbf{r})

— zero everywhere, infinite at the origin, total integral 4π4\pi. This single identity is the mathematical soul of the point charge. It makes ρ=q δ3(r)\rho=q\,\delta^3(\mathbf{r}) a legitimate charge density, reconciles the differential and integral forms of Gauss's law at the one point where they seemed to disagree, and hands the next tiers their most powerful tool: solve Poisson's equation for a delta source once, and every electrostatics problem becomes an integral. This article proves the identity honestly — twice — and drills the three-dimensional delta until it is a reflex.

Key takeaways
  • The three-dimensional delta δ3(r)=δ(x) δ(y) δ(z)\delta^3(\mathbf{r})=\delta(x)\,\delta(y)\,\delta(z) is the unit point source in space: zero everywhere except the origin, unit volume integral, sampling ∫f(r) δ3(r−a) dτ=f(a)\int f(\mathbf{r})\,\delta^3(\mathbf{r}-\mathbf{a})\,\mathrm{d}\tau=f(\mathbf{a}).
  • THE identity of this chapter: ∇⋅(r^/r2)=4π δ3(r)\nabla\cdot(\hat{\mathbf{r}}/r^2)=4\pi\,\delta^3(\mathbf{r}) — the Coulomb field shape is divergence-free off the origin, and all its source strength lives at the point, where the flux 4π4\pi demands a delta.
  • Equivalently, since r^/r2=−∇(1/r)\hat{\mathbf{r}}/r^2=-\nabla(1/r): ∇2(1/r)=−4π δ3(r)\nabla^2(1/r)=-4\pi\,\delta^3(\mathbf{r}), and shifted, ∇21∣r−r′∣=−4π δ3(r−r′)\nabla^2\frac{1}{|\mathbf{r}-\mathbf{r}'|}=-4\pi\,\delta^3(\mathbf{r}-\mathbf{r}') — the seed of the Green-function method.
  • A point charge finally has a density: ρ(r)=q δ3(r−r′)\rho(\mathbf{r})=q\,\delta^3(\mathbf{r}-\mathbf{r}'), with δ3\delta^3 carrying units 1/m31/\mathrm{m}^3, and both forms of Gauss's law hold exactly, origin included.
  • In curvilinear coordinates the delta divides by the Jacobian: δ3(r−r0)=1r2sin⁡θ δ(r−r0) δ(θ−θ0) δ(ϕ−ϕ0)\delta^3(\mathbf{r}-\mathbf{r}_0)=\frac{1}{r^2\sin\theta}\,\delta(r-r_0)\,\delta(\theta-\theta_0)\,\delta(\phi-\phi_0).
  • Key idea: the divergence of the Coulomb field is a three-dimensional delta of strength 4π — all the source of an inverse-square field is compressed into the point, and the delta is the bookkeeping that lets Gauss's law hold there too.
The core insight

∇⋅(r^/r2)=4π δ3(r)\nabla\cdot(\hat{\mathbf{r}}/r^2)=4\pi\,\delta^3(\mathbf{r}): the Coulomb field's divergence vanishes everywhere except the origin, where a delta of strength 4π4\pi holds the entire source — the identity that makes point charges, Gauss's law, and the Green-function method mutually consistent.

Where this lives today

The punchline identity is quietly present inside atomic spectra. The hyperfine interaction between an electron and the proton's magnetic moment contains a contact term proportional to δ3(r)\delta^3(\mathbf{r}) — born of exactly the concentrated-divergence structure of dipole fields — so the splitting depends on ∣ψ(0)∣2|\psi(0)|^2, the probability of the electron sitting on the proton. For hydrogen's ground state that contact term produces the 21-centimetre line, the radio-astronomy workhorse that mapped the Milky Way's spiral arms and now anchors searches for the cosmic dark ages. A delta function, measured across the galaxy. On the computational frontier, point sources are a daily engineering problem: numerical relativity treats black holes and neutron stars in the small-body limit as delta sources whose fields must be regularized on a finite grid — a discretized version of this article's smearing derivation — and molecular-dynamics codes handle millions of point charges whose δ3\delta^3 densities are deliberately smeared (Ewald and particle-mesh methods) to make the long-range Coulomb sums converge. In both, the physics of the point and the art of the regulator are exactly the two derivations above, industrialized.

The physical picture

Watch the paradox assemble itself. Draw the field r^/r2\hat{\mathbf{r}}/r^2: arrows everywhere pointing away from the origin, thinning with distance exactly as fast as spheres grow. Compute its divergence at any point you like — zero. Divergence measures whether a point manufactures flux, and out here no point does: whatever enters a small cell leaves it. Yet the field is unmistakably flowing outward from somewhere. Put a sphere of any radius around the origin and count: flux =1r2×4πr2=4π=\frac{1}{r^2}\times4\pi r^2=4\pi, always. Sources cannot hide in the bulk — we checked every point. There is exactly one point we could not check.

Figure
The Coulomb paradox — divergence zero everywhere you can look, flux 4π out of every sphere
4π δ³(r) — all the source, one point flux through EITHER sphere: 4π out here: ∇·v = 0 at every point the audit bulk sources: 0 flux out: 4π divergence theorem: a δ-source must sit at r = 0 v = r-hat / r² : the field of every point charge the one point not checked is the one point holding everything

The one-dimensional delta was built for exactly this shape of fact: zero everywhere, finite total. Its three-dimensional sibling is the product of one spike per Cartesian direction, δ3(r)=δ(x)δ(y)δ(z)\delta^3(\mathbf{r})=\delta(x)\delta(y)\delta(z) — zero unless all three coordinates vanish simultaneously, unit integral over any volume containing the origin, units of 1/m31/\mathrm{m}^3 (a volume density of pure concentration). Everything you drilled in one dimension carries over verbatim: sampling, ranges, Jacobians. What is new is the geometry — and the payoff, which is nothing less than making Maxwell's first equation true at the location of every charge in the universe. There is a second way to see the same concentration, and it is the honest analyst's way: regularize. Smooth the singularity by replacing 1/r1/r with 1/r2+a21/\sqrt{r^2+a^2} — physically, smear the point source into a ball of radius ∼a\sim a. The divergence is then an ordinary function: a peak of height ∼1/a3\sim1/a^3 and width ∼a\sim a, with total integral exactly −4π-4\pi independent of aa. Shrink aa: the peak narrows, grows, and preserves its integral — the defining choreography of a delta family, now in three dimensions.

Figure
Regularize the point source and the divergence becomes a shrinking unit-area peak — a delta family in the making
r magnitude of ∇²(r²+a²)^(−1/2) large a: low, broad smaller a smaller still: height ~ 1/a³, width ~ a every curve integrates (with 4πr² dr) to exactly 4π — the area survives, the profile does not as a → 0 the smeared source becomes the point source and the peak becomes 4π δ³(r)

The three-dimensional delta and its grammar

The definition assembles three one-dimensional spikes, one per coordinate:

δ3(r)≡δ(x) δ(y) δ(z),∫all spaceδ3(r) dτ=1(1)\delta^3(\mathbf{r})\equiv\delta(x)\,\delta(y)\,\delta(z),\qquad \int_{\text{all space}}\delta^3(\mathbf{r})\,\mathrm{d}\tau=1 \qquad (1)

where: dτ=dx dy dz\mathrm{d}\tau=\mathrm{d}x\,\mathrm{d}y\,\mathrm{d}z; the triple integral factorizes into three unit integrals. All one-dimensional machinery lifts immediately: the sifting property becomes ∫f(r) δ3(r−a) dτ=f(a)\int f(\mathbf{r})\,\delta^3(\mathbf{r}-\mathbf{a})\,\mathrm{d}\tau=f(\mathbf{a}) when the volume contains a\mathbf{a} (zero otherwise); scaling picks up one Jacobian factor per dimension, δ3(kr)=δ3(r)/∣k∣3\delta^3(k\mathbf{r})=\delta^3(\mathbf{r})/|k|^3; and the units are 1/m31/\mathrm{m}^3 — exactly what a volume charge density ρ=q δ3(r−r′)\rho=q\,\delta^3(\mathbf{r}-\mathbf{r}') needs to carry C/m3\mathrm{C/m^3}. One three-dimensional novelty deserves its own display, because it is a standard trap: in curvilinear coordinates the delta must divide by the Jacobian, so that its volume integral — taken with the honest volume element — still gives 1:

δ3(r−r0)=1r2sin⁡θ δ(r−r0) δ(θ−θ0) δ(ϕ−ϕ0)(2)\delta^3(\mathbf{r}-\mathbf{r}_0)=\frac{1}{r^2\sin\theta}\,\delta(r-r_0)\,\delta(\theta-\theta_0)\,\delta(\phi-\phi_0) \qquad (2)

where: the prefactor cancels the r2sin⁡θr^2\sin\theta of dτ\mathrm{d}\tau, leaving three clean one-dimensional sift integrals. (For a spike at the origin the angular coordinates are undefined and the useful form is δ3(r)=δ(r)4πr2\delta^3(\mathbf{r})=\frac{\delta(r)}{4\pi r^2} — the 4πr24\pi r^2 spreads the unit source over the vanishing sphere.) Forgetting the Jacobian here is the three-dimensional cousin of forgetting the 1/∣k∣1/|k| in one dimension, and it silently miscounts every source it touches. Now the main event.

Derivation AThe punchline: divergence of the Coulomb field shape

The goal is the central identity of the chapter, ∇⋅(r^/r2)=4π δ3(r)\nabla\cdot(\hat{\mathbf{r}}/r^2)=4\pi\,\delta^3(\mathbf{r}), established at Griffiths' honesty level: a watertight argument that the divergence vanishes off the origin, is forced to be a point concentration by the divergence theorem, and has strength exactly 4π4\pi. The strategy is a three-part pincer — direct computation off the origin, flux audit around it, and the divergence theorem to convict the only remaining suspect. The step to watch is the last: the theorem is applied to a region that excludes the singularity, where its hypotheses genuinely hold, so no circular reasoning sneaks in.

Step 1. Off the origin, compute directly with the spherical divergence formula. With vr=1/r2v_r=1/r^2 and no angular components:

∇⋅v=1r2∂∂r ⁣(r2⋅1r2)=1r2∂(1)∂r=0(r≠0)\nabla\cdot\mathbf{v}=\frac{1}{r^2}\frac{\partial}{\partial r}\!\left(r^2\cdot\frac{1}{r^2}\right)=\frac{1}{r^2}\frac{\partial(1)}{\partial r}=0 \qquad (r\neq0)

Why this is airtight where it applies: the field is smooth for r>0r>0, the formula's derivation (flux out of the curvilinear brick) holds, and the r2r^2 of the growing sphere areas exactly cancels the 1/r21/r^2 of the field — the geometric signature of the inverse square.

Step 2. Audit the flux through a sphere SRS_R of any radius RR centred on the origin, with da=R2sin⁡θ dθ dϕ r^\mathrm{d}\mathbf{a}=R^2\sin\theta\,\mathrm{d}\theta\,\mathrm{d}\phi\,\hat{\mathbf{r}}:

∮SRr^R2⋅da=1R2×4πR2=4π\oint_{S_R}\frac{\hat{\mathbf{r}}}{R^2}\cdot\mathrm{d}\mathbf{a}=\frac{1}{R^2}\times4\pi R^2=4\pi

Why RR drops out: the field dilutes exactly as fast as the sphere grows — every sphere catches the same 4π4\pi, so whatever the source is, it is entirely inside every sphere, i.e. at the point r=0r=0.

Step 3. Localize with the divergence theorem on the shell between two spheres SϵS_\epsilon and SRS_R — a region where Step 1's smoothness genuinely holds. The volume integral of the (zero) divergence vanishes, so the flux in through the inner sphere equals the flux out through the outer: no flux is created in the bulk, ever. The source is confined to the origin with total strength 4π4\pi.

Step 4. Name that object. A "function" vanishing for r≠0r\neq0 whose volume integral over any region containing the origin is 4π4\pi is, by the definition of the previous article promoted to three dimensions, 4π δ3(r)4\pi\,\delta^3(\mathbf{r}):

∇⋅(r^r2)=4π δ3(r)\nabla\cdot\left(\frac{\hat{\mathbf{r}}}{r^2}\right)=4\pi\,\delta^3(\mathbf{r})

Both sides vanish off the origin (Step 1); both integrate to 4π4\pi over any volume containing it (Step 2); and the sampling behaviour against smooth test functions matches, as the regularized derivation below confirms independently. Verified: reproduces Griffiths §1.5.3 (Eq. 1.99) and Jackson §1.7 (Eq. 1.31); contracting with q/4πε0q/4\pi\varepsilon_0 gives ∇⋅E=q δ3(r)/ε0=ρ/ε0\nabla\cdot\mathbf{E}=q\,\delta^3(\mathbf{r})/\varepsilon_0=\rho/\varepsilon_0 — Gauss's law exact at the charge.

Because r^/r2=−∇(1/r)\hat{\mathbf{r}}/r^2=-\nabla(1/r) (the gradient computed in the spherical-coordinates article), the punchline has an immediate second costume, this time starring the Laplacian:

∇21r=−4π δ3(r),and shifted:∇21∣r−r′∣=−4π δ3(r−r′)(3)\nabla^2\frac{1}{r}=-4\pi\,\delta^3(\mathbf{r}),\qquad\text{and shifted:}\qquad \nabla^2\frac{1}{|\mathbf{r}-\mathbf{r}'|}=-4\pi\,\delta^3(\mathbf{r}-\mathbf{r}') \qquad (3)

where: r′\mathbf{r}' — the source location. Equation (3) is the seed of everything called a Green function in this track: it says −1/4π∣r−r′∣-1/4\pi|\mathbf{r}-\mathbf{r}'| is the potential response to a unit delta source, so the response to any source ρ\rho is the superposition V=14πε0∫ρ(r′)∣r−r′∣dτ′V=\frac{1}{4\pi\varepsilon_0}\int\frac{\rho(\mathbf{r}')}{|\mathbf{r}-\mathbf{r}'|}\mathrm{d}\tau' — Coulomb's law, re-derived as one delta identity plus linearity. E2 will industrialize this.

Go deeper · Derivation B · 2 minThe regularized proof — smearing the source and taking the limit
Derivation BThe regularized proof — smearing the source and taking the limit

The goal is equation (3) by the analyst's route: replace the singular 1/r1/r with the smooth Va=(r2+a2)−1/2V_a=(r^2+a^2)^{-1/2}, compute the Laplacian exactly, and show the result is a peak family converging to −4π δ3(r)-4\pi\,\delta^3(\mathbf{r}). This derivation earns its place twice over — it certifies Step 4 of the previous argument against test functions, and it is the physicist's picture made quantitative: a point charge is the a→0a\to0 limit of a tiny charged ball. Watch the total integral come out independent of aa — the conserved "area" that defines a delta family.

Step 1. Compute the Laplacian of VaV_a with the radial part of the spherical Laplacian. First, ∂rVa=−r(r2+a2)−3/2\partial_rV_a=-r(r^2+a^2)^{-3/2}, so r2∂rVa=−r3(r2+a2)−3/2r^2\partial_rV_a=-r^3(r^2+a^2)^{-3/2}. Differentiating again and simplifying:

∇2Va=1r2∂∂r ⁣(−r3(r2+a2)3/2)=−3a2(r2+a2)5/2\nabla^2V_a=\frac{1}{r^2}\frac{\partial}{\partial r}\!\left(-\frac{r^3}{(r^2+a^2)^{3/2}}\right)=-\frac{3a^2}{(r^2+a^2)^{5/2}}

Why the numerator is a2a^2 and not r2r^2: the terms ∝r2\propto r^2 cancel between the product-rule pieces — precisely the off-origin cancellation of Step 1 above. What survives is controlled entirely by the smearing scale aa: a peak of height 3/a33/a^3 at r=0r=0, falling to half-strength near r∼ar\sim a.

Step 2. Integrate over all space with dτ=4πr2 dr\mathrm{d}\tau=4\pi r^2\,\mathrm{d}r:

∫∇2Va dτ=−12πa2∫0∞r2 dr(r2+a2)5/2=−12πa2⋅13a2=−4π\int\nabla^2V_a\,\mathrm{d}\tau=-12\pi a^2\int_0^\infty\frac{r^2\,\mathrm{d}r}{(r^2+a^2)^{5/2}}=-12\pi a^2\cdot\frac{1}{3a^2}=-4\pi

Why the middle integral is 1/3a21/3a^2: substitute r=atan⁡ur=a\tan u; the integrand collapses to 1a2sin⁡2ucos⁡u du\frac{1}{a^2}\sin^2u\cos u\,\mathrm{d}u over [0,π/2][0,\pi/2], giving 13a2\frac{1}{3a^2}. The aa-dependence cancels exactly — every member of the family carries total weight −4π-4\pi.

Step 3. Take a→0a\to0. The peak's width shrinks like aa, its height grows like 1/a31/a^3, its integral stays −4π-4\pi: against any smooth test function, the family samples the origin, converging (in the distributional sense of the previous article) to −4π δ3(r)-4\pi\,\delta^3(\mathbf{r}). Since Va→1/rV_a\to1/r pointwise for r>0r>0, we conclude ∇2(1/r)=−4π δ3(r)\nabla^2(1/r)=-4\pi\,\delta^3(\mathbf{r}), and gradienting backwards, ∇⋅(r^/r2)=+4π δ3(r)\nabla\cdot(\hat{\mathbf{r}}/r^2)=+4\pi\,\delta^3(\mathbf{r}).

Step 4. Physical reading: −14π∇2Va-\frac{1}{4\pi}\nabla^2V_a is the charge density (in suitable units) of the smeared source — a ball of size aa containing unit total charge. The point charge is its idealized limit, and equation (3) is the statement that the limit and the Laplacian commute in the distributional sense — the precise license physics runs on. Verified: matches Griffiths Problem 1.64 and Zangwill §1.5; the substitution integral ∫0∞r2(r2+a2)−5/2dr=1/3a2\int_0^\infty r^2(r^2+a^2)^{-5/2}\mathrm{d}r=1/3a^2 recomputed directly.

Which identity answers which question

you wantusenotes
sample a function at a point in 3D∫f δ3(r−a) dτ=f(a)\int f\,\delta^3(\mathbf{r}-\mathbf{a})\,\mathrm{d}\tau=f(\mathbf{a})if a\mathbf{a} is inside the volume
divergence of an inverse-square field∇⋅(r^/r2)=4πδ3(r)\nabla\cdot(\hat{\mathbf{r}}/r^2)=4\pi\delta^3(\mathbf{r})THE identity; shift for sources at r′\mathbf{r}'
Laplacian of a 1/r1/r potentialequation (3)the Green-function seed
density of a point chargeρ=q δ3(r−r′)\rho=q\,\delta^3(\mathbf{r}-\mathbf{r}')units carried by δ3\delta^3: m−3\mathrm{m^{-3}}
delta in spherical coordinatesequation (2)divide by the Jacobian
rescaled argumentδ3(kr)=δ3(r)/∣k∣3\delta^3(k\mathbf{r})=\delta^3(\mathbf{r})/|k|^3one Jacobian per dimension

Limiting cases

CaseResultMeaning
any volume excluding the origin∫∇⋅(r^/r2) dτ=0\int\nabla\cdot(\hat{\mathbf{r}}/r^2)\,\mathrm{d}\tau=0the identity is invisible until you enclose the point
smearing scale a→0a\to0−3a2(r2+a2)−5/2→−4πδ3(r)-3a^2(r^2+a^2)^{-5/2}\to-4\pi\delta^3(\mathbf{r})point charge as limit of a charged ball
several chargesρ=∑iqi δ3(r−ri)\rho=\sum_iq_i\,\delta^3(\mathbf{r}-\mathbf{r}_i)superposition at the density level
continuous ρ\rhoρ(r)=∫ρ(r′) δ3(r−r′) dτ′\rho(\mathbf{r})=\int\rho(\mathbf{r}')\,\delta^3(\mathbf{r}-\mathbf{r}')\,\mathrm{d}\tau'every distribution is a sum of deltas — the superposition seed
sheet and wire sourcesσ δ(normal)\sigma\,\delta(\text{normal}), λ δ2(transverse)\lambda\,\delta^2(\text{transverse})lower-dimensional sources use fewer spikes
2D analogue∇⋅(s^/s)=2π δ2(s)\nabla\cdot(\hat{\mathbf{s}}/s)=2\pi\,\delta^2(\mathbf{s})the line charge's version of the punchline

Worked examples

1 · Sifting drill in three dimensions (confidence builder)

Evaluate: (a) ∫(r2+3) δ3(r−a) dτ\int(r^2+3)\,\delta^3(\mathbf{r}-\mathbf{a})\,\mathrm{d}\tau over all space, where a=(1,2,2)\mathbf{a}=(1,2,2) m; (b) the same integral over a sphere of radius 2 m centred at the origin; (c) ∫all spacee−r ∇⋅(r^/r2) dτ\int_{\text{all space}}e^{-r}\,\nabla\cdot(\hat{\mathbf{r}}/r^2)\,\mathrm{d}\tau.

Step 1. (a) Sample at the spike: r2→∣a∣2=1+4+4=9r^2\to|\mathbf{a}|^2=1+4+4=9, so the answer is 9+3=129+3=\boxed{12}.

Step 2. (b) Locate the spike first: ∣a∣=3|\mathbf{a}|=3 m — outside the sphere of radius 2 m. The integrand vanishes throughout the region: 0\boxed{0}.

Step 3. (c) Use the punchline identity: ∇⋅(r^/r2)=4πδ3(r)\nabla\cdot(\hat{\mathbf{r}}/r^2)=4\pi\delta^3(\mathbf{r}), so the integral samples e−re^{-r} at the origin: 4πe0=4π≈12.64\pi e^{0}=\boxed{4\pi\approx12.6}. One line — this is the identity working as a tool rather than a theorem.

2 · Double audit, and a point charge in an external potential (exam level)

(a) Recompute example 1(c) without the delta identity, by integration by parts, and confirm the answers agree. (b) A point charge q=2.0 nCq=2.0\ \mathrm{nC} sits at r0\mathbf{r}_0 with ∣r0∣=0.10|\mathbf{r}_0|=0.10 m in an external potential Vext(r)=κr2V_{\mathrm{ext}}(\mathbf{r})=\kappa r^2 with κ=500 V/m2\kappa=500\ \mathrm{V/m^2}. Write its charge density and compute its potential energy W=∫ρ Vext dτW=\int\rho\,V_{\mathrm{ext}}\,\mathrm{d}\tau.

Step 1. (a) Move the divergence off the singular field with the product rule ∇⋅(fv)=f ∇⋅v+v⋅∇f\nabla\cdot(f\mathbf{v})=f\,\nabla\cdot\mathbf{v}+\mathbf{v}\cdot\nabla f, integrated over a large ball of radius RR: ∫e−r ∇⋅v dτ=∮e−r v⋅da−∫v⋅∇(e−r) dτ\int e^{-r}\,\nabla\cdot\mathbf{v}\,\mathrm{d}\tau=\oint e^{-r}\,\mathbf{v}\cdot\mathrm{d}\mathbf{a}-\int\mathbf{v}\cdot\nabla(e^{-r})\,\mathrm{d}\tau.

Step 2. The surface term: on the big sphere, e−R×1R2×4πR2=4πe−R→0e^{-R}\times\frac{1}{R^2}\times4\pi R^2=4\pi e^{-R}\to0 as R→∞R\to\infty. The gradient: ∇e−r=−e−rr^\nabla e^{-r}=-e^{-r}\hat{\mathbf{r}}, so the remaining integral is +∫e−r 1r2 dτ=∫0∞e−r1r2 4πr2 dr=4π∫0∞e−rdr=4π+\int e^{-r}\,\frac{1}{r^2}\,\mathrm{d}\tau=\int_0^\infty e^{-r}\frac{1}{r^2}\,4\pi r^2\,\mathrm{d}r=4\pi\int_0^\infty e^{-r}\mathrm{d}r=\boxed{4\pi}.

Step 3. The two routes agree exactly: the delta identity in one line, honest calculus in four — and the by-parts route never touched the singularity, because the r2r^2 of the volume element tamed the 1/r21/r^2 of the field. Passing this kind of double audit is what "the identity is correct" means operationally.

Step 4. (b) The density is ρ(r)=q δ3(r−r0)\rho(\mathbf{r})=q\,\delta^3(\mathbf{r}-\mathbf{r}_0) — units check: C × m⁻³. The energy integral sifts:

W=∫q δ3(r−r0) κr2 dτ=q κ ∣r0∣2=2.0×10−9×500×(0.10)2=1.0×10−8 J=10 nJW=\int q\,\delta^3(\mathbf{r}-\mathbf{r}_0)\,\kappa r^2\,\mathrm{d}\tau=q\,\kappa\,|\mathbf{r}_0|^2=2.0\times10^{-9}\times500\times(0.10)^2=\boxed{1.0\times10^{-8}\ \mathrm{J}=10\ \mathrm{nJ}}

The delta converted "energy of a point charge" — conceptually awkward, since the charge occupies no volume — into a perfectly ordinary volume integral that evaluates itself. That conversion, repeated with fields instead of external potentials, is how all of electrostatic energy bookkeeping will run in E1.

Origins · 1 minLaurent Schwartz and how this was discovered
LS
Laurent Schwartz
1915–2002 · Paris, École Polytechnique

Schwartz was the mathematician who made the physicists honest. Dirac's delta had computed flawlessly for fifteen years while remaining, by the standards of analysis, gibberish — a function equal to zero almost everywhere with integral one. In a burst of work in 1944-45, Schwartz built the theory of distributions: objects defined not by values but by their action on smooth test functions, with derivatives defined by integration by parts. In that language the delta is simply the evaluation map f↦f(0)f\mapsto f(0), the identity ∇2(1/r)=−4πδ3\nabla^2(1/r)=-4\pi\delta^3 is a two-line theorem, and every formal manipulation in this article becomes checkable mathematics. The work won him the Fields Medal in 1950 — awarded, with some irony, for legitimizing what physicists had refused to stop doing. Schwartz was also famously a man of causes: a lifelong political activist who risked his career opposing colonial wars, and an obsessive butterfly collector with twenty thousand specimens. Rigor, he liked to insist, was not the enemy of physical intuition but its safety certificate.

History
1828
— Green's Essay computes with the potential 1/r1/r and its point source — delta-function reasoning avant la lettre.
1930
— Dirac's Principles codifies the delta and its rules; the mathematics community objects, the physics community computes.
1935
— Sobolev introduces weak derivatives: jumps and spikes acquire derivatives in the integral sense.
1945
— Schwartz constructs distribution theory; the three-dimensional delta and its Laplacian identity become theorems.
1950
— Schwartz receives the Fields Medal — Dirac's improper function is now certified mathematics.

Going further

References. Griffiths, Introduction to Electrodynamics (4th ed.), §1.5 · Jackson, Classical Electrodynamics (3rd ed.), §1.7 and Eq. (1.31) · Purcell & Morin, Electricity and Magnetism (3rd ed.), Appendix on delta functions · Zangwill, Modern Electrodynamics, §1.5

Provenance. Equations cross-checked against Griffiths Introduction to Electrodynamics 4th ed. §1.5 (Eqs. 1.98-1.102), Jackson Classical Electrodynamics 3rd ed. §1.7 Eq. (1.31), and Zangwill Modern Electrodynamics §1.5. A verifier should: (1) recompute ∇ ⁣⋅(r^/r2)=0\nabla\!\cdot(\hat{\mathbf{r}}/r^2)=0 for r≠0r\neq0 via the spherical divergence formula; (2) confirm the sphere flux =4π=4\pi independent of radius; (3) verify the regularized limit ∇2(r2+a2)−1/2=−3a2(r2+a2)−5/2→−4πδ3\nabla^2(r^2+a^2)^{-1/2}=-3a^2(r^2+a^2)^{-5/2}\to-4\pi\delta^3 including the substitution integral ∫0∞r2(r2+a2)−5/2dr=1/3a2\int_0^\infty r^2(r^2+a^2)^{-5/2}\mathrm{d}r=1/3a^2; (4) check the scaling property δ3(ar)=∣a∣−3δ3(r)\delta^3(a\mathbf{r})=|a|^{-3}\delta^3(\mathbf{r}) by change of variables. The 21 cm hyperfine contact-term statement is standard (e.g. Griffiths Quantum Mechanics, hydrogen hyperfine structure). Worked-example numbers on this page (12; 0; 4π4\pi by two independent routes; W=10W=10 nJ for q=2q=2 nC in V=κr2V=\kappa r^2) are illustrative arithmetic recomputed from the boxed identities.

Builds on: The Divergence of a Vector Field · The Divergence (Gauss) Theorem · Volume Integrals · Second Derivatives and the Laplacian Leads to: Poisson's and Laplace's Equations · Gauss's Law · The Electric Potential

Where does the 4π in the punchline identity actually come from?

It is the full solid angle — the same 4π4\pi tracked in the spherical-coordinates article. The flux of r^/r2\hat{\mathbf{r}}/r^2 through a sphere is (field strength 1/r21/r^2) × (area 4πr24\pi r^2) =4π=4\pi: the inverse square cancels the dilution, leaving the pure all-directions count. Any surface enclosing the origin catches the same 4π4\pi (deform it through source-free space), so the delta's coefficient is forced. The same bookkeeping explains why Coulomb's constant is written 1/4πε01/4\pi\varepsilon_0: with the 4π4\pi paid up front, Gauss's law comes out clean as ∇⋅E=ρ/ε0\nabla\cdot\mathbf{E}=\rho/\varepsilon_0 — one convention, and the 4π4\pis land where the geometry says they belong.

Is the 3D delta really just three 1D deltas multiplied together?

In Cartesian coordinates, yes — that product is the definition, and it inherits sampling, scaling, and units (1/m1/\mathrm{m} each, hence 1/m31/\mathrm{m}^3) factor by factor. The care point is every other coordinate system: the naive product δ(r−r0)δ(θ−θ0)δ(ϕ−ϕ0)\delta(r-r_0)\delta(\theta-\theta_0)\delta(\phi-\phi_0) integrates against r2sin⁡θ dr dθ dϕr^2\sin\theta\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi to r02sin⁡θ0≠1r_0^2\sin\theta_0\neq1, so the honest spherical form divides by the Jacobian — equation (2). The reliable habit: a delta is defined by what it integrates to with the honest volume element, never by its symbolic shape; when changing coordinates, re-derive the prefactor from that requirement rather than transporting the Cartesian product.

How do I write a point charge at the origin in spherical coordinates, where the angles are undefined?

Use the radial form δ3(r)=δ(r)4πr2\delta^3(\mathbf{r})=\dfrac{\delta(r)}{4\pi r^2}. Check it: ∫δ(r)4πr2 r2sin⁡θ dr dθ dϕ=14π×4π×∫δ(r) dr=1\int\frac{\delta(r)}{4\pi r^2}\,r^2\sin\theta\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi=\frac{1}{4\pi}\times4\pi\times\int\delta(r)\,\mathrm{d}r=1. The 4πr24\pi r^2 in the denominator spreads the unit spike uniformly over the shrinking sphere — no angular deltas needed, because a point at the origin has no meaningful angles. (One subtlety for purists: since r≥0r\ge0, the spike sits at the edge of the radial range, and conventions differ on half-weights for ∫0∞δ(r) dr\int_0^\infty\delta(r)\,\mathrm{d}r; the displayed form is normalized so the full three-dimensional integral is 1, which is the only thing physics ever uses.)

Does the electric field of a point charge now satisfy Maxwell's first equation everywhere, including at the charge?

Yes — that is precisely what this article buys. With E=q4πε0r^r2\mathbf{E}=\frac{q}{4\pi\varepsilon_0}\frac{\hat{\mathbf{r}}}{r^2} and ρ=q δ3(r)\rho=q\,\delta^3(\mathbf{r}): the punchline identity gives ∇⋅E=q4πε0⋅4πδ3(r)=ρ/ε0\nabla\cdot\mathbf{E}=\frac{q}{4\pi\varepsilon_0}\cdot4\pi\delta^3(\mathbf{r})=\rho/\varepsilon_0, exactly, at every point of space including the origin. Before the delta, the differential Gauss law held only off the charge and the integral law papered over the gap; now both forms hold everywhere and imply each other through the divergence theorem with no excluded points. Every field-source pair in this track — dipoles, line currents, radiating charges — will rest on the same distributional footing.

What is the two-dimensional version — does a line charge have a punchline identity too?

It does, with the geometry's own constant: ∇⋅(s^s)=2π δ2(s)\nabla\cdot\left(\dfrac{\hat{\mathbf{s}}}{s}\right)=2\pi\,\delta^2(\mathbf{s}), where s\mathbf{s} is the position in the plane perpendicular to the line and δ2\delta^2 is the two-dimensional delta (units 1/m21/\mathrm{m}^2). The derivation mirrors this article's: the cylindrical divergence 1s∂s(s⋅1s)\frac{1}{s}\partial_s(s\cdot\frac1s) vanishes off the axis, while the flux through any surrounding cylinder is 2πL2\pi L per length LL — a circumference 2πs2\pi s times a field 1/s1/s. The pattern generalizes: inverse-(d−1)-power fields in dd dimensions concentrate their divergence into deltas weighted by the full angular measure (22 in 1D, 2π2\pi in 2D, 4π4\pi in 3D). The equivalent statement for the wire's magnetic field — a curl concentrated on the axis — powers Ampère's law in E4.

Why is the identity written with r-hat over r² instead of the physical field E?

Separation of concerns: r^/r2\hat{\mathbf{r}}/r^2 is the pure geometry of the inverse square, with the physics (charge, constants, units) stripped off. Every point source in nature rents the same shape — electric fields, Newtonian gravity, steady heat flow from a point heater — so the mathematics is proved once for the naked shape and dressed afterwards: multiply by q/4πε0q/4\pi\varepsilon_0 for electrostatics (∇⋅E=ρ/ε0\nabla\cdot\mathbf{E}=\rho/\varepsilon_0), by −Gm-Gm for gravity (∇⋅g=−4πGρm\nabla\cdot\mathbf{g}=-4\pi G\rho_m). Keeping the identity clean also makes its scope visible: the delta strength is 4π4\pi for exactly the inverse-square profile, an anchor worth remembering when you meet fields that only approximately follow it.

How literally should I believe the point-charge idealization that this identity enables?

As an effective description with a declared blind spot — which is all classical electrodynamics ever claims. The delta says: nothing in your problem resolves the source's internal structure, so assign it none. That works magnificently until you ask questions about the point itself: the classical field energy of a point charge diverges (integrate E2∝1/r4E^2\propto1/r^4 down to r=0r=0), a warning that the idealization has been pushed past its regime. Physically, electrons are point-like down to at least 10−1910^{-19} m in scattering experiments, but the divergence problem survives into quantum field theory, where renormalization is the systematic art of computing with singular point sources — the mature descendant of this article's regulator-and-limit game. For every calculation in this track, q δ3(r−r′)q\,\delta^3(\mathbf{r}-\mathbf{r}') is exactly the right tool; just don't ask it for the self-energy of the point.

Before this

Where this leads