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

Separation of Variables for Partial Differential Equations

Graduate Depth 110 in the knowledge graph ☐ I know this ☆ Set as goal
4,261topics build on this
480prerequisites 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.

How It's Best Learned

Solve u_t = u_xx on [0, π] with u(0, t) = u(π, t) = 0 and u(x, 0) = 3 sin x + 5 sin 4x. The eigenfunctions are sin(nx) with λₙ = n², so the answer is u = 3e−t sin x + 5e−16t sin 4x with no integrals needed. Check that λ ≤ 0 gives only X = 0, then repeat with a general f(x) that requires a Fourier series.

Common Misconceptions

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 → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → 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 → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → 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 → Variation of Parameters Method → Higher-Order Linear Differential Equations → Systems of First-Order Linear Differential Equations → Separation of Variables for Partial Differential Equations

Longest path: 111 steps · 480 total prerequisite topics

Prerequisites (2)

Leads To (5)