Summation by parts

From HandWiki
Revision as of 20:12, 6 February 2024 by Wincert (talk | contribs) (over-write)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Theorem to simplify sums of products of sequences


In mathematics, summation by parts transforms the summation of products of sequences into other summations, often simplifying the computation or (especially) estimation of certain types of sums. It is also called Abel's lemma or Abel transformation, named after Niels Henrik Abel who introduced it in 1826.[1]

Statement

Suppose [math]\displaystyle{ \{f_k\} }[/math] and [math]\displaystyle{ \{g_k\} }[/math] are two sequences. Then,

[math]\displaystyle{ \sum_{k=m}^n f_k(g_{k+1}-g_k) = \left(f_{n+1}g_{n+1} - f_m g_m\right) - \sum_{k=m}^n g_{k+1}(f_{k+1}- f_{k}). }[/math]

Using the forward difference operator [math]\displaystyle{ \Delta }[/math], it can be stated more succinctly as

[math]\displaystyle{ \sum_{k=m}^n f_k\Delta g_k = \left(f_{n+1} g_{n+1} - f_m g_m\right) - \sum_{k=m}^{n} g_{k+1}\Delta f_k, }[/math]

Summation by parts is an analogue to integration by parts:

[math]\displaystyle{ \int f\,dg = f g - \int g\,df, }[/math]

or to Abel's summation formula:

[math]\displaystyle{ \sum_{k=m+1}^n f(k)(g_{k}-g_{k-1})= \left(f(n)g_{n} - f(m) g_m\right) - \int_{m}^n g_{\lfloor t \rfloor} f'(t) dt. }[/math]

An alternative statement is

[math]\displaystyle{ f_n g_n - f_m g_m = \sum_{k=m}^{n-1} f_k\Delta g_k + \sum_{k=m}^{n-1} g_k\Delta f_k + \sum_{k=m}^{n-1} \Delta f_k \Delta g_k }[/math]

which is analogous to the integration by parts formula for semimartingales.

Although applications almost always deal with convergence of sequences, the statement is purely algebraic and will work in any field. It will also work when one sequence is in a vector space, and the other is in the relevant field of scalars.

Newton series

The formula is sometimes given in one of these - slightly different - forms

[math]\displaystyle{ \begin{align} \sum_{k=0}^n f_k g_k &= f_0 \sum_{k=0}^n g_k+ \sum_{j=0}^{n-1} (f_{j+1}-f_j) \sum_{k=j+1}^n g_k\\ &= f_n \sum_{k=0}^n g_k - \sum_{j=0}^{n-1} \left( f_{j+1}- f_j\right) \sum_{k=0}^j g_k, \end{align} }[/math]

which represent a special case ([math]\displaystyle{ M = 1 }[/math]) of the more general rule

[math]\displaystyle{ \begin{align} \sum_{k=0}^n f_k g_k &= \sum_{i=0}^{M-1} f_0^{(i)} G_{i}^{(i+1)}+ \sum_{j=0}^{n-M} f^{(M)}_{j} G_{j+M}^{(M)} = \\ &= \sum_{i=0}^{M-1} \left( -1 \right)^i f_{n-i}^{(i)} \tilde{G}_{n-i}^{(i+1)}+ \left( -1 \right) ^{M} \sum_{j=0}^{n-M} f_j^{(M)} \tilde{G}_j^{(M)}; \end{align} }[/math]

both result from iterated application of the initial formula. The auxiliary quantities are Newton series:

[math]\displaystyle{ f_j^{(M)}:= \sum_{k=0}^M \left(-1 \right)^{M-k} {M \choose k} f_{j+k} }[/math]

and

[math]\displaystyle{ G_j^{(M)}:= \sum_{k=j}^n {k-j+M-1 \choose M-1} g_k, }[/math]
[math]\displaystyle{ \tilde{G}_j^{(M)}:= \sum_{k=0}^j {j-k+M-1 \choose M-1} g_k. }[/math]

A particular ([math]\displaystyle{ M=n+1 }[/math]) result is the identity

[math]\displaystyle{ \sum_{k=0}^n f_k g_k = \sum_{i=0}^n f_0^{(i)} G_i^{(i+1)} = \sum_{i=0}^n (-1)^i f_{n-i}^{(i)} \tilde{G}_{n-i}^{(i+1)}. }[/math]

Here, [math]\displaystyle{ {n \choose k} }[/math] is the binomial coefficient.

Method

For two given sequences [math]\displaystyle{ (a_n) }[/math] and [math]\displaystyle{ (b_n) }[/math], with [math]\displaystyle{ n \in \N }[/math], one wants to study the sum of the following series: [math]\displaystyle{ S_N = \sum_{n=0}^N a_n b_n }[/math]

If we define [math]\displaystyle{ B_n = \sum_{k=0}^n b_k, }[/math] then for every [math]\displaystyle{ n\gt 0, }[/math] [math]\displaystyle{ b_n = B_n - B_{n-1} }[/math] and [math]\displaystyle{ S_N = a_0 b_0 + \sum_{n=1}^N a_n (B_n - B_{n-1}), }[/math] [math]\displaystyle{ S_N = a_0 b_0 - a_1 B_0 + a_N B_N + \sum_{n=1}^{N-1} B_n (a_n - a_{n+1}). }[/math]

Finally [math]\displaystyle{ S_N = a_N B_N - \sum_{n=0}^{N-1} B_n (a_{n+1} - a_n). }[/math]

This process, called an Abel transformation, can be used to prove several criteria of convergence for [math]\displaystyle{ S_N }[/math].

Similarity with an integration by parts

The formula for an integration by parts is [math]\displaystyle{ \int_a^b f(x) g'(x)\,dx = \left[ f(x) g(x) \right]_{a}^{b} - \int_a^b f'(x) g(x)\,dx }[/math].

Beside the boundary conditions, we notice that the first integral contains two multiplied functions, one which is integrated in the final integral ([math]\displaystyle{ g' }[/math] becomes [math]\displaystyle{ g }[/math]) and one which is differentiated ([math]\displaystyle{ f }[/math] becomes [math]\displaystyle{ f' }[/math]).

The process of the Abel transformation is similar, since one of the two initial sequences is summed ([math]\displaystyle{ b_n }[/math] becomes [math]\displaystyle{ B_n }[/math]) and the other one is differenced ([math]\displaystyle{ a_n }[/math] becomes [math]\displaystyle{ a_{n+1} - a_n }[/math]).

Applications

  • It is used to prove Kronecker's lemma, which in turn, is used to prove a version of the strong law of large numbers under variance constraints.
  • It may be used to prove Nicomachus's theorem that the sum of the first [math]\displaystyle{ n }[/math] cubes equals the square of the sum of the first [math]\displaystyle{ n }[/math] positive integers.[2]
  • Summation by parts is frequently used to prove Abel's theorem and Dirichlet's test.
  • One can also use this technique to prove Abel's test: If [math]\displaystyle{ \sum_n b_n }[/math] is a convergent series, and [math]\displaystyle{ a_n }[/math] a bounded monotone sequence, then [math]\displaystyle{ S_N = \sum_{n=0}^N a_n b_n }[/math] converges.

Proof of Abel's test. Summation by parts gives [math]\displaystyle{ \begin{align} S_M - S_N &= a_M B_M - a_N B_N - \sum_{n=N}^{M-1} B_n (a_{n+1} - a_n)\\ &= (a_M-a) B_M - (a_N-a) B_N + a(B_M - B_N) - \sum_{n=N}^{M-1} B_n (a_{n+1} - a_n), \end{align} }[/math] where a is the limit of [math]\displaystyle{ a_n }[/math]. As [math]\displaystyle{ \sum_n b_n }[/math] is convergent, [math]\displaystyle{ B_N }[/math] is bounded independently of [math]\displaystyle{ N }[/math], say by [math]\displaystyle{ B }[/math]. As [math]\displaystyle{ a_n-a }[/math] go to zero, so go the first two terms. The third term goes to zero by the Cauchy criterion for [math]\displaystyle{ \sum_n b_n }[/math]. The remaining sum is bounded by [math]\displaystyle{ \sum_{n=N}^{M-1} |B_n| |a_{n+1}-a_n| \le B \sum_{n=N}^{M-1} |a_{n+1}-a_n| = B|a_N - a_M| }[/math] by the monotonicity of [math]\displaystyle{ a_n }[/math], and also goes to zero as [math]\displaystyle{ N \to \infty }[/math].

Using the same proof as above, one can show that if

  1. the partial sums [math]\displaystyle{ B_N }[/math] form a bounded sequence independently of [math]\displaystyle{ N }[/math];
  2. [math]\displaystyle{ \sum_{n=0}^\infty |a_{n+1} - a_n| \lt \infty }[/math] (so that the sum [math]\displaystyle{ \sum_{n=N}^{M-1} |a_{n+1}-a_n| }[/math] goes to zero as [math]\displaystyle{ N }[/math] goes to infinity)
  3. [math]\displaystyle{ \lim a_n = 0 }[/math]

then [math]\displaystyle{ S_N = \sum_{n=0}^N a_n b_n }[/math] converges.

In both cases, the sum of the series satisfies:[math]\displaystyle{ |S| = \left|\sum_{n=0}^\infty a_n b_n \right| \le B \sum_{n=0}^\infty |a_{n+1}-a_n|. }[/math]

Summation-by-parts operators for high order finite difference methods

A summation-by-parts (SBP) finite difference operator conventionally consists of a centered difference interior scheme and specific boundary stencils that mimics behaviors of the corresponding integration-by-parts formulation.[3][4] The boundary conditions are usually imposed by the Simultaneous-Approximation-Term (SAT) technique.[5] The combination of SBP-SAT is a powerful framework for boundary treatment. The method is preferred for well-proven stability for long-time simulation, and high order of accuracy.

See also

References

  1. Chu, Wenchang (2007). "Abel's lemma on summation by parts and basic hypergeometric series". Advances in Applied Mathematics 39 (4): 490-514. doi:10.1016/j.aam.2007.02.001. 
  2. Edmonds, Sheila M. (1957). "Sums of powers of the natural numbers". The Mathematical Gazette 41 (337): 187–188. doi:10.2307/3609189. 
  3. Strand, Bo (January 1994). "Summation by Parts for Finite Difference Approximations for d/dx". Journal of Computational Physics 110 (1): 47–67. doi:10.1006/jcph.1994.1005. 
  4. Mattsson, Ken; Nordström, Jan (September 2004). "Summation by parts operators for finite difference approximations of second derivatives". Journal of Computational Physics 199 (2): 503–540. doi:10.1016/j.jcp.2004.03.001. 
  5. Carpenter, Mark H.; Gottlieb, David; Abarbanel, Saul (April 1994). "Time-Stable Boundary Conditions for Finite-Difference Schemes Solving Hyperbolic Systems: Methodology and Application to High-Order Compact Schemes". Journal of Computational Physics 111 (2): 220–236. doi:10.1006/jcph.1994.1057. 

Bibliography

  • Abel, Niels Henrik (1826). "Untersuchungen über die Reihe [math]\displaystyle{ 1+ \frac{m}{x} + \frac{m\cdot (m-1)}{2\cdot 1} x^2 + \frac{m\cdot (m-1)\cdot (m-2)}{3\cdot 2\cdot 1} x^3 + \ldots }[/math] u.s.w.". J. Reine Angew. Math. 1: 311–339.