HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a continued fraction is an
expression Expression may refer to: Linguistics * Expression (linguistics), a word, phrase, or sentence * Fixed expression, a form of words with a specific meaning * Idiom, a type of fixed expression * Metaphorical expression, a particular word, phrase, o ...
obtained through an
iterative Iteration is the repetition of a process in order to generate a (possibly unbounded) sequence of outcomes. Each repetition of the process is a single iteration, and the outcome of each iteration is then the starting point of the next iteration. ...
process of representing a number as the sum of its
integer part In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least inte ...
and the
reciprocal Reciprocal may refer to: In mathematics * Multiplicative inverse, in mathematics, the number 1/''x'', which multiplied by ''x'' gives the product 1, also known as a ''reciprocal'' * Reciprocal polynomial, a polynomial obtained from another pol ...
of another number, then writing this other number as the sum of its integer part and another reciprocal, and so on. In a finite continued fraction (or terminated continued fraction), the iteration/
recursion Recursion (adjective: ''recursive'') occurs when a thing is defined in terms of itself or of its type. Recursion is used in a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in mathematics ...
is terminated after finitely many steps by using an integer in lieu of another continued fraction. In contrast, an infinite continued fraction is an
infinite expression In mathematics, an infinite expression is an expression in which some operators take an infinite number of arguments, or in which the nesting of the operators continues to an infinite depth. A generic concept for infinite expression can lead to il ...
. In either case, all integers in the sequence, other than the first, must be
positive Positive is a property of positivity and may refer to: Mathematics and science * Positive formula, a logical formula not containing negation * Positive number, a number that is greater than 0 * Plus sign, the sign "+" used to indicate a posit ...
. The integers a_i are called the
coefficient In mathematics, a coefficient is a multiplicative factor in some term of a polynomial, a series, or an expression; it is usually a number, but may be any expression (including variables such as , and ). When the coefficients are themselves var ...
s or terms of the continued fraction. It is generally assumed that the
numerator A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
of all of the fractions is 1. If arbitrary values and/or functions are used in place of one or more of the numerators or the integers in the denominators, the resulting expression is a
generalized continued fraction In complex analysis, a branch of mathematics, a generalized continued fraction is a generalization of regular continued fractions in canonical form, in which the partial numerators and partial denominators can assume arbitrary complex values. A gen ...
. When it is necessary to distinguish the first form from generalized continued fractions, the former may be called a simple or regular continued fraction, or said to be in canonical form. Continued fractions have a number of remarkable properties related to the
Euclidean algorithm In mathematics, the Euclidean algorithm,Some widely used textbooks, such as I. N. Herstein's ''Topics in Algebra'' and Serge Lang's ''Algebra'', use the term "Euclidean algorithm" to refer to Euclidean division or Euclid's algorithm, is an effi ...
for integers or
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s. Every
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ration ...
has two closely related expressions as a finite continued fraction, whose coefficients can be determined by applying the Euclidean algorithm to (p,q). The numerical value of an infinite continued fraction is
irrational Irrationality is cognition, thinking, talking, or acting without inclusion of rationality. It is more specifically described as an action or opinion given through inadequate use of reason, or through emotional distress or cognitive deficiency. T ...
; it is defined from its infinite sequence of integers as the
limit Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
of a sequence of values for finite continued fractions. Each finite continued fraction of the sequence is obtained by using a finite
prefix A prefix is an affix which is placed before the Word stem, stem of a word. Adding it to the beginning of one word changes it into another word. For example, when the prefix ''un-'' is added to the word ''happy'', it creates the word ''unhappy'' ...
of the infinite continued fraction's defining sequence of integers. Moreover, every irrational number \alpha is the value of a ''unique'' infinite regular continued fraction, whose coefficients can be found using the non-terminating version of the Euclidean algorithm applied to the incommensurable values \alpha and 1. This way of expressing real numbers (rational and irrational) is called their ''continued fraction representation''. The term ''continued fraction'' may also refer to representations of
rational function In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be rat ...
s, arising in their analytic theory. For this use of the term, see Padé approximation and
Chebyshev rational functions In mathematics, the Chebyshev rational functions are a sequence of functions which are both rational and orthogonal. They are named after Pafnuty Chebyshev. A rational Chebyshev function of degree is defined as: :R_n(x)\ \stackrel\ T_n\left(\f ...
.


Motivation and notation

Consider, for example, the
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ration ...
, which is around 4.4624. As a first
approximation An approximation is anything that is intentionally similar but not exactly equality (mathematics), equal to something else. Etymology and usage The word ''approximation'' is derived from Latin ''approximatus'', from ''proximus'' meaning ''very ...
, start with 4, which is the
integer part In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least inte ...
; . The fractional part is the
reciprocal Reciprocal may refer to: In mathematics * Multiplicative inverse, in mathematics, the number 1/''x'', which multiplied by ''x'' gives the product 1, also known as a ''reciprocal'' * Reciprocal polynomial, a polynomial obtained from another pol ...
of which is about 2.1628. Use the integer part, 2, as an approximation for the reciprocal to obtain a second approximation of . The remaining fractional part, , is the reciprocal of , and is around 6.1429. Use 6 as an approximation for this to obtain as an approximation for and , about 4.4615, as the third approximation; . Finally, the fractional part, , is the reciprocal of 7, so its approximation in this scheme, 7, is exact () and produces the exact expression for . The expression is called the continued fraction representation of . This can be represented by the abbreviated notation =
; 2, 6, 7 The semicolon or semi-colon is a symbol commonly used as orthography, orthographic punctuation. In the English language, a semicolon is most commonly used to link (in a single sentence) two independent clauses that are closely related in thou ...
(It is customary to replace only the ''first'' comma by a semicolon.) Some older textbooks use all commas in the -tuple, for example,
, 2, 6, 7 The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
If the starting number is rational, then this process exactly parallels the
Euclidean algorithm In mathematics, the Euclidean algorithm,Some widely used textbooks, such as I. N. Herstein's ''Topics in Algebra'' and Serge Lang's ''Algebra'', use the term "Euclidean algorithm" to refer to Euclidean division or Euclid's algorithm, is an effi ...
applied to the numerator and denominator of the number. In particular, it must terminate and produce a finite continued fraction representation of the number. The sequence of integers that occur in this representation is the sequence of successive quotients computed by the Euclidean algorithm. If the starting number is
irrational Irrationality is cognition, thinking, talking, or acting without inclusion of rationality. It is more specifically described as an action or opinion given through inadequate use of reason, or through emotional distress or cognitive deficiency. T ...
, then the process continues indefinitely. This produces a sequence of approximations, all of which are rational numbers, and these converge to the starting number as a limit. This is the (infinite) continued fraction representation of the number. Examples of continued fraction representations of irrational numbers are: * . The pattern repeats indefinitely with a period of 6. * . The pattern repeats indefinitely with a period of 3 except that 2 is added to one of the terms in each cycle. * . No pattern has ever been found in this representation. * . The
golden ratio In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities a and b with a > b > 0, where the Greek letter phi ( ...
, the irrational number that is the "most difficult" to approximate rationally. See:
A property of the golden ratio φ A, or a, is the first letter and the first vowel of the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''a'' (pronounced ), plural ''aes'' ...
. * . The
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
, which is expected but not known to be irrational, and whose continued fraction has no apparent pattern. Continued fractions are, in some ways, more "mathematically natural" representations of a
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
than other representations such as
decimal representation A decimal representation of a non-negative real number is its expression as a sequence of symbols consisting of decimal digits traditionally written with a single separator: r = b_k b_\ldots b_0.a_1a_2\ldots Here is the decimal separator, is ...
s, and they have several desirable properties: * The continued fraction representation for a real number is finite if and only if it is a rational number. In contrast, the decimal representation of a rational number may be finite, for example , or infinite with a repeating cycle, for example * Every rational number has an essentially unique simple continued fraction representation. Each rational can be represented in exactly two ways, since . Usually the first, shorter one is chosen as the canonical representation. * The simple continued fraction representation of an irrational number is unique. (However, additional representations are possible when using ''generalized'' continued fractions; see below.) * The real numbers whose continued fraction eventually repeats are precisely the
quadratic irrational In mathematics, a quadratic irrational number (also known as a quadratic irrational, a quadratic irrationality or quadratic surd) is an irrational number that is the solution to some quadratic equation with rational coefficients which is irreducible ...
s. For example, the repeating continued fraction is the
golden ratio In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities a and b with a > b > 0, where the Greek letter phi ( ...
, and the repeating continued fraction is the
square root of 2 The square root of 2 (approximately 1.4142) is a positive real number that, when multiplied by itself, equals the number 2. It may be written in mathematics as \sqrt or 2^, and is an algebraic number. Technically, it should be called the princip ...
. In contrast, the decimal representations of quadratic irrationals are apparently
random In common usage, randomness is the apparent or actual lack of pattern or predictability in events. A random sequence of events, symbols or steps often has no :wikt:order, order and does not follow an intelligible pattern or combination. Ind ...
. The square roots of all (positive) integers that are not perfect squares are quadratic irrationals, and hence are unique periodic continued fractions. * The successive approximations generated in finding the continued fraction representation of a number, that is, by truncating the continued fraction representation, are in a certain sense (described below) the "best possible".


Basic formula

A ( generalized) continued fraction is an expression of the form :a_0 + \cfrac where ''ai'' and ''bi'' can be any complex numbers. When ''bi'' = 1 for all ''i'' the expression is called a ''simple'' continued fraction. When the expression contains finitely many terms, it is called a ''finite'' continued fraction. When the expression contains infinitely many terms, it is called an ''infinite'' continued fraction. When the terms eventually repeat from some point onwards, the expression is called a
periodic continued fraction In mathematics, an infinite periodic continued fraction is a continued fraction that can be placed in the form : x = a_0 + \cfrac where the initial block of ''k'' + 1 partial denominators is followed by a block 'a'k''+1, ''a'k''+2,.. ...
. Thus, all of the following illustrate valid finite simple continued fractions: For simple continued fractions of the form r=a_0 + \cfrac the a_n term can be calculated using the following recursive formula: a_n= \left \lfloor \frac \right \rfloor where N_=N_ \bmod N_n and \begin N_=r \\ N_=1 \end From which it can be understood that the a_n sequence stops if N_ = 0.


Calculating continued fraction representations

Consider a real number . Let i=\lfloor r \rfloor be the
integer part In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least inte ...
of and let f = r - i be the
fractional part The fractional part or decimal part of a non‐negative real number x is the excess beyond that number's integer part. If the latter is defined as the largest integer not greater than , called floor of or \lfloor x\rfloor, its fractional part can ...
of . Then the continued fraction representation of is ;a_1,a_2,\ldots/math>, where _1;a_2,\ldots/math> is the continued fraction representation of 1/f. To calculate a continued fraction representation of a number , write down the integer part (technically the
floor A floor is the bottom surface of a room or vehicle. Floors vary from simple dirt in a cave to many layered surfaces made with modern technology. Floors may be stone, wood, bamboo, metal or any other material that can support the expected load ...
) of . Subtract this integer part from . If the difference is 0, stop; otherwise find the
reciprocal Reciprocal may refer to: In mathematics * Multiplicative inverse, in mathematics, the number 1/''x'', which multiplied by ''x'' gives the product 1, also known as a ''reciprocal'' * Reciprocal polynomial, a polynomial obtained from another pol ...
of the difference and repeat. The procedure will halt if and only if is rational. This process can be efficiently implemented using the
Euclidean algorithm In mathematics, the Euclidean algorithm,Some widely used textbooks, such as I. N. Herstein's ''Topics in Algebra'' and Serge Lang's ''Algebra'', use the term "Euclidean algorithm" to refer to Euclidean division or Euclid's algorithm, is an effi ...
when the number is rational. The table below shows an implementation of this procedure for the number 3.245, resulting in the continued fraction expansion ; 4,12,4 :


Notations

The integers a_0, a_1 etc., are called the ''coefficients'' or ''terms'' of the continued fraction. One can abbreviate the continued fraction :x = a_0 + \cfrac in the notation of
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
:x = a_0 + \underset ~ \frac or as :x = _0; a_1, a_2, a_3, or in the notation of
Pringsheim Pringsheim is a Jewish Silesian surname. Notable people with the surname include: * Alfred Pringsheim (1850–1941), mathematician, father-in-law of writer Thomas Mann * Ernst Pringsheim Sr. (1859–1917), German physicist * Ernst Pringsheim Jr. ...
as :x = a_0 + \frac + \frac + \frac, or in another related notation as :x = a_0 + . Sometimes angle brackets are used, like this: :x = \left \langle a_0; a_1, a_2, a_3 \right \rangle. The semicolon in the square and angle bracket notations is sometimes replaced by a comma. One may also define ''infinite simple continued fractions'' as
limits Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
: : _0; a_1, a_2, a_3, \,\ldots = \lim_ _0; a_1, a_2, \,\ldots, a_n This limit exists for any choice of a_0 and positive integers a_1,a_2,\ldots.


Finite continued fractions

Every finite continued fraction represents a
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ration ...
, and every rational number can be represented in precisely two different ways as a finite continued fraction, with the conditions that the first coefficient is an integer and the other coefficients are positive integers. These two representations agree except in their final terms. In the longer representation the final term in the continued fraction is 1; the shorter representation drops the final 1, but increases the new final term by 1. The final element in the short representation is therefore always greater than 1, if present. In symbols: :. :.


Reciprocals

The continued fraction representations of a positive rational number and its
reciprocal Reciprocal may refer to: In mathematics * Multiplicative inverse, in mathematics, the number 1/''x'', which multiplied by ''x'' gives the product 1, also known as a ''reciprocal'' * Reciprocal polynomial, a polynomial obtained from another pol ...
are identical except for a shift one place left or right depending on whether the number is less than or greater than one respectively. In other words, the numbers represented by _0;a_1,a_2,\ldots,a_n/math> and ;a_0,a_1,\ldots,a_n/math> are reciprocals. For instance if a is an integer and x < 1 then :x=0 + \frac and \frac = a + \frac. If x>1 then :x = a + \frac and \frac = 0 + \frac. The last number that generates the remainder of the continued fraction is the same for both x and its reciprocal. For example, :2.25 = \frac = ;4/math> and \frac = \frac = ;2,4/math>.


Infinite continued fractions and convergents

Every infinite continued fraction is
irrational Irrationality is cognition, thinking, talking, or acting without inclusion of rationality. It is more specifically described as an action or opinion given through inadequate use of reason, or through emotional distress or cognitive deficiency. T ...
, and every irrational number can be represented in precisely one way as an infinite continued fraction. An infinite continued fraction representation for an irrational number is useful because its initial segments provide rational approximations to the number. These rational numbers are called the convergents of the continued fraction. The larger a term is in the continued fraction, the closer the corresponding convergent is to the irrational number being approximated. Numbers like π have occasional large terms in their continued fraction, which makes them easy to approximate with rational numbers. Other numbers like ''e'' have only small terms early in their continued fraction, which makes them more difficult to approximate rationally. The
golden ratio In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities a and b with a > b > 0, where the Greek letter phi ( ...
Φ has terms equal to 1 everywhere—the smallest values possible—which makes Φ the most difficult number to approximate rationally. In this sense, therefore, it is the "most irrational" of all irrational numbers. Even-numbered convergents are smaller than the original number, while odd-numbered ones are larger. For a continued fraction , the first four convergents (numbered 0 through 3) are :. The numerator of the third convergent is formed by multiplying the numerator of the second convergent by the third coefficient, and adding the numerator of the first convergent. The denominators are formed similarly. Therefore, each convergent can be expressed explicitly in terms of the continued fraction as the ratio of certain
multivariate polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An example ...
s called ''
continuants In phonetics, a continuant is a speech sound produced without a complete closure in the oral cavity, namely fricatives, approximants, vowels, and trills. While vowels are included in continuants, the term is often reserved for consonant sounds ...
''. If successive convergents are found, with numerators , , ... and denominators , , ... then the relevant recursive relation is: :, :. The successive convergents are given by the formula :. Thus to incorporate a new term into a rational approximation, only the two previous convergents are necessary. The initial "convergents" (required for the first two terms) are 01 and 10. For example, here are the convergents for ;1,5,2,2 : When using the
Babylonian method Methods of computing square roots are numerical analysis algorithms for approximating the principal, or non-negative, square root (usually denoted \sqrt, \sqrt /math>, or S^) of a real number. Arithmetically, it means given S, a procedure for fin ...
to generate successive approximations to the square root of an integer, if one starts with the lowest integer as first approximant, the rationals generated all appear in the list of convergents for the continued fraction. Specifically, the approximants will appear on the convergents list in positions 0, 1, 3, 7, 15, ... , , ... For example, the continued fraction expansion for is ;1,2,1,2,1,2,1,2,... Comparing the convergents with the approximants derived from the Babylonian method: : : : : :


Properties

A
Baire space In mathematics, a topological space X is said to be a Baire space if countable unions of closed sets with empty interior also have empty interior. According to the Baire category theorem, compact Hausdorff spaces and complete metric spaces are ...
is a topological space on infinite sequences of natural numbers. The infinite continued fraction provides a
homeomorphism In the mathematical field of topology, a homeomorphism, topological isomorphism, or bicontinuous function is a bijective and continuous function between topological spaces that has a continuous inverse function. Homeomorphisms are the isomorphi ...
from the Baire space to the space of irrational real numbers (with the subspace topology inherited from the
usual topology In mathematics, the real coordinate space of dimension , denoted ( ) or is the set of the tuple, -tuples of real numbers, that is the set of all sequences of real numbers. With component-wise addition and scalar multiplication, it is a real v ...
on the reals). The infinite continued fraction also provides a map between the
quadratic irrational In mathematics, a quadratic irrational number (also known as a quadratic irrational, a quadratic irrationality or quadratic surd) is an irrational number that is the solution to some quadratic equation with rational coefficients which is irreducible ...
s and the
dyadic rational In mathematics, a dyadic rational or binary rational is a number that can be expressed as a fraction whose denominator is a power of two. For example, 1/2, 3/2, and 3/8 are dyadic rationals, but 1/3 is not. These numbers are important in compute ...
s, and from other irrationals to the set of infinite strings of binary numbers (i.e. the
Cantor set In mathematics, the Cantor set is a set of points lying on a single line segment that has a number of unintuitive properties. It was discovered in 1874 by Henry John Stephen Smith and introduced by German mathematician Georg Cantor in 1883. Thr ...
); this map is called the Minkowski question mark function. The mapping has interesting self-similar
fractal In mathematics, a fractal is a geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scales, as illu ...
properties; these are given by the
modular group In mathematics, the modular group is the projective special linear group of matrices with integer coefficients and determinant 1. The matrices and are identified. The modular group acts on the upper-half of the complex plane by fractional l ...
, which is the subgroup of
Möbius transformation In geometry and complex analysis, a Möbius transformation of the complex plane is a rational function of the form f(z) = \frac of one complex variable ''z''; here the coefficients ''a'', ''b'', ''c'', ''d'' are complex numbers satisfying ''ad'' ...
s having integer values in the transform. Roughly speaking, continued fraction convergents can be taken to be Möbius transformations acting on the (hyperbolic)
upper half-plane In mathematics, the upper half-plane, \,\mathcal\,, is the set of points in the Cartesian plane with > 0. Complex plane Mathematicians sometimes identify the Cartesian plane with the complex plane, and then the upper half-plane corresponds to t ...
; this is what leads to the fractal self-symmetry. The limit probability distribution of the coefficients in the continued fraction expansion of a random variable uniformly distributed in (0, 1) is the
Gauss–Kuzmin distribution In mathematics, the Gauss–Kuzmin distribution is a discrete probability distribution that arises as the limit probability distribution of the coefficients in the continued fraction expansion of a random variable uniformly distributed in (0,&nbs ...
.


Some useful theorems

If a_0, a_1, a_2, \ldots is an infinite sequence of positive integers, define the sequences h_n and k_n recursively:
Theorem 1. For any positive real number z : \left _0; a_1, \,\dots, a_, z \right\frac.
Theorem 2. The convergents of math>a_0; a_1, a_2, \ldotsare given by :\left _0; a_1, \,\dots, a_n\right\frac.
Theorem 3. If the nth convergent to a continued fraction is h_n/k_n, then :k_nh_-k_h_n=(-1)^n.
Corollary 1: Each convergent is in its lowest terms (for if h_n and k_n had a nontrivial common divisor it would divide k_n h_ - k_ h_n, which is impossible). Corollary 2: The difference between successive convergents is a fraction whose numerator is unity: :\frac-\frac = \frac= \frac. Corollary 3: The continued fraction is equivalent to a series of alternating terms: :a_0 + \sum_^\infty \frac. Corollary 4: The matrix :\begin h_n & h_ \\ k_n & k_ \end has
determinant In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if and ...
plus or minus one, and thus belongs to the group of 2\times 2 unimodular matrices \mathrm(2,\mathbb).
Theorem 4. Each (sth) convergent is nearer to a subsequent (nth) convergent than any preceding (rth) convergent is. In symbols, if the nth convergent is taken to be _0;a_1,\ldots,a_n= x_n, then :\left, x_r - x_n \ > \left, x_s - x_n \ for all r < s < n.
Corollary 1: The even convergents (before the nth) continually increase, but are always less than x_n. Corollary 2: The odd convergents (before the nth) continually decrease, but are always greater than x_n.
Theorem 5. :\frac< \left, x-\frac\< \frac.
Corollary 1: A convergent is nearer to the limit of the continued fraction than any fraction whose denominator is less than that of the convergent. Corollary 2: A convergent obtained by terminating the continued fraction just before a large term is a close approximation to the limit of the continued fraction.


Semiconvergents

If : \frac,\frac are consecutive convergents, then any fractions of the form : \frac, where m is an integer such that 0\leq m\leq a_, are called ''semiconvergents'', ''secondary convergents'', or ''intermediate fractions''. The (m+1)-st semiconvergent equals the
mediant In music, the mediant (''Latin'': to be in the middle) is the third scale degree () of a diatonic scale, being the note halfway between the tonic and the dominant.Benward & Saker (2003), p.32. In the movable do solfège system, the mediant note i ...
of the m-th one and the convergent \tfrac. Sometimes the term is taken to mean that being a semiconvergent excludes the possibility of being a convergent (i.e., 0), rather than that a convergent is a kind of semiconvergent. It follows that semiconvergents represent a
monotonic sequence In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of orde ...
of fractions between the convergents \tfrac (corresponding to m=0) and \tfrac (corresponding to m=a_). The consecutive semiconvergents \tfrac and \tfrac satisfy the property ad - bc = \pm 1. If a rational approximation \tfrac to a real number x is such that the value \left, x-\tfrac\ is smaller than that of any approximation with a smaller denominator, then \tfrac is a semiconvergent of the continued fraction expansion of x. The converse is not true, however.


Best rational approximations

One can choose to define a ''best rational approximation'' to a real number as a rational number , , that is closer to than any approximation with a smaller or equal denominator. The simple continued fraction for can be used to generate ''all'' of the best rational approximations for by applying these three rules: #Truncate the continued fraction, and reduce its last term by a chosen amount (possibly zero). #The reduced term cannot have less than half its original value. #If the final term is even, half its value is admissible only if the corresponding semiconvergent is better than the previous convergent. (See below.) For example, 0.84375 has continued fraction ;1,5,2,2 Here are all of its best rational approximations. : The strictly monotonic increase in the denominators as additional terms are included permits an algorithm to impose a limit, either on size of denominator or closeness of approximation. The "half rule" mentioned above requires that when is even, the halved term /2 is admissible if and only if This is equivalent to: . :. The convergents to are "best approximations" in a much stronger sense than the one defined above. Namely, / is a convergent for if and only if has the smallest value among the analogous expressions for all rational approximations / with ; that is, we have so long as . (Note also that as .)


Best rational within an interval

A rational that falls within the interval , for , can be found with the continued fractions for and . When both and are irrational and : : where and have identical continued fraction expansions up through , a rational that falls within the interval is given by the finite continued fraction, : This rational will be best in the sense that no other rational in will have a smaller numerator or a smaller denominator. If is rational, it will have ''two'' continued fraction representations that are ''finite'', and , and similarly a rational  will have two representations, and . The coefficients beyond the last in any of these representations should be interpreted as ; and the best rational will be one of , , , or . For example, the decimal representation 3.1416 could be rounded from any number in the interval . The continued fraction representations of 3.14155 and 3.14165 are : : and the best rational between these two is : Thus, is the best rational number corresponding to the rounded decimal number 3.1416, in the sense that no other rational number that would be rounded to 3.1416 will have a smaller numerator or a smaller denominator.


Interval for a convergent

A rational number, which can be expressed as finite continued fraction in two ways, : will be one of the convergents for the continued fraction expansion of a number, if and only if the number is strictly between (se
this proof
: and : The numbers and are formed by incrementing the last coefficient in the two representations for . It is the case that when is even, and when is odd. For example, the number has the continued fraction representations : = ; 7, 15, 1=
; 7, 16 The semicolon or semi-colon is a symbol commonly used as orthographic punctuation. In the English language, a semicolon is most commonly used to link (in a single sentence) two independent clauses that are closely related in thought. When a ...
and thus is a convergent of any number strictly between :


Comparison

Consider and . If is the smallest index for which is unequal to then if and otherwise. If there is no such , but one expansion is shorter than the other, say and with for , then if is even and if is odd.


Continued fraction expansion of and its convergents

To calculate the convergents of we may set , define and , and , . Continuing like this, one can determine the infinite continued fraction of as : ;7,15,1,292,1,1,.... The fourth convergent of is ;7,15,1= = 3.14159292035..., sometimes called
Milü Milü (; "close ratio"), also known as Zulü ( Zu's ratio), is the name given to an approximation to (pi) found by Chinese mathematician and astronomer Zu Chongzhi in the 5th century. Using Liu Hui's algorithm (which is based on the areas of r ...
, which is fairly close to the true value of . Let us suppose that the quotients found are, as above, ;7,15,1 The following is a rule by which we can write down at once the convergent fractions which result from these quotients without developing the continued fraction. The first quotient, supposed divided by unity, will give the first fraction, which will be too small, namely, . Then, multiplying the numerator and denominator of this fraction by the second quotient and adding unity to the numerator, we shall have the second fraction, , which will be too large. Multiplying in like manner the numerator and denominator of this fraction by the third quotient, and adding to the numerator the numerator of the preceding fraction, and to the denominator the denominator of the preceding fraction, we shall have the third fraction, which will be too small. Thus, the third quotient being 15, we have for our numerator , and for our denominator, . The third convergent, therefore, is . We proceed in the same manner for the fourth convergent. The fourth quotient being 1, we say 333 times 1 is 333, and this plus 22, the numerator of the fraction preceding, is 355; similarly, 106 times 1 is 106, and this plus 7 is 113. In this manner, by employing the four quotients ;7,15,1 we obtain the four fractions: :, , , , .... To sum up, the pattern is \text_i = \text_ \cdot \text_i + \text_ \text_i = \text_ \cdot \text_i + \text_ These convergents are alternately smaller and larger than the true value of , and approach nearer and nearer to . The difference between a given convergent and is less than the reciprocal of the product of the denominators of that convergent and the next convergent. For example, the fraction is greater than , but − is less than  =  (in fact, − is just more than = ). The demonstration of the foregoing properties is deduced from the fact that if we seek the difference between one of the convergent fractions and the next adjacent to it we shall obtain a fraction of which the numerator is always unity and the denominator the product of the two denominators. Thus the difference between and is , in excess; between and , , in deficit; between and , , in excess; and so on. The result being, that by employing this series of differences we can express in another and very simple manner the fractions with which we are here concerned, by means of a second series of fractions of which the numerators are all unity and the denominators successively be the product of every two adjacent denominators. Instead of the fractions written above, we have thus the series: : + − + − ... The first term, as we see, is the first fraction; the first and second together give the second fraction, ; the first, the second and the third give the third fraction , and so on with the rest; the result being that the series entire is equivalent to the original value.


Generalized continued fraction

A generalized continued fraction is an expression of the form :x = b_0 + \cfrac where the ''a''''n'' (''n'' > 0) are the partial numerators, the ''b''''n'' are the partial denominators, and the leading term ''b''0 is called the ''integer'' part of the continued fraction. To illustrate the use of generalized continued fractions, consider the following example. The sequence of partial denominators of the simple continued fraction of does not show any obvious pattern: :\pi= ;7,15,1,292,1,1,1,2,1,3,1,\ldots/math> or :\pi=3+\cfrac However, several generalized continued fractions for have a perfectly regular structure, such as: : \pi=\cfrac =\cfrac =3+\cfrac :\displaystyle \pi=2+\cfrac=2+\cfrac : \displaystyle \pi=2+\cfrac The first two of these are special cases of the
arctangent In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). Spec ...
function with = 4 arctan (1) and the fourth and fifth one can be derived using the
Wallis product In mathematics, the Wallis product for , published in 1656 by John Wallis, states that :\begin \frac & = \prod_^ \frac = \prod_^ \left(\frac \cdot \frac\right) \\ pt& = \Big(\frac \cdot \frac\Big) \cdot \Big(\frac \cdot \frac\Big) \cdot \Big(\fr ...
. : \pi=3+\cfrac The continued fraction of \pi above consisting of cubes uses the Nilakantha series and an exploit from Leonhard Euler.


Other continued fraction expansions


Periodic continued fractions

The numbers with periodic continued fraction expansion are precisely the irrational solutions of
quadratic equation In algebra, a quadratic equation () is any equation that can be rearranged in standard form as ax^2 + bx + c = 0\,, where represents an unknown (mathematics), unknown value, and , , and represent known numbers, where . (If and then the equati ...
s with rational coefficients; rational solutions have finite continued fraction expansions as previously stated. The simplest examples are the
golden ratio In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Expressed algebraically, for quantities a and b with a > b > 0, where the Greek letter phi ( ...
φ = ;1,1,1,1,1,...and = ;2,2,2,2,... while = ;1,2,1,6,1,2,1,6...and = ;2,12,2,12,2,12... All irrational square roots of integers have a special form for the period; a symmetrical string, like the empty string (for ) or 1,2,1 (for ), followed by the double of the leading integer.


A property of the golden ratio φ

Because the continued fraction expansion for φ doesn't use any integers greater than 1, φ is one of the most "difficult" real numbers to approximate with rational numbers. Hurwitz's theorem states that any irrational number can be approximated by infinitely many rational with :\left, k - \ < . While virtually all real numbers will eventually have infinitely many convergents whose distance from is significantly smaller than this limit, the convergents for φ (i.e., the numbers , , , , etc.) consistently "toe the boundary", keeping a distance of almost exactly away from φ, thus never producing an approximation nearly as impressive as, for example, for . It can also be shown that every real number of the form , where , , , and are integers such that , shares this property with the golden ratio φ; and that all other real numbers can be more closely approximated.


Regular patterns in continued fractions

While there is no discernible pattern in the simple continued fraction expansion of , there is one for , the base of the natural logarithm: :e = e^1 = ; 1, 2, 1, 1, 4, 1, 1, 6, 1, 1, 8, 1, 1, 10, 1, 1, 12, 1, 1, \dots which is a special case of this general expression for positive integer : :e^ = ; n-1, 1, 1, 3n-1, 1, 1, 5n-1, 1, 1, 7n-1, 1, 1, \dots\,\!. Another, more complex pattern appears in this continued fraction expansion for positive odd : :e^ = \left ; \frac, 6n, \frac, 1, 1, \frac, 18n, \frac, 1, 1, \frac, 30n, \frac, 1, 1, \dots \right\,\!, with a special case for : :e^2 = ; 2, 1, 1, 3, 18, 5, 1, 1, 6, 30, 8, 1, 1, 9, 42, 11, 1, 1, 12, 54, 14, 1, 1 \dots, 3k, 12k+6, 3k+2, 1, 1 \dots\,\!. Other continued fractions of this sort are :\tanh(1/n) = ; n, 3n, 5n, 7n, 9n, 11n, 13n, 15n, 17n, 19n, \dots where is a positive integer; also, for integer : :\tan(1/n) = ; n-1, 1, 3n-2, 1, 5n-2, 1, 7n-2, 1, 9n-2, 1, \dots,\!, with a special case for : :\tan(1) = ; 1, 1, 3, 1, 5, 1, 7, 1, 9, 1, 11, 1, 13, 1, 15, 1, 17, 1, 19, 1, \dots,\!. If is the modified, or hyperbolic,
Bessel function Bessel functions, first defined by the mathematician Daniel Bernoulli and then generalized by Friedrich Bessel, are canonical solutions of Bessel's differential equation x^2 \frac + x \frac + \left(x^2 - \alpha^2 \right)y = 0 for an arbitrary ...
of the first kind, we may define a function on the rationals by :S(p/q) = \frac, which is defined for all rational numbers, with and in lowest terms. Then for all nonnegative rationals, we have :S(p/q) = +q; p+2q, p+3q, p+4q, \dots with similar formulas for negative rationals; in particular we have :S(0) = S(0/1) = ; 2, 3, 4, 5, 6, 7, \dots Many of the formulas can be proved using
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 i ...
.


Typical continued fractions

Most irrational numbers do not have any periodic or regular behavior in their continued fraction expansion. Nevertheless,
Khinchin Aleksandr Yakovlevich Khinchin (russian: Алекса́ндр Я́ковлевич Хи́нчин, french: Alexandre Khintchine; July 19, 1894 – November 18, 1959) was a Soviet mathematician and one of the most significant contributors to th ...
proved that for
almost all In mathematics, the term "almost all" means "all but a negligible amount". More precisely, if X is a set, "almost all elements of X" means "all elements of X but those in a negligible subset of X". The meaning of "negligible" depends on the math ...
real numbers , the (for ) have an astonishing property: their
geometric mean In mathematics, the geometric mean is a mean or average which indicates a central tendency of a set of numbers by using the product of their values (as opposed to the arithmetic mean which uses their sum). The geometric mean is defined as the ...
tends to a constant (known as
Khinchin's constant In number theory, Aleksandr Yakovlevich Khinchin proved that for almost all real numbers ''x'', coefficients ''a'i'' of the continued fraction expansion of ''x'' have a finite geometric mean that is independent of the value of ''x'' and is kno ...
, ) independent of the value of . Paul Lévy showed that the th root of the denominator of the th convergent of the continued fraction expansion of almost all real numbers approaches an asymptotic limit, approximately 3.27582, which is known as
Lévy's constant In mathematics Lévy's constant (sometimes known as the Khinchin–Lévy constant) occurs in an expression for the asymptotic behaviour of the denominators of the convergents of continued fractions. In 1935, the Soviet mathematician Aleksandr Khi ...
.
Lochs' theorem In number theory, Lochs's theorem concerns the rate of convergence of the continued fraction expansion of a typical real number. A proof of the theorem was published in 1964 by Gustav Lochs. The theorem states that for almost all real numbers in ...
states that th convergent of the continued fraction expansion of almost all real numbers determines the number to an average accuracy of just over decimal places.


Applications


Square roots

Generalized continued fractions are used in a method for computing square roots. The identity leads via recursion to the generalized continued fraction for any square root:


Pell's equation

Continued fractions play an essential role in the solution of
Pell's equation Pell's equation, also called the Pell–Fermat equation, is any Diophantine equation of the form x^2 - ny^2 = 1, where ''n'' is a given positive nonsquare integer, and integer solutions are sought for ''x'' and ''y''. In Cartesian coordinate ...
. For example, for positive integers and , and non-square , it is true that if , then is a convergent of the regular continued fraction for . The converse holds if the period of the regular continued fraction for is 1, and in general the period describes which convergents give solutions to Pell's equation.


Dynamical systems

Continued fractions also play a role in the study of
dynamical system In mathematics, a dynamical system is a system in which a Function (mathematics), function describes the time dependence of a Point (geometry), point in an ambient space. Examples include the mathematical models that describe the swinging of a ...
s, where they tie together the Farey fractions which are seen in the
Mandelbrot set The Mandelbrot set () is the set of complex numbers c for which the function f_c(z)=z^2+c does not diverge to infinity when iterated from z=0, i.e., for which the sequence f_c(0), f_c(f_c(0)), etc., remains bounded in absolute value. This ...
with
Minkowski's question mark function In mathematics, the Minkowski question-mark function, denoted , is a function with unusual fractal properties, defined by Hermann Minkowski in 1904. It maps quadratic irrational numbers to rational numbers on the unit interval, via an expressio ...
and the
modular group In mathematics, the modular group is the projective special linear group of matrices with integer coefficients and determinant 1. The matrices and are identified. The modular group acts on the upper-half of the complex plane by fractional l ...
Gamma. The backwards
shift operator In mathematics, and in particular functional analysis, the shift operator also known as translation operator is an operator that takes a function to its translation . In time series analysis, the shift operator is called the lag operator. Shift o ...
for continued fractions is the map called the Gauss map, which lops off digits of a continued fraction expansion: . The
transfer operator Transfer may refer to: Arts and media * ''Transfer'' (2010 film), a German science-fiction movie directed by Damir Lukacevic and starring Zana Marjanović * ''Transfer'' (1966 film), a short film * ''Transfer'' (journal), in management studies ...
of this map is called the
Gauss–Kuzmin–Wirsing operator In mathematics, the Gauss–Kuzmin–Wirsing operator is the transfer operator of the Gauss map that takes a positive number to the fractional part of its reciprocal. (This is not the same as the Gauss map in differential geometry.) It is named af ...
. The distribution of the digits in continued fractions is given by the zero'th
eigenvector In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denoted b ...
of this operator, and is called the
Gauss–Kuzmin distribution In mathematics, the Gauss–Kuzmin distribution is a discrete probability distribution that arises as the limit probability distribution of the coefficients in the continued fraction expansion of a random variable uniformly distributed in (0,&nbs ...
.


Eigenvalues and eigenvectors

The
Lanczos algorithm The Lanczos algorithm is an iterative method devised by Cornelius Lanczos that is an adaptation of power iteration, power methods to find the m "most useful" (tending towards extreme highest/lowest) eigenvalues and eigenvectors of an n \times n ...
uses a continued fraction expansion to iteratively approximate the eigenvalues and eigenvectors of a large sparse matrix.


Networking applications

Continued fractions have also been used in modelling optimization problems for wireless
network virtualization In computing, network virtualization is the process of combining hardware and software network resources and network functionality into a single, software-based administrative entity, a virtual network. Network virtualization involves platform vi ...
to find a route between a source and a destination.


Examples of rational and irrational numbers

ra: rational approximant obtained by expanding continued fraction up to ''ar''


History

* 300 BCE ''
Euclid's Elements The ''Elements'' ( grc, Στοιχεῖα ''Stoikheîa'') is a mathematical treatise consisting of 13 books attributed to the ancient Greek mathematician Euclid in Alexandria, Ptolemaic Egypt 300 BC. It is a collection of definitions, postulat ...
'' contains an algorithm for the
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
, whose modern version generates a continued fraction as the sequence of quotients of successive
Euclidean division In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller than ...
s that occur in it. * 499 The ''
Aryabhatiya ''Aryabhatiya'' (IAST: ') or ''Aryabhatiyam'' ('), a Sanskrit astronomical treatise, is the ''magnum opus'' and only known surviving work of the 5th century Indian mathematician Aryabhata. Philosopher of astronomy Roger Billard estimates that th ...
'' contains the solution of indeterminate equations using continued fractions * 1572
Rafael Bombelli Rafael Bombelli (baptised on 20 January 1526; died 1572) was an Italian mathematician. Born in Bologna, he is the author of a treatise on algebra and is a central figure in the understanding of imaginary numbers. He was the one who finally manag ...
, ''L'Algebra Opera'' – method for the extraction of square roots which is related to continued fractions * 1613
Pietro Cataldi Pietro Antonio Cataldi (15 April 1548, Bologna – 11 February 1626, Bologna) was an Italian mathematician. A citizen of Bologna, he taught mathematics and astronomy and also worked on military problems. His work included the development of contin ...
, ''Trattato del modo brevissimo di trovar la radice quadra delli numeri'' – first notation for continued fractions :Cataldi represented a continued fraction as a_0 & \frac & \frac & \frac with the dots indicating where the following fractions went. * 1695
John Wallis John Wallis (; la, Wallisius; ) was an English clergyman and mathematician who is given partial credit for the development of infinitesimal calculus. Between 1643 and 1689 he served as chief cryptographer for Parliament and, later, the royal ...
, ''Opera Mathematica'' – introduction of the term "continued fraction" * 1737
Leonhard Euler Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
, ''De fractionibus continuis dissertatio'' – Provided the first then-comprehensive account of the properties of continued fractions, and included the first proof that the number e is irrational. * 1748 Euler, ''
Introductio in analysin infinitorum ''Introductio in analysin infinitorum'' (Latin: ''Introduction to the Analysis of the Infinite'') is a two-volume work by Leonhard Euler which lays the foundations of mathematical analysis. Written in Latin and published in 1748, the ''Introducti ...
''. Vol. I, Chapter 18 – proved the equivalence of a certain form of continued fraction and a generalized
infinite series In mathematics, a series is, roughly speaking, a description of the operation of adding infinitely many quantities, one after the other, to a given starting quantity. The study of series is a major part of calculus and its generalization, math ...
, proved that every rational number can be written as a finite continued fraction, and proved that the continued fraction of an irrational number is infinite. * 1761
Johann Lambert Johann Heinrich Lambert (, ''Jean-Henri Lambert'' in French language, French; 26 or 28 August 1728 – 25 September 1777) was a polymath from the Republic of Mulhouse, generally referred to as either Switzerland, Swiss or France, French, who made i ...
– gave the first proof of the irrationality of using a continued fraction for tan(x). * 1768
Joseph-Louis Lagrange Joseph-Louis Lagrange (born Giuseppe Luigi Lagrangiaquadratic irrationals expand to
periodic continued fraction In mathematics, an infinite periodic continued fraction is a continued fraction that can be placed in the form : x = a_0 + \cfrac where the initial block of ''k'' + 1 partial denominators is followed by a block 'a'k''+1, ''a'k''+2,.. ...
s. * 1813
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
, ''Werke'', Vol. 3, pp. 134–138 – derived a very general complex-valued continued fraction via a clever identity involving the hypergeometric function * 1892
Henri Padé Henri Eugène Padé (; 17 December 1863 – 9 July 1953) was a French mathematician, who is now remembered mainly for his development of Padé approximation techniques for functions using rational functions. Education and career Pad ...
defined
Padé approximant In mathematics, a Padé approximant is the "best" approximation of a function near a specific point by a rational function of given order. Under this technique, the approximant's power series agrees with the power series of the function it is ap ...
* 1972
Bill Gosper Ralph William Gosper Jr. (born April 26, 1943), known as Bill Gosper, is an American mathematician and programmer. Along with Richard Greenblatt, he may be considered to have founded the hacker community, and he holds a place of pride in the ...
– First exact algorithms for continued fraction arithmetic.


See also

* * * * * * * * * * * * * * *


Notes


References

* * * * * * * * * * * * * * * * * * * * * * * * * * * * *


External links

* * * Linas Vepsta
Continued Fractions and Gaps
(2004) reviews chaotic structures in continued fractions.
Continued Fractions on the Stern-Brocot Tree
at
cut-the-knot Alexander Bogomolny (January 4, 1948 July 7, 2018) was a Soviet-born Israeli-American mathematician. He was Professor Emeritus of Mathematics at the University of Iowa, and formerly research fellow at the Moscow Institute of Electronics and Math ...

The Antikythera Mechanism I: Gear ratios and continued fractions


WIMS.

Gosper's first continued fractions paper, unpublished. Cached on the
Internet Archive The Internet Archive is an American digital library with the stated mission of "universal access to all knowledge". It provides free public access to collections of digitized materials, including websites, software applications/games, music, ...
's
Wayback Machine The Wayback Machine is a digital archive of the World Wide Web founded by the Internet Archive, a nonprofit based in San Francisco, California. Created in 1996 and launched to the public in 2001, it allows the user to go "back in time" and see ...
*
Continued Fractions
by
Stephen Wolfram Stephen Wolfram (; born 29 August 1959) is a British-American computer scientist, physicist, and businessman. He is known for his work in computer science, mathematics, and theoretical physics. In 2012, he was named a fellow of the American Ma ...
an
Continued Fraction Approximations of the Tangent Function
by Michael Trott,
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an organized, open-source collection of small (or medium-size) interactive programs called Demonstrations, which are meant to visually and interactively represent ideas from a range of fields. It is hos ...
. *
A view into "fractional interpolation" of a continued fraction }

Best rational approximation through continued fractions

CONTINUED FRACTIONS by C. D. Olds
{{Authority control Mathematical analysis