Euler's continued fraction formula
In the analytic theory of continued fractions, Euler's continued fraction formula is an identity connecting a certain very general infinite series with an infinite continued fraction. First published in 1748, it was at first regarded as a simple identity connecting a finite sum with a finite continued fraction in such a way that the extension to the infinite case was immediately apparent. Today it is more fully appreciated as a useful tool in analytic attacks on the general convergence problem for infinite continued fractions with complex elements.
The original formula 
Euler derived the formula as an identity connecting a finite sum of products with a finite continued fraction.
The identity is easily established by induction on n, and is therefore applicable in the limit: if the expression on the left is extended to represent a convergent infinite series, the expression on the right can also be extended to represent a convergent infinite continued fraction.
Euler's formula in modern notation 
For x and ri so defined, these equalities can be proved by induction.
Here equality is to be understood as equivalence, in the sense that the n'th convergent of each continued fraction is equal to the n'th partial sum of the series shown above. So if the series shown is convergent – or uniformly convergent, when the ai's and bi's are functions of some complex variable z – then the continued fractions also converge, or converge uniformly.
The exponential function 
The exponential function ez is an entire function with a power series expansion that converges uniformly on every bounded domain in the complex plane.
The application of Euler's continued fraction formula is straightforward:
Applying an equivalence transformation that consists of clearing the fractions this example is simplified to
and we can be certain that this continued fraction converges uniformly on every bounded domain in the complex plane because it is equivalent to the power series for ez.
The natural logarithm 
This series converges when |z| < 1 and can also be expressed as a sum of products:
Applying Euler's continued fraction formula to this expression shows that
and using an equivalence transformation to clear all the fractions results in
This continued fraction converges when |z| < 1 because it is equivalent to the series from which it was derived.
A continued fraction for π 
We can use the previous example involving the principal branch of the natural logarithm function to construct a continued fraction representation of π. First we note that
Setting z = i in the previous result, and remembering that i2 = −1, we obtain immediately
See also 
- 1748 Leonhard Euler, Introductio in analysin infinitorum, Vol. I, Chapter 18.
- These denominators Bi are determined by the fundamental recurrence formulas.
- (Wall, 1948, p. 17)
- This series converges for |z| = 1, except when z = ±1, by Abel's test (applied to the series for log(1 − z)).
- H. S. Wall, Analytic Theory of Continued Fractions, D. Van Nostrand Company, Inc., 1948; reprinted (1973) by Chelsea Publishing Company ISBN 0-8284-0207-8.