牛顿法,也称为牛顿-拉夫森方法,是一种求根算法,它使用函数 在疑似根附近的泰勒级数的前几项。牛顿法有时也称为 牛顿迭代法,尽管在本文中,后一个术语保留用于应用牛顿法计算平方根。
对于,一个多项式,牛顿法本质上与霍纳法相同。
泰勒级数 关于点 由下式给出
|
(1)
|
仅保留到一阶项,
|
(2)
|
方程 (2) 是曲线在 处的切线方程,所以 是该切线与 轴的交点。因此,图表可以很好地直观地说明为什么牛顿法在良好选择的起始点处有效,以及为什么它可能在选择不当的起始点处发散。
上面的表达式可以用来估计从初始猜测 开始,为了更接近根所需的偏移量 。令 并求解 (2) 中的 得到
|
(3)
|
这是一阶调整到根的位置。通过令 ,计算新的 ,等等,可以重复该过程,直到它使用下式收敛到不动点(这恰好是一个根)
|
(4)
|
不幸的是,此过程在水平渐近线或局部极值附近可能不稳定。但是,如果根的位置的初始选择良好,则可以迭代应用该算法以获得
|
(5)
|
对于 , 2, 3, .... 提供牛顿法安全收敛的初始点 称为近似零点。
牛顿法可以在 Wolfram 语言中实现为
NewtonsMethodList[f_, {x_, x0_}, n_] :=
NestList[# - Function[x, f][#]/
Derivative[1][Function[x, f]][#]& , x0, n]
假设牛顿迭代 收敛于 且 ,并定义第 步后的误差为
|
(6)
|
将 在 附近展开得到
但是
取二阶展开式
|
(13)
|
得到
|
(14)
|
因此,当该方法收敛时,它是二次收敛的。
将牛顿法应用于任何二次或更高次多项式的根会产生一个 的有理映射,并且当存在三个或更多不同的根时,此映射的 Julia 集是一个分形。迭代方法求解 的根,起始点为 得到
|
(15)
|
(Mandelbrot 1983, Gleick 1988, Peitgen and Saupe 1988, Press et al. 1992, Dickau 1997)。由于这是一个 阶多项式,因此存在 个算法可以收敛到的根。为每个根的吸引盆(收敛到相同根的初始点 的集合)着色不同的颜色,然后给出上面的图。
分形通常也从非多项式映射中产生。上面的图显示了函数 (D. Cross, 私人通信, 1月 10, 2005) 和 的牛顿法收敛所需的迭代次数。
另请参阅
Alpha-Test,
近似零点,
不动点,
Halley 的无理公式,
Halley 法,
霍纳法,
Householder 法,
Laguerre 法,
牛顿迭代法,
牛顿向量场,
求根算法 在 MathWorld 课堂中探索此主题
使用 Wolfram|Alpha 探索
参考文献
Abramowitz, M. and Stegun, I. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, p. 18, 1972.Acton, F. S. Ch. 2 in Numerical Methods That Work. Washington, DC: Math. Assoc. Amer., 1990.Arfken, G. Mathematical Methods for Physicists, 3rd ed. Orlando, FL: Academic Press, pp. 963-964, 1985.Boyer, C. B. and Merzbacher, U. C. A History of Mathematics, 2nd ed. New York: Wiley, 1991.Dickau, R. M. "Basins of Attraction for Using Newton's Method in the Complex Plane." http://mathforum.org/advanced/robertd/newtons.html.Dickau, R. M. "Variations on Newton's Method." http://mathforum.org/advanced/robertd/newnewton.html.Dickau, R. M. "Compilation of Iterative and List Operations." Mathematica J. 7, 14-15, 1997.Gleick, J. Chaos: Making a New Science. New York: Penguin Books, plate 6 (following p. 114) and p. 220, 1988.Gourdon, X. and Sebah, P. "Newton's Iteration." http://numbers.computation.free.fr/Constants/Algorithms/newton.html.Householder, A. S. Principles of Numerical Analysis. New York: McGraw-Hill, pp. 135-138, 1953.Mandelbrot, B. B. The Fractal Geometry of Nature. San Francisco, CA: W. H. Freeman, 1983.Newton, I. Methodus fluxionum et serierum infinitarum. 1664-1671.Ortega, J. M. and Rheinboldt, W. C. Iterative Solution of Nonlinear Equations in Several Variables. Philadelphia, PA: SIAM, 2000.Peitgen, H.-O. and Saupe, D. The Science of Fractal Images. New York: Springer-Verlag, 1988.Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. "Newton-Raphson Method Using Derivatives" and "Newton-Raphson Methods for Nonlinear Systems of Equations." §9.4 and 9.6 in Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, pp. 355-362 and 372-375, 1992.Ralston, A. and Rabinowitz, P. §8.4 in A First Course in Numerical Analysis, 2nd ed. New York: McGraw-Hill, 1978.Raphson, J. Analysis aequationum universalis. London, 1690.Smale, S. "On the Efficiency of Algorithms of Analysis." Bull. Amer. Math. Soc. 13, 87-121, 1985.Varona, J. L. "Graphic and Numerical Comparison Between Iterative Methods." Math. Intell. 24, 37-46, 2002.Whittaker, E. T. and Robinson, G. "The Newton-Raphson Method." §44 in The Calculus of Observations: A Treatise on Numerical Mathematics, 4th ed. New York: Dover, pp. 84-87, 1967.在 Wolfram|Alpha 上被引用
牛顿法
请引用本文为
Weisstein, Eric W. "牛顿法。" 来自 MathWorld--一个 Wolfram Web 资源。 https://mathworld.net.cn/NewtonsMethod.html
学科分类