Separation of Variables: Product Modes and Boundary Conditions

Separation of variables begins with a trial product, such as u(x,t)=X(x)T(t) for a linear homogeneous heat problem. Substitution and division by XT, where nonzero, separates an equation in x from one in t. Since the variables vary independently, both expressions equal a common separation constant.


Boundary conditions select allowable spatial functions. For zero values at both ends of an interval, the spatial equation produces sine modes and a discrete set of eigenvalues.


The time factors then decay at rates tied to those eigenvalues for the heat equation. The product ansatz finds one mode; a superposition is usually needed to fit an initial profile.


Orthogonality is the mechanism for matching the initial condition: coefficients are projections onto the admissible spatial modes. This lesson develops the workflow but does not replace a full treatment of Sturm-Liouville theory or every equation-specific boundary-value method.

For the heat equation ut=κuxx, substitute u(x,t)=X(x)T(t) and divide by κXT. Which separated equation is correct?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

For zero-end conditions X(0)=X(L)=0 with X''+λX=0, list the admissible nonzero spatial modes and eigenvalues.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

For ut=κuxx and the nth zero-end sine mode, write the time factor Tn(t) after separation with λn=(nπ/L)2.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors