Movatterモバイル変換


[0]ホーム

URL:


DLMF
About the Project
3Numerical MethodsAreas

§3.10Continued Fractions

Referenced by:
§1.12(vi),4th item
Permalink:
http://dlmf.nist.gov/3.10
See also:
Annotations forCh.3
Contents
  1. §3.10(i)Introduction
  2. §3.10(ii)Relations to Power Series
  3. §3.10(iii)Numerical Evaluation of Continued Fractions

§3.10(i)Introduction

Permalink:
http://dlmf.nist.gov/3.10.i
See also:
Annotations for§3.10 andCh.3

See §1.12 for relevant properties of continued fractions, including thefollowing definitions:

3.10.1C=b0+a1b1+a2b2+,
an0,
Defines:
C: continued fraction (locally)
Referenced by:
§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.E1
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(i),§3.10 andCh.3
3.10.2Cn=b0+a1b1+a2b2+anbn=AnBn.
Defines:
An: continued fraction numerator (locally),Bn: continued fraction denominator (locally) andCn: continued fraction approximant (locally)
Referenced by:
§3.10(iii),§3.10(iii)
Permalink:
http://dlmf.nist.gov/3.10.E2
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(i),§3.10 andCh.3

Cn is thenthapproximant orconvergent toC.

§3.10(ii)Relations to Power Series

Keywords:
continued fractions,relation to power series
Notes:
SeeBlanch (1964). For the original source of thequotient-difference algorithm seeRutishauser (1957).
Permalink:
http://dlmf.nist.gov/3.10.ii
See also:
Annotations for§3.10 andCh.3

Every convergent, asymptotic, or formal series

3.10.3u0+u1+u2+
Defines:
un: series (locally)
Referenced by:
§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.E3
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(ii),§3.10 andCh.3

can be converted into a continued fractionC of type (3.10.1),and with the property that thenth convergentCn=An/Bn toC isequal to thenth partial sum of the series in (3.10.3), that is,

3.10.4AnBn=u0+u1++un,
n=0,1,.

For instance, if none of theun vanish, then we can define

3.10.5b0=u0,
b1=1,
a1=u1,
bn=1+unun1,
an=unun1,
n2.
Symbols:
un: series
Referenced by:
§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.E5
Encodings:
TeX,TeX,TeX,TeX,TeX,pMML,pMML,pMML,pMML,pMML,png,png,png,png,png
See also:
Annotations for§3.10(ii),§3.10 andCh.3

However, other continued fractions with the same limit may converge in a muchlarger domain of the complex plane than the fraction given by(3.10.4) and (3.10.5). For example, by converting theMaclaurin expansion ofarctanz (4.24.3), we obtain acontinued fraction with the same region of convergence (|z|1,z±i), whereas the continued fraction (4.25.4) convergesfor allz except on the branch cuts fromi toi andi toi.

Stieltjes Fractions

A continued fraction of the form

3.10.6C=a01a1z1a2z1
Symbols:
C: continued fraction
Referenced by:
§3.10(ii),§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.E6
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(ii),§3.10(ii),§3.10 andCh.3

is called aStieltjes fraction (S-fraction). We say that itcorresponds to the formal power series

3.10.7f(z)=c0+c1z+c2z2+
Defines:
cn: coefficients (locally)
Referenced by:
§3.10(ii),§3.10(ii),§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.E7
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(ii),§3.10(ii),§3.10 andCh.3

if the expansion of itsnth convergentCn in ascending powers ofzagrees with (3.10.7) up to and including the term inzn1,n=1,2,3,.

Quotient-Difference Algorithm

For several special functions theS-fractions are known explicitly, but inany case the coefficientsan can always be calculated from the power-seriescoefficients by means of thequotient-difference algorithm; seeTable3.10.1.

Table 3.10.1:Quotient-difference scheme.
\begin{picture}(8.0,9.0)\put(0.0,7.0){$e_{0}^{1}$}\put(0.0,5.0){$e_{0}^{2}$}\put(0.0,3.0){$e_{0}^{3}$}\put(0.0,1.0){$e_{0}^{4}$}\put(1.0,8.0){$q_{1}^{0}$}\put(1.0,6.0){$q_{1}^{1}$}\put(1.0,4.0){$q_{1}^{2}$}\put(1.0,2.0){$q_{1}^{3}$}\put(1.0,0.0){$\ddots$}\put(2.0,7.0){$e_{1}^{0}$}\put(2.0,5.0){$e_{1}^{1}$}\put(2.0,3.0){$e_{1}^{2}$}\put(2.0,1.0){$e_{1}^{3}$}\put(3.0,6.0){$q_{2}^{0}$}\put(3.0,4.0){$q_{2}^{1}$}\put(3.0,2.0){$q_{2}^{2}$}\put(3.0,0.0){$\ddots$}\put(4.0,5.0){$e_{2}^{0}$}\put(4.0,3.0){$e_{2}^{1}$}\put(4.0,1.0){$e_{2}^{2}$}\put(5.0,4.0){$q_{3}^{0}$}\put(5.0,2.0){$q_{3}^{1}$}\put(5.0,0.0){$\ddots$}\put(6.0,3.0){$e_{3}^{0}$}\put(6.0,1.0){$e_{3}^{1}$}\put(7.0,2.0){$\ddots$}\put(7.0,0.0){$\ddots$}\end{picture}
Symbols:
ejk: element andqjk: element
Referenced by:
§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.T1
See also:
Annotations for§3.10(ii),§3.10(ii),§3.10 andCh.3

The first two columns in this table are defined by

3.10.8e0n=0,
n=1,2,,
q1n=cn+1/cn,
n=0,1,,

where thecn (0) appear in (3.10.7). We continue bymeans of therhombus rule

3.10.9ejk=ej1k+1+qjk+1qjk,
j1,k0,
qj+1k=qjk+1ejk+1/ejk,
j1,k0.

Then the coefficientsan of theS-fraction (3.10.6) aregiven by

3.10.10a0=c0,
a1=q10,
a2=e10,
a3=q20,
a4=e20,
.

The quotient-difference algorithm is frequently unstable and may requirehigh-precision arithmetic or exact arithmetic. A more stable version of thealgorithm is discussed inStokes (1980). For applications to Besselfunctions and Whittaker functions (Chapters 10 and13), seeGargantini and Henrici (1967).

Jacobi Fractions

A continued fraction of the form

3.10.11C=β01α0zβ1z21α1zβ2z21α2z
Symbols:
C: continued fraction
Referenced by:
§3.10(ii)
Permalink:
http://dlmf.nist.gov/3.10.E11
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(ii),§3.10(ii),§3.10 andCh.3

is called aJacobi fraction (J-fraction). We say that it isassociated with the formal power seriesf(z) in(3.10.7) if the expansion of itsnth convergentCn inascending powers ofz, agrees with (3.10.7) up to andincluding the term inz2n1,n=1,2,3,. For the same functionf(z), the convergentCn of the Jacobi fraction (3.10.11)equals the convergentC2n of the Stieltjes fraction(3.10.6).

Examples ofS- andJ-Fractions

See also:
Annotations for§3.10(ii),§3.10 andCh.3

For elementary functions, see §§ 4.9 and4.35.

For special functions see§5.10 (gamma function),§7.9 (error function),§8.9 (incomplete gamma functions),§8.17(v) (incomplete beta function),§8.19(vii) (generalized exponential integral),§§10.10 and10.33 (quotients of Bessel functions),§13.6 (quotients of confluent hypergeometric functions),§13.19 (quotients of Whittaker functions), and§15.7 (quotients of hypergeometric functions).

For further information and examples seeLorentzen and Waadeland (1992, pp. 292–330, 560–599) andCuyt et al. (2008).

§3.10(iii)Numerical Evaluation of Continued Fractions

Notes:
SeeWall (1948, pp. 17–19),Barnett et al. (1974),andBarnett (1981a).
Referenced by:
Erratum (V1.0.24) for ParagraphSteed’s Algorithm (in §3.10(iii))
Permalink:
http://dlmf.nist.gov/3.10.iii
See also:
Annotations for§3.10 andCh.3

Forward Recurrence Algorithm

TheAn andBn of (3.10.2) can be computed by means ofthree-term recurrence relations (1.12.5). However, this may beunstable; also overflow and underflow may occur when evaluatingAn andBn(making it necessary to re-scale from time to time).

Backward Recurrence Algorithm

To compute theCn of (3.10.2) we perform the iterated divisions

3.10.12un=bn,
uk=bk+ak+1uk+1,
k=n1,n2,,0.
Symbols:
un: series
Permalink:
http://dlmf.nist.gov/3.10.E12
Encodings:
TeX,TeX,pMML,pMML,png,png
See also:
Annotations for§3.10(iii),§3.10(iii),§3.10 andCh.3

Thenu0=Cn. To achieve a prescribed accuracy, eithera prioriknowledge is needed of the value ofn, orn is determined by trial anderror. In general this algorithm is more stable than the forward algorithm; seeJones and Thron (1974).

Forward Series Recurrence Algorithm

The continued fraction

3.10.13C=a01a11a21
Symbols:
C: continued fraction
Referenced by:
§3.10(iii)
Permalink:
http://dlmf.nist.gov/3.10.E13
Encodings:
TeX,pMML,png
See also:
Annotations for§3.10(iii),§3.10(iii),§3.10 andCh.3

can be written in the form

3.10.14C=k=0tk,

where

3.10.15t0=a0,
tk=ρktk1,
ρ0=0,
ρk=ak(1+ρk1)1ak(1+ρk1),
k=1,2,3,.

Thenth partial sumt0+t1++tn1 equals thenth convergentof (3.10.13),n=1,2,3,. In contrast to the precedingalgorithms in this subsection no scaling problems arise and noa prioriinformation is needed.

InGautschi (1979c) the forward series algorithm is used for theevaluation of a continued fraction of an incomplete gamma function (see§8.9).

Steed’s Algorithm

Keywords:
Steed’s algorithm,for continued fractions
Referenced by:
Erratum (V1.0.24) for ParagraphSteed’s Algorithm (in §3.10(iii))
Addition (effective with 1.0.24):
A sentence was added at the end of the paragraph to inform the reader ofalternatives to Steed’s algorithm, namely theLentz algorithm (e.g.,Lentz (1976))and themodified Lentz algorithm (e.g.,Thompson and Barnett (1986)).
See also:
Annotations for§3.10(iii),§3.10 andCh.3

This forward algorithm achieves efficiency and stability in the computation ofthe convergentsCn=An/Bn, and is related to the forward seriesrecurrence algorithm. Again, no scaling problems arise and noa prioriinformation is needed.

Let

3.10.16C0=b0,
D1=1/b1,
C1=a1D1,
C1=C0+C1.

( is thebackward difference operator.) Then forn2,

3.10.17Dn=1Dn1an+bn,
Cn=(bnDn1)Cn1,
Cn=Cn1+Cn.

The recurrences are continued until(Cn)/Cn is within a prescribedrelative precision.

Alternatives to Steed’s algorithm are theLentz algorithmLentz (1976)and themodified Lentz algorithmThompson and Barnett (1986).

For further information on the preceding algorithms, including convergence inthe complex plane and methods for accelerating convergence, seeBlanch (1964) andLorentzen and Waadeland (1992, Chapter 3). For theevaluation of special functions by using continued fractions seeCuyt et al. (2008),Gautschi (1967, §1),Gil et al. (2007a, Chapter 6), andWimp (1984, Chapter 4, §5). Seealso §§6.18(i),7.22(i),8.25(iv),10.74(v),14.32,28.34(ii),29.20(i),30.16(i),33.23(v).

© 2010–2025 NIST /Disclaimer /Feedback; Version 1.2.4;Release date 2025-03-15.
NIST
Site PrivacyAccessibilityPrivacy ProgramCopyrightsVulnerability DisclosureNo Fear Act PolicyFOIAEnvironmental PolicyScientific IntegrityInformation Quality StandardsCommerce.govScience.govUSA.gov

[8]ページ先頭

©2009-2025 Movatter.jp