chapter 20 laplace equation

71
CHAPTER 20 LAPLACE EQUATION Team 6: Bhanu Kuncharam Tony Rochav Wei Lu

Upload: winter

Post on 18-Feb-2016

131 views

Category:

Documents


6 download

DESCRIPTION

CHAPTER 20 LAPLACE EQUATION. Team 6: Bhanu Kuncharam Tony Rochav Wei Lu. 20.1 Introduction. Remembering from chapter 16, the Laplacian operator (in Cartesian coordinates ): There are two types of Laplacian equations, Homogeneous - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CHAPTER 20 LAPLACE  EQUATION

CHAPTER 20LAPLACE EQUATION

Team 6: Bhanu Kuncharam

Tony RochavWei Lu

Page 2: CHAPTER 20 LAPLACE  EQUATION

20.1 IntroductionRemembering from chapter 16, the Laplacian operator (in Cartesian coordinates):

There are two types of Laplacian equations,• Homogeneous

• Non-homogeneous (also known as the Poisson equation):

Where f is a “source” function that is prescribed over the region in question.

zyx 2

2

2

2

2

22

02 u

fu 2

Page 3: CHAPTER 20 LAPLACE  EQUATION

Introduction

A question to ask before we start going deeper into learning how to solve the Laplace equation is: Does this equation come up naturally? The answer to this question is yes. Let it be illustrated from the following example. Let’s consider the heat equation:

Under which considerations would the Laplace equation arise?• Steady state (solution at equilibrium)

• No heat sources

Under these conditions the Laplace equation arises from physical situations.

CpQuk

tu

2

0

tu

0Q

00 22 uuk

Page 4: CHAPTER 20 LAPLACE  EQUATION

20.2 Separation of Variables: Cartesian Coordinates

The method of separation of variables assumes that the solution for an equation of multiple variable can be describes as the product of functions of a single variable. One function for each variable. For example.

This method of solution can be applied to the Laplace equation when we assume that the Laplacian applies to a 2 dimensional function.

How we solve Laplace’s equation will depend upon the geometry of the 2-D object we are solving it on.

)()(),( yGxFyxT

Page 5: CHAPTER 20 LAPLACE  EQUATION

Separation of Variables Let’s start out by solving it on the rectangle given by 0 ≤ x ≤ L , 0 ≤ y ≤ H .

For the geometry shown in the right, Laplace’s equation along with the four boundary conditions will be:

•First notices that we don’t need and initial condition for this heat problem since the Laplace equation is homogeneous, meaning it is equal to zero, which is the equivalent of assuming a steady state for the T variable.

•Next, let’s notice that while the partial differential equation is both linear and homogeneous the boundary conditions are only linear and are not homogeneous. This creates a problem because separation of variables requires homogeneous boundary conditions.

)(),()()0,()(),(),(),0(

0

1

2

2

1

2

2

2

22

xfHxTxfxTygyLTygyT

yT

xTT

T=g2(y)

T=f1(x)

T=g1(y)

T=f2(x)

0 x

y

L

H

Page 6: CHAPTER 20 LAPLACE  EQUATION

Separation of Variables To completely solve Laplace’s equation we are going to have to solve it four times. Each time we solve it only one of the four boundary conditions can be nonhomogeneous while the remaining three will be homogeneous.

Because we know that Laplace’s equation is linear and homogeneous and each of the pieces is a solution to Laplace’s equation then the sum will also be a solution.

T4(L,y)=g2(y)

T1(x,0)=f1(x)

T3(0,y)=g1(y)

T2(x,H)=f2(x)

T1(L,y)=0

T1(x,0)=f1(x)

T1(0,y)=0

T1(x,H)=0

T2(L,y)=g2(y)

T2(x,0)=0

T2(0,y)=0

T2(x,H)=0

T3(L,y)=0

=g2(y)T3(x,0)=f1(x)

T3(0,y)=0

T3(x,H)= f2(x)=

+

+ T4(L,y)=0

T4(x,0)=0

T4(0,y)= g1(y)

T4(x,H)=0

+

Page 7: CHAPTER 20 LAPLACE  EQUATION

Separation of Variables

Now, once solved all four of these problems the solution to our original system, (16), will be,

Also, this will satisfy each of the four original boundary conditions. For example:

And so on for the remaining boundary conditions.

We will solve the problem in the following way:• Apply separation of variables to the each problem and find a

product solution that will satisfy the differential equation and the three homogeneous boundary conditions.

• Use the Principle of Superposition to find a solution to the problem and then apply the final boundary condition to determine the value of the constant(s) that are left in the problem.

 Two of the cases will be shown here and the two can be done as an

additional exercise.

),(),(),(),(),( 4321 yxTyxTyxTyxTyxT

)(000)()0,()0,()0,()0,()0,( 114321 xfxfxTxTxTxTxT

Page 8: CHAPTER 20 LAPLACE  EQUATION

Separation of Variables - Example 1

Find the solution to the following differential equation.

Boundary Conditions:

Notice that this example is a part of our original problem solution, it would be the third component of our solution.

T3=0

T3=0

T3=0

T3=f2(x)

0 x

y

L

H

023

2

23

2

32

yT

xT

T

)(),(0)0,(0),(,0),0(

23

3

3

3

xfHxTxT

yLTyT

T4(L,y)=g2(y)

T1(x,0)=f1(x)

T3(0,y)=g1(y)

T2(x,H)=f2(x)

T1(L,y)=0

T1(x,0)=f1(x)

T1(0,y)=0

T1(x,H)=0

T2(L,y)=g2(y)

T2(x,0)=0

T2(0,y)=0

T2(x,H)=0

T3(L,y)=0

=g2(y)T3(x,0)=f1(x)

T3(0,y)=0

T3(x,H)= f2(x)

= + +T4(L,y)=0

T4(x,0)=0

T4(0,y)= g1(y)

T4(x,H)=0

+

Page 9: CHAPTER 20 LAPLACE  EQUATION

We assume the solution can be solved by separating the variable. In other words the solution can be expressed in the form:

Our homogeneous boundary conditions now become:

Next, we’ll plug the product solution into the differential equation.

T3=0

T3=0

T3=0

T3=f2(x)

0 x

y

L

H

)()(),(3 yGxFyxT

0)0( 0)( 0)0( GLFF

2

2

2

2

2

2

2

2

2

2

2

2

11

0)()(

0)()()()(

xG

GxF

F

yGxF

xFyG

yGxFy

yGxFx

Separation of Variables – Solution to Example 1

Page 10: CHAPTER 20 LAPLACE  EQUATION

At this point we need to select our separation variable. We need identify were the two homogeneous boundaries exist and select the positive or negative variable that will give us a solution in the form of sine and cosine.

After that you can find that how to build up the solution is different from one book to another. While in the textbook tend to find and combine all the solutions (using the superposition principle), others notice when only the positive or negative solution are non-trivial, thus reducing the need of working out so many constants

In this section both approaches are exemplified, for the first two examples we eliminated the possibility of =0, integration constant being zero, because we know the values of all four boundary conditions.

Separation of Variables – Solution to Example 1

Page 11: CHAPTER 20 LAPLACE  EQUATION

For the reasons mentioned before, for this case, we select our integration constant as (-). So, after adding in the separation constant we get,

and two ordinary differential equations that we get from this case (along with their boundary conditions) are,

and

Separation of Variables – Solution to Example 1

2

2

2

2 11xG

GxF

F

0)(0)0(

02

2

LFF

FxF

0)0(

02

2

G

GxG

Page 12: CHAPTER 20 LAPLACE  EQUATION

Using our first ODE we find that the solution is, as intended, in the form:

Applying the first boundary condition gives

Applying the second boundary condition, and C1=0 to F(x) we get:

Now, we after disregarding, trivial solutions, this means we must have:

Separation of Variables – Solution to Example 1

)sin()cos()( 21 xCxCxF

0 )0()1(0 121 CCC

)sin()(0 2 LCLF

,...3,2,1 )sin(0 nnLL

Page 13: CHAPTER 20 LAPLACE  EQUATION

The positive eigenvalues and their corresponding eigenfunctions of this boundary value problem are then,

The second differential equation is then,

Because the coefficient of G is positive we know that a solution to this is,

or

Separation of Variables – Solution to Example 1

,...3,2,1 sin)( 2

n

LxnxF

Ln

nn

0)0(

02

2

G

GL

nxG

LynC

LynCyG sinhcosh)( 21

Lyn

Lyn

eCeCyG

21)(

Page 14: CHAPTER 20 LAPLACE  EQUATION

Applying the boundary condition the solution becomes,

The product solution for this case becomes,

and solution to this partial differential equation is then,

Separation of Variables – Solution to Example 1

Lyn

CyG

CG

sinh)(

0)1()0(

2

1

3,2,1 sinsinh)()(),(3

n

Lxn

LynByGxFyxT n

13 sinsinh),(

nn L

xnL

ynByxT

Page 15: CHAPTER 20 LAPLACE  EQUATION

Finally, let’s apply the nonhomogeneous boundary condition to get the coefficients for this solution.

As expected, this is again a Fourier sine series and so using previously done work instead of using the orthogonally of the sines to we see that,

Separation of Variables – Solution to Example 1

123 sinsinh)(),(

nn L

xnLHnBxfHxT

,...3,2,1 sin)(sinh

2

,...3,2,1 sin)(2sinh

02

02

ndxL

xnxf

LHnL

B

ndxL

xnxfLL

HnB

L

n

L

n

Page 16: CHAPTER 20 LAPLACE  EQUATION

Finally we see that the solution for this problem is:

Where

• Important remarks: For the Laplace equation, the sign of the separation constant and the sequencing of the boundary conditions needs to be decided on a case-by-case basis. However the following rule of thumb can be used as guidance: “Anticipating the edge along which the eventual Fourier series will take place, chose the or - so as to obtain oscillatory functions along that edge. Then apply the boundary conditions adjacent to that edge first”.

Separation of Variables – Solution to Example 1

13 sinsinh),(

nn L

xnL

ynByxT

,...3,2,1 sin)(sinh

2

02

ndxL

xnxf

LHnL

BL

n

Page 17: CHAPTER 20 LAPLACE  EQUATION

Consider f(x), to be a constant, say f(x)=100C and our rectangular body to have dimensions L=200, H=100. In this case, we can see the boundary conditions taking place in the eastern, western, and southern boundary were T=0.

Separation of Variables – Visualization of Example 1

http://dylanh.bol.ucla.edu/CA/temperature.html

Page 18: CHAPTER 20 LAPLACE  EQUATION

Find a solution to the following PDE

Boundary conditions:

Notice that this example is a part of our original problem solution, it would be the fourth component of our solution.

Separation of Variables – Example 2

024

2

24

2

42

yT

xT

T

0),(0)0,(0),(

)(),0(

4

4

4

14

HxTxT

yLTygyT

T4(L,y)=g2(y)

T1(x,0)=f1(x)

T3(0,y)=g1(y)

T2(x,H)=f2(x)

T1(L,y)=0

T1(x,0)=f1(x)

T1(0,y)=0

T1(x,H)=0

T2(L,y)=g2(y)

T2(x,0)=0

T2(0,y)=0

T2(x,H)=0

T3(L,y)=0

=g2(y)T3(x,0)=f1(x)

T3(0,y)=0

T3(x,H)= f2(x)

= + +T4(L,y)=0

T4(x,0)=0

T4(0,y)= g1(y)

T4(x,H)=0

+

T4(L,y)=0

T4(x,0)=0

T4(0,y)= g1(y)

T4(x,H)=0

Page 19: CHAPTER 20 LAPLACE  EQUATION

We start from assuming the solution can be solved by separating the variable.

Boundary conditions: 

Next, we plug the product solution into the differential equation.

Separation of Variables – Solution to Example 2

)()(),(4 yGxFyxT

0)( 0)0( 0)( HGGLF

2

2

2

2

2

2

2

2

2

2

2

2

11

0)()(

0)()()()(

yG

GxF

F

yGxF

xFyG

yGxFy

yGxFx

Page 20: CHAPTER 20 LAPLACE  EQUATION

At this point we need to choose a separation constant, in this case (), Note how the selection of this variable depends on where we have two boundary conditions.

So, after adding in the separation constant we get,

and two ordinary differential equations that we get from this case (along with their boundary conditions) are

and

Separation of Variables – Solution to Example 2

2

2

2

2 11yG

GxF

F

0)(

02

2

LF

FxF

0)(0)0(

02

2

LGG

GyG

Page 21: CHAPTER 20 LAPLACE  EQUATION

This time our second ODE has the sine, cosine, solution:

Applying our boundary conditions we get to determine that

The positive eigenvalues and their corresponding eigenfunctions of this boundary value problem are then,

Separation of Variables – Solution to Example 2

)sin()cos()( 21 yCyCyG

0)0( 1 CG

,...3,2,1 sin)( 2

n

Hyn

yGHn

nn

Page 22: CHAPTER 20 LAPLACE  EQUATION

The second differential equation is then,

Because the coefficient of F  is positive we know that a solution to this is,

However, this is not really suited for dealing with the h(L)= 0 boundary condition. So, let’s also notice that the following is also a solution:

This is usually called a “shifted solution” and is very useful!

Separation of Variables – Solution to Example 2

0)(

02

2

LF

FL

nxF

HxnC

HxnCxF sinhcosh)( 21

H

LxnCH

LxnCxF )(sinh)(cosh)( 21

Page 23: CHAPTER 20 LAPLACE  EQUATION

Applying the lone boundary condition to this “shifted” solution gives,

The solution to the first differential equation is now,

And this is all the farther we can go with this because we only had a single boundary condition. That is not really a problem however because we now have enough information to form the product solution for this partial differential equation. A product solution for this partial differential equation is,

Separation of Variables – Solution to Example 2

0)1()( 1 CLF

H

LxnCxF )(sinh)( 2

3,2,1 sin)(sinh)()(),(

n

Hxn

HLxnByGxFyxT nn

Page 24: CHAPTER 20 LAPLACE  EQUATION

The solution to this partial differential equation is then,

Finally, let us apply the non-homogeneous boundary condition to get the coefficients for this solution.

Now, in the previous problems we have done this has clearly been a Fourier series of some kind and in fact it still is. The difference here is that the coefficients of the Fourier sine series are now,

Separation of Variables – Solution to Example 2

1

4 sin)(sinh),(n

n Hxn

HLxnByxT

1

14 sin)(sinh)(),0(n

n Hxn

HLxnBygyT

HLnBn

sinh

Page 25: CHAPTER 20 LAPLACE  EQUATION

Remember that a Fourier sine series is a series of coefficients (depending on n) times a sine. We still have that here, except the “coefficients” are a little messier this time that what we saw when we first dealt with Fourier series. So, the coefficients can be found using exactly the same formula from the Fourier sine series section of a function on 0 < y < H we just need to be careful with the coefficients.

Separation of Variables – Solution to Example 2

,...3,2,1 sin)(sinh

2

,...3,2,1 sin)(2sinh

01

01

ndxH

ynyg

HLnH

B

ndxH

ynygHH

LnB

H

n

H

n

Page 26: CHAPTER 20 LAPLACE  EQUATION

Finally we see that the solution for this problem is:

Where

Separation of Variables – Solution to Example 2

1

4 sin)(sinh),(n

n Hxn

HLxnByxT

,...3,2,1 sin)(sinh

2

01

ndxH

ynyg

HLnH

BH

n

Page 27: CHAPTER 20 LAPLACE  EQUATION

Until this point we have worked two of the four cases (T3 &T4) that would need to be solved in order to completely solve the Laplace equation with non-homogenous boundary conditions in all four sides.

As we have seen each case was similar and yet also had some differences. We saw the use of both separation constants and that sometimes we need to use a “shifted” solution in order to deal with one of the boundary conditions. The remaining cases can be easy to find after this explanation.

Separation of Variables – Closing of Examples 1&2

T4(L,y)=g2(y)

T1(x,0)=f1(x)

T3(0,y)=g1(y)

T2(x,H)=f2(x)

T1(L,y)=0

T1(x,0)=f1(x)

T1(0,y)=0

T1(x,H)=0

T2(L,y)=g2(y)

T2(x,0)=0

T2(0,y)=0

T2(x,H)=0

T3(L,y)=0

=g2(y)T3(x,0)=f1(x)

T3(0,y)=0

T3(x,H)= f2(x)

= + +T4(L,y)=0

T4(x,0)=0

T4(0,y)= g1(y)

T4(x,H)=0

+

The figure on the right illustrates the solution of the Laplace equation with non-homogeneous boundary conditions for al four sides, in this case fixed temperature in all four sides a square body such as the one in the problem.

http://tigger.uic.edu/~rkodama/

Page 28: CHAPTER 20 LAPLACE  EQUATION

Consider the Dirichlet problem:

With the Boundary Conditions:

Separation of Variables –Example 3

02

2

2

22

yT

xTT

T=50

T=f(x)

T=20

0 x

y

5

y as bounded ),(50 )()0,(

50),5(,20),0(

yxTxxfxT

yTyT

Page 29: CHAPTER 20 LAPLACE  EQUATION

This example can very well represent a complicated three dimensional domain. Take for example the following figure from Greenberg’s book:

Suppose that our interest is finding the temperature of the object near the end of the fin, within the rectangle ABCE, assume we don’t know the boundary along AB and the boundaries T=20 along AE, T=50 along BC, and T=f(x) along EC. To a good approximation, we render the problem tractable by letting D be the entire semi-infinite strips shown for the Dirichlet problem.

Separation of Variables –Example 3

Fig. Cooling fin*

*Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 30: CHAPTER 20 LAPLACE  EQUATION

We assume the solution can be solved by separating the variable. In other words the solution is in the form:

 

We apply this to the homogeneous boundary conditions first since we’ll need those once we get reach the point of choosing the separation constant. The boundary conditions become,

 

Next, we plug the product solution into the differential equation.

Separation of Variables –Solution of Example 3

)()(),( yGxFyxT

)()0( 50)5( 20)0( xfGFF

2

2

2

2

2

2

2

2

2

2

2

2

11

0)()(

0)()()()(

yG

GxF

F

yGxF

xFyG

yGxFy

yGxFx

Page 31: CHAPTER 20 LAPLACE  EQUATION

Now, at this point we need to choose a separation constant, in this case (-)

So,

The possible solutions to this ODEs are:

Separation of Variables –Solution of Example 3

2

2

2

2 11xG

GxF

F

0)(')'(0)(')'(

yGyGxFxF

0 )exp()exp(0 )(

0 )sin()cos(0 )(

87

65

43

21

yCyCyCCyG

xCxCxCCxF

Page 32: CHAPTER 20 LAPLACE  EQUATION

This ODE has three types of equations, lets superimpose all the types of solutions. This will give:

If we try to apply the boundness condition (y→∞) we note that the term y and the positive exponential will grow to infinite. Since this is not possible it is necessary that C6 =0and C7=0. This reduces our equation to:

Grouping the constants:

Separation of Variables –Solution of Example 3

)exp()exp()sin()cos(

),(

8743

6521

yCyCxCxC

yCCxCCyxT

)exp()sin()cos(

),(

843

521

yCxCxC

CxCCyxT

)exp()sin()cos(),( 4321 yxKxKxKKyxT

Page 33: CHAPTER 20 LAPLACE  EQUATION

Now, the boundary condition in the left side:

Matching the coefficients of the K1 and exp( ) terms on both sides of our previous equation gives K1= 20 and K3=0. Using this result, and updating T(x,y) we get:

Next, we use the boundary condition at the right side:

So

Give

Separation of Variables –Solution of Example 3

)exp(20),0( 31 yKKyT

)exp(*)sin(20),( 42 yxKxKyxT

)exp(*)5sin(52050),5( 42 yKKyT

)5sin(0

52050 2

K

,...3,2,1 5

62

nnK

Page 34: CHAPTER 20 LAPLACE  EQUATION

Using this result to update T(x,y):

This is the solution to our problem. Now we only need to find the value of Kn. To do this we use the lower boundary condition:

We find that

or

Separation of Variables –Solution of Example 3

1 5exp*

5sin620),(

nn

ynxnKxyxT

1 5sin620)()0,(

nn

xnKxxfxT

1 5sin620)(

nn

xnKxxf

xxfxnKn

n 620)(5

sin1

Page 35: CHAPTER 20 LAPLACE  EQUATION

Applying the Fourier sine series we can find Kn as:

Which is the constant that was missing to obtain the result of the Temperature in our semi-infinite slab equation:

Separation of Variables –Solution of Example 3

,...3,2,1 5

sin620)(52 5

0

ndxxnxxfKn

1 5exp*

5sin620),(

nn

ynxnKxyxT

Page 36: CHAPTER 20 LAPLACE  EQUATION

20.3 Separation of variables; Non-Cartesian Coodinates

The laplacian in terms of polar coordinates where r, θ are independent variables

which is same as equation (24) from section 16.7

20.3.1 Plane polar coordinates

θ

x

y

r cosθ

r sinθ

r

r1

rr1

r 2

2

22

22

From figure polar coordinates can be written in terms of Cartesian coordinates

sinrycosrx

Page 37: CHAPTER 20 LAPLACE  EQUATION

Example 1: Direchlet Problem

Problem definition:

Physical Interpretation:The variable ‘u’ used here can be physically interpreted as temperature (T) in heat transfer problemOr concentration (C) in diffusion problem. The problem at hand can be seen as a temperature or concentration distribution in a cylindrical disk where the disk thickness is ‘z’, which is ignored (the temperature gradient in ‘z’ direction).

(2d) )(0 )(f),b(u(2c) )(0 0),a(u(2b) b)r(a u),r(u(2a) b)r(a u)0,r(u

(1) )0 b,r(a 0ur1

ru

r1

ruu

2

1

2

2

22

22

u=0

u=f(θ)

θ

r

a b

u=u2

u=u1

α

Page 38: CHAPTER 20 LAPLACE  EQUATION

Solution using separation of variables method

We seek solution in the form of

Using this as solution the laplacian equation transforms into:

Which can be simplified r and divide by RΘ to separate the variables

Here +κ2 is chosen to obtain solution in the form of cosκθ and sinκθ instead of coshκθ and sinhκθ since we anticipate that to satisfy the u(b,θ)=f(θ) boundary condition we need to expand f(θ) in a Fourier series (discussed later sections)

(3) )()r(R),r(u

(4) 0Rr1R

r1R 2

(5) constantR

RrRr 22

Page 39: CHAPTER 20 LAPLACE  EQUATION

The previous differential equation can be written in a more familiar form as

The solution can be written as:

and

Superposition of these two solutions (8a, 8b), we can write a general solution as

(7) 0 and

(6) 0RRrRr2

22

(8a) 0 DrCr 0 rlnBA

)r(R

(8b) 0 sin H cosG

0 FE)(

(9) )sin H cosG)(DrCr()FE)(rlnBA(),r(u

Note:A, B, C,D E,F, G, H are arbitrary integration constants and needs to be evaluated.

Page 40: CHAPTER 20 LAPLACE  EQUATION

Apply boundary conditionsWhen θ=0

Set AE=u1 , B=0, and G=0 which gives

When θ=α

So u1+Iα=u2 and sinkα=0 gives

(9) )sin H cosG)(DrCr()FE)(rlnBA(),r(u

u=0

u=f(θ)

θ

r

a b

u=u2

u=u1

α

)(0 )(f),b(u)(0 0),a(u

b)r(a u),r(ub)r(a u)0,r(u

2

1

(10) G)DrCr(E)rlnBA(u)0,r(u 1

Boundary conditions(11) sin )Qr(PrIu),r(u 1

(12) sin )Qr(PrIuu),r(u 11

(13a) 1,2,3...)(n n and

(13a) )uu(I 12

Page 41: CHAPTER 20 LAPLACE  EQUATION

We can write the solution after substituting equation 13a, 13b

Using next boundary condition:

Which can be written as:

Where

(14) nsinrQrP)uu(u),r(u1n

/nn

/nn121

(2c) )(0 0),a(u

(15) nsinaQaP)uu(u0),a(u1n

/nn

/nn121

(16) nsinaQaP)uu(u1n

/nn

/nn121

(17) dnsin)uu(u2aQaP0

121/n

n/n

n

Page 42: CHAPTER 20 LAPLACE  EQUATION

Using next boundary condition:

Which can be written as:

Similar to previous expansion

(14) nsinrQrP)uu(u),r(u1n

/nn

/nn121

(2d) )(0 )(f),b(u

(18) nsinbQbP)uu(u)(f),b(u1n

/nn

/nn121

(19) nsinbQbP)uu(u)(f1n

/nn

/nn121

(20) dnsin)uu(u)(f2bQbP0

121/n

n/n

n

Page 43: CHAPTER 20 LAPLACE  EQUATION

Integrals in Equations (17) and (19) can be evaluated when f(θ) is specified which allows us to render them into algebraic equations. They can be solved to obtain a unique solution because the determinant matrix of coefficients is not zero.

0ba

ba

bbaa /n/n

/n/n

/n/n

Numerical Example: Temperature distribution

)(0 100),b(T )(0 0),a(T

b)r(a 0),r(T b)r(a 0)0,r(T

)0 b,r(a 0Tr1

rT

r1

rTT 2

2

22

22

Page 44: CHAPTER 20 LAPLACE  EQUATION

Solution: Using the general solution from previous derivation

nsinrQrP)TT(T),r(T1n

/nn

/nn121

Apply boundary conditions in above equation

nsinrQrP),r(T1n

/nn

/nn

Evaluate Pn and Qn by solving the algebraic equations below:

0 dnsin02aQaP0

/nn

/nn

n400 1-ncos 200 dnsin1002bQbP

0

/nn

/nn

and

Page 45: CHAPTER 20 LAPLACE  EQUATION

Solving above algebraic equations we get

0aQaP /nn

/nn

n400bQbP /n

n/n

n

Final solution for temperature distribution in disk is given by following equation

nsin

ba

ab

ra

ar

n1400),r(T

1n /n/n

/n/n

/n/n

/n

n

ba

ba

aQ

/n/n

/n

n

ba

ba

aP

Page 46: CHAPTER 20 LAPLACE  EQUATION

20.3.2 Cylindrical coordinates

z

b

Z=0 Z=L

zzsinrycosrx

(1) zr

1rr

1r 2

2

2

2

22

22

The laplacian in terms of polar coordinates where r, θ,z are independent variables

Page 47: CHAPTER 20 LAPLACE  EQUATION

(2) 0zr

1rr

1r 2

2

2

2

22

22

Applying operator to a potential function and set it to zero, ignoring the source term.

(3) )z(Z)()r(R

Assuming solution of the form and applying method of separation of variables

(4) 0z

)r(Z)()r(R

)(r

)z(Z)r(Rr

)r(Rr

)()z(Zr

)r(R)()z(Z

2

2

2

2

22

22

Substituting equation (3) in equation (2) we get

Page 48: CHAPTER 20 LAPLACE  EQUATION

(5) 0zZ

Z1

r1

rR

Rr1

rR

R1

2

2

2

2

22

2

Simplify by dividing by ) )z(Z)()r(R

Or separating ‘Z’ term

(6) zZ

Z1

r1

rR

Rr1

rR

R1

2

2

2

2

22

2

Equations for the three components of solution can be written as follows

For “Z” component

(7.1) 0ZkzZ

kzZ

Z1

22

2

22

2

and use short hand notation for brevity

Page 49: CHAPTER 20 LAPLACE  EQUATION

(7.2) 0v22

2

For “θ”

component

For “R” component (7.3) 0R

rvk

rR

r1

rR

2

22

2

2

Equation (7.3) is also known as Bessele EquationSolutions for equations (7.1), (7.2) is well known

(8) e)z(Z kz

(9) e)( ivand

Page 50: CHAPTER 20 LAPLACE  EQUATION

Solution to equation (7.3) is little more complicated, we will it find case by case below

(10) )kr(JR v The solution is in terms of bessel function… Jv(kr)

The solution to the equation that is regular at origin is

Case 1: kr<<1 (11) )kr()kr(J vv

Case 1: kr>>1

References

(12) 42

vkrcoskr2)kr(Jv

(1) http://planetmath.org/encyclopedia/LaplaceEquationInCylindricalCoordinates.html

(2) http://www.owlnet.rice.edu/~hill/phys532/L1b.pdf (3) Arfken, George, Weber, Hans, Mathematical Physics. Academic

Press, San Diego, 2001

Page 51: CHAPTER 20 LAPLACE  EQUATION

Laplace equation solution for Axisymmetry problem in cylindrical coordinates

(1) 0zuu

r1

ru

r1

ruu 2

2

2

2

22

22

Assuming Axisymmetry we discard the term containing, “θ”

(2) 0zu

ru

r1

ruu 2

2

2

22

0u2 = +0u12 0u2

2

u=f(r)

u=g(r) 0

u=h(z)

0 u=f(r)

0

u=g(r)

u=h(z)

Z=0

Z=L

Page 52: CHAPTER 20 LAPLACE  EQUATION

By superposition of solution as shown in figure we find solution in two parts one for u1 and u2

(3) )z(Z)r(R)z,r(u1 Separating variables by substituting equation (3) in equation (2) gives

(5) constantZZ

R

Rr1R

2

(4) 0ZRr1ZR

r1ZR 2

These equation can be written as

(7) 0ZZ and

(6) 0RRr1R

2

2

(1) Solving the second part of the solution, u1

Page 53: CHAPTER 20 LAPLACE  EQUATION

(8) 0k )kr(DK)kr(CI

0k rlnBAR

00

(9) 0k kzsinHkzcosG

0k FzEZ

Solutions for the previous differentiation equations

I0 and K0 are modified bessel functions of the first and second kind, respectively of zero order

The general solution is

(10) )zsin Hz cosG))(kr(DK)kr(CI( )FZE)(rlnBA()z,r(u

00

Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 54: CHAPTER 20 LAPLACE  EQUATION

Applying boundary conditions and simplifying the final solution is

L)z(0 L

znsin)L

bn(IT)z(h)z,b(u1n

0n1

dz L

znsin)z(hL2

LbnIT

L

00n

Or

dz L

znsin)z(h

LbnLI

2TL

00

n

Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 55: CHAPTER 20 LAPLACE  EQUATION

(1) )z(Z)r(R)z,r(u2

(2) Solving the second part of the solution, u2

Separating variables by substituting equation and then writing the solution as done previously…

(2) 0k )kr(DY)kr(CJ

0k rlnBAR

00

(3) 0k kzsinhHkzcoshG

0k FzEZ

J0 and Y0 are modified bessel functions of the first and second kind, respectively of zero order

(4) )zsinh Hz coshG))(kr(DY)kr(CJ( )FZE)(rlnBA()z,r(u

00

Page 56: CHAPTER 20 LAPLACE  EQUATION

Applying boundary conditions and simplifying the final solution is

(5) brzsinhT

brzcoshS)

brz(J)z,r(u nnnn

1nn02

(6) rdrbrzJ)r(f

)]z(J[b2S

b

0n02

n12n

(7) rdrbrzJ)r(g

)]z(J[b2)

brzsinh(T)

brzcosh(S

b

0n02

n12nnnn

Final solution is obtained by solving equation (6) and equation (7) and substituting equation (5)

The complete solution to the problem on ‘u’ is as below

)z,r(u)z,r(u)z,r(u 21

Page 57: CHAPTER 20 LAPLACE  EQUATION

20.3.3 Spherical coordinates

(1) 0sin

1sinsin

112

2

22

22

Laplace equation in spherical coordinates can be written as follows:

(2) )(Q)(P)r(Rz,,r

(3) 0QsinQ1Psin

sinP1R

R1

2

2

2222

2

Substituting equation (2) and simplifying

Page 58: CHAPTER 20 LAPLACE  EQUATION

(4) 0QQ1Psin

PsinR

Rsin

2

22

2

Multiply with r2 sin2 (φ)

(5) 0QmQ 22

2

For “θ” component

This has a solution that is already known

(6) ..0,1,2,3...m e)(Q im

http://users.aber.ac.uk/ruw/teach/260/laplace.php

Page 59: CHAPTER 20 LAPLACE  EQUATION

For “r” component

(6) 0R)1L(LR2

For “φ” component

(7) 0Psin

m)1L(LPsinsin

12

2

Solutions to these are pretty difficult and we will limit discussion only to axisymmetric about the polar axis z, that is where the variable is independent of θ

http://users.aber.ac.uk/ruw/teach/260/laplace.php

Page 60: CHAPTER 20 LAPLACE  EQUATION

Assuming Axisymmetry for Polar axis

Boundary condition

(2) )()(Rz,,r

(1) )(0 )(f),c(

This is analogous problem to the Direchlet problem in polar coordinatesThe solution is in the form of

(3) kconstant cotR

R2R 22

The ODE’s from equation (3) (4) 0RkR2R 22

(5) 0kcot 2

(6) cosx Change of variables

Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 61: CHAPTER 20 LAPLACE  EQUATION

Change of variables to x gives us

(7) 0)1L(Ldxdx2

dxd)x1( 2

22

Note that if x=-1, +1 are excluded from the problem “L” may be a non-integer.The solution to equation (7) is the Legendre polynomial discussed in chapter 4, section 4.3 We will thus write the general solution to Laplace’s equation in spherical coordinates for this case as follows:

(8) cosPr

1BrA),r( L0n 1LL

LL

The Legendre polynomials can be obtained from the following equation (for details refer to section 4.3 in textbook)

(9) 1xdxd

!L21)x(P

L2L

L

LL Rodrigues’ formula

Page 62: CHAPTER 20 LAPLACE  EQUATION

The Legendre polynomials can also obtained from generating function given below:

(10) )x(P)x21(

1),x(F0L

LL

2/12

Note: The polynomials form a complete, orthogonal set of function in the domain of -1<=x<=1 or 0<=θ<=π

(11.2) dx)x(P)x(f2

1L2A1

1LL

(11.1) )x(PA)x(f0L

LL

Which gives us below equation (11.2) using Fourier Legendre expansion of the function in equation (11.1)

Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 63: CHAPTER 20 LAPLACE  EQUATION

Now using the given boundary conditions in equation (2) for dirichlet problem

(8) cosPr

1BrA),r( L0n 1LL

LL

In this equation we have BL =0 because of stipulated boundaries given. Therefore from equation (8) we have the following final equation

(11) cosP rA),r(0n

LL

L

Use next boundary condition to solve for the constant AL

(12) cosPrA)(f),r(0n

LL

L

Dirichlet Problem in Spherical Coordinates:

Page 64: CHAPTER 20 LAPLACE  EQUATION

We already obtained equations for constants in general solution in previous slides

(12) cosPcA)(f),r(0n

LL

L

From equation 11.2 we can write AL as follows

(14) dsin)(cosP)(fc2

1L2A1

1LLL

(13) dx)x(P)x(f2

1L2cA1

1L

LL

Equation (14) and Equation (14) form the final solution for the dirichlet problem for spherical coordinates

Page 65: CHAPTER 20 LAPLACE  EQUATION

20.4 The Fourier Transform

Transform:In mathematics, a function that results when a given function is multiplied by a so-called kernel function, and the product is integrated between suitable limits. (Britannica)

We can use a Fourier transform on x if the x domain isOr a Fourier cosine or sine transform on x if the domain is

x

x0

Application condition

0

st .dt)t(fesLf)s(F

1. http://ase.tufts.edu/chemistry/sykes2.Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 66: CHAPTER 20 LAPLACE  EQUATION

Fourier Transform of a Cosine

Fourier Transform

)2cos()( sttf

Example1

)(21)(

21

)2sin()2cos()2cos()2cos(

)2sin()2cos()2cos()2cos(

)2sin()2cos()2cos(

)2cos()()( 22

susu

dtutstidtutst

dtutstidtutst

dtutiutst

dtestdtetfuF utiuti

Page 67: CHAPTER 20 LAPLACE  EQUATION

Fourier TransformExample1:Dirichlet problem for Half

Plane

)(for )()0,()0 ,(for 0),(2

xxfxuyxyxu

y

x

Solution by Fourier Transform1.Apply the Fourier transform in x to the Laplace’s equation (note: y is independent of x )

2. Use Operational Formula

3.Find the general solution of the resulting equationwww.faculty.kfupm.edu.sa/MATH/ffairag/math470_091/notes/

6p9b.ppt

Page 68: CHAPTER 20 LAPLACE  EQUATION

Fourier Transform

yy

xi

xi

yyxx

yyxx

BeAeyu

udy

udor

dxeyxudydu

dxeyuui

uFuF

FuuF

),(ˆ

0ˆˆ

0),(

0ˆ)(

0

0

22

2

2

22

2

22

We assume that

0),(lim

),(lim),(ˆlim

0),(

dxeyxu

dxeyxuyu

getasyyxu

xi

y

xi

yy

We need A=0,so

Solution

y

y

y

y

efyu

Bfu

fu

Beyu

)(ˆ),(ˆ

)(ˆˆ

)(ˆˆ

),(ˆ

0

0

Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Page 69: CHAPTER 20 LAPLACE  EQUATION

Fourier TransformSolution

We obtain the final result

dfyxPd

yxfyyxu )(),(

)()(),( 22

This is the Poisson integral formula for the half plane

Poisson kernel

Greenberg, M. D. (1998). Advanced Engineering Mathematics (2nd ed.): Prentice Hall.

Figure: Poisson kernel P

Page 70: CHAPTER 20 LAPLACE  EQUATION

Helpful References• Greenberg, M. D. (1998). Advanced

Engineering Mathematics (2nd ed.): Prentice Hall.

• Kreyszig, E. (1998). Advanced Engineering Mathematics (8th ed.): Wiley.

• http://tutorial.math.lamar.edu/Classes/DE/LaplacesEqn.aspx

• http://users.aber.ac.uk/ruw/teach/260/laplace.php

Page 71: CHAPTER 20 LAPLACE  EQUATION

End of chapter 20