5.2: Parabolic Equation
( \newcommand{\kernel}{\mathrm{null}\,}\)
Let us first study the heat equation in 1 space (and, of course, 1 time) dimension. This is the standard example of a parabolic equation.
∂∂tu=k∂2∂x2u,0<x<L,t>0.
with boundary conditions
u(0,t)=0,u(L,t)=0,t>0,
and initial condition u(x,0)=x,0<x<L. We shall attack this problem by separation of variables, a technique always worth trying when attempting to solve a PDE, u(x,t)=X(x)T(t). This leads to the differential equation
X(x)T′(t)=kX"(x)T(t).
We find, by dividing both sides by XT, that
1kT′(t)T(t)=X"(k)X(k).
Thus the left-hand side, a function of t, equals a function of x on the right-hand side. This is not possible unless both sides are independent of x and t, i.e. constant. Let us call this constant −λ.
We obtain two differential equations
T′(t)=−λkT(t)X″(x)=−λX(x)
What happens if X(x)T(t) is zero at some point (x=x0,t=t0)?
- Answer
-
Nothing. We can still perform the same trick.
This is not so trivial as I suggest. We either have X(x0)=0 or T(t0)=0. Let me just consider the first case, and assume T(t0)≠0. In that case we find (from ???)), substituting t=t0, that X″(x0)=0.
We now have to distinguish the three cases λ>0, λ=0, and λ<0.
λ>0 |
Write α2=λ, so that the equation for X becomes X″(x)=−α2X(x). This has as solution X(x)=Acosαx+Bsinαx. X(0)=0 gives A⋅1+B⋅0=0, or A=0. Using X(L)=0 we find that BsinαL=0 which has a nontrivial (i.e., one that is not zero) solution when αL=nπ, with n a positive integer. This leads to λn=n2π2L2.
λ=0 |
We find that X=A+Bx. The boundary conditions give A=B=0, so there is only the trivial (zero) solution.
λ<0 |
We write λ=−α2, so that the equation for X becomes X″(x)=−α2X(x). The solution is now in terms of exponential, or hyperbolic functions, X(x)=Acoshx+Bsinhx. The boundary condition at x=0 gives A=0, and the one at x=L gives B=0. Again there is only a trivial solution.
We have thus only found a solution for a discrete set of “eigenvalues” λn>0. Solving the equation for T we find an exponential solution, T=exp(−λkT). Combining all this information together, we have un(x,t)=exp(−kn2π2L2t)sin(nπLx). The equation we started from was linear and homogeneous, so we can superimpose the solutions for different values of n, u(x,t)=∞∑n=1cnexp(−kn2π2L2t)sin(nπLx). This is a Fourier sine series with time-dependent Fourier coefficients. The initial condition specifies the coefficients cn, which are the Fourier coefficients at time t=0. Thus
cn=2L∫L0xsinnπxLdx=−2Lnπ(−1)n=(−1)n+12Lnπ. The final solution to the PDE + BC’s + IC is u(x,t)=∞∑n=1(−1)n+12Lnπexp(−kn2π2L2t)sinnπLx.
This solution is transient: if time goes to infinity, it goes to zero.