# 分离变量法

分离变量法是一种求解微分方程的技术，其做法是将解写成单变量函数之积，或此类乘积的叠加，从而使一个偏微分方程（PDE）分解为若干可以独立求解的常微分方程（ODE）。<sup>[1](https://math.mit.edu/~stevenj/18.303/separation.pdf)</sup> 它适用于具有线性齐次边界条件的线性齐次偏微分方程，能将含 \( n \) 个变量的一个偏微分方程分解为 \( n \) 个常微分方程。<sup>[2](http://web.eng.ucsd.edu/~sgls/MAE105_2015/ReviewNotes.pdf)</sup> 专家将其描述为已知最强的工具，用于获得数学物理中偏微分方程的显式解。<sup>[3](https://iopscience.iop.org/book/mono/978-0-7503-1314-8)</sup> 成功运用此方法需要合适的坐标系，而对于某些给定方程，可能根本无法实现。<sup>[4](https://mathworld.wolfram.com/SeparationofVariables.html)

| 关键事实 | 详情 |
|---|---|
| 方法的输出 | 乘积解 \( u = X(x)T(t) \) 及其叠加；一个偏微分方程变为 \( n \) 个常微分方程<sup>[2](http://web.eng.ucsd.edu/~sgls/MAE105_2015/ReviewNotes.pdf)</sup> |
| 适用性 | 在匹配区域的坐标系中，具有齐次边界条件的线性齐次偏微分方程<sup>[2](http://web.eng.ucsd.edu/~sgls/MAE105_2015/ReviewNotes.pdf)</sup><sup> • </sup><sup>[4](https://mathworld.wolfram.com/SeparationofVariables.html) |
| 典型特征值 | Dirichlet 区间 \( [0,L] \)：\( \lambda_n = n^{2}\pi^{2}/L^{2} \)，特征函数 \( \sin(n\pi x/L) \)<sup>[4](https://web.uvic.ca/~tbazett/diffyqsold/heateq_section.html)</sup> |
| 坐标系 | Helmholtz 方程恰好在十一种三维坐标系中可分离<sup>[5](https://www.johndcook.com/separable_helmholtz.pdf)</sup> |
| 稀有性 | 在两个变量的二阶线性偏微分方程中，仅有极小比例是弱可分离的<sup>[6](https://ntrs.nasa.gov/api/citations/19700020429/downloads/19700020429.pdf)</sup> |
| 现代复用 | SepONet：训练速度最高提升 112 倍，GPU 内存占用仅为 PI-DeepONet 的 1/82<sup>[7](https://arxiv.org/pdf/2407.11253)</sup>；SPIKANs：比 PIKANs 加速 8 至 287 倍<sup>[8](https://iopscience.iop.org/article/10.1088/2632-2153/ae05af)</sup> |

## 工作原理

该方法假设一个乘积拟设（即假设的解的试探形式），例如 \( u(x,t) = X(x)T(t) \)，并将其代入偏微分方程。关键的代数步骤是用乘积 \( u \) 除方程，使得不同变量的函数之和等于一个常数；由于等式一侧仅依赖于 \( t \)，另一侧仅依赖于 \( x \)，且该恒等式对所有 \( x \) 和 \( t \) 成立，因此每一侧都必须等于一个常数，即分离常数。<sup>[1](https://math.mit.edu/~stevenj/18.303/separation.pdf)</sup><sup> • </sup><sup>[9](https://www.math.utoronto.ca/courses/apm346h1/20169/PDE-textbook/Chapter4/S4.1.html)</sup> 在一般形式下，若一个偏微分方程可写为 \( Lu = Mu - Nu = 0 \)，则当存在常数 \( \lambda \) 使得 \( Mv + \lambda \cdot v = 0 \) 且 \( Nw + \lambda \cdot w = 0 \) 时，它容许乘积解 \( u(x,y) = v(x)w(y) \)。<sup>[10](https://encyclopediaofmath.org/wiki/Fourier_method)</sup> 该常数通常带符号选取，如 \( -\lambda \)，以使解在时间上衰减、在空间上振荡；对于 Dirichlet 条件，可通过 Rayleigh 商证明 \( \lambda > 0 \)。<sup>[2](http://web.eng.ucsd.edu/~sgls/MAE105_2015/ReviewNotes.pdf)</sup> 分离 \( n \) 个变量会产生 \( n-1 \) 个分离常数，因而有 \( n-1 \) 个特征值方程，外加一个最终的非特征值常微分方程。<sup>[11](https://books.physics.oregonstate.edu/LinAlg/sepprocess.html)</sup> 空间方程正是边界条件发挥作用之处：其允许的常数值由边界条件固定，使其成为一个特征值问题，而剩余方程则是一个常系数常微分方程。<sup>[11](https://books.physics.oregonstate.edu/LinAlg/sepprocess.html)</sup> 对称性（时间平移不变性、平移不变性、旋转不变性）之所以能产生可分离解，其更深层的原因在于群表示论，而寻找容许分离的坐标系与微分方程的群性质密切相关。<sup>[1](https://math.mit.edu/~stevenj/18.303/separation.pdf)</sup><sup> • </sup><sup>[10](https://encyclopediaofmath.org/wiki/Fourier_method)</sup>

## 操作步骤

一个六步流程概括了该过程：在适当的坐标系中写出偏微分方程，假设 \( f(x,t) = X(x)T(t) \)，除以 \( f \)，将所有对一个变量的依赖隔离到一侧，令隔离出的组合等于一个分离常数，并清除分母。<sup>[11](https://books.physics.oregonstate.edu/LinAlg/sepprocess.html)</sup> 对于三个变量，猜测 \( f(x,y,z) = X(x)Y(y)Z(z) \)，重新整理为单变量项之和，每项等于一个分离常数，求解常微分方程，利用边界条件确定允许的常数，并对所有值求和。<sup>[12](https://rc476.user.srcf.net/methods/sepvar.v1.pdf)</sup> 对于一阶常微分方程，结果是隐式的：解由两个积分给出，只有当积分能以闭式完成，且所得方程能对因变量求解时，才能获得完整解。<sup>[13](https://mathworld.wolfram.com/SeparationofVariables.html)</sup>

对于在 \( [0,L] \) 上具有齐次 Dirichlet 端条件的热方程 \( u_t = k u_{xx} \)，空间问题 \( X'' + \lambda \cdot X = 0 \)，\( X(0) = X(L) = 0 \) 的特征值为 \( \lambda_n = n^{2}\pi^{2}/L^{2} \)（\( n \geq 1 \)），特征函数为 \( \sin(n\pi x/L) \)，给出基本解 \( u_n = \sin(n\pi x/L)\, e^{-n^{2}\pi^{2}k \cdot t/L^{2}} \) 和解 \( u(x,t) = \sum b_n \sin(n\pi x/L)\, e^{-n^{2}\pi^{2}k \cdot t/L^{2}} \)，其中系数通过将初始条件展开为 Fourier 正弦级数确定。<sup>[4](https://web.uvic.ca/~tbazett/diffyqsold/heateq_section.html)</sup> 对于波动方程，分离得到角频率为 \( \omega_n = n\pi c/L \) 的简谐运动。<sup>[14](https://math.libretexts.org/Bookshelves/Differential_Equations/Introduction_to_Partial_Differential_Equations_%28Herman%29/02%3A_Second_Order_Partial_Differential_Equations/2.04%3A_Separation_of_Variables)</sup> 边界条件类型会改变特征函数：齐次 Dirichlet 给出正弦，Neumann 给出余弦（包括常数特征函数），周期条件给出 \( \cos(n\theta) + \sin(n\theta) \)（\( n = 0, 1, 2, \ldots \)）。<sup>[2](http://web.eng.ucsd.edu/~sgls/MAE105_2015/ReviewNotes.pdf)</sup> 对于绝热（Neumann）端条件，温度处处收敛到 \( a_0/2 \)，即初始平均温度，且对于 \( t > 0 \)，Fourier 系数比任何 \( 1/n^{p} \) 衰减得都快，因此热方程能将跳跃或尖角初始数据光滑化为无限可微的解。<sup>[4](https://web.uvic.ca/~tbazett/diffyqsold/heateq_section.html)</sup> 整个方案的成功依赖于分离后的问题是一个正则 Sturm–Liouville 问题 \( (p(x)y')' + q(x)y + \lambda \cdot r(x) \cdot y = 0 \)，具有分离边界条件，其拥有可数无限个实特征值且无有限聚点、一维特征空间和正交特征函数。<sup>[15](https://www.math.ualberta.ca/~xinweiyu/436.A1.12f/PDE_Sep_Var.pdf)</sup>

## 起源

该方法远早于现代文献中系统化的可分离性理论。Luther Pfahler Eisenhart（1934）在《物理评论》上发表了欧几里得三维空间中可分离系统的分类。<sup>[16](https://doi.org/10.1103/physrev.45.427.2)</sup> Parry Moon 和 Domina Eberle Spencer（1952）在《富兰克林研究所杂志》上发表了 Laplace 方程和 Helmholtz 方程的可分离性条件。<sup>[17](https://doi.org/10.1016/0016-0032%2852%2990682-0)</sup> A. S. Fokas 和 E. A. Spence（2012）在《SIAM 评论》上提出了变量综合（而非分离）的框架，发展了一种源于可积非线性偏微分方程 Lax 对理论的变换方法。<sup>[18](https://doi.org/10.1137/100809647)</sup> Shu Wei 及其同事（2024）在 arXiv 上提出了 SSDE，一种基于递归单变量分解拟设的强化学习方法，用于微分方程的符号闭式解。<sup>[19](https://doi.org/10.48550/arxiv.2405.14620)</sup>

## 变体

**乘性与加性分离。** 标准拟设是乘性的，\( f(x,y,z) = X(x)Y(y)Z(z) \)；有时考虑加性分离也是有益的，\( f = X(x) + Y(y) + Z(z) \)。<sup>[12](https://rc476.user.srcf.net/methods/sepvar.v1.pdf)</sup> R-分离允许形如 \( \psi = X_1(\xi_1)X_2(\xi_2)X_3(\xi_3)/R(\xi_1,\xi_2,\xi_3) \) 的解，简单分离是 \( R = \) 常数的特例。<sup>[20](http://user.xmission.com/%7Erimrock/Documents/Stackel%20Separation%20of%20the%20Helmholtz%20Equation.pdf)</sup>

**特殊坐标系。** 在柱坐标中，径向方程变为 \( m \) 阶 Bessel 方程，解为 \( J_m \)（在 0 处正则）和 \( Y_m \)（在 0 处对数奇异）；\( \theta \) 方向的周期性迫使分离常数 \( \mu = m^{2} \)，其中 \( m \in \mathbb{Z} \)。<sup>[12](https://rc476.user.srcf.net/methods/sepvar.v1.pdf)</sup> 在球坐标中，角向方程变为连带 Legendre 方程，在 \( z = 1 \) 处的收敛性要求 \( \lambda = \ell(\ell+1) \)，其中 \( \ell \) 为非负整数且 \( |m| \leq \ell \)；径向解为 \( r^{\ell} \) 和 \( r^{-\ell-1} \)。<sup>[12](https://rc476.user.srcf.net/methods/sepvar.v1.pdf)</sup> Eisenhart–Morse–Feshbach 定理指出，\( \nabla^{2}u + k^{2} \cdot u = 0 \) 恰好在十一种坐标系中可分离：笛卡尔、圆柱、椭圆柱、抛物柱、球、长球、扁球、旋转（圆）抛物、锥、椭球和抛物面。<sup>[5](https://www.johndcook.com/separable_helmholtz.pdf)</sup> 在椭圆柱坐标中，分离后的方程为 Mathieu 方程；在抛物柱坐标中，为 Weber（抛物柱）方程；在锥坐标中，为 Lamé 方程。<sup>[5](https://www.johndcook.com/separable_helmholtz.pdf)</sup>

**可分离性理论。** 线性齐次二阶偏微分方程分离为二阶常微分方程的充要条件，在 Riemann 流形上的 Helmholtz 方程情形下，与经典的 Stäckel–Robertson 条件一致。<sup>[21](https://doi.org/10.1007/bfb0089982)</sup> Stäckel 矩阵构造源于 Hamilton–Jacobi 方程的正则加性正交分离，以及 Helmholtz、Schrödinger、Laplace 和波动方程的正则乘性正交 R-分离；现代文献还涵盖非正交分离、内在无坐标刻画、多重可分离性和泛函分离。<sup>[3](https://iopscience.iop.org/book/mono/978-0-7503-1314-8)</sup> 一份 NASA 报告区分了可分离方程（分离产生与偏微分方程类型一致的最高阶常微分方程）和弱可分离方程（分离产生任意阶的两个常微分方程）；当该方法对两个变量的二阶线性偏微分方程有效时，会导出一个至多四重无限解族，若该族足够大则为完备的。<sup>[6](https://ntrs.nasa.gov/api/citations/19700020429/downloads/19700020429.pdf)</sup>

## 应用

该方法对数学物理方程特别有用，包括 Laplace 方程、Helmholtz 方程和 Schrödinger 方程。<sup>[13](https://mathworld.wolfram.com/SeparationofVariables.html)</sup> 参考著作按坐标系组织可分离边值问题，涵盖矩形、圆形、椭圆形、抛物形、球极、旋转椭球、锥形、椭球和抛物面几何，现代应用涉及光子学和纳米技术。<sup>[22](https://onlinelibrary.wiley.com/doi/book/10.1002/9783527634927)</sup>

自 2023 年以来，乘积拟设作为架构原则重新出现在物理信息机器学习中。SepONet（2024）使用独立的主干网络分别学习不同坐标轴的基函数，对于一维时变偏微分方程，训练速度最高提升 112 倍，GPU 内存占用仅为 PI-DeepONet 的 1/82。<sup>[7](https://arxiv.org/pdf/2407.11253)</sup> Sep-DeepONet 将主干输入分解为逐坐标子网络，将 Jacobian 计算从 \( O(n^{d}) \) 次评估降至 \( O(n \cdot d) \) 次。<sup>[23](https://arxiv.org/html/2407.15887v2)</sup> SPIKANs 将 \( d \) 维偏微分方程分解为 \( d \) 个独立的 Kolmogorov–Arnold 网络，每个接收 \( O(N) \) 个点，在相当或更好的 L2 误差下比 PIKANs 加速 8 至 287 倍，但需要可因子化的配点网格。<sup>[8](https://iopscience.iop.org/article/10.1088/2632-2153/ae05af)</sup> Ex-HiDeNN（2025）将张量分解可分离神经网络与符号回归相结合，使用基于 Hessian 的可分离性评分 \( S_{\otimes} \in [0,1] \) 来决定采样策略。<sup>[24](https://link.springer.com/article/10.1007/s00466-025-02719-w)</sup> SSDE 通过在递归单变量分解拟设上进行强化学习，推导常微分方程和偏微分方程的符号闭式解。<sup>[19](https://doi.org/10.48550/arxiv.2405.14620)</sup>

## 局限与替代方法

**可分离性的稀有性。** 在两个自变量的所有二阶线性偏微分方程中，仅有极小比例是弱可分离的，尽管通过变量替换可将稍大比例转化为弱可分离方程。<sup>[6](https://ntrs.nasa.gov/api/citations/19700020429/downloads/19700020429.pdf)</sup> 可分离性通常是对称性的结果，而几乎所有偏微分方程都不可分离。<sup>[1](https://math.mit.edu/~stevenj/18.303/separation.pdf)</sup> 将 Laplace 算子替换为 \( c(x)\nabla^{2} \) 会破坏可分离性，因为 \( \lambda/c \) 不再能拆分为分别仅含 \( x \) 或 \( y \) 的函数。<sup>[1](https://math.mit.edu/~stevenj/18.303/separation.pdf)</sup>

**结构性要求。** 微分方程必须是线性齐次的，且属于 Sturm–Liouville 形式，边界条件必须是齐次 Dirichlet、Neumann 或 Robin 型，区域必须与坐标轴对齐。<sup>[25](https://scholarworks.umt.edu/cgi/viewcontent.cgi?article=1627&context=tme)</sup> 区域、偏微分方程和边界条件都必须可分离，且若边值问题非自伴，该方法可能不适用。<sup>[18](https://doi.org/10.1137/100809647)</sup> 可分离性依赖于将区域表示为某坐标系中的矩形；\( -\Delta u = \lambda \cdot u \) 的 L 形区域特征问题无法用分离法求解，具有非常数对流的方程通常也不能。<sup>[26](https://math.stackexchange.com/questions/420868/what-kinds-of-pde-cant-be-solved-by-separation-of-variables)</sup> 瞬态边界条件或瞬态源项会使该方法失效，因为此时解需要其 \( x \) 和 \( t \) 依赖关系无法分离的函数；转而使用特征函数展开法。<sup>[25](https://scholarworks.umt.edu/cgi/viewcontent.cgi?article=1627&context=tme)</sup> 若算子依赖于时间，展开系数满足耦合模态方程，解不再可分离。<sup>[1](https://math.mit.edu/~stevenj/18.303/separation.pdf)</sup> 非齐次边界条件有时可通过叠加处理，将问题拆分为稳态和瞬态子问题，各自可用分离法求解。<sup>[25](https://scholarworks.umt.edu/cgi/viewcontent.cgi?article=1627&context=tme)</sup> 对于非线性偏微分方程，仅当代入乘积或和式拟设产生每侧仅依赖单个变量的方程时，才会出现简单的可分离解；此时使用广义（非线性）分离和泛函分离来构造精确解。<sup>[27](https://eqworld.ipmnet.ru/Arts_Polyanin/Separation_of_Variables_and_Exact_Solutions_to_Nonlinear_PDEs_2021.pdf)</sup>

**收敛性与替代方法。** 经典分离将解表示为积分或级数，对于非零边界条件，该表达式在区域边界上非一致收敛，这使得此类表达式不适合数值计算。<sup>[18](https://doi.org/10.1137/100809647)</sup> 在高频 Helmholtz 外问题（\( k \cdot a \gg 1 \)）中，Lord Rayleigh 获得的角向级数展开，用 Fokas 和 Spence 的话说，“正确但无用，而 Watson 和 Sommerfeld 获得的径向级数展开有用但不正确”。<sup>[18](https://doi.org/10.1137/100809647)</sup> Fokas 统一变换适用于某些不可分离和非自伴问题，将解表示为复平面中的积分，该积分在边界上一致收敛。<sup>[18](https://doi.org/10.1137/100809647)</sup> 已发表文献未提供分离变量法与有限差分、谱方法或 Green 函数方法相比的定量精度或收敛速率基准，因此此处无法进行此类比较。

## References

1. [Notes on Separation of Variables (Steven G. Johnson, MIT 18.303)](https://math.mit.edu/~stevenj/18.303/separation.pdf)
2. [Method of Separation of Variables (MSV) review notes (UCSD MAE 105)](http://web.eng.ucsd.edu/~sgls/MAE105_2015/ReviewNotes.pdf)
3. [Separation of Variables and Superintegrability: The symmetry of solvable systems (Kalnins, Kress, Miller, IOP 2018)](https://iopscience.iop.org/book/mono/978-0-7503-1314-8)
4. [Section 4.6 PDEs, separation of variables, and the heat equation (DiffyQS, T. Bazett / J. Lebl)](https://web.uvic.ca/~tbazett/diffyqsold/heateq_section.html)
5. [Separation of the Helmholtz Equation](https://www.johndcook.com/separable_helmholtz.pdf)
6. [Theory of separation of variables for linear partial differential equations of the second order in two independent variables (NASA report)](https://ntrs.nasa.gov/api/citations/19700020429/downloads/19700020429.pdf)
7. [Separable Operator Networks (SepONet)](https://arxiv.org/pdf/2407.11253)
8. [SPIKANs: separable physics-informed Kolmogorov–Arnold networks](https://iopscience.iop.org/article/10.1088/2632-2153/ae05af)
9. [Chapter 4, S4.1 Separation of variables (APM 346 PDE textbook, University of Toronto)](https://www.math.utoronto.ca/courses/apm346h1/20169/PDE-textbook/Chapter4/S4.1.html)
10. [Fourier method - Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Fourier_method)
11. [Section 11.4 Separation of Variables (Oregon State University)](https://books.physics.oregonstate.edu/LinAlg/sepprocess.html)
12. [Separation of Variables (Trinity College, Cambridge methods handout)](https://rc476.user.srcf.net/methods/sepvar.v1.pdf)
13. [Separation of Variables -- from Wolfram MathWorld](https://mathworld.wolfram.com/SeparationofVariables.html)
14. [2.04: Separation of Variables (math.libretexts.org)](https://math.libretexts.org/Bookshelves/Differential_Equations/Introduction_to_Partial_Differential_Equations_%28Herman%29/02%3A_Second_Order_Partial_Differential_Equations/2.04%3A_Separation_of_Variables)
15. [PDE lecture notes: Separation of Variables and Sturm–Liouville theory (University of Alberta)](https://www.math.ualberta.ca/~xinweiyu/436.A1.12f/PDE_Sep_Var.pdf)
16. [Luther Pfahler Eisenhart (1934). Separable Systems in Euclidean 3-Space. Physical Review.](https://doi.org/10.1103/physrev.45.427.2)
17. [Separability conditions for the laplace and Helmholtz equations (Journal of the Franklin Institute, 1952)](https://doi.org/10.1016/0016-0032%2852%2990682-0)
18. [A. S. Fokas, E. A. Spence (2012). Synthesis, as Opposed to Separation, of Variables. SIAM Review.](https://doi.org/10.1137/100809647)
19. [Wei, Shu and colleagues (2024). Closed-form Solutions: A New Perspective on Solving Differential Equations. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2405.14620)
20. [Stäckel Separation of the Helmholtz Equation](http://user.xmission.com/%7Erimrock/Documents/Stackel%20Separation%20of%20the%20Helmholtz%20Equation.pdf)
21. [A precise definition of separation of variables (preprint)](https://doi.org/10.1007/bfb0089982)
22. [Separable Boundary-Value Problems in Physics (Willatzen & Lew Yan Voon, Wiley-VCH, 2011)](https://onlinelibrary.wiley.com/doi/book/10.1002/9783527634927)
23. [Separable DeepONet: Breaking the Curse of Dimensionality in Physics-Informed Machine Learning](https://arxiv.org/html/2407.15887v2)
24. [An explainable artificial intelligence framework enabled by a separable neural architecture (Ex-HiDeNN)](https://link.springer.com/article/10.1007/s00466-025-02719-w)
25. [Importance of Understanding the Physical System in Selecting Separation of Variables Based Methods to Solve the Heat Conduction PDE](https://scholarworks.umt.edu/cgi/viewcontent.cgi?article=1627&context=tme)
26. [Math StackExchange: What kinds of PDE can't be solved by separation of variables?](https://math.stackexchange.com/questions/420868/what-kinds-of-pde-cant-be-solved-by-separation-of-variables)
27. [Separation of Variables and Exact Solutions to Nonlinear PDEs (Polyanin, 2021 book preface)](https://eqworld.ipmnet.ru/Arts_Polyanin/Separation_of_Variables_and_Exact_Solutions_to_Nonlinear_PDEs_2021.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Partial differential equations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/separation-of-variables

English original: https://www.edgepedia.org/separation-of-variables
