The general second-order linear PDE in two variables is
A u x x + B u x y + C u y y + D u x + E u y + F u = G A u_{xx} + B u_{xy} + C u_{yy} + D u_x + E u_y + F u = G A u xx + B u x y + C u y y + D u x + E u y + F u = G
Elliptic (B 2 − 4 A C < 0 B^2 - 4AC \lt 0 B 2 − 4 A C < 0 ): e.g., Laplace”s equation u x x + u y y = 0 u_{xx} + u_{yy} = 0 u xx + u y y = 0 .Parabolic (B 2 − 4 A C = 0 B^2 - 4AC = 0 B 2 − 4 A C = 0 ): e.g., the heat equation u t = α 2 u x x u_t = \alpha^2 u_{xx} u t = α 2 u xx .Hyperbolic (B 2 − 4 A C > 0 B^2 - 4AC > 0 B 2 − 4 A C > 0 ): e.g., the wave equation u t t = c 2 u x x u_{tt} = c^2 u_{xx} u tt = c 2 u xx .u t = α 2 u x x , 0 < x < L , t > 0 u_t = \alpha^2 u_{xx}, \quad 0 \lt x \lt L, \quad t > 0 u t = α 2 u xx , 0 < x < L , t > 0
With boundary conditions u ( 0 , t ) = u ( L , t ) = 0 u(0, t) = u(L, t) = 0 u ( 0 , t ) = u ( L , t ) = 0 and initial condition u ( x , 0 ) = f ( x ) u(x, 0) = f(x) u ( x , 0 ) = f ( x ) .
Consider a thin rod of length L L L with uniform cross-section and density ρ \rho ρ . Let u ( x , t ) u(x, t) u ( x , t ) be the Temperature at position x x x and time t t t . By Fourier’s law of heat conduction , the heat flux Through a cross-section is proportional to the negative temperature gradient:
q = − κ u x q = -\kappa u_x q = − κ u x
Where κ \kappa κ is the thermal conductivity. Conservation of energy on [ x , x + Δ x ] [x, x + \Delta x] [ x , x + Δ x ] :
ρ c ∂ u ∂ t Δ x = q ( x ) − q ( x + Δ x ) = − κ u x ( x ) + κ u x ( x + Δ x ) \rho c \frac{\partial u}{\partial t} \Delta x = q(x) - q(x + \Delta x) = -\kappa u_x(x) + \kappa u_x(x + \Delta x) ρ c ∂ t ∂ u Δ x = q ( x ) − q ( x + Δ x ) = − κ u x ( x ) + κ u x ( x + Δ x )
Dividing by Δ x \Delta x Δ x and taking Δ x → 0 \Delta x \to 0 Δ x → 0 :
ρ c u t = κ u x x ⟹ u t = κ ρ c u x x = α 2 u x x \rho c \, u_t = \kappa u_{xx} \implies u_t = \frac{\kappa}{\rho c} u_{xx} = \alpha^2 u_{xx} ρ c u t = κ u xx ⟹ u t = ρ c κ u xx = α 2 u xx
Where α 2 = κ / ( ρ c ) \alpha^2 = \kappa/(\rho c) α 2 = κ / ( ρ c ) is the thermal diffusivity .
Assume u ( x , t ) = X ( x ) T ( t ) u(x, t) = X(x)T(t) u ( x , t ) = X ( x ) T ( t ) . Substituting:
X T ′ = α 2 X ′ ′ T ⟹ T ′ α 2 T = X ′ ′ X = − λ X T' = \alpha^2 X'' T \implies \frac{T'}{\alpha^2 T} = \frac{X''}{X} = -\lambda X T ′ = α 2 X ′′ T ⟹ α 2 T T ′ = X X ′′ = − λ
This gives two ODEs:
X ′ ′ + λ X = 0 , X ( 0 ) = X ( L ) = 0 X'' + \lambda X = 0, \quad X(0) = X(L) = 0 X ′′ + λ X = 0 , X ( 0 ) = X ( L ) = 0 T ′ + α 2 λ T = 0 T' + \alpha^2 \lambda T = 0 T ′ + α 2 λ T = 0
The boundary value problem for X X X has solutions only for λ n = ( n π / L ) 2 \lambda_n = (n\pi/L)^2 λ n = ( nπ / L ) 2 n = 1 , 2 , 3 , … n = 1, 2, 3, \ldots n = 1 , 2 , 3 , … With X n ( x ) = sin ( n π x / L ) X_n(x) = \sin(n\pi x/L) X n ( x ) = sin ( nπ x / L ) .
The corresponding T n ( t ) = e − α 2 ( n π / L ) 2 t T_n(t) = e^{-\alpha^2 (n\pi/L)^2 t} T n ( t ) = e − α 2 ( nπ / L ) 2 t .
By superposition:
u ( x , t ) = ∑ n = 1 ∞ b n sin n π x L e − α 2 ( n π / L ) 2 t u(x, t) = \sum_{n=1}^{\infty} b_n \sin\frac{n\pi x}{L} e^{-\alpha^2 (n\pi/L)^2 t} u ( x , t ) = ∑ n = 1 ∞ b n sin L nπ x e − α 2 ( nπ / L ) 2 t
Where b n = 2 L ∫ 0 L f ( x ) sin n π x L d x b_n = \frac{2}{L}\int_0^L f(x)\sin\frac{n\pi x}{L}\, dx b n = L 2 ∫ 0 L f ( x ) sin L nπ x d x (the sine series coefficients of f f f ).
Problem. Solve u t = u x x u_t = u_{xx} u t = u xx for 0 < x < π 0 \lt x \lt \pi 0 < x < π , t > 0 t > 0 t > 0 With u ( 0 , t ) = u ( π , t ) = 0 u(0, t) = u(\pi, t) = 0 u ( 0 , t ) = u ( π , t ) = 0 And u ( x , 0 ) = sin ( 2 x ) + 3 sin ( 5 x ) u(x, 0) = \sin(2x) + 3\sin(5x) u ( x , 0 ) = sin ( 2 x ) + 3 sin ( 5 x ) .
Solution. Here α = 1 \alpha = 1 α = 1 and L = π L = \pi L = π . The initial condition is already a sine series.
λ n = n 2 \lambda_n = n^2 λ n = n 2 , X n = sin ( n x ) X_n = \sin(nx) X n = sin ( n x ) , T n = e − n 2 t T_n = e^{-n^2 t} T n = e − n 2 t .
u ( x , t ) = e − 4 t sin ( 2 x ) + 3 e − 25 t sin ( 5 x ) u(x, t) = e^{-4t}\sin(2x) + 3e^{-25t}\sin(5x) u ( x , t ) = e − 4 t sin ( 2 x ) + 3 e − 25 t sin ( 5 x ) . ■ \blacksquare ■
u t t = c 2 u x x , 0 < x < L , t > 0 u_{tt} = c^2 u_{xx}, \quad 0 \lt x \lt L, \quad t > 0 u tt = c 2 u xx , 0 < x < L , t > 0
With boundary conditions u ( 0 , t ) = u ( L , t ) = 0 u(0, t) = u(L, t) = 0 u ( 0 , t ) = u ( L , t ) = 0 And initial conditions u ( x , 0 ) = f ( x ) u(x, 0) = f(x) u ( x , 0 ) = f ( x ) u t ( x , 0 ) = g ( x ) u_t(x, 0) = g(x) u t ( x , 0 ) = g ( x ) .
Consider a string of length L L L under tension T T T . Let u ( x , t ) u(x, t) u ( x , t ) be the vertical displacement. For A small segment [ x , x + Δ x ] [x, x + \Delta x] [ x , x + Δ x ] Newton’s second law in the vertical direction gives:
ρ Δ x u t t = T sin θ ( x + Δ x ) − T sin θ ( x ) \rho \Delta x \, u_{tt} = T\sin\theta(x + \Delta x) - T\sin\theta(x) ρ Δ x u tt = T sin θ ( x + Δ x ) − T sin θ ( x )
For small displacements, sin θ ≈ tan θ = u x \sin\theta \approx \tan\theta = u_x sin θ ≈ tan θ = u x So:
ρ u t t = T u x ( x + Δ x ) − u x ( x ) Δ x → Δ x → 0 T u x x \rho \, u_{tt} = T \frac{u_x(x + \Delta x) - u_x(x)}{\Delta x} \xrightarrow{\Delta x \to 0} T u_{xx} ρ u tt = T Δ x u x ( x + Δ x ) − u x ( x ) Δ x → 0 T u xx
u t t = T ρ u x x = c 2 u x x , c = T / ρ u_{tt} = \frac{T}{\rho} u_{xx} = c^2 u_{xx}, \quad c = \sqrt{T/\rho} u tt = ρ T u xx = c 2 u xx , c = T / ρ
Separation of variables u ( x , t ) = X ( x ) T ( t ) u(x, t) = X(x)T(t) u ( x , t ) = X ( x ) T ( t ) gives:
X ′ ′ + λ X = 0 , T ′ ′ + c 2 λ T = 0 X'' + \lambda X = 0, \quad T'' + c^2 \lambda T = 0 X ′′ + λ X = 0 , T ′′ + c 2 λ T = 0
With λ n = ( n π / L ) 2 \lambda_n = (n\pi/L)^2 λ n = ( nπ / L ) 2 :
X n ( x ) = sin n π x L , T n ( t ) = a n cos c n π t L + b n sin c n π t L X_n(x) = \sin\frac{n\pi x}{L}, \quad T_n(t) = a_n \cos\frac{cn\pi t}{L} + b_n \sin\frac{cn\pi t}{L} X n ( x ) = sin L nπ x , T n ( t ) = a n cos L c nπ t + b n sin L c nπ t
u ( x , t ) = ∑ n = 1 ∞ sin n π x L ( a n cos c n π t L + b n sin c n π t L ) u(x, t) = \sum_{n=1}^{\infty} \sin\frac{n\pi x}{L}\left(a_n \cos\frac{cn\pi t}{L} + b_n \sin\frac{cn\pi t}{L}\right) u ( x , t ) = ∑ n = 1 ∞ sin L nπ x ( a n cos L c nπ t + b n sin L c nπ t )
Where a n = 2 L ∫ 0 L f ( x ) sin n π x L d x a_n = \frac{2}{L}\int_0^L f(x)\sin\frac{n\pi x}{L}\, dx a n = L 2 ∫ 0 L f ( x ) sin L nπ x d x and b n = 2 c n π ∫ 0 L g ( x ) sin n π x L d x b_n = \frac{2}{cn\pi}\int_0^L g(x)\sin\frac{n\pi x}{L}\, dx b n = c nπ 2 ∫ 0 L g ( x ) sin L nπ x d x .
For the wave equation on − ∞ < x < ∞ -\infty \lt x \lt \infty − ∞ < x < ∞ :
u ( x , t ) = f ( x + c t ) + f ( x − c t ) 2 + 1 2 c ∫ x − c t x + c t g ( s ) d s u(x, t) = \frac{f(x + ct) + f(x - ct)}{2} + \frac{1}{2c}\int_{x - ct}^{x + ct} g(s)\, ds u ( x , t ) = 2 f ( x + c t ) + f ( x − c t ) + 2 c 1 ∫ x − c t x + c t g ( s ) d s
This represents the solution as a superposition of right-moving and left-moving waves.
u x x + u y y = 0 u_{xx} + u_{yy} = 0 u xx + u y y = 0
On a domain Ω ⊆ R 2 \Omega \subseteq \mathbb{R}^2 Ω ⊆ R 2 With boundary conditions on ∂ Ω \partial\Omega ∂ Ω .
Theorem 8.1 (Maximum Principle). A harmonic function u u u (satisfying Laplace’s equation) on a Bounded domain attains its maximum and minimum on the boundary.
Theorem 8.2 (Uniqueness). The Dirichlet problem for Laplace’s equation has at most one solution.
Proof. If u 1 u_1 u 1 and u 2 u_2 u 2 are two solutions with the same boundary data, then v = u 1 − u 2 v = u_1 - u_2 v = u 1 − u 2 is Harmonic with v = 0 v = 0 v = 0 on ∂ Ω \partial\Omega ∂ Ω . By the maximum principle, v ≡ 0 v \equiv 0 v ≡ 0 . ■ \blacksquare ■
Problem. A string of length π \pi π with fixed ends is plucked: u ( x , 0 ) = x ( π − x ) u(x, 0) = x(\pi - x) u ( x , 0 ) = x ( π − x ) u t ( x , 0 ) = 0 u_t(x, 0) = 0 u t ( x , 0 ) = 0 . Find u ( x , t ) u(x, t) u ( x , t ) .
Solution. With c = 1 c = 1 c = 1 and L = π L = \pi L = π : a n = 2 π ∫ 0 π x ( π − x ) sin ( n x ) d x a_n = \frac{2}{\pi}\int_0^{\pi} x(\pi - x)\sin(nx)\, dx a n = π 2 ∫ 0 π x ( π − x ) sin ( n x ) d x b n = 0 b_n = 0 b n = 0 (since g = 0 g = 0 g = 0 ).
Integrating by parts twice:
∫ 0 π x ( π − x ) sin ( n x ) d x = [ − x ( π − x ) cos ( n x ) n ] 0 π + 1 n ∫ 0 π ( π − 2 x ) cos ( n x ) d x \int_0^{\pi} x(\pi - x)\sin(nx)\, dx = \left[-\frac{x(\pi - x)\cos(nx)}{n}\right]_0^{\pi} + \frac{1}{n}\int_0^{\pi}(\pi - 2x)\cos(nx)\, dx ∫ 0 π x ( π − x ) sin ( n x ) d x = [ − n x ( π − x ) c o s ( n x ) ] 0 π + n 1 ∫ 0 π ( π − 2 x ) cos ( n x ) d x
= 0 + 1 n [ ( π − 2 x ) sin ( n x ) n ] 0 π + 2 n 2 ∫ 0 π sin ( n x ) d x = 0 + \frac{1}{n}\left[\frac{(\pi - 2x)\sin(nx)}{n}\right]_0^{\pi} + \frac{2}{n^2}\int_0^{\pi}\sin(nx)\, dx = 0 + n 1 [ n ( π − 2 x ) s i n ( n x ) ] 0 π + n 2 2 ∫ 0 π sin ( n x ) d x
= 0 + 2 n 2 [ − cos ( n x ) n ] 0 π = 2 n 3 ( 1 − ( − 1 ) n ) = 0 + \frac{2}{n^2}\left[-\frac{\cos(nx)}{n}\right]_0^{\pi} = \frac{2}{n^3}(1 - (-1)^n) = 0 + n 2 2 [ − n c o s ( n x ) ] 0 π = n 3 2 ( 1 − ( − 1 ) n )
For even n n n : a n = 0 a_n = 0 a n = 0 . For odd n = 2 k + 1 n = 2k + 1 n = 2 k + 1 : a n = 2 π ⋅ 4 n 3 = 8 π n 3 a_n = \frac{2}{\pi} \cdot \frac{4}{n^3} = \frac{8}{\pi n^3} a n = π 2 ⋅ n 3 4 = π n 3 8 .
u ( x , t ) = 8 π ∑ k = 0 ∞ sin ( ( 2 k + 1 ) x ) ( 2 k + 1 ) 3 cos ( ( 2 k + 1 ) t ) u(x, t) = \frac{8}{\pi}\sum_{k=0}^{\infty} \frac{\sin((2k+1)x)}{(2k+1)^3}\cos((2k+1)t) u ( x , t ) = π 8 ∑ k = 0 ∞ ( 2 k + 1 ) 3 s i n (( 2 k + 1 ) x ) cos (( 2 k + 1 ) t ) . ■ \blacksquare ■
Problem. Solve u x x + u y y = 0 u_{xx} + u_{yy} = 0 u xx + u y y = 0 on 0 < x < π 0 \lt x \lt \pi 0 < x < π , 0 < y < 1 0 \lt y \lt 1 0 < y < 1 with u ( 0 , y ) = u ( π , y ) = u ( x , 1 ) = 0 u(0, y) = u(\pi, y) = u(x, 1) = 0 u ( 0 , y ) = u ( π , y ) = u ( x , 1 ) = 0 and u ( x , 0 ) = f ( x ) = x ( π − x ) u(x, 0) = f(x) = x(\pi - x) u ( x , 0 ) = f ( x ) = x ( π − x ) .
Solution Solution. Separate variables: u ( x , y ) = X ( x ) Y ( y ) u(x, y) = X(x)Y(y) u ( x , y ) = X ( x ) Y ( y ) .
X ′ ′ / X = − Y ′ ′ / Y = − λ X''/X = -Y''/Y = -\lambda X ′′ / X = − Y ′′ / Y = − λ .
X ′ ′ + λ X = 0 X'' + \lambda X = 0 X ′′ + λ X = 0 , X ( 0 ) = X ( π ) = 0 X(0) = X(\pi) = 0 X ( 0 ) = X ( π ) = 0 : λ n = n 2 \lambda_n = n^2 λ n = n 2 , X n = sin ( n x ) X_n = \sin(nx) X n = sin ( n x ) .
Y ′ ′ − n 2 Y = 0 Y'' - n^2 Y = 0 Y ′′ − n 2 Y = 0 , Y ( 1 ) = 0 Y(1) = 0 Y ( 1 ) = 0 : Y n = sinh ( n ( 1 − y ) ) Y_n = \sinh(n(1 - y)) Y n = sinh ( n ( 1 − y )) .
u ( x , y ) = ∑ n = 1 ∞ b n sin ( n x ) sinh ( n ( 1 − y ) ) u(x, y) = \sum_{n=1}^{\infty} b_n \sin(nx)\sinh(n(1-y)) u ( x , y ) = ∑ n = 1 ∞ b n sin ( n x ) sinh ( n ( 1 − y )) .
b n = 2 π sinh n ∫ 0 π x ( π − x ) sin ( n x ) d x = 2 π sinh n ⋅ 2 ( 1 − ( − 1 ) n ) n 3 b_n = \frac{2}{\pi \sinh n}\int_0^{\pi} x(\pi - x)\sin(nx)\, dx = \frac{2}{\pi \sinh n} \cdot \frac{2(1 - (-1)^n)}{n^3} b n = π s i n h n 2 ∫ 0 π x ( π − x ) sin ( n x ) d x = π s i n h n 2 ⋅ n 3 2 ( 1 − ( − 1 ) n ) .
For odd n = 2 k + 1 n = 2k + 1 n = 2 k + 1 : b n = 8 π n 3 sinh n b_n = \frac{8}{\pi n^3 \sinh n} b n = π n 3 s i n h n 8 .
u ( x , y ) = 8 π ∑ k = 0 ∞ sin ( ( 2 k + 1 ) x ) sinh ( ( 2 k + 1 ) ( 1 − y ) ) ( 2 k + 1 ) 3 sinh ( 2 k + 1 ) u(x, y) = \frac{8}{\pi}\sum_{k=0}^{\infty} \frac{\sin((2k+1)x)\sinh((2k+1)(1-y))}{(2k+1)^3 \sinh(2k+1)} u ( x , y ) = π 8 ∑ k = 0 ∞ ( 2 k + 1 ) 3 s i n h ( 2 k + 1 ) s i n (( 2 k + 1 ) x ) s i n h (( 2 k + 1 ) ( 1 − y )) . ■ \blacksquare ■
A Sturm-Liouville problem consists of the ODE
( p ( x ) y ′ ) ′ + [ λ w ( x ) − q ( x ) ] y = 0 (p(x)y')' + [\lambda w(x) - q(x)]y = 0 ( p ( x ) y ′ ) ′ + [ λ w ( x ) − q ( x )] y = 0
On [ a , b ] [a, b] [ a , b ] with homogeneous boundary conditions, where p , w > 0 p, w > 0 p , w > 0 and p , p ′ , q , w p, p', q, w p , p ′ , q , w are continuous.
Key properties:
The eigenvalues are real and form an infinite increasing sequence λ 1 < λ 2 < ⋯ → ∞ \lambda_1 \lt \lambda_2 \lt \cdots \to \infty λ 1 < λ 2 < ⋯ → ∞ . Eigenfunctions corresponding to distinct eigenvalues are orthogonal with respect to the weight w ( x ) w(x) w ( x ) : ∫ a b y m ( x ) y n ( x ) w ( x ) d x = 0 \int_a^b y_m(x) y_n(x) w(x)\, dx = 0 ∫ a b y m ( x ) y n ( x ) w ( x ) d x = 0 for m ≠ n m \neq n m = n . The eigenfunctions form a complete set in the weighted L 2 L^2 L 2 space. Remark. The boundary value problems encountered in the heat and wave equations (X ′ ′ + λ X = 0 X'' + \lambda X = 0 X ′′ + λ X = 0 with X ( 0 ) = X ( L ) = 0 X(0) = X(L) = 0 X ( 0 ) = X ( L ) = 0 ) are special cases of Sturm-Liouville problems With p = 1 p = 1 p = 1 , q = 0 q = 0 q = 0 , w = 1 w = 1 w = 1 .
When the boundary specifies the derivative (heat flux) rather than the value, we have Neumann Conditions . For the heat equation:
u x ( 0 , t ) = 0 , u x ( L , t ) = 0 u_x(0, t) = 0, \quad u_x(L, t) = 0 u x ( 0 , t ) = 0 , u x ( L , t ) = 0
(insulated ends). The separation of variables gives X ′ ( 0 ) = X ′ ( L ) = 0 X'(0) = X'(L) = 0 X ′ ( 0 ) = X ′ ( L ) = 0 Yielding eigenvalues λ 0 = 0 \lambda_0 = 0 λ 0 = 0 with X 0 = 1 X_0 = 1 X 0 = 1 And λ n = ( n π / L ) 2 \lambda_n = (n\pi/L)^2 λ n = ( nπ / L ) 2 for n ≥ 1 n \geq 1 n ≥ 1 with X n = cos ( n π x / L ) X_n = \cos(n\pi x/L) X n = cos ( nπ x / L ) .
The solution is
u ( x , t ) = a 0 2 + ∑ n = 1 ∞ a n cos n π x L e − α 2 ( n π / L ) 2 t u(x, t) = \frac{a_0}{2} + \sum_{n=1}^{\infty} a_n \cos\frac{n\pi x}{L} e^{-\alpha^2 (n\pi/L)^2 t} u ( x , t ) = 2 a 0 + ∑ n = 1 ∞ a n cos L nπ x e − α 2 ( nπ / L ) 2 t
Where a n = 2 L ∫ 0 L f ( x ) cos n π x L d x a_n = \frac{2}{L}\int_0^L f(x)\cos\frac{n\pi x}{L}\, dx a n = L 2 ∫ 0 L f ( x ) cos L nπ x d x .
Remark. As t → ∞ t \to \infty t → ∞ All exponential terms decay, and u ( x , t ) → a 0 / 2 u(x, t) \to a_0/2 u ( x , t ) → a 0 /2 The average Value of the initial temperature. Physically, an insulated rod reaches a uniform steady-state Temperature.
Problem. Solve u t = u x x u_t = u_{xx} u t = u xx for 0 < x < π 0 \lt x \lt \pi 0 < x < π , t > 0 t > 0 t > 0 With u ( 0 , t ) = u ( π , t ) = 0 u(0, t) = u(\pi, t) = 0 u ( 0 , t ) = u ( π , t ) = 0 And u ( x , 0 ) = x ( π − x ) u(x, 0) = x(\pi - x) u ( x , 0 ) = x ( π − x ) .
Solution Solution. The sine series of f ( x ) = x ( π − x ) f(x) = x(\pi - x) f ( x ) = x ( π − x ) on [ 0 , π ] [0, \pi] [ 0 , π ] has coefficients
b n = 2 π ∫ 0 π x ( π − x ) sin ( n x ) d x = 4 ( 1 − ( − 1 ) n ) π n 3 b_n = \frac{2}{\pi}\int_0^{\pi} x(\pi - x)\sin(nx)\, dx = \frac{4(1 - (-1)^n)}{\pi n^3} b n = π 2 ∫ 0 π x ( π − x ) sin ( n x ) d x = π n 3 4 ( 1 − ( − 1 ) n ) .
(Computed in Section 8.11.)
For even n n n : b n = 0 b_n = 0 b n = 0 . For odd n = 2 k + 1 n = 2k + 1 n = 2 k + 1 : b n = 8 π n 3 b_n = \frac{8}{\pi n^3} b n = π n 3 8 .
u ( x , t ) = 8 π ∑ k = 0 ∞ sin ( ( 2 k + 1 ) x ) ( 2 k + 1 ) 3 e − ( 2 k + 1 ) 2 t u(x, t) = \frac{8}{\pi}\sum_{k=0}^{\infty} \frac{\sin((2k+1)x)}{(2k+1)^3} e^{-(2k+1)^2 t} u ( x , t ) = π 8 ∑ k = 0 ∞ ( 2 k + 1 ) 3 s i n (( 2 k + 1 ) x ) e − ( 2 k + 1 ) 2 t . ■ \blacksquare ■
Problem. Solve u t t = 4 u x x u_{tt} = 4u_{xx} u tt = 4 u xx for − ∞ < x < ∞ -\infty \lt x \lt \infty − ∞ < x < ∞ with u ( x , 0 ) = e − x 2 u(x, 0) = e^{-x^2} u ( x , 0 ) = e − x 2 and u t ( x , 0 ) = 0 u_t(x, 0) = 0 u t ( x , 0 ) = 0 .
Solution Solution. Here c = 2 c = 2 c = 2 . By D’Alembert’s formula with g = 0 g = 0 g = 0 :
u ( x , t ) = f ( x + 2 t ) + f ( x − 2 t ) 2 = e − ( x + 2 t ) 2 + e − ( x − 2 t ) 2 2 u(x, t) = \frac{f(x + 2t) + f(x - 2t)}{2} = \frac{e^{-(x+2t)^2} + e^{-(x-2t)^2}}{2} u ( x , t ) = 2 f ( x + 2 t ) + f ( x − 2 t ) = 2 e − ( x + 2 t ) 2 + e − ( x − 2 t ) 2 .
This represents two Gaussian pulses traveling in opposite directions at speed 2. ■ \blacksquare ■