Continued fraction

ImprimirCitar

In mathematics, a continued fraction, also called a continued fraction (influenced by the English continued fraction), is an expression Shape:

where a0 is an integer and all other numbers are ai are positive integers, for i= 0, 1, 2,...n,.... The numbers a0, a1, a 2,..., as are called elements or incomplete quotients. If the numerators or partial denominators are allowed to take on arbitrary values, which might be functions in some context, the resulting expression is a generalized continued fraction. When it is necessary to distinguish the typical form above from a generalized one, it will be called regular continued fraction or simple.

Motivation

The study of continued fractions is motivated by the desire to give a "mathematically pure" representation of the real numbers. We are familiar with the decimal representation:

where a0 can be any integer and the others ai belong to {0, 1, 2,..., 9}. So the number for example, it is represented with succession (3, 1, 4, 1, 5, 9, 2,...).

This representation has some problems. For example, the constant 10 is used because the calculations are done in the decimal system; either octal or binary could be used. Another problem is that many rationals do not have a finite representation; for example, 1/3 does it with the infinite sequence (0, 3, 3, …).

The continued fraction representation of real numbers avoids both problems. For example, let's consider the number 415/93, which is worth approximately 4.4624. This is about 4, but it's somewhat greater than 4, about 4+1/2. But the denominator 2 is not correct; a slightly larger one would be, about 2+1/6, since 415/93 is roughly 4+1/(2+1/6). But the denominator 6 is not correct; it would be a slightly larger one, about 4+1/(2+1/(6+1/7)). This is exact. Removing the redundant parts of the expression 4+1/(2+1/(6+1/7)), we get its shorthand notation [4; 2, 6, 7].

Thus, any real number can be represented as a continued fraction, and these comfortable properties are fulfilled:

  • The representation in continuous fraction of a real number is finite if and only if that number is rational.
  • The representation in continuous fraction of a rational “simple” is generally short.
  • The representation in continuous fraction of a rational is unique whenever it does not end in 1. (in fact: [a0; a1... an, 1] = [a0; a1... an+ 1].)
  • The terms of a continuous fraction will be repeated if and only if it represents a quadratic irrational, that is, if it is a solution of a quadratic equation with integer coefficients. For example, the continuous fraction [1; 1, 1,...] represents the golden number and [1; 2, 2, 2,...] to .
  • The truncated representation in continuous fraction of a number x gives a rational approximation that is, in a sense, the "best possible" (see theorems 6 and 7, below, for a formalization of this assertion).

The last property, false if we use the conventional representation, is very important. If we truncate a decimal representation, we get a rational approximation, but usually not the best. For example, truncating 1/7=0.142857… in several places we will obtain approximations like 142/1000, 14/100 or 1/10. But it is clear that the best rational that approximates 1/7 is 1/7 itself. If we truncate the decimal representation of π we will obtain approximations like 31415/10000 or 314/100. The continued fraction representation of π begins with [3; 7, 15, 1, 292,...]. If we truncate this representation we will obtain the excellent approximations: 3, 22/7, 333/106, 355/113, 103993/33102, … The denominators of 314/100 and 333/106 are almost the same but the error in the approximation of 314/ 100 is nine times greater than that of 333/106, as well as the approximation to π with [3; 7, 15, 1] is 100 times more accurate than 3.1416.

Historical notes

Continuous fractions are used from ancient times. Aryabhata (476-550) it used them to solve diophantic equations, as well as to give precise approximations of irrational numbers. Brahmagupta (598-668) deepened in the study of the equations called Pell today. It developed the foundations of the chakravala method, using calculations similar to those of the continuous fractions. He investigated the resolution of the equation finding the least solution: x = 1 766 319 049, and = 226 153 980

In the 12th century, the method was improved by Bhaskara II. An algorithm, analogous to that of continued fractions, made it possible to solve a general case. The most noticeable difference was that it allowed negative numbers in the fraction, speeding up convergence.

The appearance in Europe was later and Italian. Rafael Bombelli (1526-1572) used a forerunner of continued fractions to calculate approximations to the square root of 13. Pietro Antonio Cataldi (1548-1626) realized that Bombelli's method was valid for all square roots; he used it for the 18th and wrote a booklet on this subject. He remarked that the approximations obtained are alternately superior and inferior to the sought square root.

In England there was decisive progress. On January 3, 1657, Pierre de Fermat challenged European mathematicians with various problems, among which was the equation already resolved by Brahmagupta. The English response was quick. William Brouncker (1620-1684) found the relationship between the equation and the continuous fraction, as well as a algorithmic method equivalent to that of the Hindus for the calculation of the solution. It used a continuous fraction to build a succession that converged , and approached with 10 significant decimals. These results were published by John Wallis, who used to demonstrate the recurring relationships used by Brouncker and Baskara II. Dio, also, the name of continuous fraction in the sentence: «Nempe si unitati adjungatur fractio, quae denominatorem habeat continue fractum». At this time, Christiaan Huygens (1629-1695) He discovered that continuous fractions are the ideal tool to determine the number of teeth that must have the gear wheels of a watch. He used them for the construction of a planetary automaton.

In the next century some theoretical issues are resolved. The use showed that the algorithm of the continuous fractions allowed to resolve the Pell equation using the fact that the fraction is periodic from a point. Leonhard Euler (1707-1783) showed that if a number has a regular continuous fraction, then it is a solution of a second-degree equation with integer coefficients. The most subtle reciprocal is the work of Joseph-Louis de Lagrange (1736-1813) . Johann Heinrich Lambert (1728-1777) found a new usefulness of the continuous fractions: it used them to demonstrate the irrationality of .

This use became frequent during the century XIX. Évariste Galois found a necessary and sufficient condition for a continuous fraction to be immediately periodic. Joseph Liouville (1809-1882) used the development in a generalized continuous fraction to build the first examples of transcendent numbers: the numbers of Liouville. Charles Hermite (1822-1901) established new methods to demonstrate the significance of base of the neperian logarithm. These are retaken by Ferdinand von Lindemann who demonstrated in 1882 that is transcendent with the corollary of the impossibility of the square of the circle. Georg Cantor (1845-1918) showed that the points of a segment can be put in bijection with those of the interior of a square with the help of continuous fractions. The century XX. saw the explosion of a large number of publications on this issue. More than 1500 mathematicians have found elements worthy of publication.

Calculating a continued fraction

Let us consider a real number r. Let e be the integer part and d the decimal part of r; then the continued fraction representation of r is [e; a1, a2,...], where [a< sub>1; a2,...] is the continued fraction representation of 1/d.

To compute the continued fraction representation of a number r, write the integer part of r first. Subtract this integer part from r. If the difference is 0 it stops; otherwise, find the inverse of the difference and repeat. This process will end if and only if r is rational.

Find the continuous fraction of 3,245 (= )
StepActual numberWhole partFractionary partSimplifiedReciprocal fSimplified
1r = i = 3 f = − 3 = 1/f = =
2r = i = 4 f = − 4 = 1/f = =
3r = i = 12 f = − 12 = 1/f = = 4
4r = 4 i = 4 f = 4 - 4 = 0 THE END
The continuous fraction of 3.245 =() is [3; 4, 12, 4].

It could also be represented by [3; 4, 12, 3, 1] in reference to finite continued fractions.

The same example seen otherwise
Another way to see the example would be:

that in mixed fraction is:

equivalent to:

We turned it into a mixed fraction:

in the same way:

We turned it into a mixed fraction:

having a 1 in the numerator the process ends, therefore the result is:

Notation

A continued fraction can be expressed as

or, in Pringsheim notation,

or this other notation similar to the one above

You can define infinite continued fractions as a limit:

This limit exists for any choice of positive integers a1, a2, a 3...

Formalization

We will call any expression of the form continued fraction of order n:

where is a real non-negative and others are strictly positive. We will also use the notation:

Reduced

Sea a continuous fraction: we define the succession pk/qk by:

and recurrence, for k ≥ 2

The fraction pk/qk is called the th reduced k of the continued fraction.

Theorem 1

For all k ≤ n you have:

Plus, for everything. k, 1 ≤ kn,

From now on we will consider whole continued fractions, that is, those for which all ai is a positive integer.

Theorem 2

The reduced of an entire continuous fraction are irreducible fractions.

Let x be a positive real number, we can put it as a0+x0, where a0 =[x] is the integer part of x y; x0 <1 the decimal part of x.

Yeah. So, in the same way, , so that

.

Yeah. We'd put etc. We have then for kg1, and (always ). We have:

.

The sequence (ak) is determined by x and is called Continued Fraction Expansion of x.

Theorem 3

The development in continuous fraction of x is finite if and only if x is rational.

Theorem 4

Given an infinite succession of positive integers such that Yeah. , the succession of reduced

converge.

We can thus give a meaning to an infinite integer continued fraction and write:

where .

Theorem 5

Be x a real represented by an infinite continuous fraction . So (an) coincides with the development in continuous fraction of x.

Best Rational Approximations

Theorem 6. The reduced kth pk / qk of the continued fraction expansion of x is the best approximation of x by a fraction of denominator less than or equal to qk :

.

Theorem 7. Let x be a nonzero positive real number and p/q an irreducible fraction such that:

Then, p/q is one of the reductions of the expansion of x in continued fraction.

Theorem 8. (Hurwitz) Let x be a positive irrational. There is an infinite number of rationals such that:

.

In addition, the constant It's the best possible.

In this last sense the golden number, , is one of the worst irrationals approaching with continuous fractions; its reduced (5/3, 8/5, 13/8, 21/13, etc.), distan almost exactly of .

Some notable developments

Number π {displaystyle pi }

= [3; 7, 15, 1, 292, 1,...] or either

Using generalized continued fractions we obtain expansions with more regular structures

Square root of 2

Sea square root of two: r=Your whole part is worth 1, so and . Now, using the identity We have to . So... and . We concluded that all from k=1 are worth 2 and all Okay. . Development in continuous fraction is therefore:

Golden Ratio

Number e

Applications

Irrationality of number and {displaystyle e}

Continuous fractions offer a way of knowing the irrationality of a number. If your development is infinite then the number is irrational. This technique was used by Euler, which determined the continuous fraction of the number .

The continued fraction development of e, is:

The slash used here is a common notation; indicates an infinite repetition of the sequence of integers that it covers.

Or these others:

It is concluded that neither e nor √e are rational.

Irrationality of number π {displaystyle pi }

The irrationality of the number It was first demonstrated by Johann Heinrich Lambert in 1761 on the basis of the ongoing widespread development of the tangent function.

Pell's Equation

Pell's equation is a Diophantine equation, that is, with integer coefficients and for which the requested solutions are also integers. It has the form:

Where n is an integer that is not perfect square and a It's not an integer. Here we will consider that . A solution (h, k) verify:

h/k n are greater than 1 and √n is strictly so, hence:

Theorem 7 showed that the fraction must be a reduced . Any solution to the equation must be in the succession of reduced . This fact, shown by Lagrange, allows solutions, although more theoretical than algorithmic, to the Pell equation.

Quadratic numbers

Unlike the exponential, the square root of 2 is particularly easy to develop in continuous fraction. This property comes from the fact that, from a certain point, we find a full quotient already appeared again. The continuous fraction is periodic from a certain point. The root of 11 has the same property:

It follows that a0 = 3, a1 = 3, x0 = 1/2(3 + √11) and x1 = 3 + √11. We calculate the continued fraction of x1:

Note that it is necessary to have a number between 0 and 1, to obtain the continued fraction, from another perspective; see the same calculation...

It is seen that x2 is equal to x0, which allows us to conclude:

The periodicity from a point is proper to the numbers of the form Where and are rational, Not null, and an integer that is not perfect square. Regularities are greater for square roots. For example:

Except for the last number of the period, the previous ones form a palindromic number. In addition, the last term of the period is twice the first (in the case discussed, 8, which is twice 4).

Texts for the case

  • A. Right. Khinchin; Continued FractionsUniversity of Chicago Press.

Contenido relacionado

Church–Turing thesis

In computability theory, the Church-Turing thesis hypothetically formulates the equivalence between the concepts of computable function and Turing machine...

Electrodynamics

Electrodynamics is the branch of electromagnetism that deals with the temporal evolution of systems where electric and magnetic fields interact with moving...

Laughed

The ri is a unit of length used in Japan. One ri equals 3927.273 m (43200/11 m). A ri is divided into 36...
Más resultados...
Tamaño del texto:
Copiar