MTH 440 · Partial Differential Equation
Our notes
2 min readWhere it arises
Steady temperature (u_t = 0 in the heat equation), electrostatic potential, potential flow of an ideal fluid, seepage under a dam. Solutions are called harmonic functions.
Rectangle
0 < x < a, 0 < y < b, with u = 0 on x = 0, x = a and y = 0, and u(x, b) = f(x). Separation with the sides x = 0, a giving sines:
u = Σ cₙ sin(nπx/a) sinh(nπy/a), where cₙ sinh(nπb/a) = (2/a)∫₀ᵃ f(x) sin(nπx/a) dx.
(Sinh is chosen in y because it vanishes at y = 0.)
Worked example. a = b = π, f(x) = sin x: only n = 1, c₁ sinh π = 1, so u = sin x sinh y / sinh π. Check: u_xx = −u and u_yy = +u, so u_xx + u_yy = 0 ✓; u(x, π) = sin x ✓; u = 0 on the other three sides ✓.
If several sides carry non-zero data, solve one problem per side and add them (superposition).
Disc (polar coordinates)
u_rr + (1/r)u_r + (1/r²)u_θθ = 0. Bounded solutions inside a disc are
u = a₀/2 + Σ rⁿ(aₙ cos nθ + bₙ sin nθ), with aₙ, bₙ from the Fourier series of the boundary values (radius 1).
Worked example. u(1, θ) = 1 + cos 2θ: u = 1 + r² cos 2θ. In Cartesian form r² cos 2θ = x² − y², so u = 1 + x² − y², and u_xx + u_yy = 2 − 2 = 0 ✓.
Properties of harmonic functions
- Mean value property: the value at the centre of any circle equals the average over the circle. Above, the average of 1 + cos 2θ is 1 = u(0) ✓.
- Maximum principle: a non-constant harmonic function takes its maximum and minimum on the boundary, never inside (a steady temperature cannot have a hot spot inside without a source).
- Uniqueness: the Dirichlet problem (u given on the boundary) has at most one solution.
- Neumann problems (normal derivative given) need the total flux through the boundary to be zero, and the solution is fixed only up to a constant.
Exams usually ask: solve Laplace's equation in a rectangle with one non-zero side; solve inside a disc; state and use the mean value and maximum principles.
Common mistake: using sin and cos in both variables. In the direction of the non-zero data the solution grows or decays, so it uses sinh and cosh (or exponentials).
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Differential Equations - Laplace's 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.9 Steady state temperature and the Laplacian
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
-
Lebl, Notes on Diffy Qs, 4.10 Dirichlet problem in the circle and the Poisson kernel
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
-
Laplace's equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Laplace's 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
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.