# Advanced Mathematics for Engineers and Scientists/The Laplacian and Laplace's Equation

## The Laplacian and Laplace's EquationEdit

By now, you've most likely grown sick of the one dimensional transient diffusion PDE we've been playing with:

Make no mistake: we're not nearly done with this stupid thing; but for the sake of variety let's introduce a fresh new equation and, even though it's not strictly a separation of variables concept, a really cool quantity called the Laplacian. You'll like this chapter; it has many pretty pictures in it.

### The LaplacianEdit

The Laplacian is a linear operator in Euclidean n-space. There are other spaces with properties different from Euclidean space. Note also that operator here has a very specific meaning. As a function is sort of an operator on real numbers, our operator is an operator on functions, not on the real numbers. See here for a longer explanation.

We'll start with the 3D Cartesian "version". Let . The **Laplacian** of the function is defined and notated as:

So the operator **is** taking the sum of the nonmixed second derivatives of with respect to the *Cartesian* space variables . The "del squared" notation is preferred since the capital delta can be confused with increments and differences, and is too long and doesn't involve pretty math symbols. The Laplacian is also known as the Laplace operator or Laplace's operator, not to be confused with the Laplace transform. Also, note that if we had only taken the first partial derivatives of the function , and put them into a vector, that would have been the gradient of the function . The Laplacian takes the second unmixed derivatives and adds them up.

In one dimension, recall that the second derivative measures concavity. Suppose ; **if is positive, is concave up**, and **if is negative, is concave down**, see the graph below with the straight up or down arrows at various points of the curve. The Laplacian may be thought of as a generalization of the concavity concept to multivariate functions.

This idea is demonstrated at the right, in one dimension: . To the left of , the Laplacian (simply the second derivative here) is negative, and the graph is concave down. At , the curve inflects and the Laplacian is . To the right of , the Laplacian is positive and the graph is concave up.

Concavity may or may not do it for you. Thankfully, there's another very important view of the Laplacian, with deep implications for any equation it shows itself in: the Laplacian compares the value of at some point in space to the average of the values of in the neighborhood of the same point. The three cases are:

- If is greater at some point than the average of its neighbors, .
- If is at some point equal to the average of its neighbors, .
- If is smaller at some point than the average of its neighbors, .

So the laplacian may be thought of as, at some point :

The neighborhood of some point is defined as the open set that lies within some Euclidean distance δ (delta) from the point. Referring to the picture at right (a 3D example), the neighborhood of the point is the shaded region which satisfies:

Note that our one dimensional transient diffusion equation, our parallel plate flow, involves the Laplacian:

With this mentality, let's examine the behavior of this very important PDE. On the left is the time derivative and on the right is the Laplacian. This equation is saying that:

**The rate of change of at some point is proportional to the difference between the average value of around that point and the value of at that point.**

For example, if there's at some position a "hot spot" where is on average greater then its neighbors, the Laplacian will be negative and thus the time derivative will be negative, this will cause to decrease at that position, "cooling" it down. This is illustrated below. The arrows reflect upon the magnitude of the Laplacian and, by grace of the time derivative, the direction the curve will move.

It's worth noting that in 3D, this equation fully describes the flow of heat in a homogeneous solid that's not generating it's own heat (like too much electricity through a narrow wire would).

### Laplace's EquationEdit

Laplace's equation describes a steady state condition, and this is what it looks like:

Solutions of this equation are called *harmonic functions*. Some things to note:

- Time is absent. This equation describes a steady state condition.
- The absence of time implies the absence of an IC, so we'll be dealing with BVPs rather then IBVPs.
- In one dimension, this is the ODE of a straight line passing through the boundaries at their specified values.
- All functions that satisfy this equation in some domain are analytic (informally, an analytic function is equal to its Taylor expansion) in that domain.
- Despite appearances, solutions of Laplace's equation are generally not minimal surfaces.
- Laplace's equation is linear.

Laplace's equation is separable in the Cartesian (and almost any other) coordinate system. So, we shouldn't have too much problem solving it if the BCs involved aren't too convoluted.

### Laplace's Equation on a Square: Cartesian CoordinatesEdit

Imagine a 1 x 1 square plate that's insulated top and bottom and has constant temperatures applied at its uninsulated edges, visualized to the right. Heat is flowing in and out of this thing steadily through the edges only, and since it's "thin" and "insulated", the temperature may be given as . This is the first time we venture into two spatial coordinates, note the absence of time.

Let's make up a BVP, referring to the picture:

So we have one nonhomogeneous BC. Assume that :

As with before, calling the separation constant in favor of just (or something) happens to make the problem easier to solve. Note that the negative sign was kept for the equation: again, these choices happen to make things simpler. Solving each equation and combining them back into :

At edge D:

Note that the constants can be merged, but we won't do it so that a point can be made in a moment. At edge A:

Taking as would satisfy this particular BC, however this would yield a plane solution of , which can't satisfy the temperature at edge C. This is why the constants weren't merged a few steps ago, to make it obvious that may not be . So, we instead take to satisfy the above, and then combine the three constants into one, call it :

Now look at edge B:

It should go without saying by now that can't be zero, since this would yield which couldn't satisfy the nonzero BC. Instead, we can take :

As of now, this solution will satisfy 3 of the 4 BCs. All that is left is edge C, the nonhomogeneous BC.

Neither nor can be contorted to fit this BC.

Since Laplace's equation is linear, a linear combination of solutions to the PDE is also a solution to the PDE. Another thing to note: since the BCs (so far) are homogeneous, we can add the solutions without worrying about nonzero boundaries adding up.

Though as shown above will not solve this problem, we can try summing (based on ) solutions to form a linear combination which might solve the BVP as a whole:

Assuming this form is correct (review Parallel Plate Flow: Realistic IC for motivation), let's again try applying the last BC:

It looks like it needs Fourier series methodology. Finding via orthogonality should solve this problem:

was changed to in the last step. Also, for integer , . Note that a Fourier sine expansion has been done. The solution to the BVP can finally be assembled:

That solves it!

It's finally time to mention that the BCs are discontinuous at the points and . As a result, the series should converge slowly at those points. This is clear from the plot at right: it's a 25 term partial sum (note that half of the terms are ), and it looks perfect except at , especially near the discontinuities at and .

### Laplace's Equation on a Circle: Polar CoordinatesEdit

Now, we'll specify the value of on a circular boundary. A circle can be represented in Cartesian coordinates without too much trouble; however, it would result in nonlinear BCs which would render the approach useless. Instead, polar coordinates should be used, since in such a system the equation of a circle is very simple. In order for this to be realized, a polar representation of the Laplacian is necessary. Without going in to the details just yet, the Laplacian is given in (2D) polar coordinates:

This result may be derived using differentials and the chain rule; it's not difficult but it's a little long. In these coordinates Laplace's equation reads:

Note that in going from Cartesian to polar coordinates, a price was paid: though still linear, Laplace's equation now has *variable coefficients*. This implies that after separation at least one of the ODEs will have variable coefficients as well.

Let's make up the following BVP, letting ** **:

This could represent a physical problem analogous to the previous one: replace the square plate with a disc. Note the apparent absence of sufficient BC to obtain a unique solution. The funny looking statement that u is bounded inside the domain of interest turns out to be the key to getting a unique solution, and it often shows itself in polar coordinates. It "makes up" for the "lack" of BCs. To separate, we as usual incorrectly assume that :

Once again, the way the negative sign and the separation constant are arranged makes the solution easier later on. These decisions are made mostly by trial and error.

The equation is probably one you've never seen before, it's a *special case* of the **Euler differential equation** (not to be confused with the Euler-Lagrange differential equation). There are a couple of ways to solve it, the most general method would be to change the variables so that an equation with constant coefficients is obtained. An easier way would be to note the pattern in the order of the coefficients and the order of the derivatives, and from there guess a power solution. Either way, the general solution to this simple case of Euler's ODE is given as:

This is a very good example problem since it goes to show that PDE problems very often turn into obscure ODE problems; we got lucky this time since the solution for was rather simple though its ODE looked pretty bad at first sight. The solution to the equation is:

Combining:

Now, this is where the English sentence condition stating that u must be bounded in the domain of interest may be invoked. As , the term involving is unbounded. The **only** way to fix this is to take . Note that if this problem were solved between two concentric circles, this term would be nonzero and very important. With that term gone, constants can be merged:

Only one condition remains: on , yet there are 3 constants. Let's say for now that:

Then, it's a simple matter of equating coefficients to obtain:

Now, let's make the frequencies differ:

Equating coefficients won't work. However, if the IC were broken up into individual terms, the sum of the solution to the terms just happens to solve the BVP as a whole:

Verify that the solution above is really equal to the BC at :

And, since Laplace's equation is linear, this must solve the PDE as well. What all of this implies is that, if some generic function may be expressed as a sum of sinusoids with angular frequencies given by , all that is needed is a linear combination of the appropriate sum. Notated:

To identify the coefficients, substitute the BC:

The coefficients and may be determined by a (full) Fourier expansion on . Note that it's implied that *must* have period since we are solving this in a domain (a circle specifically) where .

You probably don't like infinite series solutions. Well, it happens that through a variety of manipulations it's possible to express the full solution of this particular problem as:

This is called Poisson's integral formula.

### Derivation of the Laplacian in Polar CoordinatesEdit

Though not necessarily a PDEs concept, it is very important for anyone studying this kind of math to be comfortable with going from one coordinate system to the next. What follows is a long derivation of the Laplacian in 2D polar coordinates using the multivariable chain rule and the concept of differentials. Know, however, that there are really many ways to do this.

Three definitions are all we need to begin:

If it's known that , then the chain rule may be used to express derivatives in terms of and alone. Two applications will be necessary to obtain the second derivatives. Manipulating operators as if they meant something on their own:

Applying this to itself, treating the underlined bit as a unit dependent on and :

The above mess may be quickly simplified a little by manipulating the funny looking derivatives:

This may be made slightly easier to work with if a few changes are made to the way some of the derivatives are written. Also, the variable follows analogously:

Now we need to obtain expressions for some of the derivatives appearing above. The most direct path would use the concept of differentials. If:

Then:

Solving by substitution for and gives:

If , then the **total differential** is given as:

Note that the two previous equations are of this form (recall that and , just like above), which means that:

Equating coefficients quickly yields a bunch of derivatives:

There's an easier but more abstract way to obtain the derivatives above that may be overkill but is worth mentioning anyway. The Jacobian of the functions and is:

Note that the Jacobian is a compact representation of the coefficients of the total derivative; using as an example (bold indicating vectors):

So, it follows then that the derivatives that we're interested in may be obtained by inverting the Jacobian matrix:

Though somewhat obscure, this is very convenient and it's just one of the many utilities of the Jacobian matrix. An interesting bit of insight is gained: coordinate changes are senseless unless the Jacobian is invertible everywhere except at isolated points, stated another way the determinant of the Jacobian matrix must be nonzero, otherwise the coordinate change is not one-to-one (note that the determinant will be zero at in this example. An isolated point such as this is not problematic.).

Either path you take, there should now be enough information to evaluate the Cartesian second derivatives. Working on :

Proceeding similarly for :

Now, add these tirelessly hand crafted differential operators and watch the result collapse into just 3 nontrigonometric terms:

That was a lot of work. To save trouble, here is the Laplacian in other two other popular coordinate systems:

**Cylindrical**:

**Spherical**:

Derivatives have been combined wherever possible (not done previously).

### Concluding RemarksEdit

This was a long, involved chapter. It should be clear that the solutions derived work only for very simple geometries, other geometries may be worked with by grace of **conformal mappings**.

The Laplacian (and variations of it) is a very important quantity and its behaviour is worth knowing like the back of your hand. A sampling of important equations that involve the Laplacian:

- The Navier Stokes equations.
- The diffusion equation.
- Laplace's equation.
- Poisson's equation.
- The Helmholtz equation.
- The Schrödinger equation.
- The wave equation.

There's a couple of other operators that are similar to (though less important than) the Laplacian, which deserve mention:

**Biharmonic operator**, in three Cartesian dimensions:

The biharmonic equation is useful in linear elastic theory, for example it can describe "creeping" fluid flow:

**d'Alembertian**:

The wave equation may be expressed using the d'Alembertian:

Though expressed with the Laplacian is more popular: