# 欧拉–丸山方法

欧拉–丸山方法（Euler–Maruyama method）是模拟随机微分方程（SDE）解的最简单的数值格式：它逐步推进解，每一步在当前点计算漂移系数和扩散系数，并加上一个缩放的布朗增量。它是常微分方程欧拉方法的随机对应物，以莱昂哈德·欧拉（Leonhard Euler）和日本数学家丸山仪四郎（Gisiro Maruyama）命名：它推广了欧拉的确定性格式，而丸山1953年关于马尔可夫过程和随机方程的工作在连续马尔可夫过程的早期文献中被引用<sup>[1](https://bishtref.com/articles/10.1007/bf02846028)</sup>。

| 关键事实 | 详情 |
|---|---|
| 更新规则 | \( X_{n+1} = X_n + \Delta t\, f(X_n) + \Delta W_n\, g(X_n) \)，其中 \( \Delta W_n = W(t_{n+1}) - W(t_n) \) 是布朗增量<sup>[2](https://www.sfu.ca/~pft3/days/m3.pdf)</sup> |
| 强阶 | 1/2，在系数 \( f \) 和 \( g \) 满足全局利普希茨条件和有界增长条件下<sup>[3](https://link.springer.com/article/10.1186/s13662-018-1466-5)</sup> |
| 弱阶 | 1.0，在充分光滑条件下<sup>[3](https://link.springer.com/article/10.1186/s13662-018-1466-5)</sup> |
| 推导 | 通过将伊藤随机泰勒级数在一阶项后截断得到<sup>[3](https://link.springer.com/article/10.1186/s13662-018-1466-5)</sup> |
| 非利普希茨修正 | 截断欧拉–丸山方法（毛，2015）在局部利普希茨条件加哈斯明斯基型条件下收敛<sup>[4](https://www.sciencedirect.com/science/article/pii/S0377042718300463)</sup> |
| 与米尔斯坦方法的关系 | 对于加性噪声，米尔斯坦方法退化为欧拉–丸山方法；米尔斯坦方法将强阶提高到1<sup>[3](https://link.springer.com/article/10.1186/s13662-018-1466-5)</sup> |
| 机器学习应用 | 随机梯度朗之万动力学（SGLD）是朗之万随机微分方程的欧拉–丸山离散化<sup>[5](https://www.jmlr.org/papers/volume25/22-0796/22-0796.pdf)</sup> |

## 格式

一个漂移为 \( f \)、扩散为 \( g \) 的伊藤随机微分方程写作

\[ dX(t) = f(X(t))\,dt + g(X(t))\,dW(t), \]

其中 \( W(t) \) 是布朗运动。精确解满足积分方程

\[ X(t_{n+1}) = X(t_n) + \int_{t_n}^{t_{n+1}} f(X(s))\,ds + \int_{t_n}^{t_{n+1}} g(X(s))\,dW(s). \]

欧拉–丸山方法将两个积分都用左端点近似替代，得到

\[ X_{n+1} = X_n + \Delta t\, f(X_n) + \Delta W_n\, g(X_n), \]

其中 \( \Delta W_n = W(t_{n+1}) - W(t_n) \)<sup>[2](https://www.sfu.ca/~pft3/days/m3.pdf)</sup>。在实际操作中，布朗增量被抽取为一个正态随机变量，按步长的平方根缩放；用MATLAB记号，\( \Delta W_n \) 变为 `sqrt(Dt)*randn`<sup>[2](https://www.sfu.ca/~pft3/days/m3.pdf)</sup>。该格式是显式的、单步的，每步需要计算一次 \( f \) 和一次 \( g \)。

## 收敛性

对于随机微分方程求解器，有两种标准的误差概念。强收敛度量在固定时刻数值解与精确解之间的期望路径差异；弱收敛度量解的函数期望的误差，这正是蒙特卡罗估计期权价格等量所需要的。

在 \( f \) 和 \( g \) 满足全局利普希茨条件和有界增长条件下，欧拉–丸山方法以强阶0.5和弱阶1.0收敛<sup>[3](https://link.springer.com/article/10.1186/s13662-018-1466-5)</sup>。强阶1/2标志着与确定性情形的偏离，在确定性情形中欧拉方法具有阶1<sup>[6](https://people.math.ethz.ch/~grsam/SS20/NAII/resources/lecture1.pdf)</sup>。即使布朗增量被替换为一个独立的两点随机变量 \( \sqrt{\Delta t}\, V_j \)，以等概率取值+1和−1，弱阶仍可保持；这种弱欧拉–丸山方法（WEM）具有弱阶1，但由于不使用任何路径信息，不具备强收敛性<sup>[7](https://epubs.siam.org/doi/10.1137/S0036144500378302)</sup>。

米尔斯坦方法通过保留随机泰勒级数的二阶项得到，在二次连续可微和一致利普希茨条件下将强阶提高到1.0，并且当噪声为加性噪声时退化为欧拉–丸山方法<sup>[3](https://link.springer.com/article/10.1186/s13662-018-1466-5)</sup>。

## 超越全局利普希茨系数

经典收敛理论假设漂移和扩散系数全局利普希茨。许多重要的模型，例如在金融和生物学中，只满足局部利普希茨性质，而且由于布朗路径可以做出任意大的游走，全局利普希茨理论并不直接适用于它们<sup>[8](https://epubs.siam.org/doi/10.1137/S0036142901389530)</sup>。

有几种基本格式的修改可以在此情形下恢复收敛性：

- **隐式变体。** 德斯蒙德·J·海厄姆（Desmond J. Higham）、毛学荣（Xuerong Mao）和安德鲁·M·斯图尔特（Andrew M. Stuart）证明了欧拉–丸山方法的强收敛性，仅要求局部利普希茨系数加上精确解和数值解的 \( p \) 阶矩对某个 \( p > 2 \) 有界。作为一个应用，他们证明了当扩散系数全局利普希茨但漂移仅满足单边利普希茨条件时，一个隐式变体收敛；论证表明隐式方法具有有界矩，并且可以视为同一形式的扰动随机微分方程的欧拉–丸山近似<sup>[8](https://epubs.siam.org/doi/10.1137/S0036142901389530)</sup>。毛学荣和卢卡什·什普鲁赫（Lukasz Szpruch）将隐式欧拉–丸山型方法推广到非全局利普希茨系数，证明了强收敛性和几乎必然稳定性，并给出了离散拉萨尔原理的随机对应物<sup>[9](https://arxiv.org/abs/1204.1874)</sup>。
- **截断欧拉–丸山方法。** 毛（2015）发展了一种显式截断方法，并在局部利普希茨条件加哈斯明斯基型条件下建立了强收敛性；2016年的后续工作给出了 \( L^q \) 收敛速率。截断限制可能迫使步长小到方法变得不适用，后来的工作在没有这些限制的情况下建立了收敛速率和稳定性<sup>[4](https://www.sciencedirect.com/science/article/pii/S0377042718300463)</sup>。
- **驯服欧拉格式。** 驯服根据步长限制漂移系数（以及在后来的工作中，扩散系数）的大小，从而控制格式的矩，通常借助单边利普希茨条件实现<sup>[10](https://www.sciencedirect.com/science/article/pii/S0885064X23000705)</sup>。
- **自适应时间步进。** 方伟（Wei Fang）和迈克尔·布莱斯·贾尔斯（Michael Bryce Giles）提出了针对非全局利普希茨漂移的欧拉–丸山方法的自适应时间步长构造；在适当有界的时间步长下，近似在有限时间区间内稳定，且期望时间步数有限，对于非均匀全局利普希茨波动率具有强阶1/2，对于单位波动率和充分光滑漂移的朗之万随机微分方程具有阶1<sup>[11](https://arxiv.org/abs/1609.08101)</sup>。

## 稳定性

对于随机微分方程，均方稳定性度量矩的行为，渐近稳定性度量样本路径的行为。应用于线性测试方程，欧拉–丸山方法给出一个单步递推，其稳定域可以显式计算<sup>[12](https://u.math.biu.ac.il/~arielg/researchPages/papers/LNCSE82-3scales.pdf)</sup>。比较研究发现，显式方法提供计算效率，而隐式方法提供优越的稳定性，特别是对于刚性随机系统<sup>[13](https://www.kuwaitjournals.com/index.php/kjcs/article/view/344)</sup>。稳定性分析扩展到带跳的时滞方程<sup>[14](https://www.tandfonline.com/doi/abs/10.1080/00207160903474206)</sup>以及无穷维问题，其中对于结合欧拉–丸山、米尔斯坦和空间离散化的格式，已经推导出必要且充分的均方稳定性条件<sup>[15](https://arxiv.org/abs/1702.07700)</sup>。

即使格式收敛，其不变分布也可能不同于精确分布。对于奥恩斯坦–乌伦贝克过程，步长为 \( \Delta t \) 的欧拉–丸山方法下的稳态方差为 \( \sigma^2/(2\lambda(1 - \lambda\Delta t/2)) \)，而不是精确的 \( \sigma^2/(2\lambda) \)；取 \( \lambda = 0.75 \)、\( \sigma = 1 \) 和 \( \Delta t = 1 \)，\( 10^6 \) 条独立路径上的直方图使这一差异变得可见<sup>[16](https://www.siam.org/publications/siam-news/articles/numerics-for-stochastics/)</sup>。

## 应用

欧拉–丸山方法用于任何需要模拟随机微分方程的地方：

- **金融。** 在布莱克–斯科尔斯等模型下的蒙特卡罗期权定价使用欧拉–丸山方法模拟资产路径，然后对许多轨迹的折现收益取平均<sup>[17](https://mason.gmu.edu/~jcollie3/project5.html)</sup>。
- **系统生物学。** 化学朗之万方程是充分混合反应系统的伊藤随机微分方程描述，在细胞内反应–扩散动力学的混合随机模拟中用欧拉–丸山方法进行数值积分<sup>[18](https://pmc.ncbi.nlm.nih.gov/articles/PMC2693469/)</sup>，而随机动力学模型的贝叶斯推断通常使用化学朗之万方程的欧拉–丸山离散化<sup>[19](https://doi.org/10.1016%2Fj.csda.2023.107760)</sup>。
- **机器学习。** 随机梯度朗之万动力学是一种用于贝叶斯统计和马尔可夫链蒙特卡罗的采样算法，它正是带有无偏梯度估计量的朗之万随机微分方程的欧拉–丸山离散化<sup>[5](https://www.jmlr.org/papers/volume25/22-0796/22-0796.pdf)</sup>。
- **物理学和生理学。** 心肌细胞中随机钙释放的朗之万描述用欧拉–丸山方法进行数值积分；当有限时间步长会导致状态变量（如门控分数）越过边界时，则采用修改后的格式，将这些变量保持在其物理范围内<sup>[20](https://journals.physiology.org/doi/10.1152/ajpheart.00296.2014)</sup>。

## References

1. [Continuous Markov processes and stochastic equations (1955), citing Maruyama, Natural Science Report, Ochanomizu University, Vol. 4 (1953)](https://bishtref.com/articles/10.1007/bf02846028)
2. [Des Higham, Numerical Simulation of Stochastic Differential Equations: Lecture 2, Part 1 (University of Strathclyde, 2006)](https://www.sfu.ca/~pft3/days/m3.pdf)
3. [Numerical methods for simulation of stochastic differential equations, Advances in Continuous and Discrete Models (2018)](https://link.springer.com/article/10.1186/s13662-018-1466-5)
4. [Convergence rate and stability of the truncated Euler–Maruyama method for stochastic differential equations, Journal of Computational and Applied Mathematics 337 (2018)](https://www.sciencedirect.com/science/article/pii/S0377042718300463)
5. [Journal of Machine Learning Research 25 (2024), paper 22-0796](https://www.jmlr.org/papers/volume25/22-0796/22-0796.pdf)
6. [Stochastic Differential Equations lecture notes, ETH Zürich](https://people.math.ethz.ch/~grsam/SS20/NAII/resources/lecture1.pdf)
7. [Desmond J. Higham, An Algorithmic Introduction to Numerical Simulation of Stochastic Differential Equations, SIAM Review 43 (2001)](https://epubs.siam.org/doi/10.1137/S0036144500378302)
8. [Desmond J. Higham, Xuerong Mao, Andrew M. Stuart, Strong Convergence of Euler-Type Methods for Nonlinear Stochastic Differential Equations, SIAM Journal on Numerical Analysis](https://epubs.siam.org/doi/10.1137/S0036142901389530)
9. [Xuerong Mao, Lukasz Szpruch, Strong convergence and stability of implicit numerical methods for stochastic differential equations with non-globally Lipschitz continuous coefficients, arXiv:1204.1874](https://arxiv.org/abs/1204.1874)
10. [A strongly monotonic polygonal Euler scheme, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0885064X23000705)
11. [Wei Fang, Michael Bryce Giles, Adaptive Euler–Maruyama Method for SDEs with Non-globally Lipschitz Drift: Part I, Finite Time Interval, arXiv:1609.08101](https://arxiv.org/abs/1609.08101)
12. [Explicit Methods for Stiff Stochastic Differential Equations, Lecture Notes in Computational Science and Engineering 82](https://u.math.biu.ac.il/~arielg/researchPages/papers/LNCSE82-3scales.pdf)
13. [Stability Analysis of Numerical Schemes for Stochastic Systems, Kuwait Journal of Computer Science](https://www.kuwaitjournals.com/index.php/kjcs/article/view/344)
14. [Mean-square stability of the Euler–Maruyama method for stochastic differential delay equations with jumps, International Journal of Computer Mathematics 88 (2011)](https://www.tandfonline.com/doi/abs/10.1080/00207160903474206)
15. [Mean-square stability analysis of approximations of stochastic differential equations in infinite dimensions, arXiv:1702.07700](https://arxiv.org/abs/1702.07700)
16. [Numerics for Stochastics, SIAM News](https://www.siam.org/publications/siam-news/articles/numerics-for-stochastics/)
17. [Numerical solution of SDEs in finance with Euler–Maruyama and Monte Carlo, George Mason University project](https://mason.gmu.edu/~jcollie3/project5.html)
18. [Hybrid stochastic simulations of intracellular reaction-diffusion systems, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC2693469/)
19. [Accelerating inference for stochastic kinetic models, Computational Statistics & Data Analysis (2023)](https://doi.org/10.1016%2Fj.csda.2023.107760)
20. [Calcium homeostasis in a local/global whole cell model of permeabilized ventricular myocytes, American Journal of Physiology-Heart and Circulatory Physiology (2014)](https://journals.physiology.org/doi/10.1152/ajpheart.00296.2014)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Stochastic processes › Continuous-time and continuous-state processes › Stochastic calculus › Numerical methods for SDEs

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/euler-maruyama-method

English original: https://www.edgepedia.org/euler-maruyama-method
