Time-Dependent BC: Module 5: Heat Equation
Time-Dependent BC: Module 5: Heat Equation
Lecture 5 Time-Dependent BC
In this lecture we shall learn how to solve the inhomogeneous heat equation
ut − α2 uxx = h(x, t)
with time-dependent BC. To begin with, let us consider the following IBVP problem with
time-dependent BC:
In the previous lecture, we had discussed the solution of this problem in the case where a(t)
and b(t) are constant functions (independent of t) and f (x) is a suitable given function.
Notice that the function w(x, t) defined by
[ ]
b(t) − a(t)
w(x, t) = x + a(t)
L
satisfies the BC (2). However, w(x, t) will not satisfy the PDE (1) unless a(t) and b(t)
are constant. In fact,
[ ]
b′ (t) − a′ (t)
wt − α wxx
2
= x + a′ (t).
L
We now attempt to find a solution for the problem (1)-(3) of the form
Further,
Thus, the function v(x, t) must satisfy the following related problem with homogeneous
BC, but inhomogeneous PDE:
Note: When a(t) and b(t) are constants, the PDE is homogeneous. But, in this case,
v(x, t) satisfies nonhomogeneous PDE.
The solution procedure to the above problem was given by the French mathematician and
physicist Jean-Marie-Constant Duhamel (1797-1872). The method is known as Duhamel’s
principle.
It is easy to check that v(x, t) = u1 (x, t) + u2 (x, t) solves (7)-(9). The solution u1 to the
problem (P 1) is known (cf. Lecture 4 in Module 5). It remains only to solve the problem
(P2) for u2 .
where [ ]
b(t) − a(t)
w(x, t) = x + a(t)
L
is the particular solution of the BC and u1 (x, t) solves (P1) with g(x) = f (x) − w(x, 0)
and u2 (x, t) solves (P2) with h(x, t) = −(wt − α2 wxx ) = −[b′ (t) − a′ (t)]x/L − a′ (t).
MODULE 5: HEAT EQUATION 22
1 Duhamel’s principle
The basic idea of Duhamel’s principle is to transfer the source term h(x, t) to initial
condition of related problems. This is done in the following manner. The function defined
by
∫ t
u(x, t) = v(x, t; s)ds
0
Note that both PDE and BC are homogeneous. We use translation in time
∫ t
u(x, t) = v̄(x, t − s; s)ds
0
∫ t ∫ t
se−α (t−s) sin(x)ds
2
u(x, t) = v̄(x, t − s; s)ds =
0 0
∫ t [ ]
= e−α t sin(x) seα s ds = (α2 )−1 t + (α2 )−2 (e−α t − 1) sin(x),
2 2 2
has a solution v(x, t; s), where v(x, t; s), vt (x, t; s) and vxx (x, t; s) are continuous (in all
three variables). Then the unique solution of the problem
is given by
∫ t
u(x, t) = v(x, t; s)ds. (29)
0
satisfies the IC u(x, 0) = 0 and the BC u(0, t) = u(L, t) = 0. Observe that v(x, t; s)
satisfies the BC (24). Now, with g(t, s) = v(x, t; s), where x fixed, we have
∫ t
ut (x, t) = v(x, t; t) + vt (x, t; s)ds
0
∫ t
= h(x, t) + α2 vxx (x, t; s)ds.
0
By the hypothese on v(x, t; s), it follows that u(x, t) is in C 2 . For the uniqueness, see
Theorem 4 (of Lecture 2 of Module 5).
MODULE 5: HEAT EQUATION 24
Then u(x, t) = w(x, t)+v(x, t), where v(x, t) solves the related problem with homogeneous
BC:
v̄t = α2 v̄xx
v̄(0, t; s) = 0 v̄(L, t; s) = 0
v̄(x, 0; s) = s sin(2πx).
MODULE 5: HEAT EQUATION 25
Practice Problems