MTH 440 · Partial Differential Equation
Our notes
2 min readThe method
- Assume u(x, y) = X(x) Y(y).
- Substitute and divide by XY so that each side depends on one variable only.
- Both sides must equal the same separation constant (call it −λ or k).
- Solve the two ODEs.
- Apply the homogeneous boundary conditions to find allowed λ (eigenvalues).
- Superpose all the product solutions and use the remaining condition (initial or boundary) to find the coefficients, usually by Fourier series.
Worked example (first order, a classic exam question)
uₓ = 4u_y, u(0, y) = 8e^(−3y).
- u = XY gives X′Y = 4XY′, so X′/(4X) = Y′/Y = k.
- X = A e^(4kx), Y = B e^(ky), so u = C e^(k(4x + y)).
- At x = 0: C e^(ky) = 8e^(−3y), so C = 8 and k = −3.
- u = 8e^(−12x − 3y). Check: uₓ = −96e^(...), 4u_y = 4(−24)e^(...) = −96e^(...) ✓.
Choosing the sign of the constant
For X″ + λX = 0 with X(0) = X(L) = 0:
- λ < 0: X = A cosh + B sinh, forced to zero by the conditions.
- λ = 0: X = A + Bx, forced to zero.
- λ > 0: X = A cos(√λ x) + B sin(√λ x); X(0) = 0 gives A = 0, X(L) = 0 needs sin(√λ L) = 0, so λₙ = (nπ/L)², Xₙ = sin(nπx/L).
Always test all three cases unless the physics makes the sign clear.
When separation works
The PDE must be linear and homogeneous (or made so), and the region must suit the coordinates (rectangles in x, y; discs in polar coordinates), with homogeneous conditions on the sides used for the eigenvalue problem.
Exams usually ask: solve a first-order PDE by separation; derive the eigenvalues and eigenfunctions of X″ + λX = 0 with given end conditions; set up the separated ODEs for the heat, wave or Laplace equation.
Common mistake: applying the non-homogeneous condition (such as u(x, 0) = f(x)) to each product solution. Apply it only to the full superposed series.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Differential Equations - Separation of Variables
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
-
Separation of variables
(opens en.wikipedia.org in a new tab)
Wikipedia, Separation of variables, CC BY-SA 4.0 · licence
Watch
-
The Diffusion Equation Part 1: Separation of Variables
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
But what is a partial differential equation? | DE2
18 min · ≈ 81 MB · about ₦45
(opens youtube.com in a new tab)
-
PDE 101: Separation of Variables! ...or how I learned to stop worrying and solve Laplace's equation
50 min · ≈ 225 MB · about ₦126
(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)
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.