HWsol Chap12
HWsol Chap12
§12.1
1. Solve the PDEs(for u = u(x, y)).
(a) uxx = 4y 2 u (b) uyy = 4xuy (c) uxy = ux (d) uyy + 10uy + 25u = e−5y
Sol. (a) If u = u(x), then u(x) = Ae2yx + Be−2yx . Thus the solution of this PDE is
u(x, y) = A(y)e2yx + B(y)e−2yx , where A(y) and B(y) are arbitrary.
u′′p + 10u′p + 25up = C(2 − 20y + 25y 2 )e−5y + 10C(2y − 5y 2 )e−5y + 25Cy 2 e−5y
= 2Ce−5y = e−5y
⇒ C = 1/2.
2. Solve (for u = u(x, y)) (a) uxx = 0, uxy = 0 (b) uxx = 0, uyy = 0 .
Sol. (a) Setting ux = p, we have px = 0, py = 0, and p = c = constant. Thus
u(x, y) = cx + A(y), where A(y) are arbitrary.
(b) Setting uxx = 0, we have u(x, y) = A(y) + B(y)x. uyy = A′′ (y) + B ′′ (yy)x = 0
and A′′ (y) = B ′′ (y) = 0, and so A(y) = cy + d, B(y) = ey + g. Hence u(x, y) =
cy + d + (ey + g)x, where c, d, e, g are arbitrary constants.
§12.3
1. Find u(x, t) for the string of length L = 1 and c2 = 1 when the initial velocity is
zero and the initial deflection f (x) is as follows.{
0.2x if 0 ≤ x ≤ 0.5
(a) f (x) = 0.01(sin πx− 13 sin 3πx) (b) f (x) = .
−0.2x + 0.2 if 0.5 ≤ x ≤ 1
Sol. We want to find a solution of the wave equation utt = uxx satisfying the condi-
tions u(0, t) = 0, u(1, t) = 0 for all t, u(x, 0) = f (x), ut (x, 0) = 0 for all 0 ≤ x ≤ 1.
By the method of separating variables, we have(Give the details of your answer.)
∞
∑
u(x, t) = (Bn cos nπt + Bn∗ sin nπt) sin nπx.
n=1
2. What happens to the frequency of the fundamental mode of the vibrating string
if we double all the length of the string and the mass per length and the tension?
2
∂2u
Sol. The solution of the wave equation ∂∂tu2 = c2 ∂x 2 (c2 = Tρ ) satisfying u(0, t) =
0, u(L, t) = 0 for all t is
∞
∑ nπx
u(x, t) = (Bn cos λn t + Bn∗ sin λn t) sin .
n=1
L
Here ρ is a mass per length, T is the tension, L is the length and λn = cnπ
L . √
The frequency of the fundamental mode of the vibrating string is λ2πn = 2L
cn
= 2√TρL
n
.
Hence if we double all the length of the string and the mass per length and the
tension, the frequency became a half.
3. Find the deflection u(x, t) of the string of length L = π and c2 = 1 for zero initial
displacement and the initial velocity ut (x, 0) = 0.01x if 0 ≤ x ≤ 21 π, ut (x, 0) =
0.01(π − x) if 12 π ≤ x ≤ π.
Sol. We want to find a solution of the wave equation utt = uxx satisfying the
conditions u(0, t) = 0, u(π, t) = 0 for all t, u(x, 0) = 0 and ut (x, 0) = g(x) where
g(x) = 0.01x if 0 ≤ x ≤ 21 π, g(x) = 0.01(π − x) if 12 π ≤ x ≤ π.
By the method of separating variables, we have(Give the details of your answer.)
∞
∑
u(x, t) = (Bn cos nt + Bn∗ sin nt) sin nx.
n=1
4. Find the deflection u(x, t) of the string of length L = 1 and c2 = 1 for the initial
displacement u(x, 0) = 100 sin 2πx and the initial velocity ut (x, 0) = 2x(1 − x).
Sol. We want to find a solution of the wave equation utt = uxx satisfying the
conditions u(0, t) = 0, u(1, t) = 0 for all t, u(x, 0) = 100 sin 2πx and ut (x, 0) =
2x(1 − x).
By the method of separating variables, we have(Give the details of your answer.)
∞
∑
u(x, t) = (Bn cos nπt + Bn∗ sin nπt) sin nπx.
n=1
B2 = 100, B1 = B3 = B4 = · · · = 0
and
∫ 1
2
Bn∗ = 2x(1 − x) sin nπxdx
nπ 0
8(1 − (−1)n )
= .
n4 π 4
The solution u is
∞
∑ 8(1 − (−1)n )
u(x, t) = 100 cos 2πt sin 2πx + sin nπt sin nπx
n=1
n4 π 4
= 100 cos 2πt sin 2πx
16 1 1
− 4 [sin πt sin πx + 4 sin 3πt sin 3πx + 4 sin 5πt sin 5πx + · · · ].
π 3 5
§12.4
1. Using d’Alembert’s solution, find the deflection u(x, t) of a vibrating string
(length L = 1, ends fixed, c = 1) staring with initial velocity 0 and initial deflection
f (x) = 100 sin πx.
2 2
Sol. The d’Alembert’s solution of the wave equation ∂∂tu2 = ∂∂xu2 satisfying u(x, 0) =
f (x) = 100 sin πx, ut (x, 0) = 0 is
1
u(x, t) = [f (x + t) + f (x − t)]
2
= 50{sin[π(x + t)] + sin[π(x − t)]}
= 100 sin πx cos πt.
uv = k(v),
∫
u = k(v)dv + g(w) = f (v) + g(w) = f (x + y) + g(−2x + y).
uv = f (w),
u = vf (w) + g(w) = xf (−3x + y) + g(−3x + y).
§12.5
1. A laterally insulated bar of length 10cm and constant cross-sectional area 1cm2 ,
of density 10.6gm/cm3 , thermal conductivity 1.04cal/(cm sec ◦ C), and specific heat
0.056 cal/(gm ◦ C)(this corresponds to silver, a good heat conductor) has initial
temperature f (x) and is kept at 0◦ C at the ends x = 0 and x = 10. Find the
temperature u(x, t) at later times.
(a) f (x) = sin 0.1πx + 12 sin 0.2πx (b) f (x) = 1 − 0.2|x − 5|
Sol. Note c = σρ = 0.056×10.6 ≈ 1.75, c ≈ 1.32.
2 K 1.04
(a) B1 = 1, B2 = 12 , B3 = B4 = · · · = 0
(b)
∫
1 10 nπx
Bn = (1 − 0.2|x − 5|) sin dx
5 0 10
∫ 5 ∫ 10
1 nπx nπx
= [ x sin dx + (10 − x) sin dx]
25 0 10 5 10
8 nπ
= sin .
(nπ)2 2
Computational Science & Engineering (CSE) T. Jeong
Homework 8
The solution is
∞
∑ 8 nπ nπx −0.0175π2 n2 t
u(x, t) = sin sin e
n=1
(nπ)2 2 10
8 −0.0175π 2 t 1 −0.1575π 2 t
= [sin(0.1πx)e − sin(0.3πx)e
π2 32
1
+ 2 sin(0.5πx)e−0.4375π t + · · · ].
2
5
2. (a) For the completely insulated bar, ux (0, t) = 0, ux (π, t) = 0, u(x, 0) = π 2 − x2 ,
find the temperature with c = 1. What is the temperature (u, t) in the bar after a
long time(theoretically, as t → ∞?
(b) Find the temperature of the bar in (a) if the left end is kept at 0◦ C, the right
end is insulated, and the initial temperature is u0 = const.
Sol. (a) By the method of separating variables, the heat equation
∂u ∂ 2 u
= 2
∂t ∂x
satisfying ux (0, t) = 0, ux (π, t) = 0 for all t and u(x, 0) = f (x), 0 ≤ x ≤ π has a
solution ∞
∑
An cos nxe−n t .
2
u(x, t) = A0 +
n=1
(Give the details of your answer.) From the Initial Conditions
∞
∑
u(x, 0) = A0 + An cos nx = f (x),
n=1
(b) Consider
∂u ∂ 2 u
= 2
∂t ∂x
u(0, t) = 0, ux (π, t) = 0 for all t and u(x, 0) = u0 , 0 ≤ x ≤ π .
Gn (t) = Bn e−(
2n−1 2
2 ) t , n = 1, 2, · · · .
Hence, solutions of the heat equation are
2n − 1 −( 2n−1 )2 t
un (x, t) = Fn (x)Gn (t) = Bn sin xe 2 , n = 1, 2, · · · .
2
∞
∑
Since the heat equation is linear and homogeneous, un (x, t) is a solution.
n=1
∞
∑ ∞
∑ 2n − 1 −( 2n−1 )2 t
u(x, t) = un (x, t) = Bn sin xe 2 .
n=0 n=1
2
The solution is
∞
∑ 4u0 2n − 1 −( 2n−1 )2 t
u(x, t) = sin xe 2
n=1
(2n − 1)π 2
4u0 x − 12 t 1 3x − 322 t 1 5x − 522 t
= [sin e 2 + sin e 2 + sin e 2 + · · · ].
π 2 3 2 5 2
3. Consider the two dimensional heat equation ut = c2 (uxx + uyy ).
Solve the steady state solutions(temperatures) in the square plate(with the side’s
length 2) satisfying the conditions u(x, 2) = sin πx and u(x, 0) = u(0, y) = u(2, y) =
0 on the other sides.
Sol. The steady state solution is the solution of the Laplace equation uxx + uyy = 0.
By the method of separating variables, the Laplace equation
∂ 2u ∂ 2u
+ =0
∂x2 ∂y 2
satisfying u(x, 0) = u(0, y) = u(2, y) = 0 for all x, y ∈ [0, 2] has a solution
∞
∑ nπx nπy
u(x, y) = An sin sinh .
n=1
2 2
we have
1
A1 = A3 = A4 = A5 = · · · = 0, A2 =
sinh 2π
The solution is
1
u(x, y) = sin πx sinh πy.
sinh 2π