18. Electrostatics Using Spherical Coordinates: Spherical Harmonics
Introduction
There are many situations on electrostatics, starting even with a single point charge at the origin, where the coordinates are a poor choice for analyzing the fieldthe potential depends only on radial distance so obviously needs to be one of the coordinates. The other two must fix location on the constant spherical surface. The standard choice is of course latitude and longitude, except that in physics we take the latitude angle to be zero at the north pole, increasing to at the equator and at the south pole.
The methods developed below for dealing with electric (and electromagnetic) fields in this coordinate system are often the most natural way of analyzing charge and current distributions, and the related electromagnetic radiation emanating from a bounded set of such oscillating charges/currents. The same analysis works on all scales from atoms, through antennas and planetary phenomena, to galactic scales and above, where, admittedly, general relativistic effects will make the analysis more interesting (and we won’t cover that here).
Consider now the electric potential of a point charge not at the origin, but on the axis : in coordinates, it clearly does not depend on in fact, a wide variety of systems have this azimuthal (meaning - independent) symmetry, and are the natural coordinates for analyzing their electrostatic fields.
Expressions for the common differential operators in can be found in my notes here.
Spherical Coordinates
In coordinates, Laplace's equation becomes:
As usual, we look for factorizable solutions (which, it later turns out, form a complete basis for all physically relevant solutions). That is, we take
.
(Note: This is the standard notation, as in Wikipedia, Griffiths, etc. Jackson, however, writes )
Making this substitution in the above equation, and then dividing by as usual (for instance, in quantum treatment of the hydrogen atom), gives a sum of three terms to be zero, the first term a function of only, the second of only, the third of (If you do need a reminder of how this works, details can be found here.) These three terms must always add to zero: that is, for arbitrary values of This can only happen if the three terms are in fact separately constant, otherwise we could just vary one of them to get a nonzero result. (The individual constants of course add to zero.)
The simplest term to deal with is the azimuthal variation
Since the potential is real and single valued, and goes all the way around the spherical axis, we must have a sum of terms for integer values of
The next term (in the brackets in the differential equation) gives that must satisfy
where at this point we've used Although at this stage is an arbitrary constant, we write it this way using hindsight, because we’ll find the final equation, that for becomes
so
.
We'll assume the field at the origin does not vary as a non-integral power of
Non-integral behavior would only happen in certain special geometries, such as conical conducting surfaces. We encountered similar behavior in 2D for two conducting sheets at different potentials intersecting along a line with an arbitrary angle between them.
To study the equation for further, it's convenient to set , so the equation becomes
Axially Symmetric Case: Legendre’s Equation and Polynomials
In this section, we'll examine the axially symmetric case, the differential equation becomes
This is Legendre’s equation, and can be written as an eigenvalue equation, switching here to the standard notation :
on the interval that is, .
This is different from our previous operators in that the operator itself has singular points at the endpoints of the interval, so some discussion is required to establish that a complete orthogonal set of eigenfunctions can in fact be found.
Notice first that for possible independent solutions are and This second solution, although mathematically ok, is singular at the north and south poles, which are not special pointswe could have set our coordinate system at any orientation. So from now on we'll drop singular solutions (for any value of ).
For if we try a power series solution we find
Evidently, the series terminates at But what if is even and is odd? Then the series will not terminate, the coefficients will asymptotically be equal, and the series will diverge at This is not a physical solution of the original differential equation, so we conclude that if is even/odd, the series, a polynomial of degree only includes even/odd powers of
The orthogonality of the different 's follows from the equation
Since we are taking only nonsingular solutions, the right-hand side is zero.
We Could Have Found These Polynomials Using Schmidt Orthogonalization...
We've just shown that the are a set of orthogonal polynomials in on the interval
But the standard Schmidt orthogonalization procedure applied to generates a unique set of orthogonal polynomials, so these have to be the 's , apart from normalization.
Warning! In contrast to orthogonal sets of functions we've previously encountered (such as Fourier series), the Legendre polynomials, by tradition, are not defined to be orthonormal: their normalization is defined by
The reason for this normalization convention will soon become evident.
Here are plots of the first few 's (from Wikipedia).
From the Schmidt process plus normalization
Rodrigues' Formula
Rodrigues discovered a very neat formula for generating the polynomials without having to go up the Schmidt ladder:
It's straightforward to prove that defined in this way is a solution of the differential equation, and that the different ’s are orthogonal to each other.
Exercise: do it!
Therefore, since they are polynomials of the appropriate order, and mutually orthogonal, they must be the same as those found by successive orthogonalization, apart from normalization. Rodrigues' prefactor ensures the standard normalization With this requirement, the 's are not orthonormal, in fact (as can be proved from Rodrigues' formula)
They have alternating parity:
The Potential from a Point Charge in Legendre Polynomials: the Generating Function
The general axially symmetric (meaning ) solution of the Laplace equation, is
As a preliminary exercise, we take a unit charge on the axis at
Then the solution of in the region must have the form (dropping the , we're just doing math here, and we don’t want to clutter it up) :
(The ’s in the more general expansion given above have to all be zero, since is not singular at the originit’s just from the one charge, which is not at the origin.)
We can now find the ’s by setting and Taylor expanding:
Therefore,
It's now evident why the normalization is a good choice!
The function on the left is called the generating function of the Legendre polynomials. (A generating function is a function of two variables: when it is expressed as a power series in one of the variables, the successive coefficients are the functions of the other variable we’re generating.)
An exactly similar argument, based on the nondivergent behavior of at infinity, gives
You will often see these two formulas combined and written
Using the Generating Function to Find Recursion Relations among Legendre Polynomials
In this section, to make the equations easier to read, we'll go back to the notation and also take (in the equation at the end of the last section). Then, writing the generating function as we have
(Just repeating the equation for the case in the previous section.)
We can find recursion relations among the polynomials easily by differentiating the generating function with respect to its variables, then matching coefficients in the power series.
First, differentiating with respect to
or
Now writing this in terms of the polynomials,
Bonnet's Formula
Comparing coefficients of on the two sides we find
giving Bonnet's formula:
Notice that Bonnet’s formula enables a recursive method for successively constructing the polynomials: starting with we can generate them all.
Bonnet's formula is also useful for finding evidently only nonzero for (This is relevant for transitions between atomic angular momentum states induced by an external electric field.)
Finally, using Bonnet's formula it's easy to find the value of the (even) polynomials at the origin:
Recursion Relations Including Derivatives
More recursion relations are generated by differentiating with respect to
and equating the coefficient of on the two sides, to find
Subtracting times this equation from twice the differential of Bonnet's equation, gives
Putting this with
adding and subtracting give:
We can actually use these recursion relations to prove that the polynomials do indeed satisfy Legendre's equation: here we go.
Taking the top equation of the two, but shift the index down by one, to get
Now add this to times the bottom equation,
or
Then take the derivative,
and finally, using we find
checking that the Legendre polynomials generated this way satisfy Legendre's equationwhich of course we knew all along, since we began with a generating function satisfying Laplace's equation in the relevant region, so expanding in powers of each term must satisfy it.
One final point: the formula
can be used to evaluate
since we found the values of the polynomials at above. (Notice the integral must be zero for an even polynomial, since it's orthogonal to )
General Spherical Harmonics
It’s time to move from azimuthal symmetry to harmonics depending on both and necessary in describing the electric potential from more general charge distributions.
So we’re back to
with integers. It turns out that the solutions are
and the spherical harmonics are defined as
These are orthonormal (from the corresponding property of the Legendre polynomials)
and complete:
nontrivial to prove, see for example Byron and Fuller for a proof.
The general solution of can be written as
It is sometimes useful to borrow notation from quantum mechanics, and write these as Localized states on the surface of the sphere, and the corresponding delta function, can be written
and
(Note: the area measure on the unit sphere is this is why the delta function has the form above. To check the sign's right, remember decreases as a function of in .)
The spherical harmonics are eigenstates of vibration of a sphere, think a perfectly spherical balloon (pictures here from Wikimedia.).
They are also the angular patterns of wave functions for atomic orbitals, these being eigenstates of angular momentum, represented in quantum mechanics by an operator equivalent to acting on the surface of a sphere.
Addition Theorem
An important identity is the so-called addition theorem for spherical harmonics:
where .
In other words, is the angle between the direction and the direction so is the dot product of two unit vectors of the form
Writing this as
notice that is the identity operator within the eigenvalue subspace, hence clearly invariant under rotations, so we can conveniently re-orient to put that is, along the axis. Now is only nonzero for otherwise the term would give a non-differentiable function along the axis. (Or, notice it has a factor )
So, on the right-hand side, after re-orientation, only contributes, and the normalization condition
gives the result.
Factorizing a Potential
This proves very useful in “factorizing” the potential between two charges,
Important! As we shall soon see, the significance of this is that any charge distribution can be factored into monopole, dipole, quadrupole, etc., and this equation is telling us that the dipole component of a charge distribution generates a potential having dipole angular dependence, etc. As we’ll find later, this correspondence also holds between spherical components of oscillating charge distributions and components of the radiation emitted.