# Gauss's continued fraction

In complex analysis, **Gauss's continued fraction** is a particular class of continued fractions derived from hypergeometric functions. It was one of the first analytic continued fractions known to mathematics, and it can be used to represent several important elementary functions, as well as some of the more complicated transcendental functions.

## History

Lambert published several examples of continued fractions in this form in 1768, and both Euler and Lagrange investigated similar constructions,[1] but it was Carl Friedrich Gauss who utilized the algebra described in the next section to deduce the general form of this continued fraction, in 1813.[2]

Although Gauss gave the form of this continued fraction, he did not give a proof of its convergence properties. Bernhard Riemann[3] and L.W. Thomé[4] obtained partial results, but the final word on the region in which this continued fraction converges was not given until 1901, by Edward Burr Van Vleck.[5]

## Derivation

Let be a sequence of analytic functions so that

for all , where each is a constant.

Then

Setting

So

Repeating this ad infinitum produces the continued fraction expression

In Gauss's continued fraction, the functions are hypergeometric functions of the form , , and , and the equations arise as identities between functions where the parameters differ by integer amounts. These identities can be proven in several ways, for example by expanding out the series and comparing coefficients, or by taking the derivative in several ways and eliminating it from the equations generated.

### The series _{0}F_{1}

_{0}F

_{1}

The simplest case involves

Starting with the identity

we may take

giving

or

This expansion converges to the meromorphic function defined by the ratio of the two convergent series (provided, of course, that *a* is neither zero nor a negative integer).

### The series _{1}F_{1}

_{1}F

_{1}

The next case involves

for which the two identities

are used alternately.

Let

etc.

This gives where , producing

or

Similarly

or

Since , setting *a* to 0 and replacing *b* + 1 with *b* in the first continued fraction gives a simplified special case:

### The series _{2}F_{1}

_{2}F

_{1}

The final case involves

Again, two identities are used alternately.

These are essentially the same identity with *a* and *b* interchanged.

Let

etc.

This gives where , producing

or

Since , setting *a* to 0 and replacing *c* + 1 with *c* gives a simplified special case of the continued fraction:

## Convergence properties

In this section, the cases where one or more of the parameters is a negative integer are excluded, since in these cases either the hypergeometric series are undefined or that they are polynomials so the continued fraction terminates. Other trivial exceptions are excluded as well.

In the cases and , the series converge everywhere so the fraction on the left hand side is a meromorphic function. The continued fractions on the right hand side will converge uniformly on any closed and bounded set that contains no poles of this function.[6]

In the case , the radius of convergence of the series is 1 and the fraction on the left hand side is a meromorphic function within this circle. The continued fractions on the right hand side will converge to the function everywhere inside this circle.

Outside the circle, the continued fraction represents the analytic continuation of the function to the complex plane with the positive real axis, from +1 to the point at infinity removed. In most cases +1 is a branch point and the line from +1 to positive infinity is a branch cut for this function. The continued fraction converges to a meromorphic function on this domain, and it converges uniformly on any closed and bounded subset of this domain that does not contain any poles.[7]

## Applications

### The series _{0}*F*_{1}

_{0}

*F*

_{1}

We have

so

This particular expansion is known as **Lambert's continued fraction** and dates back to 1768.[8]

It easily follows that

The expansion of tanh can be used to prove that *e*^{n} is irrational for every integer *n* (which is alas not enough to prove that *e* is transcendental). The expansion of tan was used by both Lambert and Legendre to prove that π is irrational.

The Bessel function can be written

from which it follows

These formulas are also valid for every complex *z*.

### The series _{1}F_{1}

_{1}F

_{1}

Since ,

With some manipulation, this can be used to prove the simple continued fraction representation of
*e*,

The error function erf (*z*), given by

can also be computed in terms of Kummer's hypergeometric function:

By applying the continued fraction of Gauss, a useful expansion valid for every complex number *z* can be obtained:[9]

A similar argument can be made to derive continued fraction expansions for the Fresnel integrals, for the Dawson function, and for the incomplete gamma function. A simpler version of the argument yields two useful continued fraction expansions of the exponential function.[10]

### The series _{2}F_{1}

_{2}F

_{1}

From

It is easily shown that the Taylor series expansion of arctan *z* in a neighborhood of zero is given by

The continued fraction of Gauss can be applied to this identity, yielding the expansion

which converges to the principal branch of the inverse tangent function on the cut complex plane, with the cut extending along the imaginary axis from *i* to the point at infinity, and from −*i* to the point at infinity.[11]

This particular continued fraction converges fairly quickly when *z* = 1, giving the value π/4 to seven decimal places by the ninth convergent. The corresponding series

converges much more slowly, with more than a million terms needed to yield seven decimal places of accuracy.[12]

Variations of this argument can be used to produce continued fraction expansions for the natural logarithm, the arcsin function, and the generalized binomial series.

## Notes

- Jones & Thron (1980) p. 5
- C. F. Gauss (1813),
*Werke*, vol. 3 pp. 134–38. - B. Riemann (1863), "Sullo svolgimento del quoziente di due serie ipergeometriche in frazione continua infinita" in
*Werke*. pp. 400–406. (Posthumous fragment). - L. W. Thomé (1867), "Über die Kettenbruchentwicklung des Gauß'schen Quotienten ...,"
*Jour. für Math.*vol. 67 pp. 299–309. - E. B. Van Vleck (1901), "On the convergence of the continued fraction of Gauss and other continued fractions."
*Annals of Mathematics*, vol. 3 pp. 1–18. - Jones & Thron (1980) p. 206
- Wall, 1973 (p. 339)
- Wall (1973) p. 349.
- Jones & Thron (1980) p. 208.
- See the example in the article Padé table for the expansions of
*e*as continued fractions of Gauss.^{z} - Wall (1973) p. 343. Notice that
*i*and −*i*are branch points for the inverse tangent function. - Jones & Thron (1980) p. 202.

## References

- Jones, William B.; Thron, W. J. (1980).
*Continued Fractions: Theory and Applications*. Reading, Massachusetts: Addison-Wesley Publishing Company. pp. 198–214. ISBN 0-201-13510-8. - Wall, H. S. (1973).
*Analytic Theory of Continued Fractions*. Chelsea Publishing Company. pp. 335–361. ISBN 0-8284-0207-8.

(This is a reprint of the volume originally published by D. Van Nostrand Company, Inc., in 1948.) - Weisstein, Eric W. "Gauss's Continued Fraction".
*MathWorld*.