Continued Fraction ↔ Alternating Series
Summary: Every continued fraction equals an alternating series whose terms are the differences of consecutive convergents, with denominators that are products of consecutive convergent denominators. Conversely, every alternating series can be written as a continued fraction — but only after a free choice of partial denominators, which Euler exploits with several elegant templates. The conversion specialises to Brouncker’s , the continued fraction for , the continued fractions for and , and several parametric families.
Sources: chapter18 (§363–§373).
Last updated: 2026-05-11
Continued fraction → alternating series (§363–§366)
Let denote the successive denominators of the convergents (after the trivial and ), so , , , , etc. By the convergent recurrence these satisfy
Subtracting consecutive convergents (§363) gives a telescoping identity that Euler writes as
So the value of the continued fraction is an alternating series whose -th term has numerator ( factors of partial-numerator data) and denominator (the product of two consecutive convergent denominators).
If the partial numerators are all and the partial denominators are positive integers (the simple form), this series converges very rapidly — its terms decrease at least geometrically.
Alternating series → continued fraction (§365–§368)
Given , Euler matches term by term against the §363 expansion:
Solving sequentially:
Since the convergent denominators depend on the partial denominators which are free, this gives a one-parameter family per level. Euler exploits the freedom to clear fractions.
Template I — integers (§368)
Set , , , , , . Then
and the continued fraction is
Template II — reciprocal terms (§369)
For , set , , , , . Then , , , , and
The two famous specialisations:
- gives the [[continued-fraction-for-log-2|continued fraction for ]] (Example I).
- gives [[brouncker-formula|Brouncker’s continued fraction for ]] (Example II).
A parametric example (III): gives the continued fraction for . Example IV reuses §178 to convert into a continued fraction.
Template III — products in denominators (§370)
For , set , , , , . Then , , , , and
The two named specialisations (§370):
- gives
- gives
Templates IV–V — power-series and z-product variants (§371–§373)
For , set , , , , giving partial numerators , , , , The more general template (§372) handles , and (§373) the product-form .
The asymmetry of the conversion (§374–§375)
Series-to-continued-fraction always works; the converse is harder. Euler shows that the simple periodic CF produces (via the §363 telescoping)
a strongly convergent series whose value is not visible from the series — but is immediately seen from the CF as by the §376 quadratic-equation trick. So continued fractions sometimes know more than their associated series do.
Related pages
- chapter-18-on-continued-fractions
- continued-fraction
- convergents-of-a-continued-fraction
- brouncker-formula — Template II at
- continued-fraction-for-log-2 — Template II at
- continued-fraction-for-e — Template III at (after a one-term shift)
- logarithmic-series — source of the alternating series
- arctangent-series — source of the alternating series
- cotangent-partial-fraction — source of the §370 Example IV trig series