UNIHIVE

Study Hub UNIPORT MTH 440

MTH 440 · Partial Differential Equation

The heat equation

Solving u_t = k u_xx on a finite rod by separation, ends at zero, insulated ends, non-zero end temperatures and steady states, with examples.

Our notes

2 min read

The 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

Watch

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.

All MTH 440 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.