7.7 KB · commit e092022
| title | Module 2.12: 1D Heat Conduction Equation |
|---|---|
| module | 2.12 |
| style | explanation |
← 2.11 Separation of Variables & 1D Wave Equation · Index · 2.13 2D Laplace Equation →
We are finding the general solution of the one-dimensional heat conduction equation using separation of variables. We evaluate all three possible signs of the separation constant. We show that only a negative constant produces physically realistic heat decay over time.
Question: Solve the heat equation
∂x2∂2u=h2∂t∂uby the variable separable method.
Solution:
The given one-dimensional heat equation is:
∂x2∂2u=h2∂t∂u(1)where h2 is a positive constant related to thermal diffusivity.
Assume a separable product solution:
u(x,t)=X(x)T(t)(2)where X depends solely on x and T depends solely on t.
Computing the partial derivatives:
∂x2∂2u=X′′(x)T(t),∂t∂u=X(x)T′(t)Substituting into equation (1):
X′′(x)T(t)=h2X(x)T′(t)Dividing both sides by X(x)T(t):
X(x)X′′(x)=h2T(t)T′(t)=K(3)where K is the separation constant.
Why this ratio equals a constant: The left term depends only on x. The right term depends only on t. A function of x can equal a function of t everywhere only if both are constant.
This represents a steady-state temperature distribution independent of time.
As t→∞, eh2p2t→∞. This implies that temperature grows without bound. This case is physically inadmissible for heat dissipation.
Integrating with respect to t:
lnT=−h2p2t+lnc3⟹T(t)=c3e−h2p2tCombining X(x) and T(t):
u(x,t)=(Acospx+Bsinpx)e−h2p2twhere A=c1c3 and B=c2c3 are arbitrary constants.
Why Case 3 is the physical solution: As t→∞, e−h2p2t→0. The temperature difference smoothly dissipates to zero, representing transient cooling.
Watch out: In the wave equation, the time factor was second order, giving cos(pct) and sin(pct). In the heat equation, the time factor is first order, giving an exponential decay e−h2p2t.
By the principle of superposition, summing over all admissible values of pn:
u(x,t)=n=1∑∞(Ancospnx+Bnsinpnx)e−h2pn2twhere An,Bn are arbitrary constants determined by initial and boundary conditions.
Key Takeaway: The heat equation is first order in time and second order in space. Separation of variables yields sinusoidal spatial profiles multiplied by decaying exponential time factors.
We solve a heat flow problem in a rod of length 4. The ends are held at zero temperature. We identify the spatial eigenvalues from the boundary conditions. Then we match the initial temperature profile directly to find the decaying modes.
Question: Solve
∂t∂u=∂x2∂2u,0<x<4,t>0given that u(0,t)=u(4,t)=0 and
u(x,0)=6sin(2πx)+3sin(πx)Solution:
The heat equation is:
∂t∂u=∂x2∂2u(1)Boundary conditions:
u(0,t)=0,u(4,t)=0(t>0)Initial condition:
u(x,0)=6sin(2πx)+3sin(πx)(0<x<4)Let u(x,t)=X(x)T(t). Substituting into (1):
X(x)T′(t)=X′′(x)T(t)Dividing by X(x)T(t):
X(x)X′′(x)=T(t)T′(t)=−p2where −p2<0 ensures exponential decay in time.
This gives two ordinary differential equations:
X′′(x)+p2X(x)=0 T′(t)+p2T(t)=0Solving these equations:
X(x)=c1cospx+c2sinpx T(t)=c3e−p2tAt x=0:
u(0,t)=X(0)T(t)=0⟹X(0)=0⟹c1=0Thus X(x)=c2sinpx.
At x=4:
u(4,t)=X(4)T(t)=0⟹X(4)=0⟹c2sin(4p)=0For a non-trivial solution (c2=0):
sin(4p)=0⟹4p=nπ⟹p=4nπ,n=1,2,3,…Why only integer values n are allowed: The sine function vanishes at integer multiples of π. This discretizes the allowable frequencies into spatial eigenfunctions.
The spatial eigenfunctions are:
Xn(x)=sin(4nπx)The temporal solutions are:
Tn(t)=exp[−(4nπ)2t]=e−16n2π2tAt t=0:
u(x,0)=n=1∑∞Ansin(4nπx)=6sin(2πx)+3sin(πx)Why we rewrite the given arguments: The eigenmodes are sin(4nπx). We rewrite the given angles with denominator 4 to read off the mode numbers n directly.
Expressing the given sine arguments in terms of 4nπx:
2πx=42πx⟹n=2 πx=44πx⟹n=4Thus:
n=1∑∞Ansin(4nπx)=6sin(42πx)+3sin(44πx)Comparing Fourier coefficients:
Watch out: Notice that mode n=4 decays with e−π2t, which is 4 times faster than mode n=2 with e−π2t/4. Higher spatial frequencies die out much faster in diffusion processes.
Substituting these non-zero terms into the series:
u(x,t)=6sin(2πx)e−4π2t+3sin(πx)e−π2tKey Takeaway: If the initial profile is a sum of sines, rewrite each angle into standard eigenfunction form Lnπx. Compare coefficients directly to bypass the integration steps.
← 2.11 Separation of Variables & 1D Wave Equation · Index · 2.13 2D Laplace Equation →