23.5 KB · commit e092022
← Previous: T-02.11b 1D Wave Equation (Vibrating String BVP) | 🏠 Index | Next: T-02.13 2D Laplace Equation (Steady-State BVP) →
Section: B | Priority: 🔴 Critical / High-Yield Problem | Exam Frequency: 4/6 Years (Set 4 in Section B) | Sources: Jaipal Sir Lecture 15, Fahad Class Notes Section 2 / Zakir Sir Lecture 09, Oishe Class Notes Section 2
Heat conduction is the premier parabolic equation in applied mathematics. Zakir Sir alternates between the wave equation and the heat equation in Question Set 4. In the most recent 2024 Semester Final, this exact boundary value problem appeared as Question 6(b) for 5 marks.
The heat equation models irreversible diffusion. Heat flows spontaneously from hotter regions to cooler regions until temperatures equalize. Unlike the wave equation which vibrates forever, thermal solutions decay exponentially in time:
u(x,t)→0as t→∞Exam questions focus on establishing this physical decay. You must prove why positive separation constants lead to unphysical explosions. You then construct the transient temperature profile using a Fourier sine series.
One-Dimensional Heat Flow Equation:
"The one-dimensional heat conduction equation is a second-order linear parabolic partial differential equation that describes the diffusion of thermal energy over time along a thin conductive rod or wire: ∂t∂u=c2∂x2∂2u."
Source: Jaipal Sir, PDE Lecture 15, p. 1💡 In Plain Words: This equation tracks how temperature spreads along a solid rod. It says that the heating or cooling rate at any point equals diffusivity times how sharply temperature curves in space.
Thermal Diffusivity Constant c2:
"The diffusivity constant measures how rapidly temperature disturbances propagate through the material: c2=ρsK, where K is thermal conductivity, ρ is density, and s is specific heat capacity."
Source: Jaipal Sir, PDE Lecture 15, p. 2💡 In Plain Words: Diffusivity measures how fast a material evens out heat. A high diffusivity means heat rushes through quickly, smoothing out temperature spikes in moments.
Physical Behavior of Heat Diffusion:
"Unlike the oscillatory motion of the vibrating string, heat conduction is a dissipative, irreversible diffusion process. Over time, internal temperature differences smooth out, and the temperature across the entire rod decays toward zero: limt→∞u(x,t)=0 for all x∈[0,l]."
Source: Jaipal Sir, PDE Lecture 15, p. 3💡 In Plain Words: Heat diffusion is a one-way street governed by thermodynamics. Peaks flatten, valleys fill in, and holding the ends in ice water gradually cools the entire rod to zero.
Statement of the Boundary Value Problem:
"Determine the temperature distribution u(x,t) satisfying:
• Heat Equation: ∂t∂u=c2∂x2∂2u for 0<x<l,t>0
• Boundary Conditions: u(0,t)=0 and u(l,t)=0 for all t≥0
• Initial Condition: u(x,0)=f(x) for 0≤x≤l."
Source: Jaipal Sir, PDE Lecture 15, p. 3💡 In Plain Words: We plunge both ends of a hot rod into freezing ice water at zero degrees. We then calculate how fast the hot interior cools down to zero over time.
Picture a hot metal bar whose ends are thrust into buckets of ice water at zero degrees. The sides of the bar are heavily insulated, forcing heat to flow only along the length of the bar.
Why does factoring u(x,t)=X(x)T(t) work? Thermal diffusion acts like an equalizer for spatial frequencies. Any complicated initial temperature profile can be broken into a Fourier sum of pure sine harmonics sin(nπx/l). Each spatial harmonic keeps its stationary sine shape while decaying exponentially in time at a rate proportional to n2. Sharp wiggles (high n) flatten almost instantly. Broad contours (low n) linger longer.
Why must the separation constant K be negative?
Contrast with the Wave Equation: The wave equation has a second-order time derivative (∂t2∂2u), resulting in undamped eternal oscillations (cospct). Mechanical energy shuttles between kinetic and strain forms forever. In contrast, the heat equation has a first-order time derivative (∂t∂u). Thermal diffusion is irreversible and dissipative. Entropy increases, temperature gradients erase themselves, and all motion decays to zero.
Consider a thin, homogeneous conducting rod of length l oriented along the x-axis from x=0 to x=l. The lateral cylindrical surface is perfectly insulated. Heat cannot escape into the surrounding air. Heat flows only in the axial x-direction.
The two ends of the rod are placed in ice-water baths kept at 0∘C:
u(0,t)=0,u(l,t)=0for all t≥0At time t=0, the rod has a known initial temperature profile:
u(x,0)=f(x)(0≤x≤l)The temperature distribution u(x,t) satisfies:
∂t∂u=c2∂x2∂2u(1)where c2>0 is the thermal diffusivity of the material. Fourier's law of conduction relates heat flux to the spatial temperature gradient, and conservation of thermal energy relates flux divergence to the rate of temperature change over time.
We seek a solution in product form:
u(x,t)=X(x)T(t)(2)Differentiate partially:
∂t∂u=X(x)T′(t) ∂x2∂2u=X′′(x)T(t)Substitute these derivatives into the heat equation (1):
X(x)T′(t)=c2X′′(x)T(t)Divide both sides by c2X(x)T(t):
X(x)X′′(x)=c2T(t)T′(t)=K(3)The left side depends solely on x. The right side depends solely on t. Since x and t vary independently, both sides must equal the same separation constant K.
The constant K can be zero, positive, or negative. Let us test all three cases:
flowchart TD
K["Separation Constant K"] --> C1["Case 1: K = 0"]
K --> C2["Case 2: K = +p^2 > 0"]
K --> C3["Case 3: K = -p^2 < 0"]
C1 --> R1["T(t) = const, X(x) = c1 x + c2<br/>Zero boundary ends force X(x) = 0<br/>Trivial solution: REJECT"]
C2 --> R2["T(t) = exp(+c^2 p^2 t) -> blows up!<br/>Violates 2nd law of thermodynamics<br/>Boundary conditions force X(x) = 0: REJECT"]
C3 --> R3["T(t) = exp(-c^2 p^2 t) -> decays smoothly<br/>X(x) = sine eigenfunctions<br/>Satisfies physical cooling: ACCEPT"]
Equation (3) gives:
X′′(x)=0⟹X(x)=c1x+c2 T′(t)=0⟹T(t)=c3This represents a steady-state temperature distribution independent of time:
u(x)=(c1x+c2)c3=Ax+BApply the boundary conditions:
💡 Teacher Tip: The boundary conditions u(0)=0 and u(l)=0 force a linear steady-state profile Ax+B to be zero everywhere.
Thus u(x,t)≡0. This trivial solution cannot satisfy non-zero initial conditions. We reject K=0.
Equation (3) gives:
X′′(x)−p2X(x)=0 T′(t)−c2p2T(t)=0Solving these equations:
X(x)=c1epx+c2e−px T(t)=c3ec2p2tLook at the time factor T(t)=c3ec2p2t. As time advances (t→∞), the exponential factor grows without bound:
t→∞limec2p2t=∞💡 Teacher Tip: Point out the physical absurdity: e+c2p2t→∞. A rod resting in ice water cannot heat itself up to infinity! Mentioning this thermodynamic violation earns full marks from examiners.
This means the rod temperature would increase to infinity without any external heat source. That violates the Second Law of Thermodynamics and the conservation of energy.
Furthermore, applying the boundary conditions X(0)=0 and X(l)=0:
X(0)=c1+c2=0⟹c2=−c1 X(l)=c1(epl−e−pl)=2c1sinh(pl)=0Since p>0 and l>0, sinh(pl)=0. Thus c1=0 and c2=0.
This forces X(x)≡0, giving only the trivial solution u(x,t)≡0. We reject K>0.
This choice provides physically realistic decaying solutions.
Equation (3) gives:
X′′(x)+p2X(x)=0(4) T′(t)+c2p2T(t)=0(5)Solving equation (4) for X(x):
X(x)=c1cos(px)+c2sin(px)(6)Solving equation (5) for T(t):
T(t)T′(t)=−c2p2⟹lnT=−c2p2t+lnc3⟹T(t)=c3e−c2p2t(7)💡 Teacher Tip: Notice the negative exponent in e−c2p2t. As time advances, heat leaves the rod through the ice ends, cooling the entire profile smoothly toward zero.
As t→∞, e−c2p2t→0. The rod cools down smoothly to zero.
Apply the boundary conditions to equation (6):
Left end (x=0):
X(0)=c1cos(0)+c2sin(0)=c1=0Cosine equals 1 at x=0. The ice bath at x=0 requires zero temperature, forcing c1=0. Only sine functions survive. Therefore:
X(x)=c2sin(px)Right end (x=l):
X(l)=c2sin(pl)=0For non-trivial solutions (c2=0):
sin(pl)=0⟹pl=nπ⟹p=lnπ,n=1,2,3,…These discrete values are the spatial eigenvalues:
pn=lnπ(n=1,2,3,…)The corresponding spatial eigenfunctions are:
Xn(x)=sin(lnπx)Substitute pn into the temporal solution (7):
Tn(t)=c3exp[−(lnπc)2t]=c3e−l2n2π2c2tCombine Xn(x) and Tn(t). Let An=c2c3:
un(x,t)=Ansin(lnπx)e−l2n2π2c2t💡 Teacher Tip: Look at the decay factor e−l2n2π2c2t. Notice the n2 factor in the exponent! Mode n=2 decays 4 times faster than mode n=1. Mode n=3 decays 9 times faster. High-frequency spatial fluctuations smooth out almost instantaneously.
By the principle of superposition, the general solution is:
u(x,t)=n=1∑∞Ansin(lnπx)e−l2n2π2c2t(8)Apply the initial temperature condition at t=0:
u(x,0)=n=1∑∞Ansin(lnπx)=f(x)This is the half-range Fourier sine series for f(x) on [0,l]. The Fourier coefficients are given by:
An=l2∫0lf(x)sin(lnπx)dx(9)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)💡 Strategy & Mental Roadmap:
Here diffusivity constant c2=1, and rod length l=4.
💡 Teacher Tip: Always extract the rod length l=4 and thermal diffusivity c2=1 from the problem statement before beginning your derivation.
Let:
u(x,t)=X(x)T(t)Substitute into the PDE:
X(x)T′(t)=X′′(x)T(t)Divide by X(x)T(t):
X(x)X′′(x)=T(t)T′(t)=−p2We choose −p2<0 to ensure physical temperature decay over time.
This yields two ODEs:
Spatial ODE:
X′′(x)+p2X(x)=0⟹X(x)=c1cospx+c2sinpxTemporal ODE:
T′(t)+p2T(t)=0⟹T(t)=c3e−p2tAt x=0:
X(0)=c1cos(0)+c2sin(0)=c1=0Thus X(x)=c2sinpx.
At x=4:
X(4)=c2sin(4p)=0For non-trivial solutions (c2=0):
sin(4p)=0⟹4p=nπ⟹p=4nπ,n=1,2,3,…💡 Teacher Tip: Notice that the spatial eigenvalues pn=4nπ set both the spatial wave shape and the speed of temporal decay.
The spatial eigenfunctions are:
Xn(x)=sin(4nπx)The corresponding 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)💡 Teacher Tip: Never integrate when f(x) is already a sum of sine terms. Express the given arguments with common denominator l=4 to read off mode indices n=2 and n=4 directly.
Express the arguments of the given sine terms with denominator 4:
2πx=42πx⟹n=2 πx=44πx⟹n=4Rewrite the equation:
n=1∑∞Ansin(4nπx)=6sin(42πx)+3sin(44πx)Compare coefficients term by term:
For n=2:
For n=4:
For all other integers n:
Summing the non-zero terms gives the final temperature distribution:
u(x,t)=6sin(2πx)e−4π2t+3sin(πx)e−π2t| Year & Paper | Exam Marks | Heat PDE Notation | Domain & Initial Condition | Key Calculation Feature |
|---|---|---|---|---|
| 2024 Math 2217 · Q6(b) | 5 Marks | ut=uxx (c2=1) | l=4, u(x,0)=6sin(πx/2)+3sin(πx) | Mode match: n=2 (decay π2/4) and n=4 (decay π2) |
| 2017 Math 1217 · Q7(b) | 6 Marks | uxx=h2ut | General rod length, arbitrary boundary | Time ODE has T′/T=−p2/h2, decay e−p2t/h2 |
| Uniform Initial Profile | Practice | ut=c2uxx | u(x,0)=T0 constant | Odd Fourier series: An=nπ4T0 for odd n |
| Parabolic Initial Profile | Practice | ut=c2uxx | u(x,0)=x(l−x) | An=n3π38l2 for odd n; cubic decay of harmonics |
Problem: Solve the heat equation
∂x2∂2u=h2∂t∂uby the variable separable method.
Solution:
The given PDE is:
∂x2∂2u=h2∂t∂u(1)Assume a product solution:
u(x,t)=X(x)T(t)(2)Compute partial derivatives:
∂x2∂2u=X′′(x)T(t),∂t∂u=X(x)T′(t)Substitute into (1):
X′′(x)T(t)=h2X(x)T′(t)Divide by X(x)T(t):
X(x)X′′(x)=h2T(t)T′(t)=K(3)where K is the separation constant.
If K=0:
X′′(x)=0⟹X(x)=c1x+c2 T′(t)=0⟹T(t)=c3 u(x,t)=(c1x+c2)c3This represents time-independent steady conduction.
If K=p2>0 (p>0):
X′′(x)−p2X(x)=0⟹X(x)=c1epx+c2e−px h2T(t)T′(t)=p2⟹T(t)T′(t)=h2p2⟹T(t)=c3eh2p2t u(x,t)=(c1epx+c2e−px)c3eh2p2tAs t→∞, u(x,t)→∞. This solution violates thermal stability.
If K=−p2<0 (p>0):
X′′(x)+p2X(x)=0⟹X(x)=c1cospx+c2sinpx h2T(t)T′(t)=−p2⟹T(t)T′(t)=−h2p2Integrate 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. As t→∞, e−h2p2t→0, which correctly describes heat dissipation.
By the principle of superposition, the complete general solution is:
u(x,t)=n=1∑∞(Ancospnx+Bnsinpnx)e−h2pn2tProblem: A thin rod of length l has ends kept at zero temperature. The initial temperature is f(x)=x(l−x). Find the temperature distribution u(x,t) for t>0.
Solution:
The governing PDE is ∂t∂u=c2∂x2∂2u.
Boundary conditions: u(0,t)=0 and u(l,t)=0.
From the general Fourier sine solution:
u(x,t)=n=1∑∞Ansin(lnπx)e−l2n2π2c2twhere:
An=l2∫0lx(l−x)sin(lnπx)dxUse integration by parts:
Let u=lx−x2⟹u′=l−2x, and v′=sin(lnπx)⟹v=−nπlcos(lnπx).
∫0l(lx−x2)sin(lnπx)dx=[−(lx−x2)nπlcos(lnπx)]0l+nπl∫0l(l−2x)cos(lnπx)dxThe boundary bracket vanishes at both x=0 and x=l.
Now integrate the second integral by parts again:
=nπl([(l−2x)nπlsin(lnπx)]0l−∫0l(−2)nπlsin(lnπx)dx)The sine term vanishes at both limits:
=n2π22l2∫0lsin(lnπx)dx=n2π22l2[−nπlcos(lnπx)]0l =n3π32l3[1−cos(nπ)]=n3π32l3[1−(−1)n]Multiply by the prefactor l2:
An=l2⋅n3π32l3[1−(−1)n]=n3π34l2[1−(−1)n]Evaluating for even and odd n:
Substitute An into the series (let n=2m−1):
u(x,t)=π38l2m=1∑∞(2m−1)31sin(l(2m−1)πx)exp[−l2(2m−1)2π2c2t]← Previous: T-02.11b 1D Wave Equation (Vibrating String BVP) | 🏠 Index | Next: T-02.13 2D Laplace Equation (Steady-State BVP) →