MIT18.152.Lecture Notes Feb 7
MIT18.152.Lecture Notes Feb 7
1D Heat equation
Suppose that a smooth solution upx, tq satisfies the following differential equation
in tpx, tq : 0 ď x ď L, 0 ď tu. Then, upx, tq can represent the temperature under the heat flow on a rod
located in t0 ď x ď Lu. In order to solve the equation, we need the initial data
2. Uniqueness
Theorem 1 (Uniqueness). Given smooth functions gpxq, h1 ptq, h2 ptq, the heat equation (1) has at most
one smooth solution upx, tq satisfying (2) on t0 ď x ď Lu and (3) on tt ě 0u.
Proof. Suppose that upx, tq and vpx, tq are solutions satisfying the conditions. Then, the smooth func-
tion wpx, tq “ upx, tq ´ vpx, tq satisfies
wt “ ut ´ vt “ u xx ´ v xx “ w xx . (6)
Therefore,
0 ď Eptq ď Ep0q, (9)
for all t ě 0. However, we have wpx, 0q “ 0 by definition, namely Ep0q “ 0. Thus, Eptq “ 0 and
wpx, tq “ 0. Hence, the smooth solution is unique.
Remark. If h1 ptq “ h2 ptq “ 0, then we can modify the proof above to show
d L 2
ż
u px, tqdx ď 0. (10)
dt 0
Then, it would be a natural question to prove lim sup |upx, tq| “ 0. We will prove this next week,
tÑ`8 0ďxďL
but it’d be good to try to prove it yourself.
We recall the Fourier series. In this class, we will use the following fact without proofs.
Given a smooth function f : r´L, Ls Ñ R with f p´Lq “ f pLq, the following holds
where
żL żL żL
1 1 ´ mπx ¯ 1 ´ mπx ¯
a0 “ f pxqdx, am “ f pxq cos dx, bm “ f pxq sin dx.
L ´L L ´L L L ´L L
where
żL
2 ´ mπx ¯
bm “ f pxq sin dx.
L 0 L
where
żL żL
2 2 ´ mπx ¯
a0 “ f pxqdx, am “ f pxq cos dx.
L 0 L 0 L
4. Review: ODE
We recall the some well-known results in ODEs. We will also use them without proofs.
Then,
upxq “ c1 sinpµxq ` c2 cospµxq, (12)
for some constants c1 , c2 depending on initial (or boundary data). For example, if upxq satisfies up0q “
0 and u1 p0q “ 1, then the constants must be c1 “ µ´1 and c2 “ 0.
Then,
upxq “ ceλx , (14)
5. Separation of Variables
In this section, we will SOLVE the Cauchy-Dirichlet problem with the vanishing Dirichlet data.
Namely, given smooth gpxq, we will find the solutions to the heat equation (1) under the conditions
(2) and (3), where h1 ptq “ h2 ptq “ 0.
To begin with, we remind that by the uniqueness theorem 1 there exists at most one solution. Hence,
if we find a solution, then it is the only solution.
Next, we want find a function upx, tq “ vpxqwptq satisfying (1) and (3) with h1 “ h2 “ 0. (Notice
that in this step we do not consider (2), yet.) Then, (1) implies
wt v “ ut “ u xx “ wv xx .
Dividing by vw yields
wt ptq v xx pxq
“ .
wptq vpxq
The left hand side only depends on t, while the right hand side only depends on x. Therefore, there
exists some constant λ P R such that
wt v xx
“ “ λ.
w v
We consider the three cases that λ ą 0, λ “ 0, and λ ă 0.
Case 1: λ ą 0. In this case, by using the Dirichlet condition vp0q “ vpLq “ 0 we can obtain
żL żL żL żL żL
ˇL
0ďλ 2
v dx “ vpλvqdx “ vv xx dx “ vv x 0 ´
ˇ 2
|v x | dx “ ´ |v x |2 dx ď 0, (15)
0 0 0 0 0
namely v “ 0. Thus, u “ 0.
Case 3: λ “ ´µ2 ă 0. In this case, the equation v xx ` µ2 v “ 0 has non-trivial solutions. By the
results in ODE, vpxq “ A cospµxq ` B sinpµxq holds for the constants A, B satisfying the boundary
conditions
Hence, we have sinpµLq, and thus µL “ mπ for a natural number m. Namely, given m P N we have
vm “ c sinpmπx{Lq,
d
dt wm “ ´µ2 wm “ ´pmπ{Lq2 wm . (16)
Then, by the Fourier series theorem above, the function upx, tq in (17) satisfies (2). Namely, it is the
desired solution.