maths.free › Partial Differential Equations › Separation of variables
Separation of variables
Product solutions, the eigenvalue problem X'' + λX = 0, and building the general solution by superposition.
Look for solutions of \( u_t = k\,u_{xx} \) on \( 0 < x < L \) with \( u(0,t) = u(L,t) = 0 \) in the form \( u = X(x)\,T(t) \). Substituting and dividing by \( kXT \) gives \[ \frac{T'(t)}{k\,T(t)} = \frac{X''(x)}{X(x)}. \] The left side depends only on \( t \), the right only on \( x \), so both equal a constant, written \( -\lambda \). The PDE splits into two ODEs: \( T' = -k\lambda T \) and the boundary value problem \( X'' + \lambda X = 0 \), \( X(0) = X(L) = 0 \).
The boundary value problem has a non-zero solution only for special \( \lambda \), the eigenvalues. Multiply \( X'' + \lambda X = 0 \) by \( X \) and integrate by parts: \( \lambda\int_0^L X^2\,dx = \int_0^L X'^2\,dx \), so \( \lambda \ge 0 \), and \( \lambda = 0 \) forces \( X \) constant, hence zero. For \( \lambda = \mu^2 > 0 \) the solutions are \( A\cos\mu x + B\sin\mu x \) (the example solves the case \( \mu = 3 \)); \( X(0) = 0 \) kills \( A \), and \( X(L) = 0 \) needs \( \sin\mu L = 0 \). So \[ \lambda_n = \Big(\frac{n\pi}{L}\Big)^2, \quad X_n = \sin\frac{n\pi x}{L}, \quad T_n = e^{-k\lambda_n t}, \quad n = 1, 2, 3, \dots \]
Each product \( X_nT_n \) solves the problem, and because the equation and boundary conditions are linear and homogeneous so does any sum \( \sum b_n e^{-k\lambda_n t}\sin(n\pi x/L) \). To match an initial temperature \( f \) we need \( f(x) = \sum b_n \sin(n\pi x/L) \): an expansion of \( f \) in sines, which is the next lesson.
Picture it: the modes are fixed shapes (one hump, two humps, three) each fading at its own rate. The \( n \)-th decays like \( e^{-kn^2\pi^2 t/L^2} \), so wiggly modes vanish first and the rod soon looks like a single fading hump.
Think it: \( -d^2/dx^2 \) with these boundary conditions is a symmetric operator, \( \int X''Y = \int XY'' \), with positive eigenvalues, and its eigenfunctions are orthogonal. Separation of variables is diagonalisation: in the eigenbasis the PDE becomes independent scalar ODEs, one per mode, exactly as \( \dot{\mathbf v} = -A\mathbf v \) decouples when \( A \) is a symmetric matrix.
ምሳሌ · y'' + 9y = 0
Y'' + 9y = 0
እርምጃ በደረጃ
- 9 y{\left(x \right)} + \frac{d^{2}}{d x^{2}} y{\left(x \right)} = 0
The differential equation.
- \text{order } 2
Order 2: the highest derivative present.
- \text{Constant coefficients, homogeneous}
Try y = e^{rx}: the characteristic polynomial in r gives the roots, and each root contributes a term to the general solution.
- r^{2} + 9 = 0
Characteristic equation of the homogeneous part (substitute y = e^{rx}).
- r = - 3 i,\ r = 3 i
Its roots.
- y{\left(x \right)} = C_{1} \sin{\left(3 x \right)} + C_{2} \cos{\left(3 x \right)}
General solution (C₁, C₂ … are arbitrary constants).
- \checkmark
Verified: substituting the solution back into the equation gives 0.
መልሱን አሳይ
አሁን ችግርን ይምረጡ፣ ወይም ጻፉ ወይም በራሳችሁ ቅርጽ አቅርቡ። እርምጃው ሁሉ፣ ምስል፣ መልሱ እስከምትጠይቅ ድረስ የተደበቀ ነው።
ፊደላት
ለሙሉ መግለጫ፣ ምስል፣ እና በውስጡ ያለውን ፊደል ትርጓሜ ለማየት ማንኛውንም ምልክት ይጫኑ።
እንዴት: Separation of variables
- Substitute u = X(x) T(t) and divide to put all x-dependence on one side.
- Set both sides equal to a separation constant -λ.
- Solve the spatial boundary value problem: find every λ with a non-zero solution.
- Solve the time ODE for each eigenvalue.
- Superpose the product solutions and fix the coefficients from the initial data.
ጥያቄዎች
Why is the constant written as -λ?
Only so the eigenvalues come out positive. With a different sign convention the same solutions appear with λ negative.
When does separation of variables work?
For linear homogeneous equations on domains that are rectangles, discs, balls or other coordinate boxes, where the boundary conditions split variable by variable. Inhomogeneous terms are handled by subtracting a steady state or expanding the source in the same eigenfunctions.
What should I know before starting?
Partial derivatives, the divergence theorem and multiple integrals from multivariable calculus; linear second-order ODEs; eigenvalues from linear algebra; and enough analysis to be comfortable with uniform convergence and integrals over infinite intervals.
Why are there so few formulas for solutions?
Explicit solutions exist for linear equations with constant coefficients on simple domains. Almost everything else (curved domains, variable coefficients, nonlinear terms) has none, so the modern subject proves that a solution exists and estimates its size and smoothness without ever writing it down.
How does this course lead to the Navier-Stokes problem?
The Navier-Stokes equations are a heat equation for the velocity with a transport term and a pressure that is found from a Poisson equation. Reading the Millennium problem needs energy estimates, weak solutions, Sobolev spaces, local existence with a blow-up criterion, and the scaling argument that explains why three dimensions is hard. The last six lessons build those.
What do elliptic, parabolic and hyperbolic mean?
Elliptic equations (Laplace) describe equilibrium and smooth everything; parabolic equations (heat) describe diffusion forward in time; hyperbolic equations (waves) carry signals at finite speed and keep their sharp edges. The type decides which data make a sensible problem.
በ Partial Differential Equations
What a PDE is, and how to classify oneFirst-order linear equations and characteristicsNonlinear first-order equations and shocksThe heat equation: where it comes fromFourier series: coefficients, convergence and ParsevalThe heat equation on an intervalThe wave equation and d'Alembert's formulaThe vibrating string: modes and energyLaplace's equation and harmonic functionsMaximum principles and uniquenessGreen's functions and the fundamental solutionThe Fourier transform and the heat kernelEnergy methods: uniqueness, stability and decayDistributions and weak derivatives