UNIHIVE

Study Hub UNIPORT MTH 440

MTH 440 · Partial Differential Equation

The method of separation of variables

Assuming a product solution, separating into ODEs, the separation constant, applying conditions, and superposition.

Our notes

2 min read

The method

  1. Assume u(x, y) = X(x) Y(y).
  2. Substitute and divide by XY so that each side depends on one variable only.
  3. Both sides must equal the same separation constant (call it −λ or k).
  4. Solve the two ODEs.
  5. Apply the homogeneous boundary conditions to find allowed λ (eigenvalues).
  6. 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

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.