Docsity

Practice Final Exam Solutions for Math 3150-1: 1D and 2D Heat Equations and Wave Equations, Exams of Mathematics

Toggle sidebar
bg1
Math 3150-1, Practice Final
December 10 2008
Problem 1 (25 pts) Consider the 1D heat equation with homogeneous Neumann bound-
ary conditions modeling a bar with insulated ends:
ut=uxx for 0 <x<1 and t > 0,
ux(0, t) = ux(1, t) = 0 for t > 0,
u(x, 0) = f(x),for 0 <x<1.
(1)
(a) Use separation of variables with u(x, t) = X(x)T(t) to show that a general solution to
(1) is
u(x, t) = a0+
∞
X
n=1
ancos(nπx) exp[−(nπ)2t].
Specify what the coefficients an,n= 0,1,2, . . . are in terms of f(x).
(b) Solve (1) with f(x) = 100x.
(c) Now consider the following 1D heat equation with inhomogeneous Neumann boundary
conditions:
vt=vxx for 0 <x<1 and t > 0,
vx(0, t) = vx(1, t) = 1 for t > 0,
v(x, 0) = g(x),for 0 <x<1
(2)
Show that v(x, t) = u(x, t) + xsolves (2) with g(x) = f(x) + xand u(x, t) as in (b).
Problem 2 (25 pts) Consider a circular plate of radius 1 with radially symmetric initial
temperature distribution f(r), and where the outer rim is kept in an ice bath. The tem-
perature distribution u(r, t) is also radially symmetric and satisfies the 2D heat equation,
ut= ∆ufor 0 < r < 1 and t > 0,
u(r, 0) = f(r) for 0 < r < 1,
u(1, t) = 0 for t > 0.
(3)
A general solution to (3) has the form,
u(r, t) =
∞
X
n=1
AnJ0(αnr) exp[−α2
nt],
where αnis the n−th positive zero of J0(r).
(a) Use the initial conditions and the orthogonality conditions for Bessel functions (see
end of exam), to show that
An=2
J2
1(αn)Z1
0
f(r)J0(αnr)rdr.
(b) Solve (3) with initial temperature f(r) = J0(α2r).
(c) Show that ∆(rcos θ) = 0. (Easier in Cartesian coordinates).
(d) Show that v(r, θ, t) = u(r, t) + rcos θsolves the following 2D heat equation with inho-
mogeneous Dirichlet boundary conditions,
vt= ∆vfor 0 < r < 1 and t > 0,
v(r, 0) = f(r) + rcos θfor 0 < r < 1,
v(1, t) = cos θfor t > 0.
1
pf3

Partial preview of the text

Download Practice Final Exam Solutions for Math 3150-1: 1D and 2D Heat Equations and Wave Equations and more Exams Mathematics in PDF only on Docsity!

Math 3150-1, Practice Final December 10 2008

Problem 1 (25 pts) Consider the 1D heat equation with homogeneous Neumann bound- ary conditions modeling a bar with insulated ends:  



ut = uxx for 0 < x < 1 and t > 0, ux(0, t) = ux(1, t) = 0 for t > 0, u(x, 0) = f (x), for 0 < x < 1.

(a) Use separation of variables with u(x, t) = X(x)T (t) to show that a general solution to (1) is

u(x, t) = a 0 +

∑^ ∞

n=

an cos(nπx) exp[−(nπ)^2 t].

Specify what the coefficients an, n = 0, 1 , 2 ,... are in terms of f (x). (b) Solve (1) with f (x) = 100x. (c) Now consider the following 1D heat equation with inhomogeneous Neumann boundary conditions: (^)  



vt = vxx for 0 < x < 1 and t > 0, vx(0, t) = vx(1, t) = 1 for t > 0, v(x, 0) = g(x), for 0 < x < 1

Show that v(x, t) = u(x, t) + x solves (2) with g(x) = f (x) + x and u(x, t) as in (b). Problem 2 (25 pts) Consider a circular plate of radius 1 with radially symmetric initial temperature distribution f (r), and where the outer rim is kept in an ice bath. The tem- perature distribution u(r, t) is also radially symmetric and satisfies the 2D heat equation,  



ut = ∆u for 0 < r < 1 and t > 0, u(r, 0) = f (r) for 0 < r < 1, u(1, t) = 0 for t > 0.

A general solution to (3) has the form,

u(r, t) =

∑^ ∞

n=

AnJ 0 (αnr) exp[−α^2 nt],

where αn is the n−th positive zero of J 0 (r). (a) Use the initial conditions and the orthogonality conditions for Bessel functions (see end of exam), to show that

An =

J 12 (αn)

0

f (r)J 0 (αnr)rdr.

(b) Solve (3) with initial temperature f (r) = J 0 (α 2 r). (c) Show that ∆(r cos θ) = 0. (Easier in Cartesian coordinates). (d) Show that v(r, θ, t) = u(r, t) + r cos θ solves the following 2D heat equation with inho- mogeneous Dirichlet boundary conditions,  



vt = ∆v for 0 < r < 1 and t > 0, v(r, 0) = f (r) + r cos θ for 0 < r < 1, v(1, t) = cos θ for t > 0.

1

2

Problem 3 (25 pts) Consider the 2D wave equation below which models the vibrations of square membrane with fixed edges, initial position f (x, y) and zero initial velocity.         

utt = uxx + uyy, for 0 < x < 1, 0 < y < 1 and t > 0, u(0, y, t) = u(1, y, t) = 0, for 0 < y < 1 and t > 0 u(x, 0 , t) = u(x, 1 , t) = 0, for 0 < x < 1 and t > 0 u(x, y, 0) = f (x, y), for 0 < x < 1, 0 < y < 1 ut(x, y, 0) = 0, for 0 < x < 1, 0 < y < 1.

Separation of variables with u(x, y, t) = X(x)Y (y)T (t) gives the ODEs: X′′^ + μ^2 X = 0, X(0) = 0, X(1) = 0 Y ′′^ + ν^2 Y = 0, Y (0) = 0, Y (1) = 0 T ′′^ + (μ^2 + ν^2 )T = 0, T ′(0) = 0. (a) Obtain the product solutions um,n(x, y, t) = Bm,n cos(λm,nt) sin(mπx) sin(nπy). where λm,n =

(mπ)^2 + (nπ)^2. Note: The ODE’s for X and Y are very similar. Solving one of them in detail and stating the result for the other one should be enough. (b) Write down the general form of a solution u(x, y, t) to (4). Use initial conditions and orthogonality of double sine series to express Bm,n in terms of f (x, y). (c) Using that (^) ∫ 1

0

x(1 − x) sin(mπx)dx =

2((−1)m^ − 1) π^3 m^3

find the coefficients Bm,n in the double sine series,

x(1 − x)y(1 − y) =

∑^ ∞

n=

∑^ ∞

m=

Bm,n sin(mπx) sin(nπy).

(d) Solve 2D wave equation (4) with f (x, y) = x(1 − x)y(1 − y).

Problem 4 (25 pts) Use the Fourier transform method to solve  



utt = utxx, for x ∈ R and t > 0. u(x, 0) = f (x), for x ∈ R ut(x, 0) = g(x), for x ∈ R where f (x) and g(x) have Fourier transforms. Give your answer in the form of an inverse Fourier transform. Problem 5 (25 pts) Let f (x) = x exp[−x^2 /2] and g(x) = exp[−x^2 ]. (a) What are the Fourier transforms of f and g? (b) What is the Fourier transform of f ∗ g? (c) Use (b) and operational properties of the Fourier Transform to show that

(f ∗ g)(x) =

x exp[−x^2 /3].