Quote

The enormous usefulness of mathematics in the natural sciences is something bordering on the mysterious.

— Eugene Wigner (1960)

Motivation

This chapter collects the mathematical machinery used throughout electrodynamics: vector calculus in Cartesian and curvilinear coordinates, index notation, integral theorems, delta functions, Fourier analysis, and the Helmholtz decomposition. None of this is new — but having it condensed and cross-referenced saves constant trips back to math references.


Coordinate Systems and Differential Operators

Cartesian Coordinates

Volume element and operators:

Spherical Coordinates

Cylindrical Coordinates


Einstein Summation Convention

Repeated indices are summed over:

This makes vector identities into index algebra. The key objects are and .


Kronecker Delta and Levi-Civita Symbol

Essential Identities

IdentityFormula
Dot product of basis vectors
Trace
Selector
Partial derivative of position
Cross product
Curl
Contraction to zero
Full contraction

Additional 3D Identities

Fourier representation:

Surface delta function — for a surface defined by :

Second derivative identity:

Why the Delta Term in the Second Derivative

The traceless tensor integrates to zero over any sphere centered at the origin — but must be consistent with . Taking the trace (, summing) of the left side must give , which forces the contact term. This becomes important in the theory of dipole fields.

TODO: Add link to dipole theory.

The Master Identity

The single most useful identity in all of vector calculus via indices:

Almost every vector identity can be derived from this by choosing appropriate indices and contracting.


Vector Identities

Cartesian Only

Index-based proofs of vector identities work only in Cartesian coordinates. The strategy: derive the identity in Cartesian indices, then pull the result back into a coordinate-invariant expression. The final identity then holds in any coordinate system.

This is also why it’s often useful to choose along a special direction (e.g., a dipole moment or external field), work out the algebra, and then re-express the answer in coordinate-free form.

Useful Identities

Product rules:

Double cross products:

Mixed dot/cross products:


Functions of

Let with . Then:


The Convective Derivative

Let be a scalar function of space and time. An observer at a fixed point records . An observer moving along a trajectory with velocity records:

For a vector function :

What This Actually Means

Calling a “partial” and a “total” derivative is standard but misleading. What’s really going on:

  • is the rate of change at a fixed point in space — the field evolves around you.
  • is the change you pick up by moving through a spatially varying field — even if it’s static.
  • is the rate of change along a worldline .

The parameter plays a dual role: it parameterizes both the system’s evolution (through ) and the observer’s trajectory (through ). The convective derivative combines both.


Multidimensional Taylor Expansion

Differentials in the Exponent

The notation is formal — it means “apply the differential operator repeatedly.” This is not exponentiation of a number; it’s the operator Taylor series. But it’s extremely useful as a bookkeeping device: translation in space is generated by the gradient operator, just as translation in time is generated by .


The Jacobian

The determinant of the Jacobian matrix relates volume elements when changing variables:


Integral Theorems

The Divergence (Gauss’) Theorem

For a vector function defined in a volume enclosed by a surface with outward normal :

Intuition

The divergence at a point measures the net “source strength” — how much more flux leaves a tiny volume than enters it. Summing over all such volumes, interior faces cancel (flux leaving one cell enters the neighbor), and only the flux through the outer boundary survives.

Variants from and (with an arbitrary constant vector):

Green’s Identities

Choose in the divergence theorem → Green’s first identity:

Exchange and subtract → Green’s second identity:

Where These Are Used

Green’s identities are the backbone of potential theory. The first identity proves uniqueness of solutions to Laplace’s equation. The second identity is the basis for Green function methods. The vector analogues appear in radiation theory.

Vector analogues: Choose and use :

Exchange and subtract:

Stokes’ Theorem

For a vector function on an open surface bounded by a closed curve :

is traversed in the direction given by the right-hand rule with the thumb along .

Intuition

The curl at a point measures the local circulation density. Summing over all tiny loops tiling , adjacent edges cancel (shared edges are traversed in opposite directions), leaving only the boundary .

Variants from and :


The Delta Function

Not a Function

is a distribution (generalized function) — it is defined only by what it does under an integral sign. It cannot be evaluated pointwise.

One Dimension

Defining property:

Other properties:

Integral Representation

Step Function and Sign Function

Three Dimensions

In curvilinear coordinates, the delta function must integrate to unity over all space so:

An Important Identity For Electrostatics


Fourier Analysis

Fourier Series

Every periodic function has a Fourier series:

Fourier Transform

For non-periodic functions, the sum becomes an integral:

**Full spacetime (note sign flip convention in temporal direction):

For real : .

Discrete → Continuous

The Fourier series has discrete modes because periodicity imposes a cutoff: the longest wavelength is , so . For a non-periodic function, , the spacing , and the sum becomes an integral. The factor in becomes .


Time-Averaging Theorem

Let and where are complex-valued. Then:


Tensors (Brief)

A tensor of rank is an object whose components transform under rotation by acquiring one factor of per index:

RankObjectTransformation
0Scalar
1Vector
2Dyadic

A vector is characterized by preservation of its length under orthogonal transformations: (using ).

A dyadic is a rank-2 tensor composed of juxtaposed (not multiplied) vectors:

The unit dyadic has , so , and .

Pseudovectors

The cross product transforms as:

Under proper rotations (), this is identical to a vector. Under reflections or inversions (), an extra minus sign appears. Such objects are called pseudovectors (or axial vectors).

Polar × PolarAxial × PolarAxial × Axial
ResultAxialPolarAxial

The Helmholtz Theorem

Statement

An arbitrary vector field that vanishes faster than as can be uniquely decomposed as:

with

This holds for both static and time-dependent fields.

Helmholtz Variants

Source: D.A. Woodside, Journal of Mathematical Physics 40, 4911 (1999).


Lagrange Multipliers

To extremize subject to the constraint , extremize the unconstrained function:

How This Actually Works

Treat itself as a variable. Then and give , while recovers the constraint (if the constraint is , just redefine ). You’ve traded a constrained problem in 2 variables for an unconstrained problem in 3, where the extra variable’s equation of motion is the constraint.

Geometrically: At a constrained extremum, must be parallel to — otherwise there’s a component of along the constraint surface, meaning you could slide along and still increase . The multiplier is exactly the proportionality constant.

When Becomes a Function

In many physics problems, the constraint must hold at every point in space — e.g., requiring a charge distribution to produce a given potential everywhere on a surface. Then is promoted to a function , and the “unconstrained” functional becomes:

The variation now gives a local equation at each point. The simplest example: finding the charge distribution on a conductor that minimizes electrostatic energy subject to on the surface — this is Thomson’s theorem (Ch. 7).


Problems

Foundations

1.7 — A Representation of the Delta Function

Show that is a representation of by proving .

1.12 — Unit Vector Practice

Express the derivatives of spherical unit vectors , , , , , in terms of .

1.13 — Compute the Normal Vector

Given a surface (an ellipsoid), compute the outward unit normal .

Delta Function and Fourier

1.16 — Densities of States

Prove the delta function identity and use it to compute densities of states.

Vector Calculus Identities

1.3 — Divergence and Curl Identities

Prove: (a) (b) (c)

1.4 — Levi-Civita Proofs

(a) Show . (b) Prove .

1.11 — Integral Identities

Assume and vanish faster than as . (a) If and , show . (b) If and , show . (c) Prove .

Physical Significance of (c)

The integral of a polarization over a volume can be rewritten in terms of (bound charge) and the surface term (bound surface charge), weighted by position .