The Laplacian Operator

ski sickness logo

The Laplacian Operator
from Cartesian to Cylindrical to Spherical Coordinates

The Laplacian Operator is very important in physics. It is nearly ubiquitous. Its form is simple and symmetric in Cartesian coordinates.

cartesian laplacian

Before going through the Carpal-Tunnel causing calisthenics to calculate its form in cylindrical and spherical coordinates, the results appear here so that more intelligent people can just move along without troubling themselves. In cylindrical form:

cylindrical laplacian

In spherical coordinates:

spherical laplacian

Converting to Cylindrical Coordinates

The painful details of calculating its form in cylindrical and spherical coordinates follow. It is good to begin with the simpler case, cylindrical coordinates. The z component does not change. For the x and y components, the transormations are

cylindrical to cartesian;

inversely,

cartesian to cylindrical.

The chain rule relates the Cartesian operators to the cylindrical operators:

chain rule x

and

chain rule y.

Calculate the derivatives for the chain rule. First ρ:

drhodx

drhody

Now φ, using implicit differentiation:

dphidx

dphidy

Now write the Cartesian derivatives in terms of the cylindrical derivatives.

d2dx2 in cylindrical coordinates

d2dy2 in cylindrical coordinates

Think FOIL. Fx+Fy: the sum of the products of the first terms for the two derivatives gives a second derivative with respect to ρ. Ox+Oy: the outside terms cancel. Ix+Iy: the sum of the inside terms gives the derivative with respect to ρ divided by ρ. Lx+Ly: the sum of the products of the last terms for the two derivatives gives a second derivative with respect to φ divided by ρ squared. Put it all together to get the Laplacian in cylindrical coordinates.

laplacian in cylindrical coordinates

Converting to Spherical Coordinates

Now for the dreaded conversion to spherical coordinates. Before getting lost in this messy morass, perhaps it's good to remember why we care. We care because fundamental forces are believed to act directly between particles, with intermediate particles being the carriers of forces; mathematically, this means that these forces act radially. The gravitational force between masses and the electric force between charged particles are the two most common examples. So everything becomes much simpler if the angular parts can be resolved on their own. Spherical coordinates are the natural basis for this separation in three dimensions. The transformations of the coordinates themselves look rather innocuous. From spherical to Cartesian:

108

Or from Cartesian to spherical:

cartesian to spherical

Now take derivatives. Begin with r.

dr/dx

dr/dy

dr/dz

Next find the partial derivatives of θ, once again by implicit differentiation. To find the derivatives with respect to x and y, use the expression for cos(θ).

dtheta/dx

dtheta/dy

Then use the expression for sin(θ) to find the derivative with respect to z.

dtheta/dz

The derivatives of φ are the same as they were for cylindrical coordinates. For posterity, here they are in terms of spherical coordinates.

dphi/dx and dphi/dy

Now comes the chain rule. This time, it's a bit uglier, since there are three variables involved. The simplest of the three terms in the Cartesian Laplacian to translate is z, since it is independent of the azimuthal angle.

d^2/dz^2 in spherical coordinates

The x and y versions are rather abominable.

d^2/dx^2 in spherical coordinates

d^2/dy^2 in spherical coordinates

This calls for an orgainized approach. All told, there is a total of 22 terms. First consider those that go like the second derivative of r. Collecting the three terms (one x, one y, one z), to find that they contribute

d^22/dr^2.

That wasn't so bad. Three down, 19 to go. Clinging to the fringes of the equations, next consider the terms that go like the second derivative of φ and find the contribution

d^2/dphi^2.

The result is not quite as pretty, but it was still mostly painless. Only 17 terms remain! To complete the diagonal derivatives, gather the three terms that come from the product of two derivatives with respect to θ to find the contribution

d^2/dtheta^2.

Some easy math has been omitted. That was another three terms, which leaves 14. For the next bout of sadomasochism, collect all terms that result from the product of an r derivative and a θ derivative. This way, at least all z terms will be finished. The contribution is

cross terms yuck!

If you didn't notice that some serious cancellation of cross terms happened before that pretty equation could be written, then you're not really paying attention. If you did notice, then you probably also noticed that 6 terms from our 22 term torture session just bit the dust.

Consider the 4 θ-φ cross terms. When the dust settles, the remaining bit is

ddtheta-ddphi cross term

Only four more terms! Eager to see the end, tally the contributions from r-φ cross terms. The terms that don't cancel each other give the contribution

d/dr-d/dphi cross terms.

Now we gather all the terms to write the Laplacian operator in spherical coordinates:

laplacian operator

This can be rewritten in a slightly tidier form:

laplacian in spherical coordinates

Notice that multiplying the whole operator by r2 completely separates the angular terms from the radial term. That is why all that work was worthwhile. Now it's time to solve some partial differential equations!!! See Legendre Polynomials and Spherical Harmonics.

ski sickness logo

The august archive of high-angle hip-angulation