# 牛顿插值

**牛顿插值**（Newton interpolation）是数值分析中的一种方法，用于构造通过给定一组数据点 \((x_0, f(x_0)), \ldots, (x_n, f(x_n))\) 的多项式，并以牛顿基写出，使其系数为数据的**差商**。该方法归功于艾萨克·牛顿（Isaac Newton），是同一个唯一确定的插值多项式的拉格朗日形式之外的标准替代方案之一。<sup>[1](https://dmpeli.mcmaster.ca/Matlab/Math4Q3/NumMethods/Lecture2-2.html)</sup><sup> • </sup><sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 所得对象 | 在互异节点 \(x_i\) 上满足 \(P(x_i) = f(x_i)\)（\(i = 0, \ldots, n\)）的唯一一个次数不超过 \(n\) 的多项式<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup> |
| 公式 | \( P(x) = \sum_{k=0}^{n} f[x_0, \ldots, x_k] \prod_{0 \le j < k} (x - x_j) \)，即牛顿差商公式<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup> |
| 系数 | 第 \(k\) 个系数是第 \(k\) 阶差商；次数为 \(k\) 的插值多项式的首项系数等于 \(f[x_0, \ldots, x_k]\)<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup><sup> • </sup><sup>[3](https://math.ucla.edu/~njhu/notes/na/interp/polyinterp/)</sup> |
| 增量更新 | 增加一个新节点 \((x_{n+1}, f_{n+1})\) 只需计算一个新的差商并追加一项；此前的各项保持不变<sup>[4](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/02_interpolation/03_newton.html)</sup><sup> • </sup><sup>[5](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_3.html)</sup> |
| 求值代价 | 在已知差商的情况下，求该多项式的值需要 \(n\) 次减法、\(n\) 次加法和 \(n\) 次乘法（嵌套乘法）<sup>[6](https://homepages.math.uic.edu/~jan/mcs471/divdifpol.pdf)</sup> |
| 与拉格朗日形式的关系 | 牛顿形式与拉格朗日形式展开后是同一个多项式，插值误差也相同；二者仅在计算上有别<sup>[1](https://dmpeli.mcmaster.ca/Matlab/Math4Q3/NumMethods/Lecture2-2.html)</sup> |
| 稳定性告诫 | 计算牛顿公式对输入数据的顺序敏感，即便在切比雪夫节点上也可能数值不稳定<sup>[7](https://www.sciencedirect.com/science/article/pii/S0377042719303723)</sup> |

## 差商

牛顿形式的系数由差商构成，差商是割线斜率的一种推广。零阶差商就是函数值本身，\( f[x_i] = f(x_i) \)。一阶差商为

\[ f[x_0, x_1] = \frac{f(x_1) - f(x_0)}{x_1 - x_0}, \]

它类似于 \(f\) 的导数。更高阶的差商按递推定义：<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup>

\[ f[x_i, x_{i+1}, \ldots, x_{i+k}] := \frac{f[x_{i+1}, x_{i+2}, \ldots, x_{i+k}] - f[x_i, x_{i+1}, \ldots, x_{i+k-1}]}{x_{i+k} - x_i}. \]

对于三个节点，二阶插值多项式为<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup>

\[ P(x) = f(x_0) + f[x_0, x_1](x - x_0) + f[x_0, x_1, x_2]\,(x - x_0)(x - x_1), \]

其中

\[ f[x_0, x_1, x_2] = \frac{\dfrac{f(x_2) - f(x_1)}{x_2 - x_1} - \dfrac{f(x_1) - f(x_0)}{x_1 - x_0}}{x_2 - x_0}, \]

这个量起着二阶导数的作用。实际计算中，差商排成一个三角形表，每个元素由它左边的两个元素算出，这正是上述递推的体现。<sup>[8](https://www.youtube.com/watch?v=S7QIU0i1qLE)</sup>

当函数值本身并非精确已知时，对于互异节点存在一个显式公式：差商 \( f[t_0, \ldots, t_n] \) 可以借助重心权重写成函数值的加权和 \( \sum_j w_j f(t_j) \)，这揭示了数据中的扰动如何传播到系数之中。<sup>[3](https://math.ucla.edu/~njhu/notes/na/interp/polyinterp/)</sup>

## 牛顿形式及其结构

牛顿差商公式将次数为 \(n\) 的插值多项式写成<sup>[5](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_3.html)</sup><sup> • </sup><sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup>

\[ P_n(x) = f[x_0] + f[x_0, x_1](x - x_0) + f[x_0, x_1, x_2](x - x_0)(x - x_1) + \cdots + f[x_0, \ldots, x_n]\,(x - x_0)(x - x_1) \cdots (x - x_{n-1}). \]

基函数 \( (x - x_0)(x - x_1) \cdots (x - x_{k-1}) \) 构成给定节点下的牛顿基，最高次项的系数就是次数为 \(k\) 的插值多项式的首项系数，恰为 \(f[x_0, \ldots, x_k]\)。<sup>[3](https://math.ucla.edu/~njhu/notes/na/interp/polyinterp/)</sup>

**增量构造。** 这种形式在结构上的优点是，每增加一个新节点只需追加一项，而此前的各项保持不变。<sup>[5](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_3.html)</sup> 具体地说，增加一个节点 \((x_{n+1}, f_{n+1})\) 需要计算一个新的差商 \(a_{n+1} = f[x_0, \ldots, x_{n+1}]\)，并添加项 \(a_{n+1}(x - x_0) \cdots (x - x_n)\)；此前所有系数依然有效。<sup>[4](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/02_interpolation/03_newton.html)</sup> 相比之下，从头重算拉格朗日形式代价较高，因为求它的值需要大量乘法。<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup>

**求值。** 一旦差商已知，多项式便通过嵌套乘法求值，方式与求标准形式多项式的值相同：每个因子 \((x - x_i)\) 都乘入当前的累积结果。对于 \(n+1\) 个节点，这需要 \(n\) 次减法、\(n\) 次加法和 \(n\) 次乘法。<sup>[6](https://homepages.math.uic.edu/~jan/mcs471/divdifpol.pdf)</sup>

## 与拉格朗日插值的关系

通过互异点的最低次插值多项式是唯一的，因此牛顿形式与拉格朗日形式是同一个多项式在不同基下的写法。<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup> 在具体例子上对两种方法所作的数值比较证实，二者产生相同的插值多项式，在理论上等价。<sup>[9](https://cientists21.org/index.php/AIFY/article/view/290)</sup> 因此逼近误差也完全相同：对于 \(f \in C^{n+1}[a,b]\) 及 \(x \in [a,b]\)，存在 \(\xi \in (a,b)\) 使得<sup>[2](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)</sup>

\[ f(x) = P(x) + \frac{f^{(n+1)}(\xi)}{(n+1)!} \prod_{k=0}^{n}(x - x_k). \]

两种形式的差别仅在于计算层面。牛顿插值的优点在于使用嵌套乘法，以及在构造高阶插值多项式时相对容易添加数据点。<sup>[1](https://dmpeli.mcmaster.ca/Matlab/Math4Q3/NumMethods/Lecture2-2.html)</sup> 一项基于 MATLAB 的比较研究得出结论：牛顿插值在计算量上比拉格朗日插值更轻，但当插值点很多、致使多项式次数非常高时，二者都不适用；在这种情况下，由许多低次多项式拼装而成的三次样条才是高效的选择。<sup>[10](https://periodicos.ufpa.br/index.php/revistamargens/article/view/5447/0)</sup>

## 特例：等距节点

当节点等距、间距为 \(h\) 时，差商化为前向差分除以阶乘：对于 \(m\) 阶，<sup>[1](https://dmpeli.mcmaster.ca/Matlab/Math4Q3/NumMethods/Lecture2-2.html)</sup>

\[ f[V_k, \ldots, V_{k+m}] = \frac{D^m f[V_k]}{m!\, h^m}, \]

其中 \(D^m f[V_k]\) 是第 \(m\) 阶前向差分，例如 \(D^2 f[V_k] = I_{k+2} - 2 I_{k+1} + I_k\)。

## 数值稳定性

在有限精度算术中，由数据计算牛顿公式并非自动地表现良好。文献中此前已经注意到，这种计算可能对输入数据的顺序非常敏感，即便在切比雪夫节点（一类为获得良好插值性质而选定的节点集）上插值，也可能数值不稳定。2020 年发表在《计算与应用数学杂志》上的一项分析对舍入误差的传播作了完整的稳定性分析，为三种以牛顿形式计算插值多项式的算法推导出数值误差的紧上界；该分析还表明，此前工作中定义的条件数是衡量计算中舍入误差影响的恰当尺度——用作者的话说，是“恰当的温度计”。<sup>[7](https://www.sciencedirect.com/science/article/pii/S0377042719303723)</sup>

经典的差商递推本身也可能损失精度，对此已有补救办法。一条研究路线提出了新的差商算法，这些算法对于函数值的扰动始终数值稳定，并且比艾特肯算法和经典方案更精确，对复数据亦然。<sup>[11](https://arxiv.org/abs/math/0407195)</sup> 后来一项关于高次牛顿插值（次数达数百乃至更高）的研究，在极高的次数上对该方法作了数值考察。<sup>[12](https://arxiv.org/abs/1609.08839)</sup> 2023 年发表的工作分析了牛顿基的配置矩阵，给出了一种能以高相对精度计算这些矩阵的分解的算法，并给出了经典差商递推本身能达到高相对精度的条件；对于因不精确算术或输入数据受扰动而在分解中产生的舍入误差，也作了显式分析。<sup>[13](https://arxiv.org/abs/2312.14483)</sup>

差商的作用并不限于插值本身：计算插值多项式的牛顿系数，是比约克–佩雷拉算法求解范德蒙德线性方程组的第一步。<sup>[11](https://arxiv.org/abs/math/0407195)</sup>

## References

1. [Lecture 2-2: Newton divided difference polynomials, McMaster University](https://dmpeli.mcmaster.ca/Matlab/Math4Q3/NumMethods/Lecture2-2.html)
2. [Chapter 6: Approximation and interpolation, Numerical Analysis 2018-23](https://gustavdelius.github.io/NumericalAnalysis2018-23/chapter06.html)
3. [Nicholas Hu, Polynomial interpolation, UCLA notes](https://math.ucla.edu/~njhu/notes/na/interp/polyinterp/)
4. [Newton Interpolation, Computational Physics lecture notes, Universität Bielefeld](https://roesner.pages.ub.uni-bielefeld.de/lectures/computational-physics/semester/sose2026/lecture/02_interpolation/03_newton.html)
5. [Per-Olof Persson, Chapter 3: Interpolation and Polynomial Approximation, UC Berkeley Math 128A lecture notes](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_3.html)
6. [Newton Interpolation, Numerical Analysis MCS 471, University of Illinois at Chicago](https://homepages.math.uic.edu/~jan/mcs471/divdifpol.pdf)
7. [On the numerical stability of Newton's formula for Lagrange interpolation, Journal of Computational and Applied Mathematics 365 (2020) 112369](https://www.sciencedirect.com/science/article/pii/S0377042719303723)
8. [Newton Interpolation and Divided Differences (video), Dr. Will Wood](https://www.youtube.com/watch?v=S7QIU0i1qLE)
9. [Comparison of Lagrange and Newton interpolation formulas in concrete examples, Scientific Research, Innovations, and Modern Approaches](https://cientists21.org/index.php/AIFY/article/view/290)
10. [Lopes, A. P., Costa, M. J. S., Comparação entre métodos de aproximação numérica utilizando o programa MATLAB, Margens v. 11, n. 17 (2017)](https://periodicos.ufpa.br/index.php/revistamargens/article/view/5447/0)
11. [How to overcome the numerical instability of the scheme of divided differences? arXiv:math/0407195](https://arxiv.org/abs/math/0407195)
12. [A Numerical Study of Newton Interpolation with Extremely High Degrees, arXiv:1609.08839](https://arxiv.org/abs/1609.08839)
13. [On the accurate computation of the Newton form of the Lagrange interpolant, arXiv:2312.14483](https://arxiv.org/abs/2312.14483)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Numerical analysis and computation › Interpolation and approximation

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/newton-interpolation

English original: https://www.edgepedia.org/newton-interpolation
