Professional Documents
Culture Documents
5b Pde 2019 01 03 02 37 44 Utc
5b Pde 2019 01 03 02 37 44 Utc
Diffusion Equation
Wave Equation
Laplace Equation
u(x,y) = cosxsinhy
is a solution to the Laplace equation
.
Solution:
ux = −sinxsinhy, uxx = −cosxsinhy
uy = cosxcoshy, uyy = cosxsinhy
Therefore,
Separation of Variables
Assume
u(x,t) = X(x)T(t)
′ 2 ′′
X(x)T (t) = α X (x)T(t)
a constant.
We now have two ODEs
′ 2 ′′
T = α kT X = kX
Boundary conditions
′′
X = kX, X(0) = 0, X(L) = 0.
Case 1: k = 0
′′
X = 0 ⇒ X(x) = Ax + B
X(0) = 0 ⇒ B = 0 ⇒ X = Ax
X(L) = 0 ⇒ 0 = AL ⇒ A = 0
Thus X(x) = 0.
2
Case 2: k = λ > 0
′′ 2 λx −λx
X − λ X = 0 ⇒ X(x) = Ae + Be
X(0) = 0 ⇒ 0 = A + B ⇒ B = −A
Lx −Lx
X(L) = 0 ⇒ 0 = Ae −Ae ⇒A=0=B
Thus X(x) = 0.
2
Case 3: k = −λ < 0
′′ 2
X +λ X = 0 ⇒ X(x) = Acosλx+B sinλx
X(0) = 0 ⇒ 0 = A ⇒ X = B sinλx
X(L) = 0 ⇒ 0 = B sinλL, B = 06 .
Hence
Therefore
functions
General solution
Initial condition
, n = 1,2,...
Final solution
Wave Equation
Examples of waves
ut(x,0) = g(x), 0 ≤ x ≤ L.
Solution
Assume
u(x,t) = X(x)T(t)
′′ 2 ′′
X(x)T (t) = α X (x)T(t)
a constant.
We now have two ODEs
Boundary conditions
T′′ = α2kT
′′
X = kX, X(0) = 0, X(L) = 0.
Case 1: k = 0
′′
X = 0 ⇒ X(x) = Ax + B
X(0) = 0 ⇒ B = 0 ⇒ X = Ax
X(L) = 0 ⇒ 0 = AL ⇒ A = 0
Thus X(x) = 0.
2
Case 2: k = λ > 0
′′ 2 λx −λx
X − λ X = 0 ⇒ X(x) = Ae + Be
X(0) = 0 ⇒ 0 = A + B ⇒ B = −A
Lx −Lx
X(L) = 0 ⇒ 0 = Ae −Ae ⇒A=0=B
Thus X(x) = 0.
2
Case 3: k = −λ < 0
′′ 2
X +λ X = 0 ⇒ X(x) = Acosλx+B sinλx
X(0) = 0 ⇒ 0 = A ⇒ X = B sinλx
X(L) = 0 ⇒ 0 = B sinλL, B = 06 .
Hence
Therefore
with
General solution
Initial conditions
Then
Final solution
Example
is
kos .