热门问题
时间线
聊天
视角

线性多步法

求解普通方程的有效工具,其工作原理如下:首先选择一个起点,然后向前一小步寻找下一个解点。 来自维基百科,自由的百科全书

Remove ads

线性多步法是一种初值问题常微分方程数值方法。在概念上,初值问题的数位方法是由初值开始,在时间上前进一小段,求解下一个点的数值。重复此步骤,直到要求解的区间都完成为止。

单步法(像欧拉方法)只用前一个点以及其微分来计算目前的值,单步法的龙格-库塔法会用前一个点以及和中间点中间的值来计算目前的值,不过在计算下一个值时,就不考虑之前的资讯。

多步法和单步法的差异是,多步法会考虑以前的资料,以提升效率。因此。多步法会参考之前的数个点以及数点微分值。线性多步法会使用之前的点和微分值的线性组合

定义

常微分方程的数值方法设法找到以下初值问题的近似解

结果是在各离散时间下,的近似值: 其中是时间步长(有时会表示为),而是整数。

多步法会用以前步以内的资讯来计算下一个值。而线性多步法会用的线性组合,来计算。因此,线性多步法可以表示如下 。系数决定所使用的方法。设计者一方面要找到真实解的理想近似解,另一方面也要设计方便计算的方法。为了简化计算,中许多系数会是0。

可以用系数来区分显式和隐式方法。若,此方法则为显式法,因为可以直接计算。若,则的值和有关,需设法求解方程才能得到, 此方法为隐式法。求解方程时,常会使用迭代法(例如牛顿法)求解。

有时,显式的多步法会用来“预估”的值,之后再用隐式公式中来得到“校正”后的值,这称为预估-校正方法

Remove ads

例子

考虑以下问题 其解是

Remove ads

单步欧拉法

欧拉法是一种简易的单步法: 可以将欧拉法视为是退化的显式多步法,其步数只有一步。

用此方法,配合步长求解问题,得到以下的解:

Remove ads

二步Adams–Bashforth法

二步的Adams–Bashforth法是简单的多步法 此方法会用到二个值,来计算下一个值。不过,初始问题只会有一个值。一种可能作法是用欧拉法计算,当作第二个值。在此选择下,Adams–Bashforth法得到结果如下(四舍五入到小数第四位): 的解是,二步的Adams–Bashforth法比欧拉法准确。一般而言,只要步长够小,二步的Adams–Bashforth法都会比欧拉法准确。

Remove ads

多步法分类

常用的多步法可以分为三类:Adams–Bashforth法、Adams–Moulton法及反向微分公式英语backward differentiation formula(BDF)。

Adams–Bashforth法

Adams–Bashforth法是显式法,系数是,而选择使此方法可以到s阶(因此在同一阶下,此方法的系数唯一)。

s = 1, 2, 3, 4, 5的Adams–Bashforth法如下,其中的第一式就是前向欧拉法:(Hairer, Nørsett & Wanner 1993,§III.1; Butcher 2003,第103页):

系数可以用以下方法计算。用多项式插值找到阶的多项式p使得 多项式内插的拉格朗日插值法可以得到 多项式p是要求解的微分方程等号右边的局部好近似值,因此改为考虑方程,此方法有解析解,就是p的积分。因此得到下式 当上述公式的p取代之后,就是Adams–Bashforth法。其系数可以由下式求得 用内插的p取代,引进了数量级为hs的误差,而s步的Adams–Bashforth法确实是s阶(Iserles 1996,§2.1)。

Adams–Bashforth法是由约翰·柯西·亚当斯求解毛细现象建模的微分方程而来,此微分方程出自Francis Bashforth英语Francis BashforthBashforth (1883)发表了他的理论以及亚当斯的数值方法(Goldstine 1977)。

Remove ads

Adams–Moulton法

Adams–Moulton法和Adams–Bashforth法类似,也是,也是选择系数b到最高可能阶数。但Adams–Moulton法是隐式法。去除了的限制,s步的Adams–Moulton法可以到阶,而s步的Adams–Bashforth法只有s阶。

s = 0, 1, 2, 3, 4的Adams–Moulton法如下(Hairer, Nørsett & Wanner 1993,§III.1; Quarteroni, Sacco & Saleri 2000),其中前两个分别是反向欧拉法梯形法则: respectively:

Adams–Moulton法的推导类似Adams–Bashforth法,不过,用的内插法不只用的点,也会用点,其系数为

Adams–Moulton法是由约翰·柯西·亚当斯独立完成,类似Adams–Bashforth法。福里斯特·雷·莫尔顿的名字出现在方法,是因为他发现此方法可以和Adams–Bashforth法一起使用,成为一对预估-校正方法(Moulton 1926)。Milne (1926)也有类似的想法,亚当斯是用牛顿法求解隐式方程(Hairer, Nørsett & Wanner 1993,§III.1)。

Remove ads

反向微分公式(BDF)

反向微分公式是的隐式法,选择其他系数使阶数可以到s阶(最大可能阶数)。此方法特别用来求得刚性方程

相关条目

参考资料

  • Bashforth, Francis, An Attempt to test the Theories of Capillary Action by comparing the theoretical and measured forms of drops of fluid. With an explanation of the method of integration employed in constructing the tables which give the theoretical forms of such drops, by J. C. Adams, Cambridge, 1883.
  • Butcher, John C., Numerical Methods for Ordinary Differential Equations, John Wiley, 2003, ISBN 978-0-471-96758-3.
  • Dahlquist, Germund, Convergence and stability in the numerical integration of ordinary differential equations, Mathematica Scandinavica, 1956, 4: 33–53, doi:10.7146/math.scand.a-10454可免费查阅.
  • Dahlquist, Germund, A special stability problem for linear multistep methods, BIT, 1963, 3: 27–43, ISSN 0006-3835, S2CID 120241743, doi:10.1007/BF01963532.
  • Goldstine, Herman H., A History of Numerical Analysis from the 16th through the 19th Century, New York: Springer-Verlag, 1977, ISBN 978-0-387-90277-7.
  • Hairer, Ernst; Nørsett, Syvert Paul; Wanner, Gerhard, Solving ordinary differential equations I: Nonstiff problems 2nd, Berlin: Springer Verlag, 1993, ISBN 978-3-540-56670-0.
  • Hairer, Ernst; Wanner, Gerhard, Solving ordinary differential equations II: Stiff and differential-algebraic problems 2nd, Berlin, New York: Springer-Verlag, 1996, ISBN 978-3-540-60452-5.
  • Iserles, Arieh, A First Course in the Numerical Analysis of Differential Equations, Cambridge University Press, 1996, Bibcode:1996fcna.book.....I, ISBN 978-0-521-55655-2.
  • Milne, W. E., Numerical integration of ordinary differential equations, American Mathematical Monthly (Mathematical Association of America), 1926, 33 (9): 455–460, JSTOR 2299609, doi:10.2307/2299609.
  • Moulton, Forest R., New methods in exterior ballistics, University of Chicago Press, 1926.
  • Quarteroni, Alfio; Sacco, Riccardo; Saleri, Fausto, Matematica Numerica, Springer Verlag, 2000, ISBN 978-88-470-0077-3.
  • Süli, Endre; Mayers, David, An Introduction to Numerical Analysis, Cambridge University Press, 2003, ISBN 0-521-00794-1.
Remove ads

外部链接

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads