<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=155.41.82.240</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=155.41.82.240"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/155.41.82.240"/>
	<updated>2026-04-09T05:43:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Cellular_approximation_theorem&amp;diff=23700</id>
		<title>Cellular approximation theorem</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Cellular_approximation_theorem&amp;diff=23700"/>
		<updated>2013-09-20T19:02:50Z</updated>

		<summary type="html">&lt;p&gt;155.41.82.240: /* Idea of proof */ spurious comma&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[numerical analysis]], the &#039;&#039;&#039;Shanks transformation&#039;&#039;&#039; is a [[non-linear]] [[series acceleration]] method to increase the [[rate of convergence]] of a [[sequence]]. This method is named after [[Daniel Shanks]], who rediscovered this sequence transformation in 1955. It was first derived and published by R. Schmidt in 1941.&amp;lt;ref&amp;gt;Weniger (2003).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Quote box&lt;br /&gt;
 | quote=One can calculate only a few terms of a [[perturbation theory|perturbation expansion]], usually no more than two or three, and almost never more than seven. The resulting series is often slowly convergent, or even divergent. Yet those few terms contain a remarkable amount of information, which the investigator should do his best to extract.&amp;lt;br&amp;gt; This viewpoint has been persuasively set forth in a delightful paper by Shanks (1955), who displays a number of amazing examples, including several from [[fluid mechanics]]. &lt;br /&gt;
 | source= [[Milton Van Dyke|Milton D. Van Dyke]] (1975) &#039;&#039;Perturbation methods in fluid mechanics&#039;&#039;, p. 202.&lt;br /&gt;
 | width= 60%&lt;br /&gt;
 | align= right&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Formulation==&lt;br /&gt;
&lt;br /&gt;
For a sequence &amp;lt;math&amp;gt;\left\{a_m\right\}_{m\in\mathbb{N}}&amp;lt;/math&amp;gt; the series&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A = \sum_{m=0}^\infty a_m\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is to be determined. First, the partial sum &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; is defined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A_n = \sum_{m=0}^n a_m\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and forms a new sequence &amp;lt;math&amp;gt;\left\{A_n\right\}_{n\in\mathbb{N}}&amp;lt;/math&amp;gt;. Provided the series converges, &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; will approach in the limit to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n\to\infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
The Shanks transformation &amp;lt;math&amp;gt;S(A_n)&amp;lt;/math&amp;gt; of the sequence &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; is defined as&amp;lt;ref name=BenderOrszag368&amp;gt;Bender &amp;amp; Orszag (1999), pp. 368–375.&amp;lt;/ref&amp;gt;&amp;lt;ref name=VanDyke&amp;gt;Van Dyke (1975), pp. 202–205.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S(A_n) = \frac{A_{n+1}\, A_{n-1}\, -\, A_n^2}{A_{n+1}-2A_n+A_{n-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and forms a new sequence. The sequence &amp;lt;math&amp;gt;S(A_n)&amp;lt;/math&amp;gt; often converges more rapidly than the sequence &amp;lt;math&amp;gt;A_n.&amp;lt;/math&amp;gt;   &lt;br /&gt;
Further speed-up may be obtained by repeated use of the Shanks transformation, by computing &amp;lt;math&amp;gt;S^2(A_n)=S(S(A_n)),&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;S^3(A_n)=S(S(S(A_n))),&amp;lt;/math&amp;gt; etc.&lt;br /&gt;
&lt;br /&gt;
Note that the non-linear transformation as used in the Shanks transformation is of similar form as used in [[Aitken&#039;s delta-squared process]]. But while Aitken&#039;s method operates on the coefficients &amp;lt;math&amp;gt;\left\{a_m\right\}&amp;lt;/math&amp;gt; of the original sequence, the Shanks transformation operates on the partial sums &amp;lt;math&amp;gt;A_n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
[[Image:Shanks transformation.svg|thumb|400px|right|Absolute error as a function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; in the partial sums &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; and after applying the Shanks transformation once or several times: &amp;lt;math&amp;gt;S(A_n),&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;S^2(A_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S^3(A_n).&amp;lt;/math&amp;gt; The series used is &amp;lt;math&amp;gt;\scriptstyle 4\left(1-\frac13+\frac15-\frac17+\frac19-\cdots\right),&amp;lt;/math&amp;gt; which has the exact sum &amp;lt;math&amp;gt;\pi.&amp;lt;/math&amp;gt;]]&lt;br /&gt;
As an example, consider the slowly convergent series&amp;lt;ref name=VanDyke/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \sum_{k=0}^\infty (-1)^k \frac{1}{2k+1} = 4 \left( 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots \right) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which has the exact sum &#039;&#039;π&#039;&#039;&amp;amp;nbsp;≈&amp;amp;nbsp;3.14159265. The partial sum &amp;lt;math&amp;gt;A_6&amp;lt;/math&amp;gt; has only one digit accuracy, while six-figure accuracy requires summing about 400,000 terms.&lt;br /&gt;
&lt;br /&gt;
In the table below, the partial sums &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt;, the Shanks transformation &amp;lt;math&amp;gt;S(A_n)&amp;lt;/math&amp;gt; on them, as well as the repeated Shanks transformations &amp;lt;math&amp;gt;S^2(A_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S^3(A_n)&amp;lt;/math&amp;gt; are given for &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; up to 12. The figure to the right shows the absolute error for the partial sums and Shanks transformation results, clearly showing the improved accuracy and convergence rate.&lt;br /&gt;
 &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:40%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;10% | &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&lt;br /&gt;
! width=&amp;quot;20% | &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt;&lt;br /&gt;
! width=&amp;quot;20% | &amp;lt;math&amp;gt;S(A_n)&amp;lt;/math&amp;gt;&lt;br /&gt;
! width=&amp;quot;20% | &amp;lt;math&amp;gt;S^2(A_n)&amp;lt;/math&amp;gt;&lt;br /&gt;
! width=&amp;quot;20% | &amp;lt;math&amp;gt;S^3(A_n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|  0 || 4.00000000 || —          || —          || — &lt;br /&gt;
|-&lt;br /&gt;
|  1 || 2.66666667 || 3.16666667 || —          || — &lt;br /&gt;
|-&lt;br /&gt;
|  2 || 3.46666667 || 3.13333333 || 3.14210526 || — &lt;br /&gt;
|-&lt;br /&gt;
|  3 || 2.89523810 || 3.14523810 || 3.14145022 || 3.14159936 &lt;br /&gt;
|-&lt;br /&gt;
|  4 || 3.33968254 || 3.13968254 || 3.14164332 || 3.14159086 &lt;br /&gt;
|-&lt;br /&gt;
|  5 || 2.97604618 || 3.14271284 || 3.14157129 || 3.14159323 &lt;br /&gt;
|-&lt;br /&gt;
|  6 || 3.28373848 || 3.14088134 || 3.14160284 || 3.14159244 &lt;br /&gt;
|-&lt;br /&gt;
|  7 || 3.01707182 || 3.14207182 || 3.14158732 || 3.14159274 &lt;br /&gt;
|-&lt;br /&gt;
|  8 || 3.25236593 || 3.14125482 || 3.14159566 || 3.14159261 &lt;br /&gt;
|-&lt;br /&gt;
|  9 || 3.04183962 || 3.14183962 || 3.14159086 || 3.14159267 &lt;br /&gt;
|-&lt;br /&gt;
| 10 || 3.23231581 || 3.14140672 || 3.14159377 || 3.14159264 &lt;br /&gt;
|-&lt;br /&gt;
| 11 || 3.05840277 || 3.14173610 || 3.14159192 || 3.14159266 &lt;br /&gt;
|-&lt;br /&gt;
| 12 || 3.21840277 || 3.14147969 || 3.14159314 || 3.14159265 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Shanks transformation &amp;lt;math&amp;gt;S(A_1)&amp;lt;/math&amp;gt; already has two-digit accuracy, while the original partial sums only establish the same accuracy at &amp;lt;math&amp;gt;A_{24}.&amp;lt;/math&amp;gt; Remarkably, &amp;lt;math&amp;gt;S^3(A_3)&amp;lt;/math&amp;gt; has six digits accuracy, obtained from repeated Shank transformations applied to the first seven terms &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt;, ... , &amp;lt;math&amp;gt;A_6.&amp;lt;/math&amp;gt; As said before, &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; only obtains 6-digit accuracy after about summing 400,000 terms.&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Shanks transformation is motivated by the observation that — for larger &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; — the partial sum &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; quite often behaves approximately as&amp;lt;ref name=BenderOrszag368/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A_n = A + \alpha q^n, \,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &amp;lt;math&amp;gt;|q|&amp;lt;1&amp;lt;/math&amp;gt; so that the sequence converges [[transient (oscillation)|transient]]ly to the series result &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n\to\infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
So for &amp;lt;math&amp;gt;n-1,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; the respective partial sums are:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A_{n-1} = A + \alpha q^{n-1} \quad , \qquad A_n = A + \alpha q^n \qquad \text{and} \qquad A_{n+1} = A + \alpha q^{n+1}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These three equations contain three unknowns: &amp;lt;math&amp;gt;A,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q.&amp;lt;/math&amp;gt; Solving for &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; gives&amp;lt;ref name=BenderOrszag368/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A = \frac{A_{n+1}\, A_{n-1}\, -\, A_n^2}{A_{n+1}-2A_n+A_{n-1}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the (exceptional) case that the denominator is equal to zero: then &amp;lt;math&amp;gt;A_n=A&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Generalized Shanks transformation==&lt;br /&gt;
&lt;br /&gt;
The generalized &#039;&#039;k&#039;&#039;th-order Shanks transformation is given as the ratio of the [[determinant]]s:&amp;lt;ref name=BenderOrszag389&amp;gt;Bender &amp;amp; Orszag (1999), pp. 389–392.&amp;lt;/ref&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
  S_k(A_n) &lt;br /&gt;
  = \frac{&lt;br /&gt;
      \begin{vmatrix}&lt;br /&gt;
        A_{n-k}          &amp;amp; \cdots &amp;amp; A_{n-1}          &amp;amp; A_n              \\&lt;br /&gt;
        \Delta A_{n-k}   &amp;amp; \cdots &amp;amp; \Delta A_{n-1}   &amp;amp; \Delta A_{n}     \\&lt;br /&gt;
        \Delta A_{n-k+1} &amp;amp; \cdots &amp;amp; \Delta A_{n}     &amp;amp; \Delta A_{n+1}   \\&lt;br /&gt;
        \vdots           &amp;amp;        &amp;amp; \vdots           &amp;amp; \vdots           \\&lt;br /&gt;
        \Delta A_{n-1}   &amp;amp; \cdots &amp;amp; \Delta A_{n+k-2} &amp;amp; \Delta A_{n+k-1} \\&lt;br /&gt;
      \end{vmatrix}&lt;br /&gt;
    }{&lt;br /&gt;
      \begin{vmatrix}&lt;br /&gt;
        1                &amp;amp; \cdots &amp;amp; 1                &amp;amp; 1                \\&lt;br /&gt;
        \Delta A_{n-k}   &amp;amp; \cdots &amp;amp; \Delta A_{n-1}   &amp;amp; \Delta A_{n}     \\&lt;br /&gt;
        \Delta A_{n-k+1} &amp;amp; \cdots &amp;amp; \Delta A_{n}     &amp;amp; \Delta A_{n+1}   \\&lt;br /&gt;
        \vdots           &amp;amp;        &amp;amp; \vdots           &amp;amp; \vdots           \\&lt;br /&gt;
        \Delta A_{n-1}   &amp;amp; \cdots &amp;amp; \Delta A_{n+k-2} &amp;amp; \Delta A_{n+k-1} \\&lt;br /&gt;
      \end{vmatrix}&lt;br /&gt;
    },&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;\Delta A_p = A_{p+1} - A_p.&amp;lt;/math&amp;gt; It is the solution of a model for the convergence behaviour of the partial sums &amp;lt;math&amp;gt;A_n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; distinct transients:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A_n = A + \sum_{p=1}^k \alpha_p q_p^n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This model for the convergence behaviour contains &amp;lt;math&amp;gt;2k+1&amp;lt;/math&amp;gt; unknowns. By evaluating the above equation at the elements &amp;lt;math&amp;gt;A_{n-k}, A_{n-k+1}, \ldots, A_{n+k}&amp;lt;/math&amp;gt; and solving for &amp;lt;math&amp;gt;A,&amp;lt;/math&amp;gt; the above expression for the &#039;&#039;k&#039;&#039;th-order Shanks transformation is obtained. The first-order generalized Shanks transformation is equal to the ordinary Shanks transformation: &amp;lt;math&amp;gt;S_1(A_n)=S(A_n).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The generalized Shanks transformation is closely related to [[Padé approximant]]s and [[Padé table]]s.&amp;lt;ref name=BenderOrszag389/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Aitken&#039;s delta-squared process]]&lt;br /&gt;
*[[Rate of convergence]]&lt;br /&gt;
*[[Richardson extrapolation]]&lt;br /&gt;
*[[sequence transformation]]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*{{citation | first=D. | last=Shanks | authorlink=Daniel Shanks | year=1955 | title=Non-linear transformation of divergent and slowly convergent sequences | journal=Journal of Mathematics and Physics | volume = 34 | pages=1–42 }}&lt;br /&gt;
*{{citation | first=R. | last=Schmidt | title=On the numerical solution of linear simultaneous equations by an iterative method | journal=Philosophical Magazine | volume=32 | year=1941 | pages=369–383 }}&lt;br /&gt;
*{{citation | first=M.D. | last=Van Dyke | authorlink=Milton Van Dyke | title=Perturbation methods in fluid mechanics | publisher=Parabolic Press | year=1975 | edition=annotated | isbn=0-915760-01-0 }}&lt;br /&gt;
*{{citation | first1=C.M. | last1=Bender | authorlink1=Carl M. Bender | first2=S.A. | last2=Orszag | authorlink2=Steven A. Orszag | title=Advanced mathematical methods for scientists and engineers | publisher=Springer | year=1999 | isbn=0-387-98931-5 }}&lt;br /&gt;
*{{cite arxiv | author=Weniger, E.J. | title=Nonlinear sequence transformations for the acceleration of convergence and the summation of divergent series| eprint=math.NA/0306302 | year=2003 | version=v1 }}&lt;br /&gt;
&lt;br /&gt;
[[Category:Numerical analysis]]&lt;br /&gt;
[[Category:Asymptotic analysis]]&lt;/div&gt;</summary>
		<author><name>155.41.82.240</name></author>
	</entry>
</feed>