lecture 21: partial differential equations i: laplace...

14
1. 1. 2. 2. Lecture 21: Partial Differential Equations I: Laplace equation 1. Key points Separation of variable Boundary conditions: Dirichlet boundary conditions , Neumann boundary condition 2. Examples of PDE in physics Laplace's equation: . Poisson's equation: . Helmholtz equation: . Diffusion equation: . Wave equation: . Schrödinger equation: . 3. Type of boundary conditions boundary conditions in space Dirichlet boundary conditions : Neumann boundary conditions : boundary condition in time Initial condition: This function must satisfy a spatial boundary condition, too. 4. Methods to solve PDE Separation of variables Integral transformation (Fourier transform and Laplace transform) 5.1 Example: Steady state temperature profile Consider a temperature profile in an open room with three walls as shown in Figure. Two walls at and have temperature T=0°. The temperature at

Upload: nguyenkhanh

Post on 13-Mar-2018

263 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

1. 1. 2. 2.

Lecture 21: Partial Differential Equations I: Laplace equation

1. Key pointsSeparation of variableBoundary conditions: Dirichlet boundary conditions, Neumann boundary condition

2. Examples of PDE in physics

Laplace's equation: .

Poisson's equation: .

Helmholtz equation: .

Diffusion equation: .

Wave equation: .

Schrödinger equation: .

3. Type of boundary conditionsboundary conditions in space

Dirichlet boundary conditions:

Neumann boundary conditions:

boundary condition in timeInitial condition: This function must satisfy a spatial boundary condition, too.

4. Methods to solve PDESeparation of variablesIntegral transformation (Fourier transform and Laplace transform)

5.1 Example: Steady state temperature profileConsider a temperature profile in an open room with three walls as shown in Figure. Two walls at and have temperature T=0°. The temperature at

Page 2: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

is also 0°. Only the wall at has T=100°.

x = x =y =

T =100°

T=0°T=0°

T=0° (y=)

Step 1: Find an appropriate differential equation.

Temperature profile is known to satisfy a Laplace equation

.

Step 2: Find the boundary conditions imposed by the problem.

Step 3: Choose a method to solve the differential equation.

We use the method of variable separation, which converts the partial differential equation to multiple ordinary differential equations.

Page 3: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

Substituting this product to the original PDE,

The left hand side depends only on and the right hand side only on . That is impossible! Hence, the neither side depends on or . That means they are constant:

Then, we have two ODEs:

,

.

Step 4: Find general solutions to the ODEs.

These equations can be solved analytically. However, the type of solution depends on if , , or . Although it is automatically determined by boundary conditions, it is convenient to know the type of solutions before applying the boundary conditions. When , is oscillatory. However, it is unlikely since the temperature is expected to decay to zero as increases. When , is linear. Since the left and right walls have the same temperature, only possible solution is

= constant, which is again unlikely. So, we assume that . Then, the solutions are

Step 5: Determine the unknown constants by applying the boundary conditions.

There are five unknowns, , , , , and . On the other hand, there are only four boundary conditions. Don't worry. You will see.

.

.

.

Page 4: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

.

Remark 1: Since there are many 's, we have also many 's.Remark 2: and are combined to a single constant .

Noting that the last boundary condition is a Fourier series, we can determine using the theory of Fourier series.

right hand side

which is simplified to

Now, evalute it from to a sufficiently large integer.

Step 6: Construct the final expression of the solution.

.

We plot it for L=1.

Page 5: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

(5.1.1)(5.1.1)

(5.1.2)(5.1.2)

MaplePDE := diff(w(x, y), x, x)+diff(w(x, y), y, y) = 0

ans := pdsolve(PDE)

Here and are arbitrary functions.

5.2 Example: Scalar potential and electric field

Two infinitely long rounded metal plates,at and ,are connected at by metal strips maintained at

Page 6: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

a constant potential , as shown in Figure. A thin layer of insulation at eachcomer prevents them from shorting out.Find the potential inside the resulting rectangular pipe. Show also the electric field inside the pipe.

Step 1: Find an appropriate differential equation.

Since the pipe is infinitely long, the potential does not depend on the coordinate . Therefore, the potential satisfies the two-dimensional laplace equation.

Step 2: Find the boundary conditions imposed by the problem.

. .

.

Step 3: Choose a method to solve the differential equation.

We use the method of variable separation, which converts the partial differential equation to two independent ordinary differential equations.

Substituting this product to the original PDE, we obtain

.

The left hand side depends only on and the right hand side only on . That is impossible! Hence, the both sides must depend neither on or . That means they are constant:

Page 7: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

Then, we have two differential equations:

,

.

Step 4: Find general solutions to the ODEs.

These equations can be solved analytically. However, the type of solution depends on if , , or . Although it is automatically determined by boundary conditions, it is convenient to know the type of solutions before applying the boundary conditions. Since the potential is zero at the boundaries in the direction, it will be convenient to have basis functions that can take zero. When

, is oscillatory and can take zero. So, we assume that . Then, the solutions to the ODEs are

.

.

Step 5: Determine the unknown constants by applying the boundary conditions.

There are five unknowns, , , , , and . On the other hand, there are only four boundary conditions. Don't worry.

.

.

.

.

The last two bouondary conditions suggest that . Hence, the boundary conditions are simply

,

where ..

Noting that this is a Fourier series, we can determine by

Page 8: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

right hand side

which is simplified to

.

Step 6: Construct the final expression of the solution.

.

Page 9: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace
Page 10: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

5.3 Example: Spherical coordinatesA spherical shell of radius with an insulating ring in the plane has its upper hemisphere at potential and its lower hemisphere at . Find the potential inside the sphere.

Step 1: Find an appropriate differential equation.

We use the spherical coordinates.

.

Step 2: Find the boundary conditions imposed by the problem.

.

Page 11: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

where

Step 3: Separation of variables

Separating variables, the PDE can be written as

.

At this point, is separated from and . Introducing a separation constant , thePDE can be split to

.

.

Now, we can separate and . Introducing another separation constant [ , the ODE for is given by

,

and for ,

.

Step 4: Find general solutions to the ODEs.

The ODE for can be solved immediately and its general solution is

.

The ODE for can be also solved easily. Using Maple ODE solver, =

Page 12: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

.

Solving the ODE for needs additional steps. Introducing a new variable , The ODE becomes

,

where . This ODE is nothing but a generalized Legendre equation. Since the solution must be real, the general solution is associate Legendre polynomials , and must be a non-negative integer.

Combining general all individual solutions,

Step 5: Determine the unknown constants by applying the boundary conditions.

Boundary condition at .The potential should not diverge at . Therefore, .

Boundary condition at .First we note that the potential does not depends on . Only satisfies the condition. Therefore, .

At this point, the potential is written as

.

and the boundary condition is

.

Using the orthogonality of Legendre polynomials

.

.

Page 13: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

,

and using , we obtain the final expression

Step 6: Plotting the results:

For plotting purpose, we assume and .

Constructing the expansion coefficients:

Constructing the potential:

Draw the boundaries:

Contour plotting of the potential:

Page 14: Lecture 21: Partial Differential Equations I: Laplace equationkawai.phy.uab.edu/courses/2014-Fall/ph420/maple/pde1.pdf · 1. 2. Lecture 21: Partial Differential Equations I: Laplace

Homework Due: 11/21 11am

2 1 . 1Find the steady-state temperature distribution in a metal plate of 10 cm square if one side is held at 100° and the other three sides at 0°. Find numericallt the temperautre at the center of the plate.