maths.freePartial 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

ステップバイステップ

  1. 9 y{\left(x \right)} + \frac{d^{2}}{d x^{2}} y{\left(x \right)} = 0

    The differential equation.

  2. \text{order } 2

    Order 2: the highest derivative present.

  3. \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.

  4. r^{2} + 9 = 0

    Characteristic equation of the homogeneous part (substitute y = e^{rx}).

  5. r = - 3 i,\ r = 3 i

    Its roots.

  6. 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).

  7. \checkmark

    Verified: substituting the solution back into the equation gives 0.

答えを表示
y{\left(x \right)} = C_{1} \sin{\left(3 x \right)} + C_{2} \cos{\left(3 x \right)}

今度はあなたの番 問題を選択し、タイプしたり描いたりしてください。 すべてのステップは絵で、答えはあなたが尋ねるまで隠されています。

自分の解答を記録しよう

無料アカウントでは、すべてのレッスンにノートを追加し、完成したことの記録、解いた問題を一つの場所に保存し、このページについて質問できる先生を追加します。数学自体はログインしたかどうかに関係なく誰でも利用できます。

登録 ログイン

ここで使用された記号

どの記号をタップしても、定義、画像、それぞれの文字の意味が表示されます。

どうやって: Separation of variables

  1. Substitute u = X(x) T(t) and divide to put all x-dependence on one side.
  2. Set both sides equal to a separation constant -λ.
  3. Solve the spatial boundary value problem: find every λ with a non-zero solution.
  4. Solve the time ODE for each eigenvalue.
  5. 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.

More in Partial Differential Equations