# 边值问题

边值问题（BVP）是指一个微分方程，连同在定义域的两个或多个不同点上对解或其导数施加的条件，而非像初值问题那样所有条件都施加在同一个点上。对于二阶常微分方程，边界条件通常规定函数和（或）其导数在区间两个端点处的值。<sup>[1](https://tutorial.math.lamar.edu/classes/de/boundaryvalueproblem.aspx)</sup> 在偏微分方程中，边界条件施加在空间区域的边界上，例如 \( u|_{\partial\Omega}=\phi \)；当其中一个变量是时间，且条件同时在初始时刻和空间边界上给出时，该问题称为初值-边值问题或混合问题。<sup>[2](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter1/S1.2.html)</sup>

| 要点 | 详情 |
|---|---|
| 定义 | 一个微分方程，连同在定义域的不同点上对解和（或）其导数的条件<sup>[1](https://tutorial.math.lamar.edu/classes/de/boundaryvalueproblem.aspx)</sup> |
| 解的个数 | 与线性初值问题不同，边值问题可能有一个解、无解或无穷多个解<sup>[3](https://adaptivebooks.org/differential-equations-for-engineers/introduction-to-differential-equations/initial-value-problems-vs-boundary-value-problems)</sup> |
| 典型情形 | 施图姆–刘维尔问题：\( -(p y')' + l y = \lambda r y \)，其中 \( p, r > 0 \)，\( l \) 为实值，\( \lambda \) 为复参数<sup>[4](https://encyclopediaofmath.org/wiki/Sturm%E2%80%93Liouville_problem)</sup> |
| 特征值结构 | 特征值是单重的，依次排列为 \( \lambda_1 < \lambda_2 < \lambda_3 < \cdots \)，且 \( \lambda_k \to \infty \)<sup>[5](https://dlmf.nist.gov/3.7)</sup> |
| 主要数值策略 | 打靶法、有限差分法和变分（瑞利–里茨）法<sup>[6](https://www.cs.cmu.edu/~ph/859B/www/notes/ode/bvp.html)</sup> |
| 标准软件 | MATLAB 的 `bvp4c`/`bvp5c`（配置法，四阶和五阶）以及 SciPy 的 `solve_bvp`（带残差控制的四阶配置法）<sup>[7](https://www.mathworks.com/help/matlab/boundary-value-problems.html)</sup><sup> • </sup><sup>[8](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_bvp.html)</sup> |

## 与初值问题的比较

在初值问题中，解的值以及足够多的导数值都在同一个点上给定，例如对于二阶方程给出 \( y(t_0)=y_0 \) 和 \( y'(t_0)=y'_0 \)。而在边值问题中，同样的数据分散在不同的点上。<sup>[1](https://tutorial.math.lamar.edu/classes/de/boundaryvalueproblem.aspx)</sup> 这一差异改变了问题的性质。对于系数连续的线性初值问题，解的存在性和唯一性是有保证的；对于边值问题则不然，一个问题可能有一个解、无解或无穷多个解。<sup>[3](https://adaptivebooks.org/differential-equations-for-engineers/introduction-to-differential-equations/initial-value-problems-vs-boundary-value-problems)</sup> 一个课堂示例表明，对同一方程施加三个略有不同的边界条件，分别得到无穷多个解、一个解和无解。<sup>[9](https://www.youtube.com/watch?v=DnBJLpdVHCY)</sup>

边值问题的存在性和唯一性比初值问题更难确定，也没有可与初值问题的皮卡–林德勒夫定理相提并论的一般理论。<sup>[10](https://www.uni-muenster.de/Physik.TP/archive/typo3/fileadmin/lehre/NumMethoden/WS0910/scriptODE0910.pdf)</sup> 对于 \([a,b]\) 上的两点问题 \( y'' = f(x,y,y') \)，边界条件为 \( y(a)=\alpha \)、\( y(b)=\beta \)，存在一个可用的充分条件：若 \( f \)、\( f_y \) 和 \( f_{y'} \) 在区域 \( D \) 上连续，\( f_y > 0 \) 在整个 \( D \) 上成立，且 \( |f_{y'}| \le M \)（\( M \) 为常数），则该边值问题有唯一解。<sup>[11](https://skim.math.msstate.edu/LectureNotes/Numerical_Analysis_Lecture.pdf)</sup>

## 施图姆–刘维尔问题

常微分方程中最经典、研究最多的边值问题是施图姆–刘维尔问题，由方程

\[ -\frac{d}{dx}\left(p(x)\frac{dy}{dx}\right) + l(x)y = \lambda r(x)y, \]

在有限或无限区间上生成，其中 \( p(x) \) 和 \( r(x) \) 为正，\( l(x) \) 为实值，\( \lambda \) 为复参数，并配以边界条件。当 \( p \) 可微且 \( p r \) 二阶可微时，通过代换可将方程化为 \( -y'' + q(x)y = \lambda y \)。若区间有限且 \( q \) 在其上可积，则问题称为正则的；若区间无限或 \( q \) 不可积，或两者兼有，则称为奇异的。<sup>[4](https://encyclopediaofmath.org/wiki/Sturm%E2%80%93Liouville_problem)</sup> 在紧区间 \([a,b]\) 上常见的教科书表述中，方程为 \( (p x')' + (\lambda r + q)x = 0 \)，带有分离边界条件 \( x(a)\cos\alpha - p(a)x'(a)\sin\alpha = 0 \) 和 \( x(b)\cos\beta - p(b)x'(b)\sin\beta = 0 \)。<sup>[12](https://www.math.utah.edu/~schmitt/ode1.pdf)</sup>

对于此类问题，使非平凡解存在的参数值即为特征值，非平凡解即为特征函数。特征值是单重的，即归一化意义下只有一个特征函数，且按递增顺序排列时满足 \( \lambda_1 < \lambda_2 < \lambda_3 < \cdots \)，且 \( \lambda_k \to \infty \)。<sup>[5](https://dlmf.nist.gov/3.7)</sup>

## 历史渊源

该理论源于热传导和弹性力学。施图姆 1836 年的论文研究了如下问题：各种形状物体中的热分布，以及弹性固体、柔性体、液体和流体的微小振动，都导致二阶线性微分方程；在相关的偏微分方程中分离变量，会产生一个带有参数的二阶常微分方程，而参数必须选取使得边界条件成立。<sup>[13](https://webhomes.maths.ed.ac.uk/~v1ranick/papers/lutzen.pdf)</sup> 1836 年，傅里叶的门生、刘维尔的朋友夏尔-弗朗索瓦·施图姆（Charles-François Sturm）将分离变量法应用于非均匀物体的热方程，得到了一个带有不同类型边界条件的二阶方程。<sup>[14](https://www.treccani.it/enciclopedia/l-ottocento-matematica-equazioni-differenziali-ordinarie_(Storia-della-Scienza)/)</sup>

施图姆证明了无穷多个参数值给出非平凡解，并且第 \( n \) 个特征函数的两个相邻零点之间必有第 \( (n-1)\) 个特征函数的一个零点，因此零点像 \( \cos nx \) 和 \( \cos(n-1)x \) 的零点那样交错分布；此外还成立一个正交性质。<sup>[14](https://www.treccani.it/enciclopedia/l-ottocento-matematica-equazioni-differenziali-ordinarie_(Storia-della-Scienza)/)</sup> 刘维尔通过施图姆了解到这类问题，在 1836 年和 1837 年的三篇论文中对其进行了处理，到 1836 年已证明存在一列实特征值 \( \lambda_n \to \infty \)，使得方程有满足端点条件的解。<sup>[15](https://www.sciencedirect.com/topics/mathematics/liouville-theory)</sup> 施图姆与刘维尔于 1837 年首次联合发表的论文引入了施图姆–刘维尔微分方程的一般理论；此后该理论在 1900 年至 1950 年间经由赫尔曼·外尔（Hermann Weyl，1910）、A.C. 狄克逊（A.C. Dixon，1912）、M.H. 斯通（M.H. Stone，1932）和 E.C. 蒂奇马什（E.C. Titchmarsh，1940 至 1950）的工作而发生了转变，斯通的结果将该主题与希尔伯特空间中的自伴算子联系起来。<sup>[16](https://ideas.repec.org/h/spr/sprchp/978-3-7643-7359-7_3.html)</sup> 源于施图姆–刘维尔问题研究的方法和概念在数学和物理学许多方向的发展中发挥了重要作用，而当其与数学物理中某些非线性演化方程的关系被发现后，更获得了进一步的意义。<sup>[4](https://encyclopediaofmath.org/wiki/Sturm%E2%80%93Liouville_problem)</sup>

## 应用

边值问题通常表示空间问题：微分方程描述内部的行为，而边界条件规定系统在其边界上的状态。<sup>[17](https://personalpages.manchester.ac.uk/staff/matthias.heil/Lectures/FirstYearODEs/2007/Material/Chapter1.pdf)</sup> 其数学研究可追溯到十八世纪关于振动弦和热方程的工作，并由傅里叶、施图姆和刘维尔加以形式化；受载梁的挠度是一个典型例子，其中控制方程将曲率与弯矩联系起来，边界条件则表明在支撑端挠度和斜率均为零。<sup>[18](https://technav.ieee.org/area/boundary-value-problems/)</sup> 长度为 \( L \) 的杆中稳态热流，两端保持 \( u(0)=0 \) 和 \( u(L)=0 \)，给出一个线性二阶边值问题；而一个张力为 \( T \)、载荷为 \( w \)、模量为 \( EI \) 的简支梁满足 \( y'' - (T/EI)y = (w/2EI)x(L-x) \)，且 \( y(0)=y(L)=0 \)。<sup>[19](https://www.uah.edu/images/people/faculty/pekkermj/classes/MA415-13/book.pdf)</sup>

## 数值解法

由于完整的初始状态未知，前向积分不能直接应用；求解器必须找到与给定端点值相容的初始条件。有三种标准策略：打靶法，将边值问题化为关于缺失初始条件的求根问题；有限差分法，在网格上离散方程并求解所得的代数系统；以及变分法或瑞利–里茨法，将问题重新表述为最小化问题。<sup>[20](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/07_ode/08_boundary_value_problems.html)</sup>

**打靶法。** 将边值问题替换为一族初值问题，求解这些初值问题直至其中一个逼近所需的边界条件。<sup>[21](https://ethancsmith.github.io/math263-notes/11-finite_differences.html)</sup> 对于线性二阶问题，求解两个初值问题并通过叠加组合，以两次初值问题求解的代价一次性得到精确答案；对于非线性问题，缺失的初始条件用割线法或牛顿法迭代，每次迭代花费一次初值问题求解。<sup>[20](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/07_ode/08_boundary_value_problems.html)</sup> 一个简单的例子是火箭问题 \( y''=-g \)，\( y(0)=0 \)、\( y(5)=40 \)，其精确解给出所需的发射速度 \( y'(0)=32.5 \) 米/秒；打靶法的实现还必须控制底层初值问题积分器的误差。<sup>[6](https://www.cs.cmu.edu/~ph/859B/www/notes/ode/bvp.html)</sup>

**有限差分法。** 该方法精确施加边界条件，并用有限差分近似微分方程，产生关于节点值的方程组；对于线性问题通常选用高斯消元法。<sup>[21](https://ethancsmith.github.io/math263-notes/11-finite_differences.html)</sup> 对于二阶问题，该方程组是三对角的，格式具有 \( \mathcal{O}(h^2) \) 精度，非线性问题需要牛顿迭代。<sup>[20](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/07_ode/08_boundary_value_problems.html)</sup> 有限差分法往往比打靶法更耗内存，且达到可接受的精度通常需要更小的步长。<sup>[21](https://ethancsmith.github.io/math263-notes/11-finite_differences.html)</sup>

**配置法求解器。** MATLAB 的 `bvp4c` 和 `bvp5c` 可处理两点边界条件、多点条件、解中的奇点以及未知参数；解的初始猜测是求解边值问题的组成部分，其质量对求解器性能乃至计算能否成功都可能是关键的。<sup>[7](https://www.mathworks.com/help/matlab/boundary-value-problems.html)</sup> SciPy 的 `solve_bvp` 实现了带残差控制的四阶配置算法，通过阻尼牛顿法求解配置系统。<sup>[8](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_bvp.html)</sup> 两个求解器都能从不同的初始猜测出发找到同一问题的不同解；SciPy 文档在布拉图问题 \( y'' + k e^{y} = 0 \)，\( y(0)=y(1)=0 \) 上演示了这一点，该问题有两个解。<sup>[8](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_bvp.html)</sup>

## References

1. [Boundary Value Problems, Paul's Online Notes, Lamar University](https://tutorial.math.lamar.edu/classes/de/boundaryvalueproblem.aspx)
2. [Initial and Boundary Value Problems, APM 346 PDE Textbook, University of Toronto](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter1/S1.2.html)
3. [Initial Value Problems vs. Boundary Value Problems, Differential Equations for Engineers](https://adaptivebooks.org/differential-equations-for-engineers/introduction-to-differential-equations/initial-value-problems-vs-boundary-value-problems)
4. [Sturm–Liouville problem, Encyclopedia of Mathematics, EMS Press](https://encyclopediaofmath.org/wiki/Sturm%E2%80%93Liouville_problem)
5. [DLMF §3.7 Ordinary Differential Equations, NIST Digital Library of Mathematical Functions](https://dlmf.nist.gov/3.7)
6. [Boundary Value Problems, P. Heckbert, 15-859B, Carnegie Mellon University](https://www.cs.cmu.edu/~ph/859B/www/notes/ode/bvp.html)
7. [Boundary Value Problems, MATLAB & Simulink, MathWorks](https://www.mathworks.com/help/matlab/boundary-value-problems.html)
8. [scipy.integrate.solve_bvp, SciPy v1.18.0 Manual](https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.solve_bvp.html)
9. [Differential Equations, Lecture 6.6: Boundary value problems, Professor Macauley, Clemson University](https://www.youtube.com/watch?v=DnBJLpdVHCY)
10. [Numerical Methods for ODEs, Chapter 2: Boundary Value Problems, Westfälische Wilhelms-Universität Münster](https://www.uni-muenster.de/Physik.TP/archive/typo3/fileadmin/lehre/NumMethoden/WS0910/scriptODE0910.pdf)
11. [Chapter 14: Finite Difference Methods for Boundary-Value Problems, Mississippi State University lecture notes](https://skim.math.msstate.edu/LectureNotes/Numerical_Analysis_Lecture.pdf)
12. [Sturm–Liouville Boundary Value Problems, Chapter XI, University of Utah ODE notes](https://www.math.utah.edu/~schmitt/ode1.pdf)
13. [J. Lützen, Sturm and Liouville's work on ordinary linear differential equations. The emergence of Sturm-Liouville theory](https://webhomes.maths.ed.ac.uk/~v1ranick/papers/lutzen.pdf)
14. [L'ottocento: matematica. Equazioni differenziali ordinarie, Enciclopedia Treccani, Storia della Scienza](https://www.treccani.it/enciclopedia/l-ottocento-matematica-equazioni-differenziali-ordinarie_(Storia-della-Scienza)/)
15. [Liouville Theory, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/mathematics/liouville-theory)
16. [W. N. Everitt, Charles Sturm and the Development of Sturm-Liouville Theory in the Years 1900 to 1950, in Sturm-Liouville Theory, Birkhäuser](https://ideas.repec.org/h/spr/sprchp/978-3-7643-7359-7_3.html)
17. [First Year ODEs, Chapter 1, M. Heil, University of Manchester](https://personalpages.manchester.ac.uk/staff/matthias.heil/Lectures/FirstYearODEs/2007/Material/Chapter1.pdf)
18. [Boundary value problems, IEEE Technology Navigator](https://technav.ieee.org/area/boundary-value-problems/)
19. [ODE Boundary Value Problems and Finite Differences, Lecture 33, University of Alabama in Huntsville](https://www.uah.edu/images/people/faculty/pekkermj/classes/MA415-13/book.pdf)
20. [Boundary Value Problems, Computational Physics lecture, Universität Bielefeld](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/07_ode/08_boundary_value_problems.html)
21. [Finite difference methods for boundary value problems, MATH 263 notes](https://ethancsmith.github.io/math263-notes/11-finite_differences.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/boundary-value-problem

English original: https://www.edgepedia.org/boundary-value-problem
