Docsity

Midterm Test #2 Version A - Solutions for MATH 3150: PDE for Engineers, Exams of Mathematics

Toggle sidebar
bg1
MATH 3150: PDE FOR ENGINEERS
MIDTERM TEST #2 VERSION A
1. Consider d’Alembert’s solution
u(x, t) = 1
2(f(x−ct) + f(x+ct)) + 1
2cZx+ct
x−ct
g(s)ds
of the wave equation for a vibrating string, where f(x) is the odd function with
period 2Lwhich on the interval 0 ≤x≤Lgives the initial position of the string,
and similarly g(x) gives the initial velocity on 0 ≤x≤Land is odd and 2Lperiodic.
Suppose that at initial time we have a flat string with nonzero velocity. At what
later time twill the string be completely flat again? Explain how you obtain your
answer.
Solution: The string height is
u(x, t) = Zx+ct
x−ct
g(s)ds
and we need this height to be zero at some fixed time t, and every value of x. But
g(x) is 2Lperiodic and odd, so its integral over any interval of length 2Lvanishes,
as in figure 1 on the following page. Therefore, if the interval
x−ct ≤s≤x+ct
has length 2L, we will get zero height. This happens exactly when
(x+ct)−(x−ct) = 2L
or
t=L
c
Frequent mistakes:
(1) Confusing g(x) (which is the velocity at time t= 0)
g(x) = ∂u
∂t
t=0
with the derivative f0(x) of the initial position. Since xis a space variable,
not a time variable, derivatives in xare not velocities.
2. Use separation of variables to find the general solution of the heat equation in
a rectangular plate with edges of lengths aand b, and with top and bottom edges
insulated, while right and left edges are kept at 0o.
Date: July 16, 2001.
1
pf3
pf4
pf5

Partial preview of the text

Download Midterm Test #2 Version A - Solutions for MATH 3150: PDE for Engineers and more Exams Mathematics in PDF only on Docsity!

MATH 3150: PDE FOR ENGINEERS

MIDTERM TEST #2 VERSION A

  1. Consider d’Alembert’s solution

u(x, t) =

(f (x − ct) + f (x + ct)) +

2 c

∫ (^) x+ct

x−ct

g(s) ds

of the wave equation for a vibrating string, where f (x) is the odd function with period 2L which on the interval 0 ≤ x ≤ L gives the initial position of the string, and similarly g(x) gives the initial velocity on 0 ≤ x ≤ L and is odd and 2L periodic. Suppose that at initial time we have a flat string with nonzero velocity. At what later time t will the string be completely flat again? Explain how you obtain your answer.

Solution: The string height is

u(x, t) =

∫ (^) x+ct

x−ct

g(s) ds

and we need this height to be zero at some fixed time t, and every value of x. But g(x) is 2L periodic and odd, so its integral over any interval of length 2L vanishes, as in figure 1 on the following page. Therefore, if the interval

x − ct ≤ s ≤ x + ct

has length 2L, we will get zero height. This happens exactly when

(x + ct) − (x − ct) = 2L

or

t =

L

c

Frequent mistakes:

(1) Confusing g(x) (which is the velocity at time t = 0)

g(x) =

∂u ∂t

t= with the derivative f ′(x) of the initial position. Since x is a space variable, not a time variable, derivatives in x are not velocities.

  1. Use separation of variables to find the general solution of the heat equation in a rectangular plate with edges of lengths a and b, and with top and bottom edges insulated, while right and left edges are kept at 0o.

Date: July 16, 2001. 1

–0.

1

–3 –2 –1 1 2 3 x

Figure 1. An odd periodic function

Solution: The equations to solve are

∂u ∂t

= c^2

∂^2 u ∂x^2

∂^2 u ∂y^2

u = 0 at x = 0 & x = a ∂u ∂y

= 0 at y = 0 & y = b

The last two equations use Fourier’s law to ensure that there is no heat flux through the boundary. Separating variables:

u(x, y, t) = E(x)F (y)G(t)

(we just split u into a product of functions, one of each variable) we find the heat equation becomes EF G′^ = c^2 (E′′F G + EF ′′G)

which, once we divide by EF G, is just

G′ G

= c^2

E′′

E

F ′′

F

The left side involves only t, and the right side only x and y. So there is a constant γ so that G′ G

= −γ = c^2

E′′

E

F ′′

F

Therefore G(t) = e−γt

So

u(x, y, t) = exp

−c^2 π^2

m^2 a^2

n^2 b^2

t

sin

( (^) πmx a

cos

( (^) πmy b

and the general solution of the heat equation with top and bottom insulated and 0 o^ at the sides is

u(x, y, t) =

∑^ ∞

m=

∑^ ∞

n=

Amn exp

−c^2 π^2

m^2 a^2

n^2 b^2

t

sin

( (^) πmx a

cos

( (^) πmy b

Frequent mistakes:

(1) Incorrect boundary conditions: to have insulation at x = 0 you need

∂u ∂x

x=

while to have 0o^ at x = 0 you need

u|x=0 = 0.

(2) Not paying attention to the boundary conditions in order to get condi- tions on E(x) and F (y) that give you whether they are sines or cosines or whatever.

  1. Consider a Taylor expansion

u(z) =

∑^ ∞

k=

σkzk

in a complex variable z = x + iy with complex coefficients (constants) σk. Calculate

∇^2 u.

(Hint: write z in polar coordinates as

z = reiθ

and use the polar coordinate expression for the Laplacian

∇^2 u =

∂^2 u ∂r^2

r

∂u ∂r

r^2

∂^2 u ∂θ^2

Solution:

zk^ =

reiθ^

)k

= rkeikθ

so that

∂ ∂r zk^ = krk−^1 eikθ^ =

k r zk ∂ ∂θ

= rkikeikθ^ = ikzk

so that the second derivatives are ∂^2 ∂r^2

zk^ =

k(k − 1) r^2

zk

∂^2 ∂r∂θ

zk^ =

ik^2 r

zk

∂^2 ∂θ^2

zk^ = −k^2 zk

so that

∇^2 zk^ =

k(k − 1) r^2

k r^2

k^2 r^2

zk

= 0

Therefore

∇^2 u =

k

σk∇^2 zk

= 0

Frequent mistakes:

(1) Confusion about exponents. z = reiθ gives zk^ =

reiθ^

)k = rkekiθ (2) Summation signs often disappear for no reason in student’s answers in the middle of calculations. Watch the summation signs.

  1. Draw a solution u(x, y) of the Laplace equation

0 =

∂^2 u ∂x^2

∂^2 u ∂y^2

with nonzero second derivatives.

Solution: The second derivatives in x and in y will have to be negatives of each other, so that one is negative and the other positive. This gives a saddle—curved up in one direction and down in the other. The only exception is if both of these second derivatives vanish. (Then it might not be curved at all in either direction.) See figure 2 on the next page. Frequent mistakes:

(1) Not drawing a picture. (2) Drawing a function y(x) instead of u(x, y). (3) Drawings which were not intelligible. (4) Most common mistake: drawing the bump from the practice midterm. It is not a steady state of the heat equation, as we saw in the practice midterm.