1D Heat Equation Term Pape
1D Heat Equation Term Pape
1D Heat Equation Term Pape
ut = kuxx
Proposition 3.1.1. If u satisfy equation (3.1.1) then uα,β,γ also satisfies this
equation provided β = α2.
91
Proof. is just by calculation. Note that β = α2 because one derivative with
respect to t is “worth” of two derivatives with respect to x.
We impose another assumption:
Condition 3.1.1. Total heat energy
(3.1.3)
Chapter 3. Heat equation in 1D 92
ut = kuxx (1)
) (3.1.6)
and
3 1
− ′′ −
, uxx = t 2
ϕ (t 2
x ).
. (3.1.7)
Good news: it is ODE. Really good news: .
Then integrating we get
Chapter 3. Heat equation in 1D 93
. (3.1.8)
Remark 3.1.1. Sure there should be +C but we are looking for a solution fast
decaying with its derivatives at ∞ and it implies that C = 0.
Separating in (3.1.8) variables and integrating we get
. (3.1.9)
√
where we changed variable x = z/ 2kt and used the equality
(3.1.11)
We claim that
Chapter 3. Heat equation in 1D 94
,
is a Heaviside step function.
Proof. Plugging u = Ux into (3.1.1) we see that (Ut − kUxx)x = 0 and then
(Ut − kUxx) = Φ(t). However one can see easily that as x → −∞ U is fast
decaying with all its derivatives and therefore Φ(t) = 0 and Statement (i) is
proven.
Note that
erf (3.1.12)
with
erf( (erf)
Remark 3.1.4. (a) One can construct U(x,t) as a self-similar solution albeit
with γ = 1.
(b) We can avoid analysis of U(x,t) completely just by noting that u(x,t) is a
δ-sequence as t → 0+: u(x,t) → 0 for all x ̸= 0 but Consider
now a smooth function g(x), g(−∞) = 0 and note that
(3.1.13)
and finally to
(3.1.14)
with
(3.1.15)
So we have proven:
Remark 3.1.5. We will recreate the same formulae in Section 5.3 using
Fourier transform.
Example 3.1.1. Find the solution u(x,t) to
.
√
Plugging y = x + 4z t and changing limits
Chapter 3. Heat equation in 1D 96
we evaluate integrals of the terms without factor z as erf functions and terms
with factor z we simply integrate resulting in
erf(
erf( erf(
(3.1.19)
Indeed, Duhamel integral (2.5.8)
(2.5.8)
remains except now auxiliary function U(x,t;τ) satisfies heat equation (3.1.1)
with initial condition Ut|t=τ = f(x,τ).
One can prove it exactly as in Subsection 2.5.2.
Exercise 3.1.1. Do it by yourself! Therefore
we arrive to
Here the first term expression solves IVP with the right-hand expression
f(x,t) and initial condition u(x,0) = 0 and the second term solves IVP with the
right-hand expression 0 and initial condition u(x,0) = g(x).
(c) Domain of dependence for (x,t) is {(x′,t′): − ∞ < x′ < ∞, 0 < t′ < t} and
the propagation speed is infinite! No surprise: heat equation is not
relativistic!
′
erf (x )
erf(x )
x x
′
(a)erf (x ) (b)erf (x )
3.1.4 References
Plots:
Chapter 3. Heat equation in 1D 98
with
(3.2.3)
uD|x=0 = 0, (D)
uN x|x=0 = 0. (N)
1 as t → 0+,
(3.2.8)
. (3.2.9)
Further,
G(x,y,t) = G(y,x,t) (3.2.10)
Exercise 3.2.1. (a) Prove (3.2.8) and (3.2.9). Explain the difference.
Consider
Note that, since G(x,y,t) satisfies (3.2.1) not only with respect to (x,t) but
also with respect to (y,t) as well due to symmetry G(x,y,t) = G(y,x,t), see
(3.2.10), the first line is 0.
In the second line the first term
The first line in the r.h.e. gives us solution of the IBVP with 0 boundary
condition. Let us consider the second line.
In the case of Dirichlet boundary condition G(x,y,t) = 0 as y = 0 and
therefore we get here
and
Chapter 3. Heat equation in 1D 101
Remark 3.2.1. (a) If we consider a half-line (−∞,0) rather than (0,∞) then the
same terms appear on the right end (x = 0) albeit with the opposite sign.
(d) This proof (which also works for the Cauchy problem) shows that
integral formulae give us the unique solution satisfying condition
provided g(x) satisfies the same condition. This is much weaker assumption
than max|u| < ∞.
x x
(a) (b)
(3.2.18)
,
(3.2.19)
similar formulae hold:
ZZ u = G2(x,y;x′,y′;t)g(x′,y′)dx′dy′,
(3.2.20)
ZZZ (3.2.21)
u= G3(x,y,z;x′,y′,z′;t)g(x′,y′,z′)dx′dy′dz′
with
. (3.2.24)
Remark 3.2.3. (a) This “product trick” works for heat equation or Schro¨dinger
equation because both of them are equations (not systems) ut = Lu with L
which does not contain differentiation by t.
(b) So far we have not discussed the uniqueness of the solution. In fact,
as formulated, the solution is not unique. But do not worry: “extra
solutions” are so irregular at infinity that they have no “physical sense”. We
discuss it later.
We claim that
Theorem 3.2.3 (Maximum Principle). Let u satisfy heat equation in Ω. Then
(3.2.25)
Almost correct proof. Let (3.2.25) be wrong. Then maxΩ u > maxΓ u and there
exists point P = (¯x,t¯) ∈ Ω \ Γ s.t. u reaches its maximum at P. Without any
loss of the generality we can assume that P belongs to an upper lid of Ω. Then
ut(P) ≥ 0. (3.2.26)
Indeed, u(¯x,t¯) ≥ u(¯x,t) for all t : t > t >¯ t¯− ϵ and then u(¯x,t¯) −
0 and as t ↗ t¯) we get (3.2.26).
Also
uxx(P) ≤ 0. (3.2.27)
Indeed, u(x,t¯) reaches maximum as x = x¯. This inequality combined with
(3.2.26) almost contradict to heat equation ut = kuxx (“almost”because there
could be equalities).
Correct proof. Note first that the above arguments prove (3.2.25) if u satisfies
inequality ut − kuxx < 0 because then there will be a contradiction.
Further note that v = u − εt satisfies vt − kvxx < 0 for any ε > 0 and therefore
.
Taking limit as ε → 0+ we get (3.2.25).
Remark 3.2.4. (a) Sure, the same proof works for multidimensional heat
equation.
Chapter 3. Heat equation in 1D 105
(3.2.28)
Proof. Really, −u also satisfies heat equation.
Corollary 3.2.5. (i) u = 0 everywhere on Γ =⇒ u = 0 everywhere on Ω.
. (3.A.1)
(3.A.2)
,
(3.A.3)
(3.A.4)
(3.A.5)
(3.A.6)
. (3.A.7)
Remark 3.A.3. The first term on the right of (3.A.6) is a diffusion term; in the
case of symmetric walk qL = qR only it is present:
. (3.A.8)
The second term on the right of (3.A.6) is a convection term; moving it to the
left and making change of coordinates tnew = t, xnew = x − µt we get in this
new coordinates equation (3.A.8). So this term is responsible for the shift
with a constant speed µ (on the top of diffusion).
Remark 3.A.4. (3.A.2) is a finite difference equation which is a finite difference
approximation for PDE (3.A.7). However this approximation is stable only if
. This is a fact from numerical analysis.
Task 3.A.2 (Main task). Multidimensional case. Solution (in due time when
we study). BVP. More generalization (later).
Chapter 3. Heat equation in 1D 107
. (3.A.10)
ut = uxx (3.B.1)
We plug uλ(x,t) = λβu(λx,λαt) into the same equation and find that it satisfies
the same equation as α = 2. Here β can be any and in Section 3.1 we got β =
1 only due to additional conditions u(x,t) ≥ 0 and
. (3.B.2)
) (3.B.3)
and this expression we plugged into (3.B.1) to get ODE for ϕ and solve it.
Example 3.B.2. Self-similar solution to linearized Korteweg–De Vries
equation
ut = uxxx. (3.B.4)
ut = ux + uxxx.
There are 3 terms and they scale differently and we cannot select α (in the
linear equations β is arbitrary).
Example 3.B.4. Self-similar solution to viscous Burgers equation
and we need to have all three powers equal, which leads to α = 2 and β = 1
without reference to (3.B.2). It leads to (3.B.3) and plugging into (3.B.5) we
get
. (3.B.6)
Integrating we get
Chapter 3. Heat equation in 1D 109
(3.B.7)
where we took a constant 0 because we still want solutions to decay at
infinity.
This is Bernoulli’s equation. Rewriting it as
and finally
with |D| > 1 to prevent vanishing determinator. And we get expression for
u(x,t).
Example 3.B.5. Self-similar solution to Korteweg–De Vries equation
. (3.B.9)
Then
which we get from diffusion equation formally setting k = i. We can apply the
same arguments arriving t
Chapter 3. Heat equation in 1D 110
(3.C.2)
but we need to figure out the ”sign” of the square root. Also we need to
extend t > 0 for diffusion equation for all t for Schro¨dinger equation.
Consider k ∈ C: Re(k) > 0. Then the diffusion equation still has sense for
t > 0 and the square root is uniquely determined so for√√ k = i = eiπ/2
we
as ± t > 0 (3.C.3)
as a solution to Schro¨dinger equation (3.C.1) with initial condition
(1)
with
(2)
This formula solves IVP for a heat equation
ut = kuxx (3)
with the initial function g(x).
In many problems below for a modified standard problem you need to
derive a similar formula albeit with modified G(x,y,t). Consider
erf( (Erf)
Chapter 3. Heat equation in 1D 111
as a standard function.
Problem 1. Solve Cauchy problem for a heat equation
( ut = kuxx t > 0, −∞ < x < ∞
(4)
u|t=0 = g(x)
with
,,
1; 1;
g(x) = e−a|x|; g(x) = xe−a|x|;
g(x) = |x|e−a|x|; g(x) = x2e−a|x|;
u|x=0 = h(t)
with
) = 0;
Chapter 3. Heat equation in 1D 112
) = 0;
g(x) = e−ax, h(t) = 0; g(x) = xe−ax, h(t) = 0;
g(x) = e−ax2, h(t) = 0; g(x) = xe−ax2, h(t) = 0;
g(x) = x2e−ax2, h(t) = 0; g(x) = 0, h(t) = 1;
g(x) = 1, h(t) = 0;
Problem 4.
convection term
(a) Prove that it is obtained from the ordinary heat equation with respect
to U by a change of variables U(x,t) = u(x + ct,t). Interpret (7) as
equation describing heat propagation in the media moving to the right
with the speed c.
(b) Using change of variables u(x,t) = U(x − vt,t) reduce it to ordinary heat
equation and using (1)-(2) for a latter write a formula for solution
u(x,t).
(c) Can we use the method of continuation directly to solve IBVP with
Dirichlet or Neumann boundary condition at x > 0 for (7) on {x > 0,t >
0}? Justify your answer.
(d) Plugging u(x,t) = v(x,t)eαx+βt with appropriate constants α,β reduce (7)
to ordinary heat equation.
(e) Using (d) write formula for solution of such equation on the half-line
or an interval in the case of Dirichlet boundary condition(s). Can we
use this method in the case of Neumann boundary conditions? Justify
your answer.
(a) Solve IVP for a heat equation (3) with g(x) = e−ε|x|; what happens as ε
→ +0?
(b) Solve IVP for a heat equation with convection (7) with g(x) = e−ε|x|;
what happens as ε → +0?
(c) Solve IBVP with the Dirichlet boundary condition for a heat equation
(7) with g(x) = e−ε|x|; what happens as ε → +0?
(d) Solve IBVP with the Neumann boundary condition for a heat equation
(3) with g(x) = e−ε|x|; what happens as ε → +0?
Chapter 3. Heat equation in 1D 114
(b) Find the location of its maximum in the closed rectangle [−2 ≤ x ≤ 2,0
≤ t ≤ 1].
(c) Where precisely does our proof of the maximum principle break down
for this equation?
Problem 10. (a) Consider the heat equation on J = (−∞,∞) and prove that
an “energy”
(8)
does not increase; further, show that it really decreases unless u(x,t) = const;
(b) Consider the heat equation on J = (0,l) with the Dirichlet or Neumann
boundary conditions and prove that an E(t) does not increase; further,
show that it really decreases unless u(x,t) = const;
(c) Consider the heat equation on J = (0,l) with the Robin boundary
conditions
If a0 > 0 and al > 0, show that the endpoints contribute to the decrease
of .
This is interpreted to mean that part of the energy is lost at the boundary, so
we call the boundary conditions radiating or dissipative.
Hint. To prove decrease of E(t) consider it derivative by t, replace ut by
kuxx and integrate by parts.
Remark 3.P.1 In the case of heat (or diffusion) equation an energy given by
(8) is rather mathematical artefact.
Problem 11. Find a self-similar solution u of
with finite .
Problem 12. Find a self-similar solution u of
with constant
Hint. Some complex variables required.
Problem 13. Find smooth for t > 0 self-similar solution u(x,t) to
ut + (uux)x = 0,
u ≥ 0,
You are not allowed to use a standard formula for solution of IVP for heat
equation.
Problem 17. Consider 1D “radioactive cloud” problem:
ut + vux − uxx + βu = 0,
u|t=0 = δ(x),
(a) Hint. Reduce to the standard heat equation by u = ve−βt and x = y+vt, use
the standard formula for v:
v = (4πt)−1/2 exp(−x2/4t)