Docsity

MATH 3150: PDE Solutions for Engineers - Flat String & Heat Equation in Rectangle, Exams of Mathematics

Toggle sidebar
bg1
MATH 3150: PDE FOR ENGINEERS
MIDTERM TEST #2 VERSION C
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 time t= 0 the string has length L=π, initial position
f(x) = sin x
and initial velocity
g(x) = 0 .
What are all of the times tat which the string will be flat?
Solution: The string height is
u(x, t) = 1
2(f(x−ct) + f(x+ct))
=1
2(sin(x−ct) + sin(x+ct))
=1
2(sin(x) cos(ct)−cos(x) sin(ct) + sin(x) cos(ct) + cos(x) sin(ct))
= sin(x) cos(ct)
The height will be zero then precisely when
cos(ct) = 0
which happens at
ct =π
2+πn
for any integer n, or
t=π
c1
2+n
for any integer n.
2. If we slit open a hollow cylinder, as in figure 1 on the following page, it unfolds
to a rectangle. Take coordinates x, y on that rectangle. To glue back together
the hollow cylinder, we have only to ask that any functions we work with on the
rectangle have equal values on the left and right sides. You will find the general
solution of the heat equation in a cylinder with insulated top and bottom edges,
thought of as a rectangle of with left and right sides of length band top and bottom
sides of length a. In order to get back the behaviour of heat on a cylinder with
Date: July 16, 2001.
1
pf3
pf4
pf5

Partial preview of the text

Download MATH 3150: PDE Solutions for Engineers - Flat String & Heat Equation in Rectangle and more Exams Mathematics in PDF only on Docsity!

MATH 3150: PDE FOR ENGINEERS

MIDTERM TEST #2 VERSION C

  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 time t = 0 the string has length L = π, initial position f (x) = sin x

and initial velocity g(x) = 0. What are all of the times t at which the string will be flat?

Solution: The string height is

u(x, t) =^1 2 (f (x − ct) + f (x + ct))

=^1 2 (sin(x − ct) + sin(x + ct))

=^1 2 (sin(x) cos(ct) − cos(x) sin(ct) + sin(x) cos(ct) + cos(x) sin(ct)) = sin(x) cos(ct)

The height will be zero then precisely when

cos(ct) = 0

which happens at ct = π 2

  • πn

for any integer n, or

t = π c

  • n

for any integer n.

  1. If we slit open a hollow cylinder, as in figure 1 on the following page, it unfolds to a rectangle. Take coordinates x, y on that rectangle. To glue back together the hollow cylinder, we have only to ask that any functions we work with on the rectangle have equal values on the left and right sides. You will find the general solution of the heat equation in a cylinder with insulated top and bottom edges, thought of as a rectangle of with left and right sides of length b and top and bottom sides of length a. In order to get back the behaviour of heat on a cylinder with

Date: July 16, 2001. 1

Figure 1. A hollow cylinder

insulated ends, we pose the usual heat equation on the rectangle, but ask that the temperature u(x, y, t) be equal at corresponding points of the left and right sides:

u(x = 0, y) = u(x = a, y) ∂u ∂x (x = 0, y) = ∂u ∂x (x = a, y).

Find the general solution of the heat equation satisfying these conditions.

Solution: The equations to solve are

∂u ∂t =^ c

2

∂^2 u ∂x^2 +^

∂^2 u ∂y^2

u(x = a, y) = u(x = b, y) ∂u ∂x (x = a, y) = ∂u ∂x (x = b, y).

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 c^2 EF G, is just

G′ c^2 G

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′ c^2 G = −γ =

E′′

E

F ′′

F

  1. Take a disk of unit radius and heat the top half of the edge of the disk to 1o and the bottom half of the edge to 0o. Let the disk sit with these temperatures on its edges for a long time, until it reaches a steady state. Center the disk at origin of coordinates. What is the temperature at the point

(x, y) =

Hint: recall that if we write the temperature of the edge of the disk as f (θ), and write the Fourier amplitudes of f (θ) as

a 0 =

2 π

∫ (^2) π

0

f (θ) dθ

am =^1 π

∫ (^2) π

0

f (θ) cos(mθ) dθ

bm =

π

∫ (^2) π

0

f (θ) sin(mθ) dθ

then the steady state temperature inside the plate, in polar coordinates, is

u(r, θ) = a 0 +

∑^ ∞

m=

rm^ (am cos (mθ) + bm sin (mθ))

Solution: We calculate:

a 0 =

am = 0

bm = 1 + (−1)m+ πm so that

u =^1 2

∑^ ∞

m=

rm^ 1 + (−1)

m+ πm sin (mθ)

=^1

+^2

π

∑^ ∞

k=

r^2 k+ 2 k + 1 sin ((2k + 1) θ)

On the negative x axis, we find θ = π, so that

sin ((2k + 1) π) = 0

and therefore u =

In particular, this occurs at the point

(x, y) =

  1. Suppose that u(x, t) satisfies the heat equation

∂u ∂t = c^2 ∂^2 u ∂x^2

in a wire of length L. Assume that each of the ends of the wire is either insulated or is kept at 0o^ (it doesn’t matter which of these conditions holds or at which end). Show that (^) ∫ (^) L

0

u^2 dx

decreases over time unless the heat is in steady state. Hint: differentiate in t, and make use of the heat equation. Then notice that ∂ ∂x

u ∂u ∂x

∂u ∂x

∂u ∂x

  • u ∂^2 u ∂x^2 (one of these terms appears in the integral after you make use of the heat equation) and use the fundamental theorem of calculus.

Solution: d dt

∫ L

0

u^2 dx =

∫ L

0

2 u ∂u ∂t dx

∫ L

0

2 uc^2 ∂^2 u ∂x^2 dx

= 2c^2

∫ L

0

u ∂^2 u ∂x^2 dx

= 2c^2

∫ L

0

[

∂x

u ∂u ∂x

∂u ∂x

) 2 ]

dx

= 2c^2 u ∂u ∂x

x=L

x=

− 2 c^2

∫ L

0

∂u ∂x

dx

= − 2 c^2

∫ L

0

∂u ∂x

dx

which is negative or zero, since c^2 is positive, and ( ∂u ∂x

and equal to zero only when ∂u ∂x = 0 i.e. when u is constant in x.

  1. The two pictures in figures 2 and 3 are of the temperature of a wire with ends kept at 0o. Which one is at the later time? Explain your answer.

Solution: The sharper one, in figure 2 on the next page, is earlier in time. You can tell because the sharp feature requires high frequencies, and we know that high frequencies in temperature decay rapidly.