Docsity

Solved Homework 1 - Partial Differential Equations | MATH 467, Assignments of Differential Equations

Toggle sidebar
bg1
Millersville University
Department of Mathematics
MATH 467 Partial Differential Equations, Homework 1
January 29, 2008
Please work the following problems for homework and turn them in at class time on Thursday,
January 31, 2008. Each problem is worth 10 points unless marked otherwise.
1. Consider the linear homogeneous heat equation for a one-dimensional bar of length
L= 1:
ut=k2uxx.
Assume that the bar is insulated along its length and that the ends of the bar are kept
at constant temperature u(0, t) = u(1, t) = 0. Assume that the initial temperature
distribution along the bar is given by the function
u(x, 0) = f(x) =
0 if 0 < x < 2/5,
100 if 2/5< x < 3/5,
0 if 3/5< x < 1.
(a) Find the eigenfunctions and eigenvalues for the boundary value problem.
Since the boundary conditions are of Dirichlet type with L= 1 we have
Eigenfunctions: Xn(x) = sin(nπx)
Eigenvalues: λ2
n=n2π2
for n∈N.
(b) Find the Fourier series solution to the initial value problem.
Using the Fourier-Euler integral formula:
An= 2 Z1
0
f(x) sin(nπx)dx
= 2 Z3/5
2/5
100 sin(nπx)dx
=200
nπ cos 2nπ
5−cos 3nπ
5
for n∈N. Thus
u(x, t) = 200
∞
X
n=1
cos 2nπ
5−cos 3nπ
5
nπ e−n2k2π2tsin(nπx).
(c) Assuming k2= 0.20 plot the graph of u(x, 0.10) for 0 < x < 1 using the first three
non-zero terms of the Fourier series.
pf3

Partial preview of the text

Download Solved Homework 1 - Partial Differential Equations | MATH 467 and more Assignments Differential Equations in PDF only on Docsity!

Millersville University Department of Mathematics MATH 467 Partial Differential Equations, Homework 1 January 29, 2008

Please work the following problems for homework and turn them in at class time on Thursday, January 31, 2008. Each problem is worth 10 points unless marked otherwise.

  1. Consider the linear homogeneous heat equation for a one-dimensional bar of length L = 1: ut = k^2 uxx. Assume that the bar is insulated along its length and that the ends of the bar are kept at constant temperature u(0, t) = u(1, t) = 0. Assume that the initial temperature distribution along the bar is given by the function

u(x, 0) = f (x) =

0 if 0 < x < 2 /5, 100 if 2/ 5 < x < 3 /5, 0 if 3/ 5 < x < 1.

(a) Find the eigenfunctions and eigenvalues for the boundary value problem. Since the boundary conditions are of Dirichlet type with L = 1 we have

Eigenfunctions: Xn(x) = sin(nπx) Eigenvalues: λ^2 n = n^2 π^2

for n ∈ N. (b) Find the Fourier series solution to the initial value problem. Using the Fourier-Euler integral formula:

An = 2

0

f (x) sin(nπx) dx

2 / 5

100 sin(nπx) dx

nπ

cos

2 nπ 5

− cos

3 nπ 5

for n ∈ N. Thus

u(x, t) = 200

∑^ ∞

n=

cos

( (^2) nπ 5

− cos

( 3 nπ 5

nπ

e−n

(^2) k (^2) π (^2) t sin(nπx).

(c) Assuming k^2 = 0.20 plot the graph of u(x, 0 .10) for 0 < x < 1 using the first three non-zero terms of the Fourier series.

0.2 0.4 0.6 0.8 1. x

5

10

15

20

25

30

35

u

  1. Re-work the first exercise if the ends of the metal rod are insulated so that the boundary condition is ux(0, t) = ux(1, t) = 0.

(a) Find the eigenfunctions and eigenvalues for the boundary value problem. Since the boundary conditions are of Neumann type with L = 1 we have

Eigenfunctions: Xn(x) = cos(nπx) Eigenvalues: λ^2 n = n^2 π^2

for n = 0, 1 ,.. .. (b) Find the Fourier series solution to the initial value problem. Using the Fourier-Euler integral formula:

An = 2

0

f (x) cos(nπx) dx

2 / 5

100 cos(nπx) dx

nπ

sin

3 nπ 5

− sin

2 nπ 5

for n ∈ N.

A 0 =

0

f (x) dx

2 / 5

100 dx

= 20

Thus u(x, t) = 20 + 200

∑^ ∞

n=

sin

( (^3) nπ 5

− sin

( (^2) nπ 5

nπ

e−n

(^2) k (^2) π (^2) t cos(nπx).