Partial Differential Equations: Hoang Hai Ha
Partial Differential Equations: Hoang Hai Ha
Hoang Hai Ha
HCMUT-OISP
Email: [email protected]
1 Introduction
∂ 2u 2
2∂ u
1) = c : one dimensional wave equation.
∂t 2 ∂x 2
∂ 2u ∂ 2u ∂ 2u
2) 2 = c 2 + : two dimensional wave equation.
∂t ∂x 2 ∂y 2
∂u ∂ 2u
3) = c 2 2 : one dimensional heat equation.
∂t ∂x
∂ 2u ∂ 2u
∂u
3) = c2 + : two dimensional heat equation.
∂t ∂x 2 ∂y 2
∂ 2u ∂ 2u
4) + = 0: the Laplacian equation.
∂x 2 ∂y 2
∂ψ ℏ2 ∂ 2 ψ
5) iℏ =− + V (x)ψ: one dimensional Schrödinger
∂t 2m ∂x 2
equation.
2c 2 k
k
(4) ⇒ ui,j+1 = 1− 2 ui,j + c 2 (ui+1,j + ui−1,j ).
h h2
Example 2.1
Approximate solutions of
∂u ∂ 2u
(x, t) − 2 (x, t) = 0, 0 < x < 1, 0 ≤ t
∂t ∂x
satisfying
the boundary conditions: u(0, t) = u(1, t) = 0, 0 < t
the initial conditions: u(x, 0) = sin(πx), 0 ≤ x ≤ 1.
Let the step size for x is h = 0.1 and for t is 0.0005. Compare the
2
numerical results with the exact solution: u(x, t) = e −π t sin(πx).
Example 2.1
Approximate solutions of
∂u ∂ 2u
(x, t) − 2 (x, t) = 0, 0 < x < 1, 0 ≤ t
∂t ∂x
satisfying
the boundary conditions: u(0, t) = u(1, t) = 0, 0 < t
the initial conditions: u(x, 0) = sin(πx), 0 ≤ x ≤ 1.
Let the step size for x is h = 0.1 and for t is 0.0005. Compare the
2
numerical results with the exact solution: u(x, t) = e −π t sin(πx).
k
We have c = 1. Thus λ = c 2 = 0.05 và N = 10.
h2
We approximate the values of solution at t = 0.5.
λ ≤ 0.5.
λ ≤ 0.5.
Example 2.2
Consider the above example with k = 0.01.