# 分部求和

分部求和（Summation by parts, SBP）是分部积分的离散类比：它是一族恒等式与有限差分算子，能够将乘积的加权和重新改写，使差分从一个因子转移到另一个因子上，只留下边界项。在数值分析中，借助 SBP 性质构造的导数算子可以使连续的能量方法迁移到半离散格式上，从而获得可证明的稳定性与守恒性。

| 关键事实 | 详情 |
|---|---|
| 序列恒等式 | 对 \( A(N) = \sum_{n=1}^{N} a_n \)，有 \( \sum_{n=c}^{b} a_n f(n) = A(b)f(b) - A(c-1)f(c) - \sum_{n=c}^{b-1} A(n)(f(n+1) - f(n)) \) <sup>[1](https://zteitler.github.io/analytic-number-theory-notes/sec-summation-by-parts.html)</sup> |
| 网格恒等式 | \( (u, Dz)_{H} = -(Du, z)_{H} - u_{0} \cdot z_{0} + u_{n} \cdot z_{n} \)，即 \( \int u\,dz \) 分部积分的离散对应 <sup>[2](https://ar5iv.labs.arxiv.org/html/1103.5182)</sup> |
| 算子结构 | \( D = P^{-1}Q \)，其中 \( Q = S + \tfrac{1}{2}E \)，\( S = -S^{T} \)，\( E = E^{T} \) <sup>[3](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)</sup> |
| 精度权衡 | 对角范数：边界阶 \( p \)，内部阶 \( 2p \)，全局阶 \( p+1 \)；块范数：边界阶 \( 2p-1 \)，全局阶 \( 2p \) <sup>[4](http://oddjob.utias.utoronto.ca/dwz/Miscellaneous/SBP_SAT_review.pdf)</sup> |
| 边界处理 | 同时逼近项（Simultaneous Approximation Terms, SAT）通过惩罚项弱施加边界条件 <sup>[5](https://doi.org/10.1006/jcph.1994.1057)</sup> |
| 适用范围 | 该框架涵盖有限差分、有限体积、间断伽辽金、连续伽辽金以及通量重构方法 <sup>[3](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)</sup> |

## 工作原理

对于序列，该恒等式由裂项相消得到。设 \( A(N) = \sum_{n=1}^{N} a_n \)，整数 \( 1 \le c < b \)，则

\[ \sum_{n=c}^{b} a_n f(n) = A(b)f(b) - A(c-1)f(c) - \sum_{n=c}^{b-1} A(n)\bigl(f(n+1) - f(n)\bigr). \]

它与分部积分的对应是精确的：\( a_n \) 扮演 \( dv \) 的角色，部分和 \( A(N) \) 对应原函数 \( v \)，\( f(n) \) 对应因子 \( u \)，前向差分 \( f(n+1) - f(n) \) 对应微分 \( du \)；后向差分版本则使用 \( f(n) - f(n-1) \)。\( A(b)f(b) \) 与 \( A(c-1)f(c) \) 两项即为边界项。

对于网格函数，同样的结构用内积来表述。差分算子 \( D \) 与范数矩阵 \( H \) 满足 SBP 恒等式

\[ (u, Dz)_{H} = -(Du, z)_{H} - u_{0} \cdot z_{0} + u_{n} \cdot z_{n}, \]

它反映了带有端点项的分部求和。<sup>[2](https://ar5iv.labs.arxiv.org/html/1103.5182)</sup> 在 \( [0,1] \) 上取网格 \( x_j = j \cdot h \)，等价形式为 \( (u, Qv)_{h} = -(Qu, v)_{h} + u_{J} \cdot v_{J} - u_{0} \cdot v_{0} \)。<sup>[6](https://www.sam.math.ethz.ch/sam_reports/reports_final/reports1995/1995-07.pdf)</sup> 克赖斯与舍雷尔证明，一般而言，差分近似要满足这样的公式，必须引入新的标量积与范数，这正是为什么范数矩阵 \( P \) 或 \( H \) 是定义的一部分，而非事后补充。<sup>[6](https://www.sam.math.ethz.ch/sam_reports/reports_final/reports1995/1995-07.pdf)</sup>

## 构造方法

一阶导数 SBP 算子是一个逼近 \( \partial / \partial \xi \) 的矩阵 \( D \)，其结构为

\[ D = P^{-1}Q, \qquad Q = S + \tfrac{1}{2}E, \qquad S = -S^{T}, \qquad E = E^{T}, \]

其中 \( P > 0 \) 定义离散范数，\( E \) 为对称边界项。<sup>[3](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)</sup> 另一个常见的等价形式是 \( D = H^{-1}(Q + B/2) \)，其中 \( H \) 对称正定，\( Q = -Q^{T} \)，\( B = \mathrm{diag}([-1, 0, \ldots, 0, 1]) \)。<sup>[7](https://link.springer.com/article/10.1007/s10915-024-02622-1)</sup> 精度通过要求 \( D \) 对多项式精确来确定：对次数不超过 \( p \) 的多项式，\( D x_{j} = j \cdot x_{j-1} \)。<sup>[4](http://oddjob.utias.utoronto.ca/dwz/Miscellaneous/SBP_SAT_review.pdf)</sup>

SBP 性质本身即双线性恒等式：对所有 \( u, v \in \mathbb{R}^{N} \)，

\[ (D u)^{T} \cdot P \cdot v + u^{T} \cdot P \cdot D \cdot v = u^{T} \cdot B \cdot v, \]

它模拟了分部积分。<sup>[8](https://link.springer.com/article/10.1007/s10915-025-03062-1)</sup> 由于 \( Q + Q^{T} = E \)，裂项相消

\[ v^{T} \cdot P \cdot D \cdot u + u^{T} \cdot P \cdot D \cdot v = v^{T} \cdot E \cdot u \]

将体积贡献坍缩为逼近曲面积分的边界项，这一步正是导出能量估计的关键。<sup>[3](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)</sup> 随后用 SAT 惩罚项弱施加边界条件，因此边界点保持为未知量，从不被精确设为边界值。<sup>[9](https://ar5iv.labs.arxiv.org/html/1311.4984)</sup>

## 起源

最早的 SBP 算子是为均匀网格上的一阶导数有限差分近似构造的，内部采用偶数阶 \( p = 2, 4, 6, 8 \) 的中心格式，并在前 \( p/2 \) 个网格点上做边界闭合。<sup>[7](https://link.springer.com/article/10.1007/s10915-024-02622-1)</sup> 博·斯特兰德 1994 年发表在《计算物理学杂志》上的论文《d/dx 有限差分近似的分部求和》证明了受限块范数算子的存在性，其近边界算子为 \( 2p-1 \) 阶，使方法具有全局 \( 2p \) 阶精度。<sup>[10](https://doi.org/10.1006/jcph.1994.1005)</sup><sup> • </sup><sup>[4](http://oddjob.utias.utoronto.ca/dwz/Miscellaneous/SBP_SAT_review.pdf)</sup> 同样在 1994 年，马克·H·卡彭特、大卫·戈特利布和索尔·阿巴内尔在《求解双曲系统的有限差分格式的时间稳定边界条件》中提出了弱施加边界条件的 SAT 方法<sup>[5](https://doi.org/10.1006/jcph.1994.1057)</sup>，其基础是更早的惩罚项思想。<sup>[4](http://oddjob.utias.utoronto.ca/dwz/Miscellaneous/SBP_SAT_review.pdf)</sup> 肯·马特松与扬·努德斯特伦于 2004 年将该框架推广到二阶导数。<sup>[11](https://doi.org/10.1016/j.jcp.2004.03.001)</sup>

## 变体

**范数选择。** 对角范数算子存在边界精度 \( p \)、内部精度 \( 2p \) 的构造，其中 \( 1 \le p \le 4 \)；完整（块）范数给出边界精度 \( 2p-1 \)、内部精度 \( 2p \)。<sup>[6](https://www.sam.math.ethz.ch/sam_reports/reports_final/reports1995/1995-07.pdf)</sup>

**迎风对。** 迎风 SBP（USBP）算子采用偏置的非中心内部格式，成对出现为左偏与右偏形式 \( D_{m} = H^{-1}(Q_{m} + B/2) \)、\( D_{p} = H^{-1}(Q_{p} + B/2) \)，其中 \( Q_{m} = -Q_{p}^{T} \)，且 \( Q_{m} + Q_{m}^{T} \) 对称半正定；阶数从 \( p = 2 \) 到 \( 9 \) 的算子均已构造。<sup>[7](https://link.springer.com/article/10.1007/s10915-024-02622-1)</sup> USBP 算子构成一类对偶对 SBP 算子，并已在节点间断伽辽金方法的勒让德–高斯–洛巴托点上构造。<sup>[12](https://arxiv.org/html/2406.14557v1)</sup>

**超越均匀有限差分。** 广义 SBP 算子涵盖可能不含边界节点的非均匀点分布，以及若干空间维度上的非结构网格。<sup>[13](https://www.sciencedirect.com/science/article/abs/pii/S0021999118301037)</sup> 用克罗内克积构造的多维离散模拟散度定理，SBP 能量范数以 \( O(h^{2s}) \) 逼近 \( L^{2} \) 范数。<sup>[2](https://ar5iv.labs.arxiv.org/html/1103.5182)</sup> 函数空间 SBP（FSBP）算子允许使用一般的非多项式逼近空间。<sup>[8](https://link.springer.com/article/10.1007/s10915-025-03062-1)</sup>

**时间。** SBP 时间积分方法在 \( [0, T] \) 上满足 \( M \cdot D + D^{T} \cdot M = t_{R} \cdot t_{R}^{T} - t_{L} \cdot t_{L}^{T} \)；拉道与 Lobatto 节点上的经典配点方法即为 SBP 格式。<sup>[14](https://www.sciencedirect.com/science/article/pii/S2590037419300044)</sup>

## 应用

核心用途是能量稳定性。裂项恒等式将 \( v^{T} \cdot P \cdot D \cdot u + u^{T} \cdot P \cdot D \cdot v \) 约化为边界项 \( v^{T} \cdot E \cdot u \)，从而对线性对流给出可证明的稳定性；结合塔德莫尔框架下的熵稳定数值通量，还可对非线性守恒律系统给出熵稳定半离散格式。<sup>[3](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)</sup><sup> • </sup><sup>[13](https://www.sciencedirect.com/science/article/abs/pii/S0021999118301037)</sup> 与弱施加边界条件相结合，SBP 算子使得系统性地构造能量稳定半离散格式成为可能<sup>[8](https://link.springer.com/article/10.1007/s10915-025-03062-1)</sup>，而 SBP-SAT 方法支持稳定的多块与单元耦合。<sup>[9](https://ar5iv.labs.arxiv.org/html/1311.4984)</sup>

泛函估计是第二项收益：尽管对于内部精度为 \( 2s \) 阶的算子，边界闭合将全局解精度限制在 \( s+1 \) 阶，但对偶相容的泛函估计可以达到 \( 2s \) 阶精度。<sup>[2](https://ar5iv.labs.arxiv.org/html/1103.5182)</sup><sup> • </sup><sup>[15](https://epubs.siam.org/doi/10.1137/100790987)</sup> 软件实现包括 Julia 库 SummationByPartsOperators.jl，它为面向可证明稳定（半）离散的 SBP 算子提供了统一接口。<sup>[16](https://github.com/ranocha/summationbypartsoperators.jl/)</sup>

## 局限与替代方案

**边界闭合的阶数降低。** 当内部阶为偶数 \( p \) 时，边界闭合至多为 \( p/2 \) 阶精度，传统 SBP-SAT 对流离散的 \( L^{2} \) 收敛率为 \( p/2 + 1 \)，比边界闭合截断阶高一阶。<sup>[7](https://link.springer.com/article/10.1007/s10915-024-02622-1)</sup> 已发表的关于由此产生的全局精度的说法不尽相同：一篇综述报告对角范数的全局阶为 \( p+1 \)，对块范数为 \( 2p \)<sup>[4](http://oddjob.utias.utoronto.ca/dwz/Miscellaneous/SBP_SAT_review.pdf)</sup>，而 2024 年的误差分析给出对流问题的阶为 \( p/2+1 \)；对于内部阶为 \( 2p \) 的对角范数 SBP 算子，所述的 \( p+1 \) 阶与另一种记号一致，因此这些说法并非未解决的分歧。<sup>[19](https://www.sciencedirect.com/science/article/abs/pii/S0021999113004865)</sup>

**弱边界条件。** SAT 仅弱施加边界条件，因此边界条件一般从不被精确满足；惩罚项起到驱动力项的作用，将偏差推向零。<sup>[9](https://ar5iv.labs.arxiv.org/html/1311.4984)</sup> 通过注入方式强施加可能不稳定，即便对于所有特征都指向区域内部的超音速来流欧拉方程也是如此。<sup>[9](https://ar5iv.labs.arxiv.org/html/1311.4984)</sup>

**非线性项。** 对于非线性偏微分方程，仅靠能量方法不够，需要借助两点通量函数进行熵稳定性分析；保持熵守恒或熵稳定的边界处理承载了大部分技术挑战。<sup>[3](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)</sup> 在非线性凸组合 WENO 重构中，SBP 性质会丢失，因此无法为所得格式证明能量稳定性。<sup>[7](https://link.springer.com/article/10.1007/s10915-024-02622-1)</sup>

**其他限制。** 用于非协调多块耦合的保 SBP 插值精度次优，相对于 SBP(2s, s) 算子的 \( s \) 阶边界闭合，其截断误差阶降至 \( s-1 \)。<sup>[17](https://www.diva-portal.org/smash/get/diva2:1067271/FULLTEXT01.pdf)</sup> 对于非对角范数上的广义 SBP 算子或不含边界节点的节点基，守恒性与稳定性更难获得，因为插值之积不同于乘积之插值。<sup>[13](https://www.sciencedirect.com/science/article/abs/pii/S0021999118301037)</sup> 当多项式对解的逼近效果不佳时，多项式精确性本身也是一种限制<sup>[18](https://publications.mfo.de/bitstream/handle/mfo/4058/OWP-2023-13.pdf?isAllowed=y&sequence=1)</sup>，而且几乎没有 SBP 时间格式是强稳定性保持的。<sup>[14](https://www.sciencedirect.com/science/article/pii/S2590037419300044)</sup>

与直接使用能量方法或手工裂项相消相比，SBP 将裂项步骤打包进算子定义中，使得稳定性证明变成对 \( Q + Q^{T} = E \) 以及 SAT 惩罚项的代数检验；代价则是范数矩阵、边界闭合的阶数降低以及弱满足的边界数据。

## References

1. [Summation by Parts (analytic number theory notes)](https://zteitler.github.io/analytic-number-theory-notes/sec-summation-by-parts.html)
2. [Summation-By-Parts Operators and High-Order Quadrature](https://ar5iv.labs.arxiv.org/html/1103.5182)
3. [The summation-by-parts framework for the design and analysis of stable discretizations](https://ntrs.nasa.gov/api/citations/20200004128/downloads/20200004128.pdf)
4. [Review of Summation-By-Parts Operators with Simultaneous Approximation Terms for the Numerical Solution of Partial Differential Equations](http://oddjob.utias.utoronto.ca/dwz/Miscellaneous/SBP_SAT_review.pdf)
5. [Mark H. Carpenter, David Gottlieb, Saul Abarbanel (1994). Time-Stable Boundary Conditions for Finite-Difference Schemes Solving Hyperbolic Systems: Methodology and Application to High-Order Compact Schemes. Journal of Computational Physics.](https://doi.org/10.1006/jcph.1994.1057)
6. [Summation by Parts Formula for Noncentered Finite Differences](https://www.sam.math.ethz.ch/sam_reports/reports_final/reports1995/1995-07.pdf)
7. [Upwind Summation-by-parts Finite Differences: error Estimates and WENO methodology (Journal of Scientific Computing)](https://link.springer.com/article/10.1007/s10915-024-02622-1)
8. [An Optimization-Based Construction Procedure for Function Space-Based Summation-by-parts Operators on Arbitrary Grids (Journal of Scientific Computing)](https://link.springer.com/article/10.1007/s10915-025-03062-1)
9. [Review of Summation-by-parts schemes for initial-boundary-value problems](https://ar5iv.labs.arxiv.org/html/1311.4984)
10. [Bo Strand (1994). Summation by Parts for Finite Difference Approximations for d/dx. Journal of Computational Physics.](https://doi.org/10.1006/jcph.1994.1005)
11. [Ken Mattsson, Jan Nordström (2004). Summation by parts operators for finite difference approximations of second derivatives. Journal of Computational Physics.](https://doi.org/10.1016/j.jcp.2004.03.001)
12. [Generalized upwind summation-by-parts operators and their application to nodal discontinuous Galerkin methods](https://arxiv.org/html/2406.14557v1)
13. [Generalised summation-by-parts operators and variable coefficients (Journal of Computational Physics)](https://www.sciencedirect.com/science/article/abs/pii/S0021999118301037)
14. [Some notes on summation by parts time integration methods](https://www.sciencedirect.com/science/article/pii/S2590037419300044)
15. [Superconvergent Functional Estimates from Summation-By-Parts Finite-Difference Discretizations (SIAM)](https://epubs.siam.org/doi/10.1137/100790987)
16. [SummationByPartsOperators.jl (Julia library)](https://github.com/ranocha/summationbypartsoperators.jl/)
17. [An analysis of non-conforming grid techniques for high order summation-by-parts methods](https://www.diva-portal.org/smash/get/diva2:1067271/FULLTEXT01.pdf)
18. [MFSBP operators (Oberwolfach preprint)](https://publications.mfo.de/bitstream/handle/mfo/4058/OWP-2023-13.pdf?isAllowed=y&sequence=1)
19. [sciencedirect.com](https://www.sciencedirect.com/science/article/abs/pii/S0021999113004865)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Sep 30, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/summation-by-parts

English original: https://www.edgepedia.org/summation-by-parts
