m4354 Ch3 Heat Ivp
m4354 Ch3 Heat Ivp
Suppose that a function u represents the temperature at a point x on a rod. The value of
this function will change with time t as the heat spreads over the length of the rod. Thus
u = u(x, t) is a function of the spatial point x and the time t. Our first objective is to derive a
partial differential equation satisfied by the temperature under some standard assumptions.
We assume that the rod has a constant cross section surrounded by insulation so that the
heat can only flow along the rod and not into the surrounding media. We also assume the
rod is very long so we can neglect what happens at the ends – indeed for practical purposes
we can assume the rod is infinite in extent. We assume that the temperature is uniform
across each cross section. Let c be the specific heat of the material, i.e., the amount of heat
energy (e.g., in calories) needed to raise the temperature of a unit mass of the material one
degree centigrade. We will assume that c does not depend on t but it may depend on x.
We also let ρ be the linear density of the material which may also depend on x. Then the
amount of heat energy in an interval of the rod between points x = a and x = b is given by
Z b
u(x, t)c(x)ρ(x) dx.
a
The rate of change of heat energy in the portion of the rod from x = a to x = b is given by
d
Z b
u(x, t)c(x)ρ(x) dx.
dt a
Now the rate of change of energy in [a, b] is the rate at which heat enters and leaves this
portion of the rod through its ends at x = a and x = b. Thus we can write
d
Z b
u(x, t)c(x)ρ(x) dx = F (a, t) − F (b, t),
dt a
where F (x, t) is the flux, i.e., the rate at which heat energy passes the point x. We make
the convention that F (x, t) ≥ 0 if the heat energy is flowing from left to right. Now if u is
continuously differentiable then we can also write
d ∂u
Z b Z b
u(x, t)c(x)ρ(x) dx = (x, t)c(x)ρ(x) dx.
dt a a ∂t
1
Thus if u and F are sufficiently smooth (continuously differentiable), then
∂u ∂F
Z b
(x, t)c(x)ρ(x) + (x, t) dx = 0 ∀ a, b. (3.1)
a ∂t ∂x
To see why this is true suppose there is a number x0 so that f (x0 ) 6= 0 ( without loss of
generality we can assume f (x0 ) > 0 since otherwise we can consider the function (−f )).
Now since f is assumed to be smooth there must exist numbers a < x0 < b so that f (x) > 0
on [a, b]. But then we would have
Z b
f (x) dx > 0,
a
Next we can obtain a relation for the heat flux F in terms of the temperature u by appealing
to Fourier’s law which states that
∂u
F (x, t) = −k (x, t),
∂x
where k (the heat conductivity) is a property of the material in the rod and may depend on
x. In particular, Fourier’s law states that the rate at which heat energy crosses a surface
(i.e., the heat flux F (x, t)) is proportional to the temperature gradient (in one dimension
this means ∂u/∂x) at the surface.
In this course we will consider the simplest case in which c = ρ = 1 and k is also a constant.
Thus we can write our heat equation as
∂u ∂ 2u
(x, t) = k 2 (x, t). (3.5)
∂t ∂x
2
3.2 Solution of the Initial Value Problem
The objective of this section is to derive a formula for the solution to Initial Value Problem
(IVP) for the one dimensional heat equation on R = {x : −∞ < x < ∞}. This problem
can be stated in mathematical terms as
Here f (x) in (3.7) is the initial temperature distribution (or initial condition) and the con-
dition in (3.8) says that we we seek a bounded solution.
A careful derivation of the solution to the heat problem (3.6)-(3.8) is much more involved and
technical than our relatively simple calculations using characteristics for the wave equation.
In this course we will present an important formula for the solution and discuss some of its
properties. A more detailed discussion of the derivation is contained in two Appendices to
this set of notes.
The solution that we give is written in terms of the so-called the Gaussian or heat kernel by
1
Z ∞
2
u(x, t) = √ e−(x−y) /(4kt) f (y) dy. (3.9)
4kπt −∞
The heat kernel is
1 2
S(x, t) = √ e−x /(4kt) (3.10)
4kπt
and the solution (3.9) is the convolution in the x variable over the whole real number line of
S(x, t) with the initial temperature distribution f (x).
Z ∞
u(x, t) = S(x − y, t) f (y) dy.
−∞
One of the exercises for this section is to show that S(x, t) satisfies the heat equation. The
most difficult thing to show is that the solution given in (3.9) converges to the initial condition
f (x) as t goes to zero. This point is the main reason for the discussion on delta sequences
and the delta function provided in the Appendix A. The results of this Appendix show that
1
Z ∞
2
f (x) = u(x, 0) = lim √ e−(x−y) /(4kt) f (y) dy.
t↓0 4kπt −∞
The heat kernel is derived in the Appendix (section B). At this point you might want to
go to the Appendix to read the derivation of the solution of the IVP for the heat equation
(3.6). In the Appendix we show how the heat kernel allows us to obtain the solution (3.9)
by way of delta-sequences.
3
It would seem fairly obvious that if no additional heat is being applied to the rod then the
rod cannot become hotter than it starts out at time t = 0. More precisely, the first statement
of the 2nd law of thermodynamics, which says that heat flows from a hot to a cold body, tells
us the obvious fact that an ice cube must melt on a hot day, rather than becoming colder.
This means that a point on the rod cannot become hotter but might possibly become cooler
since heat flows from hot to cold. Mathematically this means that we should have something
like
sup |u(x, t)| ≤ sup |u(x, 0)|.
(x,t) x
This can be made more precise in the form of a result called the Maximum Principle.
There are a couple of important points we need to address at this point. The first is that
we will only concern ourselves in this class with bounded and piecewise continuous initial
conditions f (x). So, in particular, we assume that there is a constant M0 > 0 so that
|f (x)| ≤ M0 for all x ∈ R.
Next, in this class, we will only consider so-called strict solutions by which we mean solutions
which are sufficiently differentiable that the equation is satisfied in the sense of regular
calculus. Namely we will study problems for which, for t > 0, u, ut , ux and uxx are all
continuous.
With these assumptions we can give a mathematical proof of the maximum pricnciple for
the heat equation. The proof is given in Appendix D.
Theorem 3.1. Assume the u is a bounded strict solution to (3.6)-(3.8) with |f (x)| ≤ M0
for all x ∈ R and let T > 0 be arbitrary. Define
BT = {(x, t) : x ∈ R, 0 < t < T }, BT = {(x, t) : x ∈ R, 0 ≤ t ≤ T }.
Since u is bounded there is an M so that u(x, t) ≤ M for all (x, t) ∈ BT . Then we have
u(x, t) ≤ M0 for all (x, t) ∈ BT .
Under the same assumptions as above we can now show that the solution to our heat problem
is unique. This means that every solution (satisfying the conditions of the Theorem) must
be given by (3.9).
Theorem 3.2. Assume that |f (x)| ≤ M0 for all x ∈ R. Then there is a unique, bounded,
strict solution to (3.6)-(3.8) satisfying
u(x, t) ≤ M0 for all x ∈ R and t > 0.
In addition u is actually C ∞ in x and t.
Proof. Part 1. Solutions Exist. We show that (3.9) is a solution to (3.6)-(3.8) proving
that a solution exists. To this end we first notice that the heat kernel at (x − y) for
any fixed x and t, given (3.10) by
1 2
S(x − y, t) = √ e−(x−y) /(4kt)
4kπt
4
goes to zero exponentially fast as |y| → ∞ so that the improper integral defining
the convolution has no problem converging. Furthermore we can differential the
convolution with respect to x or t as many times as we like and pull the derivatives
inside the integral without problem due to the rapid convergence to zero of the
kernel as |y| → ∞. Namely as an example we can compute ut and we have (for any
fixed x ∈ R and any fixed t > 0)
∂ ∂ 1
Z ∞
2
u(x, t) = √ e−(x−y) /(4kt) f (y) dy
∂t ∂t 4kπt
Z ∞ −∞
1 ∂ −(x−y)2 /(4kt)
+√ e f (y) dy
4kπt −∞ ∂t
1
Z ∞
2
=− √ e−(x−y) /(4kt) f (y) dy
2 4kπ t 3/2
−∞
1 (x − y)2 −(x−y)2 /(4kt)
Z ∞
+√ e f (y) dy
4kπt −∞ 4kt2
While the formulas become unwieldy the calculations are justified, the integrals
exist and we have
∂ku ∂k
Z
= S(x − y, t) f (y) dy,
∂tk R ∂t
k
and
∂ku ∂k
Z
= S(x − y, t) f (y) dy.
∂xk R ∂x
k
This follows from your first homework problem in this chapter. Therefore u is a
strict solution of the heat equation. We also calim that it satisfies the initial condi-
tions as a consequence of the discussion on delta sequences given in the Appendix
A. Namely we claim that
In particular recalling the definition of the delta sequence γr in (A.3) we can notice
that
r −r(x−y)2 1
r
S(x − y, t) = γr (x − y) = e with r = .
π 4kt
Therefore we have
Z Z
u(x, t) = S(x − y, t) f (y) dy = γr (y − x) f (y) dy
R R
5
Part 2. Show Solution is Bounded. To show this we use the facts that for any x, y and
t>0 Z
S(x − y, t) > 0 and S(x − y, t) dy = 1.
R
So we have
Z ∞ Z
|u(x, t)| = S(x − y, t) f (y) dy ≤ M0 S(x − y, t) dy ≤ M0 .
−∞ R
Part 3. The Solution is Unique. To prove this we use the maximum principle. Suppose
that u and v are two bounded solutions of (3.6)-(3.8) with the same initial function
f (x). Then w = u − v is a solution of (3.6)-(3.8) with initial function w(x, 0) = 0.
Now by the maximum principle we have
So we
w(x, t) ≤ 0, −w(x, t) ≤ 0 ⇒ w(x, t) = 0
and we conclude that u(x, t) = v(x, t) so that (3.6)-(3.8) has a single solution.
It should be obvious that it is extremely difficult to compute explicitly the values of u for
general initial data f . From a computational point of view it would be nice to be able to
write the solution in terms of known functions. For functions that are piecewise constant
we can express the solution in terms of the so called “error function” denoted by erf(x) and
given by
2
Z x
2
erf(x) = √ e−x dx.
π 0
Notice that we can use the properties of integrals to deduce that
erf(−x) = − erf(x).
then
0
1 ∞
α
Z Z
−(x−y)2 /(4kt) 2 /(4kt)
u(x, t) = √ e f (y) dy = √ e−(x−y) dy.
4kπt −∞ 4kπt −∞
6
Make the change of variables
(y − x) 1
z= √ , ⇒ dz = √ dy.
4kt 4kt
This gives
√
−x/ 4kt
α
Z
2
u(x, t) = √ e−z dz
π −∞
α ∞
Z
2
=√ e−z dz
π √
x/ 4kt
√ !
x/ 4kt
α ∞
Z Z
−z 2 −z 2
=√ e dz − e dz
π 0 0
α x
= 1 − erf √ .
2 4kt
0.8
u0.6
0.4
0.2 4
0
2
−4 −2 0 2 0
4 t
x
Solution Surface
7
1.2
0.8
0.6
u
0.4
0.2
−0.2
−4 −2 0 2 4
x
Solution Curves t = 100, t = 500, t = 1000
To solve this problem we extend the initial data f as an odd function to all of R as
(
f (x) 0<x<∞
F0 (x) = .
−f (−x) −∞ < x < 0
8
We can solve the problem (3.14) using (3.9) to obtain
1
Z ∞
2
v(x, t) = √ e−(x−y) /(4kt) F0 (y) dy
4kπt −∞
Z 0
1
Z ∞
−(x−y)2 /(4kt) −(x−y)2 /(4kt)
=√ e F0 (y) dy + e F0 (y) dy
4kπt −∞ 0
1
Z ∞ Z ∞
−(x+y)2 /(4kt) −(x−y)2 /(4kt)
=√ − e f (y) dy + e f (y) dy
4kπt 0 0
1
Z ∞h i
2 2
=√ e−(x−y) /(4kt) − e−(x+y) /(4kt) f (y) dy.
4kπt 0
Now this function solves the heat equation on (−∞, ∞) and at t = 0 it is F0 (x) so it satisfies
(3.6) also on (0, ∞) and
1
Z ∞h i
2 2
v(0, t) = √ e−y /(4kt) − e−y /(4kt) f (y) dy = 0.
4kπt 0
So the solution to (3.11) is
1 ∞
Z h i
2 /(4kt) 2 /(4kt)
u(x, t) = √ e−(x−y) − e−(x+y) f (y) dy. (3.15)
4kπt 0
To solve this problem we extend the initial data f as an even function to all of R as
f (x) 0<x<∞
Fe (x) = .
f (−x) −∞ < x < 0
9
to obtain
1 ∞
Z
2 /(4kt)
v(x, t) = √ e−(x−y) Fe (y) dy
4kπt −∞
0
1 ∞
Z Z
−(x−y)2 /(4kt) −(x−y)2 /(4kt)
=√ e Fe (y) dy + e Fe (y) dy
4kπt −∞ 0
1 ∞ ∞
Z Z
−(x+y)2 /(4kt) −(x−y)2 /(4kt)
=√ e f (y) dy + e f (y) dy
4kπt 0 0
1 ∞
Z h i
2 /(4kt) 2 /(4kt)
=√ e−(x−y) + e−(x+y) f (y) dy.
4kπt 0
Now this function solves the heat equation on (−∞, ∞) and at t = 0 it is Fe (x) so it satisfies
(3.6) also on (0, ∞) and
1 −2(x + y) −(x+y)2 /(4kt) −2(x − y) −(x−y)2 /(4kt)
Z ∞
vx (0, t) = √ e + e f (y) dy = 0.
4kπt 0 4kt 4kt
So we have
1 ∞
2y h −y2 /(4kt)
Z i
2
vx (0, t) = √ −e + e−y /(4kt) f (y) dy = 0.
4kπt 0 4kt
So the solution to (3.16) is
1 ∞
Z h i
2 /(4kt) 2 /(4kt)
u(x, t) = √ e−(x−y) + e−(x+y) f (y) dy. (3.18)
4kπt 0
10
and, for any fixed but arbitrary x and t we obtain
1
Z ∞
2
1= √ e−s ds.
π −∞
Use our results from Section 3.2 of these notes to conclude this is indeed the case.
Find the solution in terms of the complementary error function erfc(x) defined by
2 ∞ −s2
Z
erfc (x) = e ds.
π x
√
x/ 4t
T0 ∞
T1
Z Z
−s2 2
u(x, t) = √ e ds + √ e−s ds
π √
x/ 4t π −∞
T0 x T1 x
= erfc √ − erfc √ (3.19)
2 4t 2 4t
and satisfying Z
lim ux (a, t) = 0, f (x)2 dx < ∞.
|a|→∞ R
Since the solution is unique we must have
1 x2 1
Z ∞
−(x−y)2 /(4kt) −y 2
exp − = √ e e dy.
(1 + 4t)1/2 (1 + 4t) 4kπt −∞
5. Show that the following functions all satisfy the heat equation on R with the given
initial condition. In these problems A and B are arbitrary constants.
11
6. Suppose that u(x, t) is a bounded strict solution to the heat equation on the whole line
with k = 1 and with initial condition u(x, 0) = arctan(x). Let Q = {(x, t) : −∞ <
x < ∞, t ≥ 0}. Find M0 so that
∞
sin2 (k(x − 1)) πx
Z
7. Let Ik = cos dx. Find lim Ik .
−∞ πk(x − 1)2 4 k→∞
8. The solution to the Initial, Boundary Value Problem for the heat problem
1 ∞
Z h i
2 /(4kt) 2 /(4kt)
u(x, t) = √ e−(x−y) + e−(x+y) f (y) dy
4kπt 0
In order to understand how the solution presented in (3.9) converges to the initial condition
f (x) as t goes to zero involves the need for a very brief introduction to a more advanced
topic - the delta sequence. This involves showing that
1
Z ∞
2
f (x) = u(x, 0) = lim √ e−(x−y) /(4kt) f (y) dy. (A.1)
t↓0 4kπt −∞
To help understand why this formula holds we will describe both delta sequences and the
delta function.
12
Let us define a pair of sequences of functions
r, |x| ≤ 1/(2r)
fr (x) = , (A.2)
0, |x| > 1/(2r)
r −rx2
r
γr (x) = e . (A.3)
π
The functions γr are called Gaussians.
Z ∞
1. fr (x) ≥ 0 for all x and fr (x) dx = 1;
−∞
r 1
Z ∞ r Z ∞ Z ∞
−rx2 2
γr (x) dx = e dx = √ e−y dy
−∞ π −∞ π −∞
This last integral can be evaluated using a trick and polar coordinates as follows. Let
1
Z ∞
2
I=√ e−x dx
π −∞
13
so we have
1 ∞
1
Z Z ∞
2 −x2 −y 2
I = √ e dx √ e dy
π −∞ π −∞
2 2
Z ∞ Z ∞
−x2 −y 2
= √ e dx √ e dy
π 0 π 0
4 ∞ ∞ −(x2 +y2 )
Z Z
= e dxdy
π 0 0
4 ∞ π/2 −r2
Z Z
= e r dθ dr
π 0 0
4 π 1
Z ∞
= e−u du
π 2 2 0
= 1.
Z ∞
(a) lim fr (x)g(x) dx = g(0)
r→∞ −∞
Z ∞
(b) lim γr (x)g(x) dx = g(0)
r→∞ −∞
We give an indication without complete details for the proof of Theorem A.1 for a general
delta sequence as defined below.
Definition A.1. Any family of functions ϕr (x) is called a delta sequence if it has the following
properties
1. ϕ (x) ≥ 0 ∀ x,
Z r∞
2. ϕr (x) dx = 1,
−∞
3. for every > 0 and c > 0 (no matter how small), there is a r0 so that
Z
ϕr (x) dx < ∀ r > r0 .
|x|≥c
14
Theorem A.1 follows immediately from the next result.
Theorem A.2. Let g(x) be a bounded function which is continuous at x = 0 and ϕr (x) be
a delta sequence. Then we have
Z ∞
lim ϕr (x)g(x) dx = g(0)
r→∞ −∞
Proof. Take > 0 an arbitrary small number. We will show that there is a number r0 so
that for all r > r0 we have
Z ∞
ϕr (x)g(x) dx − g(0) < .
−∞
15
Remark A.1. 1. For any delta sequence ϕr we define the Dirac delta function by the
defining property
δ(x) = lim ϕr (x). (A.4)
r→∞
where formula (A.4) needs to be interpreted in the following sense: For any continuous
g we have Z ∞ Z ∞
g(0) = lim ϕr (x) g(x) dx = δ(x) g(x) dx.
r→∞ −∞ −∞
(
0, x 6= 0
2. If δ(x) were really a function then δ(x) = .
∞, x = 0
3. But as a function this makes no sense. Thus the delta function must be interpreted as
a generalized function or distribution.
4. The defining property of the delta function can be shifted to any real number x = a
by simply shifting the delta sequence.
Z ∞ Z ∞
δ(x − a) g(x) dx = lim ϕr (x − a) g(x) dx = g(a).
−∞ r→∞ −∞
Now we return to the problem (3.6)-(3.8). Our objective is to derive the heat kernel S(x, t)
and learn some of its properties. No matter how you decide to approach this derivation
16
some considerable work will be involved. In this section we approach the problem through
motivation from the need for the solution to provide the delta function at t = 0 and we
want to do the work using only very elementary methods. For this approach we do make one
important assumption - for each fixed time value t the heat flux approaches zero as |x| → ∞.
Under the assumption that the heat flux F (x, t) = kux (x, t) has the property that
lim F (−a, t) = lim F (a, t) = 0 for all t
−a→−∞ a→∞
where this limit is zero due to our assumption. This means that the total heat energy over
the whole line is a constant since
d
Z ∞ Z ∞
u(x, t) dx = 0 ⇒ u(x, t) dx = constant.
dt −∞ −∞
Thus we see that the total energy at any time t is the same as it is at time t = 0, i.e. the
total energy in the initial condition: For every t > 0 we have
Z ∞ Z ∞ Z ∞
u(x, t) dx = u(x, 0) dx = f (x) dx.
−∞ −∞ −∞
Let us now consider an initial temperature confined to a small area around x = 0 by taking
the initial condition to be the function considered in (A.2) where we replace r by n
n, |x| ≤ 1/(2n)
fn (x) = .
0, |x| > 1/(2n)
We know that for every x 6= 0 fn (x) → 0 as n → ∞ while the amount of heat energy in
fn (x) is Z ∞
fn (x) dx = 1 ∀ n.
−∞
Assuming that a solution exists, let us denote the solution of the IVP (3.6)-(3.8) with this
initial condition fn (x) by un (x, t). Thus we have
∂un ∂ 2 un
= , un (x, 0) = fn (x). (B.1)
∂t ∂x2
17
Assuming a limiting function exists we define
Let us consider some of the properties this function would need to have.
1. Since the initial functions form a delta-sequence (i.e. fn → δ) we see that the initial
condition for S(x, t) is the delta function. So we have S(x, 0) = δ(x).
R∞ R∞
2. Also since −∞ fn (x) dx = 1 for all n we would expect −∞ S(x, t) dx = 1 for all t > 0.
With these three properties in mind we want to try to determine S(x, t) assuming these
properties to hold. To do this our game plan is to reduce finding S to solving an ODE. This
requires quite a few manipulations.
Step 1. First we want to simplify matters by removing k from the picture. We do this by
setting
S(x,
e t) = S(x, t/k)
so that (by the chain rule)
∂ Se ∂S ∂ 2S ∂ 2 Se
(x, t) = (x, t/k) · (1/k) = k 2 (x, t/k) · (1/k) = (x, t).
∂t ∂t ∂x ∂x2
From this we see that Se is a solution of the heat equation with k = 1.
Step 2. Now suppose that v(x, t) is any solution of vt = vxx and define vλ (x, t) for any λ > 0
by
vλ (x, t) = v(λx, λ2 t).
Again appealing to the chain rule we have
18
Step 3. Thus, in particular, we can apply the above for the solution v(x, t) = S(x, e t) to
conclude that Seλ (x, t) = S(λx,
e λ2 t) satisfies the heat equation and since for all x 6= 0
we have S(x,
e 0) = 0 we must also have Seλ (x, 0) = 0 for x 6= 0.
Claim B.1. There exists a constant C(λ) depending only on λ so that Seλ (x, t) =
C(λ)S(x,
e t). Indeed we will show that C(λ) = 1/λ so that
1 e
Seλ (x, t) = S(x, t).
λ
Proof of Claim: In order that this be true we would need the following to hold.
1
Z ∞ Z ∞
1= S(x, t) dx =
e S(λx,
e λ2 t) dx
−∞ C(λ) −∞
( set y = λx ⇒ dy = λdx)
1
Z ∞
= e λ2 t) dy
S(y,
λC(λ) −∞
1
=
λC(λ)
Z ∞
since e λ2 t) dy = 1 for all t > 0 and λ > 0. Therefore we would have
S(y,
−∞
1
C(λ) = .
λ
Thus we conclude
1e
S(λx,
e λ2 t) = S(x, t).
λ
Step 5. Now we select a particular value for λ. Namely we set λ = t−1/2 . Then we have
1 e x
S(x, t) = √ S √ , 1 .
e
t t
then we have
1 x 1 x
e t) = √ Se √ , 1 = √ ψ √
S(x, .
t t t t
19
Step 6. Next we will use the fact that Set = Sexx to derive an ODE satisfied by ψ. By the
chain rule, product rule, etc we have
and
Sexx (x, t) = t−3/2 ψ 00 (t−1/2 x).
So we must have
Introduce the new variable ξ = t−1/2 x and the above formula becomes
1 1
ψ 00 (ξ) + ξψ 0 (ξ) + ψ(ξ) = 0. (B.5)
2 2
Here recall that ψ is defined in (B.4).
Step 7. This is an ODE for the unknown function ψ but it is unlike any that we studied in
Math 3354. It is second order but not constant coefficient. A method for solving
(B.5) is to look for a solution in the form of an infinite power series and to use the
equation itself to help determine the coefficients. So we look for
∞
X
ψ(ξ) = aj ξ j .
j=0
The we have
∞
X ∞
X
ψ (ξ) =
0
jaj ξ j−1
, ψ (ξ) =
00
j(j − 1)aj ξ j−2 .
j=1 j=2
20
The first term corresponding to j = 0 gives
1 −1
2 · 1 · a2 a0 = 0 ⇒ a2 = a0 .
2 2·2
The sum of the rest of the terms can be written as
∞
1 1
X
(j + 2)(j + 1)aj+2 + jaj + aj ξ j = 0.
j=1
2 2
Notice that these terms can be grouped into j and odd or even integer. All the odd
terms are zero if a1 = 0 and all the even terms are then determined in terms of a0 .
So let us take a1 = 0 and let a0 = A be arbitrary. Then we have
a1 = a3 = · · · = a2k+1 = 0 k = 2, 3, · · · .
21
and we can then observe that ψ is
2 /4
ψ(ξ) = Ae−ξ .
1 x A
2
S(x,
e t) = √ ψ √ = √ e−x /(4t)
t t t
√
and using the substitution y = x/(2 t)
A
Z ∞ Z ∞
2
1= S(x,
e t) dx = √ e−x /(4t) dx
−∞ t −∞
Z ∞
2 √
= 2A e−y dy = 2A π.
−∞
So we have
1
A= √ .
2 π
Next we want to involve k by converting this formula back to S(x, t) which just
requires us to replace t by kt to get
1 2
S(x, t) = √ e−x /(4kt) . (B.6)
4πkt
In this section we present an alternative approach to solving the IVP for the heat equation
on R. A completely rigorous development of this material would be well beyond the scope of
this class so what I plan to do is to present the main points of this method and state results
without proof. For a deeper understanding of the validity of this work please graduate- go
to graduate school and take “Classical Applied math” (Math 5310 and 5311) and Graduate
Partial Differential Equations (Math 5332).
22
Definition C.1. 1. We say a function f (x) defined on R is in Lp (R) if
Z
|f (x)|p dx < ∞.
R
We have
Theorem C.1. (a) For f ∈ L1 (R), fb(ξ) exists for all ξ ∈ R and
Z
sup |f (ξ)| = kf k∞ ≤ kf k1 =
b b |f (x)| dx.
ξ∈R R
lim fb(ξ) = 0.
|ξ|→∞
1
Z Z
f (x) g(x) dx = fb(ξ) gb(ξ) dξ, (C.5)
R 2π R
where we allow functions to have complex values and if z = a +√bi is a complex number
then z = a − bi is the complex conjugate. Furthermore |z| = a2 + b2 is the absolute
value of the complex number.
23
(c) Assuming that f is sufficiently differentiable and decays to zero as |x| → ∞ sufficiently
rapidly we have the following formulas for the Fourier transform of the first and second
derivative of f
fb0 (ξ) = iξ fb(ξ) and fc00 (ξ) = ξ 2 fb(ξ) (C.6)
(d) If f, g ∈ L1 , then we define the convolution of f and g by
Z
(f ∗ g)(x) = f (x − y)g(y) dy.
R
Proof. 1. The proof of the first part is easy once you realize that |eiθ | = 1 which follows
from the Euler formula
q
|e | = | cos(θ) + i sin(θ)| = cos2 (θ) + sin2 (θ) = 1.
iθ
So we have Z Z
|fb(ξ)| = e −ixξ
f (x) dx ≤ |f (x)| dx.
R R
We will not prove the Reimann-Lebesque Lemma here.
2. We only need to verify (C.5) since (C.4) follows from (C.5) by setting g = f . We will
use the Fourier Inversion Formula (C.3) which allows us to write
1
Z
g(x) = eixξ gb(ξ) dξ
2π R
which implies
1
Z
g(x) = e−ixξ gb(ξ) dξ
2π R
1
Z Z Z
f (x) g(x) dξ = f (x)(eixξ gb(ξ)) dξ dx
R 2π R
1
Z Z
= f (x) e−ixξ gb(ξ) dξ dx
2π R
1
Z Z
= f (x)e −ixξ
dx gb(ξ) dξ
2π R
1
Z
= fb(ξ) gb(ξ) dξ.
2π
24
3. This is the most important property which simply says that the Fourier transform
changes differentiation into multiplication. To see this we apply integration by parts
as follows
Z x=∞ Z
(f 0 )(ξ) =
d e −ixξ
f (x) dx = e
0 −ixξ
f (x) − (−iξ)e−ixξ f (x) dx = iξ fb(ξ).
R x=−∞ R
Here we have assumed that f decays to zero as x tends to infinity. In order to see the
second formula we could apply integration by parts twice or simply apply the formula
we just derived twice, namely,
(f
d b0 (ξ) = (iξ)2 fb(ξ).
00 )(ξ) = iξ f
ZZ
= e−i(x−y)ξ f (x − y) e−iyξ g(y) dx dy
( set z = x − y ⇒ dz = dx)
Z Z
= e −izξ
f (z) dz e
−iyξ
g(y) dy
= fb(ξ) gb(ξ).
( set z = ax ⇒ dz = adx)
1
Z
= e−i(z/a)ξ f (z) dz
a
1b ξ
= f
a a
6. Finally we have τa (f )(x) = f (x − a) and we compute
Z
τa (f )(ξ) = e−ixξ f (x − a) dx
[
( set z = x − a ⇒ dz = dx)
Z
= e−i(z+a)ξ f (z) dx
Z
=e −iaξ
e−izξ f (z) dx = e−iaξ fb(ξ).
25
Next we present a few examples of Fourier transforms.
I. f (x) fb(ξ)
(
1 if |x| < a sin(aξ)
II. χa (x) = 2
0 otherwise ξ
2π −ξ2 /(2a)
r
−ax2 /2
III. e e
a
π −a|ξ|
IV. (x2 + a2 )−1 e
a
(
sin(ax) π if |ξ| < a
V. πχa (ξ) =
x 0 otherwise
We can use the Fourier transform to obtain the formula in (3.9) for the solution of the initial
value problem (3.6)-(3.8) as follows:
Apply the Fourier transform to the equations (3.6) and (3.7) using Part (c) of Theorem (C.1)
to obtain
∂u
(ξ, t) = −kξ 2 u
b(ξ, t).
b
∂t
For each fixed ξ this is a first order ODE in t with general solution
2t
u
b(ξ, t) = A(ξ)e−kξ
where A(ξ) is an arbitrary function of ξ. But we obtain a unique solution using the initial
condition from the Fourier transform of (3.7) which gives
2t
u
b(ξ, t) = fb(ξ)e−kξ
We have h i
2 2
u(x, t) = F−1 fb(ξ)e−kξ t = F−1 e−kξ t ∗ f (x)
26
but we know from Table I. item III. with a = 1/(2kt) that the inverse Fourier transform of
exp(−kξ 2 t) is
1 2
S(x, t) = √ e−x /(4kt) . (C.9)
4kπt
Namely
2 ra 2
F −1
e−ξ /(2a)
= e−ax /2
2π
and now let a = 1/(2kt) to obtain (C.9). Furthermore the inverse Fourier transform of fb(ξ)
is f (x). Therefore we have
1
Z
2
u(x, t) = √ e−(x−y) /(4kt) f (y) dy. (C.10)
4kπt
To prove Theorem 3.1 we first prove a version of the result for a rod of finite length. This
result will also be of use to us in later notes on boundary value problems. For −∞ < a <
b < ∞ and T > 0 let us define
Γ ≡ Γ(a, b, T ) = Γ1 ∪ Γ2 ∪ Γ3 ,
where
Theorem D.1. Assume that u is a strict solution to (3.6)-(3.8) with |f (x)| ≤ M0 for all
x ∈ R and let T > 0 be arbitrary. Then
27
t
T
Γ1 Q Γ2
a b x
Γ3
In other words, the temperature on a piece a ≤ x ≤ b (of a perhaps infinite rod ) can never
exceed the larger of the maximum of the initial temperature f (x) and the temperature at
the ends of the rod (i.e. when x = a or x = b and 0 ≤ t ≤ T ).
Then u and v are continuous on Q and therefore must have a maximum on Q and also on
Γ. Also v satisfies
vt − kvxx
= (u(x, t) − t)t − k (u(x, t) − t)xx = − < 0. (D.2)
Now, if also, a < x0 < b and 0 < t0 ≤ T , (i.e. (x0 , t0 ) ∈ Q\Γ) then by the second derivative
test from Calculus we must have
vxx
(x0 , t0 ) ≤ 0.
This implies −kvxx
(x0 , t0 ) ≥ 0 (note we use ≥ since the maximum may occur over an x
interval not just at the single point x0 ) so by (D.2) we would have
But from calculus again, at a maximum, vt (x0 , t0 ) = 0 which is a contradiction. Therefore
(x0 , t0 ) cannot be in Q (nor on t = T ) so it must be in Γ.
Now we can apply Theorem D.1 to help prove Theorem 3.1 which we restate here for conve-
nience
28
Assume the u is a bounded strict solution to (3.6)-(3.8) with |f (x)| ≤ M0 for all
x ∈ R and let T > 0 be arbitrary. Define
But we have
x2
max v (x, t) = max u(x, t) − kt +
Γ Γ 2
x2
≤ max u(x, t) + max − kt + .
Γ Γ 2
We have assumed that maxΓ u(x, t) ≤ M and we need to compute
x2
max − kt +
Γ 2
To do this we simply compute the maximum on each of Γ1 , Γ2 , and Γ3 .
1. Γ1 : On Γ1 we have x = −a and 0 ≤ t ≤ T so
a2 a2
max − kt + = −
Γ1 2 2
2. Γ2 : On Γ2 we have x = a and 0 ≤ t ≤ T so
a2 a2
max − kt + = −
Γ2 2 2
29
3. Γ3 : On Γ3 we have −a ≤ x ≤ a and t = 0 so
x2
max − kt + =0
Γ3 2
So we have
a2
max v (x, t) ≤ max{M − , M0 }
Γ 2
where we have used that
x2
max v (x, t) = max v (x, 0) = max f (x) −
≤ M0 .
Γ3 Γ3 |x|≤a 2
30