Skip to main content
Mathematics LibreTexts

5.1: Cookbook

  • Page ID
    8350
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Let me start with a recipe that describes the approach to separation of variables, as exemplified in the following sections, and in later chapters. Try to trace the steps for all the examples you encounter in this course.

    1. Take care that the boundaries are naturally described in your variables (i.e., at the boundary one of the coordinates is constant)!
    2. Write the unknown function as a product of functions in each variable.
    3. Divide by the function, so as to have a ratio of functions in one variable equal to a ratio of functions in the other variable.
    4. Since these two are equal they must both equal to a constant.
    5. Separate the boundary and initial conditions. Those that are zero can be re-expressed as conditions on one of the unknown functions.
    6. Solve the equation for that function where most boundary information is known.
    7. This usually determines a discrete set of separation parameters.
    8. Solve the remaining equation for each parameter.
    9. Use the superposition principle (true for homogeneous and linear equations) to add all these solutions with an unknown constants multiplying each of the solutions.
    10. Determine the constants from the remaining boundary and initial conditions.

    This page titled 5.1: Cookbook is shared under a CC BY-NC-SA 2.0 license and was authored, remixed, and/or curated by Niels Walet via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.