MKS501E Week 12
MKS501E Week 12
We shall now extend our discussion from one to two space dimensions and
consider the two-dimensional heat equation
2
∂ u ∂2u
∂u
= c2 ∇2 u = c2 +
∂t ∂x2 ∂y 2
for steady (that is, time-independent) problems. Then ∂u/∂t = 0 and the
heat equation reduces to Laplace’s equation
Laplace Equation
Laplace’s Equation
∂2u ∂2u
+ 2 =0 (1)
∂x2 ∂y
A = 1, B = 0, C = 1
The discriminant ∆ is given by:
1
The second derivatives yield:
F ′′ G + F G′′ = 0 (6)
∂2u ∂2u
∇2 u = + 2 =0
∂x2 ∂y
Consider the function u(x, y) such that:
F ′′ G′′
=− = −k 2 (12)
F G
Solving these ordinary differential equations, we have:
F ′′ + k 2 F = 0, λ = ±ik (13)
F (0) = A = 0 (15)
F (a) = B sin(ka) = 0, B ̸= 0 (16)
nπ
k= , n = 1, 2, . . . , ∞ (17)
a
Therefore, the function F (x) simplifies to:
nπx
F = B sin (18)
a
2
G′′ − k 2 G = 0, λ1,2 = ±k (19)
3
∂2u ∂2u
∇2 u = + 2 =0
∂x2 ∂y
T (x, 0) = 0
T (0, y) = 0
T (x, 1) = x
T (1, y) = y
F ′′ G + F G′′ = 0 (31)
F ′′ G′′
=− = −k 2 (32)
F G
This leads to two ordinary differential equations:
F ′′ = 0, F = Ax + B (34)
G′′ = 0 and G = Cy + D (35)
T (x, y) = (Ax + B)(Cy + D) (36)
Given the boundary conditions:
4
Example
∂2u ∂2u
+ 2 =0 (38)
∂x2 ∂y
u(x, y) = F (x)G(y) (39)
Given that:
F ′′ G′′
=− = −k 2 , (40)
F G
we have the following ordinary differential equations:
∂u
= F ′ (0)G(y) = 0, (42)
∂x x=0
5
Using the boundary conditions for G we find:
and thus:
u0 = (Dy + E)A (if k = 0, F = A). (51)
The eigenfunctions un are:
nπ
un = Bn cos (kx) sinh (ky) with k = . (52)
a
The full solution is given by the series:
∞
X
u(x, y) = un (x, y), (53)
n=0
At y = b, we have:
∞ nπx
X nπb
u(x, b) = B0 b + Bn cos sinh = f (x). (55)
n=1
a a
1 a
Z
B0 = f (x)dx, (56)
a 0
Z a
1
B0 = f (x)dx, (57)
ab 0
Z a
2 nπx
Bn = f (x) cos dx. (58)
a sinh(nπb/a) 0 a
6
Example
7
The general solution for Laplace’s equation ∇2 u = 0 is assumed to be:
Given the boundary conditions:
u(1, y) = x u(x, 1) = y
u(x, 0) = 1 − x u(0, y) = 1 − y
a + bx + c + dx = x b+d=1 d=2
u = 1 − x − y + 2xy (60)
8
The Laplace’s equation in Cartesian coordinates uxx +uyy = 0 is transformed
into polar coordinates where x = r cos θ and y = r sin θ. The relation between
Cartesian and cylindrical coordinates is given by:
x2 + y 2 = r 2 (61)
2x = 2rrx (62)
The partial derivatives transform as:
ux = ur rx + uθ θx (63)
∂ p 2 x x
rx = x + y2 = p =
∂x 2
x +y 2 r
∂ y y y
θx = arctan =− 2 2
=− 2
∂x x x +y r
The second-order derivatives rxx and θxx are computed by differentiating
rx and θx with respect to x. By applying the product rule and differentiating
implicitly, we obtain:
!
∂ x ∂ x y2 y2
rxx = = = 2 =
r3
p
∂x r ∂x x2 + y 2 (x + y 2 )3/2
∂ y ∂ y 2xy 2xy
θxx = − 2 =− = 2 = 4
∂x r ∂x x2 + y 2 (x + y 2 )2 r
9
Laplace’s equation in Cartesian coordinates is given by uxx + uyy = 0. To
transform this into polar coordinates, where x = r cos(θ) and y = r sin(θ), we
use the chain rule to express the second derivatives uxx and uyy in terms of r
and θ.
The first-order partial derivatives in terms of polar coordinates are:
∂u ∂r ∂u ∂θ uθ
ux = + = ur cos(θ) − sin(θ), (66)
∂r ∂x ∂θ ∂x r
∂u ∂r ∂u ∂θ uθ
uy = + = ur sin(θ) + cos(θ). (67)
∂r ∂y ∂θ ∂y r
The second-order partial derivatives become:
∂ uθ
uxx = (ur cos(θ) − sin(θ)), (68)
∂x r
∂ uθ
uyy = (ur sin(θ) + cos(θ)). (69)
∂y r
After some simplification, using the product rule and trigonometric identi-
ties, we combine these to express the Laplacian in polar coordinates:
1 1
∇2 u = urr + ur + 2 uθθ = 0. (70)
r r
This is the form of Laplace’s equation in polar coordinates.
Drum Wave Equation in Polar Coordinates:
if the problem has radial symmetry and does not depend on the angular vari-
able (), as in the case of a perfectly circular drumhead with radially symmetric
boundary conditions, there’s no need to consider variations due to the () term.
The two-dimensional wave equation utt = c2 ∇2 u can be expressed in polar
coordinates for a drumhead as:
2 1
utt = c urr + ur (71)
r
10
Assuming a solution of the form u = W (r)G(t), we get:
1
W G̈ = c2 W ′′ G + W ′ G (72)
r
G̈ W ′′ 1 W′
= + = −k 2 (73)
c2 G W r W
This leads to two ordinary differential equations:
1
W ′′ + W ′ + k 2 W = 0 (74)
r
The solution to the radial part of the wave equation can be expressed as an
extended power series in terms of r.
Transform Methods
For a function u(x, t) = f (x − at), its Fourier transform is denoted as û(ω) and
is defined as: Z ∞
1
ĝ = F{g} = √ g(x)e−iωx dx (75)
2π −∞
Example Given the wave equation:
ut + aux = 0 (76)
11
The solution u in terms of the inverse Fourier transform is given by:
Z ∞
1
u= √ fˆe−iωt eiωx dω (83)
2π −∞
where û is the Fourier transform of u.
Z ∞
1
u= √ fˆeiω(x−at) dω (84)
2π −∞
Z ∞
1
u= √ fˆeiωξ dω = f (ξ) (85)
2π −∞
Here, ξ = x − at represents a change of variables or a phase shift.
Example
Simple Wave Equation The wave equation is given by:
ut + aux = 0 (86)
12
Example
13
2 1
√ e−ω (t+ a ) √ 2
û = a √ → ae−ax
2a
For the inverse Fourier transform, we have
1 1 1
= + t, a= , (105)
4a 4 4t + 1
and thus the solution to the initial heat equation is
1 x2
u= √ e− 4t+1 . (106)
4t + 1
The method of separation of variables is not applicable to irregular geome-
tries because it relies on the ability to separate the solution into functions of
individual coordinates, which is only feasible when the problem exhibits certain
symmetries.
14