Step 1 — Separation guess.
Maano u(x,t)=X(x)T(t) (space-part times time-part).
Yeh step kyun? Agar yeh kaam kare, toh derivatives nicely split ho jaate hain; try karke hum kuch nahi kho rahe — agar is form ka koi solution exist nahi karta, toh hum khud jaanenge.
Step 2 — Variables ko separate karo.α2XT se divide karo:
α2TT′=XX′′.Yeh step kyun? Ab left side sirf t par depend karti hai, right side sirf x par. Ek function of t ka ek function of x ke barabar hone ka ek hi tarika hai sabhi x,t ke liye — dono same constant ke barabar hon. Ise −λ bolte hain.
Minus sign kyun? Foresight: hume time mein decaying solutions chahiye, jiske liye −λ with λ>0 chahiye. Hum baaki sign cases verify karenge ki woh fail karte hain.
XX′′=−λ,α2TT′=−λ.
Step 3 — Space ODE solve karo (ek eigenvalue problem).X′′+λX=0,X(0)=0,X(L)=0.Yeh BCs kyun? Kyunki u(0,t)=X(0)T(t)=0 sabhi t ke liye, aur T≡0 (warna trivial), toh X(0)=0 chahiye. Usi tarah L par.
λ ka sign test karo (Forecast-then-Verify):
λ<0, maano λ=−μ2:X=Aeμx+Be−μx. BCs force karte hain A=B=0. Sirf trivial. ✗
Step 4 — Time ODE solve karo.T′=−λα2T⇒Tn(t)=e−λnα2t=e−α2(nπ/L)2t.Yeh step kyun? Yeh first-order linear hai; iska solution pure exponential decay hai — exactly woh "fading knob."
Step 5 — Product solutions banao aur superpose karo.
Har un=sinLnπxe−α2(nπ/L)2t PDE + BCs solve karta hai. Equation linear aur homogeneous hai, toh solutions ke sums bhi solutions hain:
u(x,t)=n=1∑∞BnsinLnπxe−α2(nπ/L)2t
Step 6 — Initial condition fit karo Fourier coefficients se.t=0 par exponentials 1 hain:
f(x)=∑n=1∞BnsinLnπx.
Yeh ek Fourier sine series hai. sinLmπx se multiply karo, 0 se L tak integrate karo, orthogonality use karo ∫0LsinLnπxsinLmπxdx=2Lδnm:
Bn=L2∫0Lf(x)sinLnπxdx
Recall Feynman: 12-saal ke bachche ko explain karo
Socho ek metal ki stick jo beech mein hot hai aur ends par cold hai, jise tum ice mein duba ke rakho taaki ends 0° par rahen. Heat hamesha hot spots se cold spots ki taraf creep karti hai, toh hot middle slowly cool hoti hai aur spread out hoti hai. Hum pretend karte hain ki temperature pattern simple "wave shapes" (humps) se bani hai. Har hump apne timer par fade hota hai — skinny humps (bahut saare wiggles wale) super fast fade hote hain, fat humps slowly fade hote hain. Future predict karne ke liye tum sirf har hump ko uske apne timer par fade hone dete ho aur unhe wapas add kar dete ho. Lamba time baad sirf sabse bada mota hump bachta hai, aur phir woh bhi disappear ho jaata hai. Cold stick. Done.