MTH 440 · Partial Differential Equation
Our notes
2 min readThe problem
Temperature u(x, t) in a thin rod 0 < x < L with diffusivity k:
u_t = k u_xx, u(0, t) = u(L, t) = 0, u(x, 0) = f(x).
Solution
Separation gives X″ + λX = 0 with λₙ = (nπ/L)², Xₙ = sin(nπx/L), and T′ = −kλT, Tₙ = e^(−k(nπ/L)²t). So
u(x, t) = Σ bₙ e^(−k(nπ/L)²t) sin(nπx/L), with bₙ = (2/L)∫₀ᴸ f(x) sin(nπx/L) dx.
Worked example 1 (no integration needed)
L = π, k = 1, f(x) = 3 sin x − sin 3x. The initial data is already a sine series: b₁ = 3, b₃ = −1.
u = 3e^(−t) sin x − e^(−9t) sin 3x. Check: u_t = −3e^(−t) sin x + 9e^(−9t) sin 3x, and u_xx gives the same ✓; u(x, 0) = f(x) ✓; u = 0 at x = 0, π ✓.
The sin 3x part dies 9 times faster: high-frequency wrinkles smooth out first.
Worked example 2
Same rod, f(x) = 100 (whole rod at 100 °C, ends plunged into ice at 0 °C). From the half-range series, bₙ = 400/(nπ) for odd n:
u = (400/π)[e^(−t) sin x + (1/3)e^(−9t) sin 3x + ...].
At the centre after t = 1: the first term gives (400/π)e^(−1) = 127.32 × 0.3679 = 46.8; the next is (400/(3π))e^(−9) × sin(3π/2) = 42.44 × 0.000123 × (−1) = −0.005; so u ≈ 46.8 °C.
Insulated ends
uₓ(0, t) = uₓ(L, t) = 0 gives cosines: u = a₀/2 + Σ aₙ e^(−k(nπ/L)²t) cos(nπx/L). As t → ∞, u → a₀/2, the average initial temperature (heat cannot escape).
Ends at fixed non-zero temperatures
u(0, t) = T₁, u(L, t) = T₂. Write u = v(x) + w(x, t), where the steady state v = T₁ + (T₂ − T₁)x/L satisfies v″ = 0 and the end conditions; then w satisfies the zero-end problem with initial data f(x) − v(x).
Example. L = 1, T₁ = 0, T₂ = 100: v = 100x, and the rod settles to a straight-line temperature profile.
Exams usually ask: derive the series solution for zero ends; solve for given f; handle insulated ends; find the steady state for non-zero ends; interpret the decay of terms.
Common mistake: applying the series to non-zero end temperatures directly. Subtract the steady state first, so the remaining problem has zero ends.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Differential Equations - Solving the Heat Equation
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Lebl, Notes on Diffy Qs, 4.6 PDEs, separation of variables, and the heat equation
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
-
Differential Equations - The Heat Equation
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Heat equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Heat equation, CC BY-SA 4.0 · licence
-
Lebl, Notes on Diffy Qs: Differential Equations for Engineers
A whole free textbook: read online or download the PDF (about 4 MB). Every MTH 340 topic, with exercises and answers.
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
Watch
-
Solving the heat equation | DE3
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Heat Equation
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Heat equation: Separation of variables
47 min · ≈ 212 MB · about ₦119
(opens youtube.com in a new tab)
-
Heat equation + Fourier series + separation of variables
42 min · ≈ 189 MB · about ₦106
(opens youtube.com in a new tab)
-
Heat equation: insulated ends
36 min · ≈ 162 MB · about ₦91
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.