Professional Documents
Culture Documents
The Dirichlet BVP For A Rectangle: U U (X, 0) F U (X, B) F X A, U (0, Y) G U (A, Y) G y B
The Dirichlet BVP For A Rectangle: U U (X, 0) F U (X, B) F X A, U (0, Y) G U (A, Y) G y B
The Dirichlet BVP For A Rectangle: U U (X, 0) F U (X, B) F X A, U (0, Y) G U (A, Y) G y B
In this lecture we shall discuss the solution of the Laplace equation with Dirichlet type
BC in cartesian coordinates.
We shall study how the method of separation of variables is still applicable for the BVP.
Since the BC are nonhomogeneous, we are required to do some preliminary work.
By the principle of superposition, we seek the solution of the above BVP (1)-(2) as
where each of u1 , u2 , u3 and u4 satisfies the PDE with one of the original nonhomogeneous
BC, and the homogeneous versions of the remaining three BC. These problems are then
solved by the method of separation of variables.
Apply the method of separation of variables to solve this problem. The step-wise
solution procedure is given below.
and hence,
X ′′ (x) Y ′′ (y)
=− = k,
X(x) Y (y)
for some constant k, which is called the separation constant. This leads two ODEs
Case 1 : When k > 0, set k = λ2 , where λ ̸= 0. In this case, the solutions of ODEs are
Therefore,
u(x, y) = (A + Bx)(C + Dy).
A + B = 0, Aeλa + Be−λa = 0,
MODULE 7: THE LAPLACE EQUATION 14
which has a trivial solution A = 0 and B = 0. Thus, only the trivial solution u(x, y) = 0
is possible. Similarly, use of boundary conditions u(0, y) = 0 and u(a, y) = 0 also leads
to a trivial solution u(x, y) = 0 for the case k = 0. Let us examine the product solution
obtained in Case 3 (for k < 0) i.e.,
Using the boundary condition u(0, y) = 0 yields A = 0. The condition u(a, y) = 0 gives
B sin(λa)][Ceλy + De−λy ] = 0.
B ̸= 0 =⇒ sin λa = 0
nπ
=⇒ λa = nπ or λ = , n = 1, 2, 3, . . . .
a
Therefore, the sequence of non-trivial is given by
nπx nπy −nπy
un (x, y) = sin( )[Cn e a + Dn e a ]
a
Applying the BC u(x, b) = 0, we obtain
nπx nπb −nπb
sin( )[Cn e a + Dn e a ] = 0
a
nπb −nπb
=⇒ Cn e a + Dn e a = 0
nπb
e a
=⇒ Dn = −Cn −nπb , n = 1, 2, . . . , .
e a
∞
∑ nπx nπ(y − b)
u(x, y) = cn sin( ) sinh( ).
a a
n=1
is
∞ [
∑ nπx nπ(b − y)
u(x, y) = An sin( ) sinh[ ]
a a
n=1
nπx nπy
+Bn sin( ) sinh( )
a a
nπy nπ(a − x)
+Cn sin( ) sinh[ ]
b b ]
nπy nπx
+ Dn sin( ) sinh( ) ,
b b
where
nπb nπb
An = an / sinh( ) Bn = bn / sinh( )
a a
nπa nπa
Cn = cn / sinh( ) Dn = dn / sinh( ).
b b
Practice Problems