Continued fractions - Encyclopedia




GEOGRAPHICAL NAMES Spanish Simplified Chinese French German Russian Hindi Arabic Portuguese

CONTINUED FRACTIONS. In mathematics, an expression of the form a, 1/2 a2 b a 5 ..., where a 1 ,a 2 ,a 3,. .. and b 2 ,b 31 b 4,. .. are any quantities whatever, positive or negative, is called a " continued fraction." The quantities a, ... ,b 2 ... may follow any law whatsoever. If the continued fraction terminates, it is said to be a terminating continued fraction; if the number of the quantities a, ..., b 2 .. is infinite it is said to be a non - terminating or infinite continued fraction. If b 2 /a 2, 3 /a 3 ..., the component fractions, as they are called, recur, either from the commencement or from some fixed term, the continued fraction is said to be recurring or periodic. It is obvious that every terminating continued fraction reduces to a commensurable number.

The notation employed by English writers for the general continued fraction is al b2 b3 b4 a 2 "' Continental writers frequently use the notation a 1 ? b2 ? b3 ? b4 ? ..., or a l J b 3? b 41 t ... a2 a3 a 4 Ia2 la3 la4 The terminating continued fractions b 2 b2 b 3 b, b, b4 al, a1 + ?2, al-1 7:2+Z' al' + a2 reduced to the forms ala2a3+b2a3+ b2a1 a2 a2a3 b3 ala2a3a4+b2a3a4+b3a,a4+b4a,a2 +b2b4 a2a,a4+a4b3+a2b4 ' are called the successive convergents to the general continued fraction. Their numerators are denoted by Pi, P2, their denominators by q,, q2, q3, We have the relations p n = an pn-1 +bn pn-2, qn = angn-1 +bngn-2.

In the case of the fraction a 1 - a2 _ a3 _a4 _ we have the relations p n = = ang n-1 - bngn-2 Taking the quantities a l.. ,.. to be all positive, a continued fraction of the form a1+ a2+ a + ... is called a continued fraction of the first class; a continued fraction of the form b2 b 3 b4 - is a2 - a3 - a4 called a continued fraction of the second class. A continued fraction of the form a1+a2+c-3+a4+ where a 2, as, a4... are all positive integers, is called a simple continued f raction. In the case of this fraction al, a 2, a 3, a 4 ... are called the successive partial quotients. It is evident that, in this case, P ' p2, are two series of positive integers increasing without limit if the fraction does not terminate.

The general continued fraction al is evidently equal, convergent by convergent, to the continued fraction X 2 b 2 X2X3b3 x3%4b4 a1+ A2a2 + X + X

where X 2, are any quantities whatever, so that by choosing A 2 b 2 =I, X,X,b3 = I, &c., it can be reduced to any equivalent continued fraction of the form al+ d2+d 3 +d4+ .

Simple Continued Fractions. 1. The simple continued fraction is both the most interesting and important kind of continued fraction.

Any quantity, commensurable or incommensurable, can be expressed uniquely as a simple continued fraction, terminating in the case of a commensurable quantity, non-terminating in the case of an incommensurable quantity. A non-terminating simple continued fraction must be incommensurable.

In the case of a terminating simple continued fraction the number of partial quotients may be odd or even as we please by writing the I last partial quotient, a n as a n - I +1. .

The numerators and denominators of the successive convergents obey the law p n g n _ l - pn-1qn = (- O n, from which it follows at once that every convergent is in its lowest terms. The other principal properties of the convergents are The odd convergents form an increasing series of rational fractions continually approaching to the value of the whole continued fraction; the even convergents form a decreasing series having the same property.

Every even convergent is greater than every odd convergent; every odd convergent is less than, and every even convergent greater than, any following convergent.

Every convergent is nearer to the value of the whole fraction than any preceding convergent.

Every convergent is a nearer approximation to the value of the whole fraction than any fraction whose denominator is less than that of the convergent.

The difference between the continued fraction and the nth convergent is less than, and greater than a n+2 These limits qn may be replaced by the following, which, though not so close, are simpler, viz. and q (q + q +l qn +i).

Every simple continued fraction must converge to a definite limit; for its value lies between that of the first and second convergents and, since f ?n _ _1 I, L t. Pr, = Lt. N-4. qn ? qn-1 gnqn-1 qn qn-1' so that its value cannot oscillate.

The chief practical use of the simple continued fraction is that by means of it we can obtain rational fractions which approximate to any quantity, and we can also estimate the error of our b4 as a4 b5 approximation. Thus a continued fraction equivalent to 7r (the ratio of the circumference to the diameter of a circle) is I I I I II 3+ 7+15+7+292+i-1-i+ .. of which the successive convergents are 3 22 333 355 103993 &c., I' 7' 106' 113' 33102' the fourth of which is accurate to the sixth decimal place, since the error lies between I /g4g5 or. 0000002673 and as/g4g6 or .0000002665. Similarly the continued fraction given by Euler as equivalent to 1(e - 1) (e being the base of Napierian logarithms), viz.

II I I I 7+6+10+14+18+ may be used to approximate very rapidly to the value of e. For the application of continued fractions to the problem " To find the fraction, whose denominator does not exceed a given integer D, which shall most closely approximate (by excess or defect, as may be assigned) to a given number commensurable or incommensurable," the reader is referred to G. Chrystal's Algebra, where also may be found details of the application of continued fractions to such interesting and important problems as the recurrence of eclipses and the rectification of the calendar.

Lagrange used simple continued fractions to approximate to the solutions of numerical equations; thus, if an equation has a root between two integers a and a+1, put x=a+I/y and form the equation in y; if the equation in y has a root between b and b+i, put y = b + I /z, and so on. Such a method is, however, too tedious, compared with such a method as Horner's, to be of any practical value.

The solution in integers of the indeterminate equation ax+by=c may be effected by means of continued fractions. If we suppose alb to be converted into a continued fraction and p/q to be the penultimate convergent, we have aq-bp= +1 or -1, according as the number of convergents is even or odd, which we can take them to be as we please. If we take aq-bp= +1 we have a general solution in integers of ax+by=c, viz. x = cq - bt, y = at -cp; if we take aq-bp= - I, we have x=bt-cq, y=cp-at. An interesting application of continued fractions to establish a unique correspondence between the elements of an aggregate of m dimensions and an aggregate of n dimensions is given by G. Cantor in vol. 2 of the Acta Mathematica. Applications of simple continued fractions to the theory of numbers, as, for example, to prove the theorem that a divisor of the sum of two squares is itself the sum of two squares, may be found in J. A. Serret's Cours d'Algbbre Superieure. 2. Recurring Simple Continued Fractions. - The infinite continued fraction I I II I I I I 77 I I a2+a3+

. +an+bl+b'2+... +bn+bl+b2 +... + 1/n+ 271+ ., where, after the n th partial quotient, the cycle of partial quotients b 1, b2, ..., b n recur in the same order, is the type of a recurring simple continued fraction.

The value of such a fraction is the positive root of a quadratic equation whose coefficients are real and of which one root is negative. Since the fraction is infinite it cannot be commensurable and therefore its value is a quadratic surd number. Conversely every positive quadratic surd number, when expressed as a simple continued fraction, will give rise to a recurring fraction. Thus 2J3 - I I I I - 3+I+2+1+2+ ..., I I I I III 1/28=5-t-- - - - 3+2 - 1 -. 3 - 1 -101 -3-r2 1 -3 -r ...

The second case illustrates a feature of the recurring continued fraction which represents a complete quadratic surd. There is only one non-recurring partial quotient al. If bl, b2, ..., k J is the cycle of recurring quotients, then b n 2a1, b, bn_1, b 2 bn_2, b 3 = bn_3, &c.

In the case of a recurring continued fraction which represents N, where N is an integer, if n is the number of partial quotients in the recurring cycle, and pnr/gnr the nr th convergent, then p 2 nr - Ng2nr = (- I) nr, whence, if n is odd, integral solutions of the indeterminate equation x 2 - Ny 2 = I (the so-called Pellian equation) can be found. If n is even, solutions of the equation x 2 -Ny 2 =+1 can be found.

The theory and development of the simple recurring continued fraction is due to Lagrange. For proofs of the theorems here stated and for applications to the more general indeterminate equation x 2 - Ny 2 = H the reader may consult Chrystal's Algebra or Serret's Cours d'Algbbre Superieure; he may also profitably consult a tract by T. Muir, The Expression of a Quadratic Surd as a Continued Fraction (Glasgow, 1874).

The General Continued Fraction. I. The Evaluation of Continued Fractions. - The numerators and denominators of the convergents to the general continued fraction both satisfy the difference equation un =anu„_,+bnun_2. When we can solve this equation we have an expression for the n th convergent to the fraction, generally in the form of the quotient of two series, each of n terms. As an example, take the fraction (known as Brouncker's fraction, after Lord Brouncker) I I 2325 2 72 2 + 2 + 2 + 2 + ...

Here we have u„+1 =2un+(2nI)2un-lr whence uh+1 -(2n +I)ac„= -(2n-I)(un-(2n-I)un_1}, and we readily find that p n I I I I 2 n I whence the value of the fraction taken to infinity is t r.

It is always possible to find the value of the n th convergent to a recurring continued fraction. If r be the number of quotients in the recurring cycle, we can by writing down the relations connectin g the successive p's and q's obtain a linear relation connecting p nr +m, t'(n-1)r +m, +m in which the coefficients are all constants. Or we may proceed as follows. (We need not consider a fraction with a non-recurring part). Let the fraction be a l a 2 al +... - I--br+bt+. .. 'a ' Let un = nr+m; then u n = 1 a 2 a r leading to an - km equation of the form Au n u n _,+ Bu„ +Cu n _,+D =o, where A,B,C,D are independent of n, which is readily solved.

2. The Convergence of Infinite Continued Fractions

We have seen that the simple infinite continued fraction converges. The infinite general continued fraction of the first class cannot diverge for its value lies between that of its first two convergents. It may, however, oscillate. We have the relation I) n b2b3 ... bn, from which n - n 1 I n b2b3. n qn qn-i - () gngn-1, and the limit of the right hand side is not necessarily zero.

The tests for convergency are as follows: Let the continued fraction of the first class be reduced to the form dl+d2 +d3+d4+ then it is convergent if at least one of the series. d3+d5+d7+ ..., d2+d4-1-d6+ ... diverges, and oscillates if both these series converge.

For the convergence of the continued fraction of the second class there is no complete criterion. The following theorem covers a large number of important cases.

” If in the infinite continued fraction of the second class an?bn+i for all values of n, it converges to a finite limit not greater than unity.” 3. The Incommensurability of Infinite Continued Fractions. - There is no general test for the incommensurability of the general infinite continued fraction.

Two cases have been given by Legendre as follows: If a2, a 31 ..., a n, b 2, b3, .., b n are all positive integers, then I. The infinite continued fraction a2 +a3+ an .. converges to an incommensurable limit if after some finite value of n the condition an<bn is always satisfied.

II. The infinite continued fraction b z l! 3 bn con - a 2 -a3 -. .. - an verges to an incommensurable limit if after some finite value of n the condition a n ?b n +I is always satisfied, where the sign > need not always occur but must occur infinitely often. Continuants. The functions p n and q n , regarded as functions of a l,.. ., an, b 21 ..., b n determined by the relations p n = a n pn-1 + b n pn-2, qn = a ngn -1 + bngn-2, with the conditions p1= at, q 2 = a2, q, = 1, 0) =0, have been studied under the name of continuants. The notation adopted is p n = K a2, a / and it is evident that we have b3, .:. bn. qn= k l a2, a3, , an The theory of continuants is due in the first place to Euler. The reader will find the theory completely treated in Chrystal's Algebra, where will be found the exhibition of a prime number of the form 4p+I as the actual sum of two squares by means of continuants, a result given by H. J. S. Smith.

determinant a1 - I a2 O -I o 0 u an bn O O - - o o -I a n, from which point of view continuants have been treated by W. Spottiswoode, J. J. Sylvester and T. Muir. Most of the theorems concerning continued fractions can be thus proved simply from the properties of determinants (see T. Muir's Theory of Determinants, chap. iii.).

Perhaps the earliest appearance in analysis of a continuant in its determinant form occurs in Lagrange's investigation of the vibrations of a stretched string (see Lord Rayleigh, Theory of Sound, vol. i. chap. iv.).

The Conversion of Series and Products into Continued Fractions. I. A continued fraction may always be found whose n th convergent shall be equal to the sum to n terms of a given series or the product to n factors of a given continued product. In fact, a continued fraction ai +a2+ +an+ can be constructed having for the numerators of its successive convergents any assigned quantities pi, P2, P3,


, p ,,, and for their denominators any assigned quantities ql, q2, q 2, The partial fraction b n /a n corresponding to the n th convergent can be found from the relations pn = anpn -I +bnpn -2 1 qn = anq,i l +bngn-2; and the first two partial quotients are given by b l =pi, a1 = ql, 1)102=1,2, a1a2 + b2= q2.

If we form then the continued fraction inwhich pi, p2, p3 9 ..., pn are u1, u1 + u 2, ul+u2+u3,


, /41+u2+


un, and ql, q2, q3,


, qn are all unity, we find the series u 1 +u2+. .. +un equivalent to the continued fraction un u l ul un - +1 ?i -I+ 2 -... -I+u ? n l which we can transform into u1 u2 utu3 u2114 un -2u,, -u1+u2-u2+u3-u3+u4- ... -u,-1+un' a result given by Euler.

2. In this case the sum to n terms of the series is equal to the nth convergent of the fraction. There is, however, a different way in which a series may be represented by a continued fraction. We may require to represent the infinite convergent power series ao+alx+ a2x 2 + ... by an infinite continued fractionof the form 00 01 X r2X 03x I- I - I - I -...

Here the fraction converges to the sum to infinity of the series. Its n th convergent is not equal to the sum to n terms of the series. Expressions for 00, 01, 132, ... by means of determinants have been given by T. 1VIuir (Edinburgh Transactions, vol. xxvii.).

A method was given by J. H. Lambert for expressing as a continued fraction of the preceding type the quotient of two convergent power series. It is practically identical with that of finding the greatest common measure of two polynomials. As an instance leading to results of some importance consider the series x x2 F(n,x) =I+ (y+n)I!+(y+n)(y+n+I)2!+.. We have F(n+i,x) -F(n,x) = (y +n)(y+n+I) F (n+2,x), whence we obtain F(i,x) _ i / y (y +I) x /(y+I)(y+2) which may also be written y +7+I-1-7+2+ - By .

By putting =x 2 /4 for x in F(o,x) and F(i,x), and putting at the same time y =1/2, we obtain x 2 x 2 x2 x 2 x2 tan x x x tanh x x x x I - 3 - 5-7-...

These results were given by Lambert, and used by him to !prove that r and ir 2 are incommensurable, and also any commensurable power of e. Gauss in his famous memoir on the hypergeometric series F a, 0, y, x) = I+a_(3(3x- ?a(a+1)Q(3+I)x2 {-.. (I.y I.2.y(7 + I) gave the expression for F(a, 0+I, 7+ I, x) -:-F(a, 0, y, x) as a continued fraction, from which if we put a=o and write y-I for y, we get the transformation a a(a 2 a(a+I)(a+2) I yx+y (7+ I) x + 'y(y+I)('Y+2) x +... = 1131X - 132: i -... where a (a+I)y (a+n-I)(y+n-2) =y, (33= (Y+ I)(y+2),..., 132n-1 - (y+2n-3)(7+272-2)' (32= y-a , N4 = 2(y+I-a) ?..., N2 - 71(7-I-a) Y(' y + I) (7+2) (7+3)' (y+2n-2)(y+2nFrom this we may express several of the elementary series as continued fractions; thus taking a= I, 7=2, and putting x for -x, have log (I +x) = x I 2 x I 2 x 2 2 x 2 2 X 3 2 x 32x we +2 + 3 +4+5+ 6-I-7 +..

Taking 7 = 1, writing x/a for x and increasing a indefinitely, we I x x x x x have e x = - 1-1+2-3+2-5+...

For some recent developments in this direction the reader may consult a paper by L. J. Rogers in the Proceedings of the London Mathematical Society (series 2, vol. 4).

Ascending Continued Fractions. There is another type of continued fraction called the ascending continued fraction, the type so far discussed being called the descending continued fraction. It is of no interest or importance, though both Lambert and Lagrange devoted some attention to it. The notation for this type of fraction is b4 + b5+ b3+ al b2 + a4 a3 It is obviously equal to the series b 2 b3 b4 b5 al +a 2 +aza3a4 + a2a3a4a 5 + .

Historical Note. The invention of continued fractions is ascribed generally to Pietro Antonia Cataldi, an Italian mathematician who died in 1626. He used them to represent square roots, but only for particular numerical examples, and appears to have had no theory on the subject. A previous writer, Rafaello Bombelli, had used them in his treatise on Algebra (about 1579), and it is quite possible that Cataldi may have got his ideas from him. His chief advance on Bombelli was in his notation. They next appear to have been used by Daniel Schwenter (1585-1636) in a Geometrica Practica published in 1618. He uses them for approximations. The theory, however, starts with the publication in 16J5 by Lord Brouncker of the continued fraction I 23252 i 2 + 2 + 2 +. as an equivalent of 7r/ 4. This he is supposed + to have deduced, no one knows how, from Wallis' formula for ??r, v3.3.5.5.7.7 4 ...

2.4.4.6.6.8...

John Wallis, discussing this fraction in his Arithmetica finitorum (1656), gives many of the elementary properties of the convergents to the general continued fraction, including the rule for their formation. Huygens (Descriptio automati planetarii, 1703) uses the simple continued fraction for the purpose of approximation when designing the toothed wheels of his Planetarium. Nicol Saunderson (1682-1739), Euler and Lambert helped in developing the theory, and much was done by Lagrange in his additions to the French edition of Euler's Algebra (1795). Moritz A. Stern wrote at length on the subject in Crelle's Journal (x., 1833; xi., 1834; xviii., 1838). The theory of the convergence of continued fractions is due to Oscar Schldmilch, P. F. Arndt, P. L. Seidel and Stern. O. Stolz, A. Pringsheim and E. B. van Vleck have written on the convergence of infinite continued fractions with complex elements.

K b2, b3,. (a1, a2, a3,.

an/

is also equal to the

REFERENCES. - For the further history of continued fractions we may refer the reader to two papers by Gunther and A. N. Favaro, Bulletins di bibliographia e di storia delle scienze mathematische e fisiche, t. vii., and to M. Cantor, Geschichte der Mathematik, 2nd Bd. For text-books treating the subject in great detail there are those of G. Chrystal in English; Serret's Cours d'algebre supe'rieure in French; and in German those of Stern, Schlomilch, Hatterdorff and Stolz. For the application of continued fractions to the theory of O o O b 3 O O a3 b4 O - I a 4 b5 b2 irrational numbers there is P. Bachmann's Vorlesungen fiber die Natur der Irrationalzahnen (1892). For the application of continued fractions to the theory of lenses, see R. S. Heath's Geometrical Optics, chaps. iv. and v. For an exhaustive summary of all that has been written on the subject the reader may consult Bd. 1 of the Encyklopadie der mathematischen Wissenschaften (Leipzig). (A. E. J.)

Custom Search

Encyclopedia Alphabetically

A * B * C * D * E * F * G * H * I * J * K * L * M * N * O * P * Q * R * S * T * U * V * W * X * Y * Z

Advertise Here

Feedback





- Please bookmark this page (add it to your favorites)
- If you wish to link to this page, you can do so by referring to the URL address below.

https://theodora.com/encyclopedia/c2/continued_fractions.html

This page was last modified 29-SEP-18
Copyright © 2018 ITA all rights reserved.