Heat equation
Objective. Solve and interpret diffusion models.
- 1. Learn
- 2. Worked example
- 3. Practice
- 4. Feedback
- 5. Continue
Learn: the key idea
The heat equation uₜ = αuₓₓ models how temperature or concentration diffuses over time, smoothing out spatial variations, with α the diffusivity controlling the rate. Solving on a finite rod with fixed-zero ends via separation of variables gives solutions uₙ(x,t) = sin(nπx/L)e^(−α(nπ/L)²t), each mode decaying exponentially faster for higher n, so sharp features smooth out quickest. Example: an initial sine profile sin(πx/L) decays as e^(−α(π/L)²t) while preserving its shape, illustrating that diffusion damps amplitude without changing the spatial pattern of a single mode. General initial data is expanded as a Fourier sine series, each term decaying independently.
Worked example
Solve the heat equation uₜ = 4uₓₓ on 0<x<π with u(0,t)=u(π,t)=0 and initial condition u(x,0) = 3sin(2x). Find u(x,t).
- 1Match initial data to a single eigenfunction: sin(2x) corresponds to n=2 on [0,π]
- 2Eigenvalue for mode n is λₙ = n², so λ₂ = 4
- 3Time decay factor is e^(−αλₙt) = e^(−4·4·t) = e^(−16t)
- 4Combine with amplitude 3: u(x,t) = 3sin(2x)e^(−16t)
Answer: u(x,t) = 3sin(2x)e^(−16t)
Concept mastery
Based on your past attempts at this lesson — the question types to practise again come first.
Complete a practice set to see your concept breakdown here.
Practice
Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.
Start practisingCommon mistake. Students expect heat-equation solutions to oscillate in time like wave solutions; because the time dependence is e^(−λt), not sinusoidal, modes only decay, never oscillate.
Your progress
Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.
0 of 5 steps complete
Your place saves automatically as you read.