Docsity

Solutions to Math 121b Assignment 5: Vibrating Strings and Heat Equation - Prof. J. Metcal, Assignments of Mathematics

Toggle sidebar
bg1
Math 121b - Mathematical Tools for the Physical Sciences
Instructor: J. Metcalfe
Due: February 8, 2007
Assignment 5
1. If a string vibrates in a medium that resists motion, the problem for the displacement of the
string is
∂2u
∂x2=1
c2
∂2u
∂t2+k∂u
∂t ,0< x < a, 0< t
u(0, t) = 0, u(a, t) = 0
plus initial conditions. Find eigenfunctions, eigenvalues, and product solutions for this problem.
(Assume that kis small and positive.)
Since we already have a homogeneous problem, we may separate variables
u=φ(x)T(t).
Plugging this in, we have
φ00T=1
c2φT 00 +kφT 0
or φ00
φ=T00
c2T+kT 0
T.
Setting both sides to a negative (why?) constant, we have
φ00 +λ2φ= 0, φ(0) = φ(a) = 0
T00 +kc2T0+c2λ2T= 0.
Here φn= sin nπx
awith λn=nπ
a. For the Tequation, the characteristic equation is
r2+kc2r+c2λ2= 0
whose roots are r=−(kc2/2) ±i√4c2λ2−k2c4. Thus,
Tn= exp(−kc2t/2)(ancos µnt+bnsin µnt)
where
µn=p4c2λ2
n−k2c4.
2. Find all functions φsuch that u(x, t) = φ(x−ct) is a solution of the heat equation,
∂2u
∂x2=1
k
∂u
∂t .
1
pf3

Partial preview of the text

Download Solutions to Math 121b Assignment 5: Vibrating Strings and Heat Equation - Prof. J. Metcal and more Assignments Mathematics in PDF only on Docsity!

Math 121b - Mathematical Tools for the Physical Sciences

Instructor: J. Metcalfe Due: February 8, 2007

Assignment 5

  1. If a string vibrates in a medium that resists motion, the problem for the displacement of the string is ∂^2 u ∂x^2

=^1

c^2

∂^2 u ∂t^2

  • k ∂u ∂t

, 0 < x < a, 0 < t

u(0, t) = 0, u(a, t) = 0

plus initial conditions. Find eigenfunctions, eigenvalues, and product solutions for this problem. (Assume that k is small and positive.)

Since we already have a homogeneous problem, we may separate variables

u = φ(x)T (t).

Plugging this in, we have φ′′T =

c^2 φT^

′′ (^) + kφT ′

or φ′′ φ =^

T ′′

c^2 T +^

kT ′ T. Setting both sides to a negative (why?) constant, we have

φ′′^ + λ^2 φ = 0, φ(0) = φ(a) = 0

T ′′^ + kc^2 T ′^ + c^2 λ^2 T = 0. Here φn = sin nπxa with λn = nπa. For the T equation, the characteristic equation is

r^2 + kc^2 r + c^2 λ^2 = 0

whose roots are r = −(kc^2 /2) ± i

4 c^2 λ^2 − k^2 c^4. Thus,

Tn = exp(−kc^2 t/2)(an cos μnt + bn sin μnt)

where μn =

4 c^2 λ^2 n − k^2 c^4.

  1. Find all functions φ such that u(x, t) = φ(x − ct) is a solution of the heat equation,

∂^2 u ∂x^2

=^1

k

∂u ∂t

Setting u(x, t) = φ(x − ct), we plug into the PDE. Since

uxx = φ′′(x − ct)

and ut = −cφ′(x − ct), it follows that we must have

φ′′(x − ct) = − (^) k cφ′(x − ct).

The solution of φ′′(y) +

c k φ

′(y) = 0

is φ(y) = c 1 + c 2 e−(c/k)y, and the given u(x, t) solves the heat equation only for the above φ.

  1. Find a solution to the following problem using separation of variables.  



∂^2 u ∂x^2 =^

1 c^2

∂^2 u ∂t^2 +^ γ

(^2) u, 0 < x < a, 0 < t u(0, t) = 0, u(a, t) = 0 u(x, 0) = h, ∂u∂t (x, 0) = 0,

where c, h, and γ^2 are constants.

The equation above is called a Klein-Gordon equation. Since the equation and the boundary conditions are both homogeneous, there is no need to consider a “steady-state” solution. We can, thus, immediately separate variables: u(x, t) = φ(x)T (t). If we plug this into the original equation, we have

φ′′(x)T (t) =^1 c^2

φ(x)T ′′(t) + γ^2 φ(x)T (t).

Separating variables, this yields

φ′′ φ

= (1/c

(^2) )T ′′ (^) + γ (^2) T T

Setting both sides to a negative constant −λ^2 (a nonnegative constant only yields the trivial solution), we have φ′′^ + λ^2 φ = 0 and 1 c^2 T^

′′ (^) + γ (^2) T + λ (^2) T = 0.

Since the boundary conditions are homogeneous, we have

φ(0) = 0, φ(a) = 0.