lecture9
lecture9
R. C. Daileda
Trinity University
Introduction
The heat equation
We now assume the rod has finite length L and lies along the
interval [0, L]. To completely determine u we must also specify:
X 00 − kX = 0, X (0) = X (L) = 0,
T 0 − c 2 kT = 0.
Remarks
One can show that this is the only solution to the heat
equation with the given initial condition.
Example
Solve the heat problem
ut ≡ 0 ⇒ c 2 uxx = ut = 0 ⇒ uxx = 0 ⇒ u = Ax + B.
Step 2: Let u2 = u − u1 .
Example
Solve the heat problem.
c2kπ √
i.e. only even modes occur. Since λ2k = = 3kπ,
L
∞
−100 X 1 −3k 2 π2 t
u2 (x, t) = e sin (kπx) .
π k
k=1
Hence
∞
100 X 1 −3k 2 π2 t
u(x, t) = u1 (x)+u2 (x, t) = 100−50x− e sin (kπx) .
π k
k=1
X 00 − kX = 0, X 0 (0) = X 0 (L) = 0,
T 0 − c 2 kT = 0.
Note that the boundary conditions on X are not the same as in the
Dirichlet condition case.
Daileda 1-D Heat Equation
The heat equation Homog. Dirichlet conditions Inhomog. Dirichlet conditions Neumann conditions Derivation
Solving for X
Case 1: k = µ2 > 0. We need to solve X 00 − µ2 X = 0. The
characteristic equation is
r 2 − µ2 = 0 ⇒ r = ±µ,
or in matrix form
µ −µ c1 0
= .
µe µL −µe −µL c2 0
X = c1 x + c2 .
X = X0 = 1.
r 2 + µ2 = 0 ⇒ r = ±iµ,
X = Xn = cos(µn x) (n ∈ N).
Remarks:
We only need n > 0, since cosine is an even function.
When n = 0 we get X0 = cos 0 = 1, which agrees with the
k = 0 result.
Daileda 1-D Heat Equation
The heat equation Homog. Dirichlet conditions Inhomog. Dirichlet conditions Neumann conditions Derivation
Initial conditions
If we now impose our initial condition we find that
∞
X nπx
f (x) = u(x, 0) = a0 + an cos ,
L
n=1
Remarks:
As before, if the cosine series of f (x) is already known, u(x, t)
can be built by simply including exponential factors.
Because of the exponential factors, lim u(x, t) = a0 , which is
t→∞
the average initial temperature.
Daileda 1-D Heat Equation
The heat equation Homog. Dirichlet conditions Inhomog. Dirichlet conditions Neumann conditions Derivation
Example
Solve the following heat problem:
1
ut = uxx , 0 < x < 1 , 0 < t,
4
ux (0, t) = ux (1, t) = 0, 0 < t,
u(x, 0) = 100x(1 − x), 0 < x < 1.
1
−200(1 + (−1)n )
Z
an = 2 100x(1 − x) cos nπx dx = , n ≥ 1.
0 n2 π 2
(Ideal) Assumptions:
Rod is perfectly insulated with negligible thickness, i.e. heat
only moves horizontally.
Recall that
(
amount of heat required to raise one unit
s=
of mass by one unit of temperature.
or
K0 ux (x + ∆x, t) − ux (x, t)
ut (x, t) ≈ .
sρ ∆x
Letting ∆x → 0 improves the approximation and leads to the
one-dimensional heat equation
ut = c 2 uxx ,
K0
where c 2 = sρ is called the thermal diffusivity.