4.7.9 · D5Partial Differential Equations
Question bank — Solving heat equation — separation of variables
The machinery being probed: the guess , the separation constant , the sine eigenfunctions from Sturm-Liouville Theory, the Fourier Series fit, and the Superposition Principle that glues modes together.
True or false — justify
The claim "separation of variables always works for any PDE with any " is true.
False — it needs a linear, homogeneous PDE with homogeneous boundary conditions so that superposition can rebuild any ; a nonlinear equation or nonzero () BC breaks the method as stated.
Every solution of must have the product form .
False — the building blocks have that form, but the actual solution is a sum , which is generally not a single product. Separation finds a basis, not the whole answer.
The separation constant could just as well be written with and give the same physics.
False — forces in space (can't hit two zero ends) and in time, which grows without bound. Zero BCs plus physical decay force , .
is a valid eigenvalue for the Dirichlet rod.
False — gives ; both zero BCs force , only the trivial solution. It contributes nothing, so it is excluded.
Higher-frequency modes ( large) decay faster than lower ones.
True — the decay rate is , so wiggly modes are crushed exponentially quicker; this is why heat smooths sharp features first.
If the ends were insulated () instead of frozen, the eigenfunctions would still be sines.
False — Neumann (insulated) BCs select cosines and add an constant term; see Boundary Conditions — Dirichlet vs Neumann. Always match the eigenfunction to the BC.
Doubling the diffusivity changes the shape of the eigenfunctions.
False — appears only in the time factor , so it changes how fast modes fade, not the spatial sine shapes.
The steady-state () of this problem is a non-trivial temperature profile.
False — with both ends at and no source, every mode , so everywhere. The rod ends up uniformly cold.
Spot the error
", so ." — find the mistake.
differentiates in time only: (the space factor is a constant with respect to ). Similarly . Differentiating both factors at once is the error.
"After dividing, — since both sides are equal, they're each some function of and ." — where's the flaw?
Wrong conclusion: the left depends only on , the right only on ; equality for all forces both to be the same constant, not a function. That constant is the whole point.
" because we're told , so , so ." — what's wrong?
If the solution is trivially zero everywhere. To keep a nontrivial solution we instead demand the other factor vanish: .
" so , giving " — is allowed?
No — gives , the trivial eigenfunction. We start at . (Negative just repeat the same sines up to sign, so they add nothing new.)
"Fit with a full Fourier series ." — why is that wrong here?
Cosines (and the constant) are nonzero at , violating . Dirichlet zero BCs select a pure sine series only.
"." — what's missing?
The normalizing factor . Since , orthogonality gives . Forgetting it scales every coefficient wrong.
"Since each solves the PDE, their sum solves it only if we're lucky." — correct the reasoning.
Not luck — the equation is linear and homogeneous, so by the Superposition Principle any (even infinite) sum of solutions is automatically a solution. That's why we're allowed to superpose.
Why questions
Why do we guess instead of deriving it?
Because it's an ansatz (trial form): if it produces solutions we lose nothing, and if no product solution existed we'd discover that when the algebra failed. It's a licensed gamble that pays off for linear PDEs.
Why does splitting one hard PDE into two ODEs count as progress?
ODEs in a single variable are solvable with standard techniques (characteristic roots, integrating factors); the PDE mixed and derivatives inseparably. Separation trades one hard problem for two easy ones.
Why must the space problem be an eigenvalue problem rather than a plain ODE?
The zero BCs at both ends over-constrain ; only special values (the eigenvalues) admit nonzero solutions. This is exactly the setup of Sturm-Liouville Theory.
Why does the initial condition get handled last?
Because it's the only non-homogeneous condition. We first build all solutions satisfying the PDE and zero BCs, then choose the coefficients to match — the last free knobs.
Why does the long-time profile always approach a half-sine bump?
Every mode decays times faster than , so after enough time only the term survives meaningfully — a universal shape independent of the starting .
Why does a flat initial profile ( const) excite only odd modes?
A constant is symmetric about the rod's midpoint; the even sines are antisymmetric there, so their projection integrals vanish. Only odd sines share the symmetry.
Why is the same used both as eigenfunction and as the Fourier Series basis?
Because the eigenfunctions of a self-adjoint boundary problem are orthogonal and complete — they double as the basis in which we expand any . Sturm-Liouville guarantees this.
Edge cases
What happens if is already a single sine, say ?
No integral needed — read off , all others , and attach its decay: . A single mode evolves alone.
What if is discontinuous or has a corner (e.g. a step)?
The sine series still converges (in the mean) and the solution is valid for ; the diffusion instantly smooths the discontinuity because high- modes are damped, so becomes smooth immediately after .
What is predicted by the series exactly at the endpoints if ?
The sine series is pinned to at , so it can only converge to there regardless of ; if you get a jump (Gibbs) at the ends — a sign the IC is incompatible with the BCs.
What if the initial condition is ?
Every , so for all time — the trivial solution, and correctly so: a rod starting cold with cold ends never heats.
As (a perfect insulator), what does the solution do?
The time factors , so frozen in time — no heat conducts, the profile never changes. The math matches the physics.
What if (very long rod)?
The eigenvalue spacing , the discrete sum becomes an integral, and the sine series turns into a sine transform — the same idea, continuum version, for an unbounded rod.
Recall One-line self-test
Ends frozen at 0, no source, wiggly start — after a long time the rod looks like... ::: a single half-sine hump , fading to cold.
Related equations that reuse this exact machinery: Wave Equation (second time derivative → oscillating not decaying time factor) and Laplace Equation (steady state, no time at all).