A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Separation of Variables for Partial Differential Equations

Graduate Depth 99 in the knowledge graph ☐ I know this ☆ Set as goal
4,192topics build on this
467prerequisites beneath it
See this on the map →
The Heat Equation and Diffusion ProblemsSystems of First-Order Linear Differential Equations→→Eigenfunction Expansions and Sturm-Liouville TheoryFourier Transform Methods for PDEs+3 more
separation-variables pde method

Core Idea

Separation of variables assumes u(x,t) = X(x)T(t) as a product. Substituting into a PDE yields an equation where one side depends only on x and the other only on t; both must equal a constant. This reduces the PDE into ODEs for X and T solvable separately. Superposing solutions for multiple separation constants yields the general solution.

Explainer

A partial differential equation involves a function u of two or more variables and its partial derivatives. Unlike an ODE, you cannot just integrate both sides — the solution is a function of multiple variables, and any arbitrary function of the "other" variable could appear. The separation of variables method cuts through this complexity with a single bold assumption: suppose the solution happens to be a product, u(x, t) = X(x) · T(t), where X depends only on x and T depends only on t. This assumption is almost certainly not true for the general solution, but it is a productive lie — solutions of this product form are easy to find, and superposing many of them reconstructs the general solution.

To see the mechanism, apply the method to the heat equation u_t = κ u_{xx}. Substituting u = XT gives X T' = κ X'' T. Dividing both sides by κXT yields T'/(κT) = X''/X. The left side depends only on t; the right side depends only on x. Since x and t are independent variables, the only way a function of t alone can equal a function of x alone for all x and t is if both sides equal the same constant, say −λ. This produces two ODEs: T' = −κλT and X'' = −λX. Both are ODEs you already know how to solve — the first is exponential decay (T = e−κλt), the second depends on the sign of λ. For λ > 0, X is sinusoidal; for λ < 0, X is exponential; for λ = 0, X is linear.

Boundary conditions on the spatial variable x determine which values of λ are allowed — these are the eigenvalues of the problem. For example, on a rod with endpoints held at zero temperature (X(0) = 0, X(L) = 0), the condition X(0) = 0 forces the solution to be X = sin(nπx/L), and X(L) = 0 then requires λ = (nπ/L)² for positive integers n. Each eigenvalue λₙ gives one separated solution uₙ(x, t) = sin(nπx/L) · e−κ(nπ/L)²t. This is where your ODE systems background connects: the structure is analogous to finding the eigenvalues and eigenvectors of a matrix, but in function space.

The full solution is assembled by superposition: u(x, t) = Σ bₙ sin(nπx/L) e−κ(nπ/L)²t. The coefficients bₙ are determined by the initial condition u(x, 0) = f(x), which requires expanding f(x) as a sum of sin functions — a Fourier sine series. This is why separation of variables and Fourier analysis are inseparable: the method generates the basis functions (the sin(nπx/L) terms), and Fourier theory tells you how to represent an arbitrary initial condition in that basis. The time dependence then comes along for free — each Fourier mode decays at its own rate, with higher spatial frequencies dying out faster.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Fundamental Theorem of Calculus Part 1 → Fundamental Theorem of Calculus Part 2 → U-Substitution → Separable Equations (Intro) → Separable Differential Equations → Integrating Factor Method for First-Order Linear ODEs → First-Order Linear Ordinary Differential Equations → Second-Order Linear Homogeneous Differential Equations → Characteristic Equation Method for Linear ODEs → Repeated Roots and Reduction of Order → Wronskian and Linear Independence → Method of Undetermined Coefficients → Higher-Order Linear Differential Equations → Systems of First-Order Linear Differential Equations → Separation of Variables for Partial Differential Equations

Longest path: 100 steps · 467 total prerequisite topics

Prerequisites (2)

Leads To (5)