Elliptic Equations

George E. Hrabovsky

MAST

Introduction

In this lesson we look, in some detail, at the properties of elliptic equations. In specific we will study the Laplace and Poisson equations. We will then explore how to implement Dirichlet problems and Neumann problems. We will introduce a system for calculating the eigenvalues and eigenfunctions of elliptic equations. Then we will study how to express elliptic equations over specific regions. Then we will study how to handle mixed boundary problems. Then we will discuss unbounded regions. Then we will solve inhomogeneous boundary conditions. We will then turn to polar and spherical coordinates. We will then discuss equations in three spatial dimensions in general.

The Laplace Equation

We can write the time-independent equilibrium of the value of a function defined on a surface, u(x,y),

l9_1.png

(9.1)

The Laplacian expresses the change in the value of the function from the average of its value at neighboring points. If we want to write a Laplacian in Mathematica we type [ESC]del2[ESC].

l9_2.png

Make a list of the variables in the subscript tab and the function in the right-hand tab.

So we need to write the equation.

l9_3.png

l9_4.png

Let’s try to solve this using DSolve.

l9_5.png

l9_6.png

So, in general we have the solution in the form of the sum of arbitrary functions of a complex variable.

Dirichlet Problems

A landmark (and now considered elementary) problem from mathematical physics is the Dirichlet problem for the Laplace equation on a rectangle. Let’s say that our function represents a potential. What is the value of this function over some rectangular domain?

To establish Dirichlet conditions we write the equations for the boundary values,

l9_7.png

(9.2)

and

l9_8.png

(9.3)

We then write this Dirichlet problem.

l9_9.png

l9_10.png

We now place this into our solution.

l9_11.png

l9_12.png

We can get a solution we can plot. Take the first 5 terms of the series.

l9_13.png

l9_14.png

The plot of this is then given here.

l9_15.png

l9_16.gif

DEigensystem and NDEigensystem

There is a system for finding the eigenvalues and eigenfunctions of an operator on some region. For the problem above we can write the operator.

l9_17.png

l9_18.png

We then need to specify our Dirichlet boundary conditions.

l9_19.png

We then apply the command DEigensystem to establish the smallest ten eigenvalues, denoted eval1, and the eigenfunctions, denoted efun1, on a rectangle.

l9_20.png

Here is the list of eigenvalues.

l9_21.png

1 l9_22.png
2 l9_23.png
3 l9_24.png
4 l9_25.png
5 l9_26.png
6 l9_27.png
7 l9_28.png
8 l9_29.png
9 l9_30.png
10 l9_31.png

Here we have a table of the eigenfunctions.

l9_32.png

1 l9_33.gif
2 l9_34.gif
3 l9_35.gif
4 l9_36.gif
5 l9_37.gif
6 l9_38.gif
7 l9_39.gif
8 l9_40.gif
9 l9_41.gif
10 l9_42.gif

We can also perform a numerical approximation.

l9_43.png

Here is the list of eigenvalues.

l9_44.png

1 -19.7392 -19.7392
2 -49.348 -49.3486
3 -49.348 -49.3486
4 -78.9568 -78.9579
5 -98.696 -98.7021
6 -98.696 -98.7021
7 -128.305 -128.311
8 -128.305 -128.311
9 -167.783 -167.817
10 -167.783 -167.817

Here we have a table of the eigenfunctions.

l9_45.png

1 l9_46.gif l9_47.gif
2 l9_48.gif l9_49.gif
3 l9_50.gif l9_51.gif
4 l9_52.gif l9_53.gif
5 l9_54.gif l9_55.gif
6 l9_56.gif l9_57.gif
7 l9_58.gif l9_59.gif
8 l9_60.gif l9_61.gif
9 l9_62.gif l9_63.gif
10 l9_64.gif l9_65.gif

Neumann Problems

Here we examine the solution of the Laplace equation with both Dirichlet and Neumann conditions. Here we specify the Neumann conditions.

l9_66.png

l9_67.png

Then we build the solution.

l9_68.png

l9_69.png

We can get a solution we can plot. Take the first 5 terms of the series.

l9_70.png

l9_71.png

The plot of this is then given here.

l9_72.png

l9_73.gif

Here is the numerical solution.

l9_74.png

l9_75.png

l9_76.png

l9_77.png

So, we then have to write this.

l9_78.png

l9_79.png

l9_80.png

l9_81.gif

l9_82.png

l9_83.gif

Specific Regions

We are not restricted to rectilinear regions. Any region that you can specify using the Region command can be used. There are many preset regions. For example, we produce the solution of a potential on a disk. We write the Laplace equation in polar coordinates.

l9_84.png

l9_85.png

Now we want to solve the Dirichlet problem for the disk. We write the boundary conditions.

l9_86.png

Now we write the solution.

l9_87.png

l9_88.png

l9_89.png

l9_90.gif

We extract the first five terms of the series.

l9_91.png

l9_92.png

Here is a plot of this over the disk.

l9_93.png

l9_94.gif

l9_95.png

l9_96.gif

Note that there is an exclusion in these plots, we can remove them.

l9_97.png

l9_98.gif

Note the distortion where the two parts of the disk are “glued” together.

l9_99.png

l9_100.gif

Unbounded Regions

We are not restricted to finite regions, either. Here we consider the first equation (9.1) on an upper half plane characterized by the Heaviside step function θ for y>0. This being the case, our boundary value will be,

l9_101.png

(9.4)

We write this.

l9_102.png

So our solution will be given as.

l9_103.png

l9_104.png

The plot of this will be.

l9_105.png

l9_106.gif

The Poisson Equation

The Poisson equation is similar to the Laplace equation, except that it is not homogeneous,

l9_107.png

(9.5)

where f is defined for the problems at hand. For example, if we are studying the Poisson equation for gravitation f would be replaced by the mass density of the problem. Here we set up such an equation.

l9_108.png

Here are some boundary conditions on a rectangle.

l9_109.png

l9_110.png

l9_111.png

l9_112.png

Now we build the solution.

l9_113.png

l9_114.png

We extract the first five terms.

l9_115.png

l9_116.png

The plot of this will be.

l9_117.png

l9_118.gif

It looks pretty flat until we look at the vertical scale. Let’s look at the plot for less than 5 in y.

l9_119.png

l9_120.gif

Now let’s try it for a maximum of y=4.

l9_121.png

l9_122.gif

How about max y=2?

l9_123.png

l9_124.gif

It is an interesting potential function.

Sources and the Inhomogeneous BC

What happens when we have a source of potential on a boundary? Let’s put in a quadratic source term in the boundary conditions,

l9_125.png

(9.6)

and at the other side

l9_126.png

(9.7)

Here we write the boundary conditions.

l9_127.png

l9_128.png

We then construct the solution.

l9_129.png

l9_130.png

We extract the first five terms.

l9_131.png

l9_132.png

The plot of this will be.

l9_133.png

l9_134.gif

Three Dimensions

Here we modify the Laplace equation into three dimensions,

l9_135.png

(9.8)

If we decide to solve this over a rectangular parallelepiped we write our equation and boundary conditions.

l9_136.png

l9_137.png

l9_138.png

l9_139.png

We now construct the solution.

l9_140.png

l9_141.png (K[1]|K[3])∈Z&&K[1]≥1&&K[3]≥1
Indeterminate True

We can plot this solution using a ContourPlot3D. Note that we here are considering the first ten terms of the series.

l9_142.png

l9_143.gif

Other Coordinates

We have already seen how to use polar coordinates. Here we examine the Laplace equation for a potential between two spheres of radius l9_144.pngand l9_145.png. The potentials will then be between the values l9_146.png and l9_147.png.

l9_148.png

l9_149.png

We write our Dirichlet condition.

l9_150.png

We then write the solution.

l9_151.png

Φ1 0<r1==r<r2
l9_152.png 0<r1<r<r2
Φ2 0<r1<r==r2
Indeterminate True
Created with the Wolfram Language