Heat Equation on a Finite Rod
What you'll learn: You'll solve a complete initial boundary value problem for heat flow in a rod with fixed temperatures at both ends.
The Complete Problem
By now you've learned all the pieces—separation of variables, eigenvalue problems, series solutions, and fitting initial conditions. Now we put them together to solve a real physical problem from start to finish.
Consider a metal rod of length L with:
- Boundary conditions: Both ends held at zero temperature: u(0,t) = 0 and u(L,t) = 0
- Initial condition: A given temperature distribution at t = 0: u(x,0) = f(x)
- Governing PDE: The heat equation ∂u/∂t = k ∂²u/∂x²
The Solution Process
Step 1: Separation of variables gives X(x)T(t) forms, leading to two ODEs.
Step 2: The boundary conditions yield an eigenvalue problem for X(x), producing eigenvalues λₙ = (nπ/L)² and eigenfunctions sin(nπx/L).
Step 3: The corresponding time solutions are exponential decays: Tₙ(t) = exp(−kλₙt).
Step 4: By superposition, the general solution is:
u(x,t) = Σ bₙ sin(nπx/L) exp(−k(nπ/L)²t)
Step 5: Apply the initial condition at t = 0 to find coefficients bₙ using Fourier sine series:
bₙ = (2/L) ∫₀ᴸ f(x) sin(nπx/L) dx
Each term decays exponentially; higher frequencies (larger n) decay faster. The rod smooths out toward zero temperature as t → ∞.
Key Takeaway: Solving the heat equation on a finite rod combines separation of variables, eigenvalue problems, Fourier series, and initial conditions into one unified solution that describes how temperature evolves over time—each mode decays exponentially at a rate proportional to its spatial frequency squared.