London equations: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Kri
This isbn is for the 8th edition which was released in 2005, not in 1999. The 7th edition has another isbn.
 
Line 1: Line 1:
In [[mathematics]], the '''greedy algorithm for Egyptian fractions''' is a [[greedy algorithm]], first described by [[Fibonacci]], for transforming [[rational number]]s into [[Egyptian fraction]]s. An Egyptian fraction is a representation of an [[irreducible fraction]] as a sum of [[unit fraction]]s, as e.g. 5/6 = 1/2 + 1/3.  As the name indicates, these representations have been used as long ago as [[Egyptian mathematics|ancient Egypt]], but the first published systematic method for constructing such expansions is described in the [[Liber Abaci]] ([[#{{harvid|Sigler|2002}}|1202]]) of [[Leonardo of Pisa]] (Fibonacci).  It is called a greedy algorithm because at each step the algorithm chooses greedily the largest possible [[unit fraction]] that can be used in any representation of the remaining fraction.
Hi there. Allow me start by introducing the author, her title is Sophia Boon but she by no means truly liked that name. Alaska is the only location I've been residing in but now I'm contemplating other choices. Credit authorising is where my main income comes from. To climb is something I truly enjoy doing.<br><br>Feel free to visit my web-site; best psychics ([http://isaworld.pe.kr/?document_srl=392088 isaworld.pe.kr])
 
Fibonacci actually lists several different methods for constructing Egyptian fraction representations ({{harvnb|Sigler|2002}}, chapter II.7). He includes the greedy method as a last resort for situations when several simpler methods fail; see [[Egyptian fraction]] for a more detailed listing of these methods. As Salzer (1948) details, the greedy method, and extensions of it for the approximation of irrational numbers, have been rediscovered several times by modern mathematicians, earliest and most notably by {{harvs|authorlink=James Joseph Sylvester|last=Sylvester|first=J. J.|year=1880|txt}}; see for instance {{harvtxt|Cahen|1891}} and {{harvtxt|Spiess|1907}}. A closely related expansion method that produces closer approximations at each step by allowing some unit fractions in the sum to be negative dates back to {{harvtxt|Lambert|1770}}.
 
The expansion produced by this method for a number ''x'' is called the '''greedy Egyptian expansion''', '''Sylvester expansion''', or '''Fibonacci–Sylvester expansion''' of ''x''. However, the term ''Fibonacci expansion'' usually refers, not to this method, but to representation of integers as sums of [[Fibonacci number]]s.
 
==Algorithm and examples==
Fibonacci's algorithm expands the fraction ''x''/''y'' to be represented, by repeatedly performing the replacement
:<math>\frac{x}{y}=\frac{1}{\lceil y/x\rceil}+\frac{(-y)\bmod x}{y\lceil y/x\rceil}</math>
(simplifying the second term in this replacement as necessary).  For instance:
:<math>\frac{7}{15}=\frac{1}{3}+\frac{2}{15}=\frac{1}{3}+\frac{1}{8}+\frac{1}{120}.</math>
in this expansion, the denominator 3 of the first unit fraction is the result of rounding 15/7 up to the next larger integer, and the remaining fraction 2/15 is the result of simplifying (-15 mod 7)/(15&times;3) = 6/45. The denominator of the second unit fraction, 8, is the result of rounding 15/2 up to the next larger integer, and the remaining fraction 1/120 is what is left from 7/15 after subtracting both 1/3 and 1/8.
 
As each expansion step reduces the numerator of the remaining fraction to be expanded, this method always terminates with a finite expansion; however, compared to ancient Egyptian expansions or to more modern methods, this method may produce expansions that are quite long, with large denominators. For instance, this method expands
:<math>\frac{5}{121}=\frac{1}{25}+\frac{1}{757}+\frac{1}{763309}+\frac{1}{873960180913}+\frac{1}{1527612795642093418846225},</math>
while other methods lead to the much better expansion
:<math>\frac{5}{121}=\frac{1}{33}+\frac{1}{121}+\frac{1}{363}.</math>
{{harvtxt|Wagon|1991}} suggests an even more badly-behaved example, 31/311. The greedy method leads to an expansion with ten terms, the last of which has over 500 digits in its denominator; however, 31/311 has a much shorter non-greedy representation, 1/12 + 1/63 + 1/2799 + 1/8708.
 
==Sylvester's sequence and closest approximation==
[[Sylvester's sequence]] 2, 3, 7, 43, 1807, ... can be viewed as generated by an infinite greedy expansion of this type for the number one, where at each step we choose the denominator <math>\lfloor y/x\rfloor+1</math> instead of <math>\lceil y/x\rceil</math>. Truncating this sequence to ''k'' terms and forming the corresponding Egyptian fraction, e.g. (for ''k'' = 4)
:<math>\frac12+\frac13+\frac17+\frac1{43}=\frac{1805}{1806}</math>
results in the closest possible underestimate of 1 by any ''k''-term Egyptian fraction ({{harvnb|Curtiss|1922}}; {{harvnb|Soundararajan|2005}}). That is, for example, any Egyptian fraction for a number in the open interval (1805/1806,1) requires at least five terms. {{harvtxt|Curtiss|1922}} describes an application of these closest-approximation results in lower-bounding the number of divisors of a [[perfect number]], while {{harvtxt|Stong|1983}} describes applications in [[group theory]].
 
==Maximum-length expansions and congruence conditions==
Any fraction ''x''/''y'' requires at most ''x'' terms in its greedy expansion. {{harvtxt|Mays|1987}} and {{harvtxt|Freitag|Phillips|1999}} examine the conditions under which ''x''/''y'' leads to an expansion with exactly ''x'' terms; these can be described in terms of congruence conditions on ''y''.
 
* Every fraction 1/''y'' requires one term in its expansion; the simplest such fraction is 1/1.
 
* Every fraction 2/''y'' for odd ''y'' > 1 requires two terms in its expansion; the simplest such fraction is 2/3.
 
* A fraction 3/''y'' requires three terms in its expansion if and only if ''y'' ≡ 1 (mod 6), for then -''y'' mod ''x'' = 2 and y(y+2)/3 is odd, so the  fraction remaining after a single step of the greedy expansion,
::<math>\frac{(-y)\bmod x}{y\lceil y/x\rceil} = \frac2{y(y+2)/3}</math>
:is in simplest terms. The simplest fraction 3/''y'' with a three-term expansion is 3/7.
 
* A fraction 4/''y'' requires four terms in its expansion if and only if ''y'' ≡ 1 or 17 (mod 24), for then the numerator -''y'' mod ''x'' of the remaining fraction is 3 and the denominator is 1 (mod 6). The simplest fraction 4/''y'' with a four-term expansion is 4/17. The [[Erdős–Straus conjecture]] states that all fractions 4/''y'' have an expansion with three or fewer terms, but when ''y'' ≡ 1 or 17 (mod 24) such expansions must be found by methods other than the greedy algorithm.
 
More generally the sequence of fractions ''x''/''y'' that have ''x''-term expansions and that have the smallest possible denominator ''y'' for each ''x'' is
:<math>1, \frac{2}{3}, \frac{3}{7}, \frac{4}{17}, \frac{5}{31}, \frac{6}{109}, \frac{7}{253}, \frac{8}{97}, \frac{9}{271}, \dots</math> {{OEIS|id=A048860}}.
 
==Approximation of polynomial roots==
{{harvtxt|Stratemeyer|1930}} and {{harvtxt|Salzer|1947}} describe a method of finding an accurate [[Root-finding algorithm|approximation for the roots of a polynomial]] based on the greedy method. Their algorithm computes the greedy expansion of a root; at each step in this expansion it maintains an auxiliary polynomial that has as its root the remaining fraction to be expanded. Consider as an example applying this method to find the greedy expansion of the [[golden ratio]], one of the two solutions of the polynomial equation ''P''<sub>0</sub>(''x'') = ''x''<sup>2</sup> - x - 1 = 0. The algorithm of Stratemeyer and Salzer performs the following sequence of steps:
 
#Since ''P''<sub>0</sub>(''x'') < 0 for ''x'' = 1, and ''P''<sub>0</sub>(''x'') > 0 for all ''x'' ≥ 2, there must be a root of ''P''<sub>0</sub>(''x'') between 1 and 2. That is, the first term of the greedy expansion of the golden ratio is 1/1. If ''x''<sub>1</sub> is the remaining fraction after the first step of the greedy expansion, it satisfies the equation ''P''<sub>0</sub>(''x''<sub>1</sub> + 1) = 0, which can be expanded as ''P''<sub>1</sub>(''x''<sub>1</sub>) = ''x''<sub>1</sub><sup>2</sup> + ''x''<sub>1</sub> - 1 = 0.
#Since ''P''<sub>1</sub>(''x'') < 0 for ''x'' = 1/2, and ''P''<sub>1</sub>(''x'') > 0 for all ''x'' > 1, the root of ''P''<sub>1</sub> lies between 1/2 and 1, and the first term in its greedy expansion (the second term in the greedy expansion for the golden ratio) is 1/2. If ''x''<sub>2</sub> is the remaining fraction after this step of the greedy expansion, it satisfies the equation ''P''<sub>1</sub>(''x''<sub>2</sub> + 1/2) = 0, which can be expanded as ''P''<sub>2</sub>(''x''<sub>2</sub>) = 4''x''<sub>2</sub><sup>2</sup> + 8''x''<sub>2</sub> - 1 = 0.
#Since ''P''<sub>2</sub>(''x'') < 0 for ''x'' = 1/9, and ''P''<sub>2</sub>(''x'') > 0 for all ''x'' > 1/8, the next term in the greedy expansion is 1/9. If ''x''<sub>3</sub> is the remaining fraction after this step of the greedy expansion, it satisfies the equation ''P''<sub>2</sub>(''x''<sub>3</sub> + 1/9) = 0, which can again be expanded as a polynomial equation with integer coefficients, ''P''<sub>3</sub>(''x''<sub>3</sub>) = 324''x''<sub>3</sub><sup>2</sup> + 720''x''<sub>3</sub> - 5 = 0.
 
Continuing this approximation process eventually produces the greedy expansion for the golden ratio,
 
:<math>\varphi = \frac11+\frac12+\frac19+\frac1{145}+\frac1{37986}+\cdots</math> {{OEIS|id=A117116}}.
 
==Other integer sequences==
The length, minimum denominator, and maximum denominator of the greedy expansion for all fractions with small numerators and denominators can be found in the [[On-Line Encyclopedia of Integer Sequences]] as sequences {{OEIS2C|A050205}}, {{OEIS2C|A050206}}, and {{OEIS2C|A050210}}, respectively. In addition, the greedy expansion of any [[irrational number]] leads to an infinite increasing sequence of integers, and the OEIS contains [http://oeis.org/search?q=greedy-Egyptian-fraction-expansion expansions of several well known constants]. Some [http://oeis.org/search?q=Egyptian-fraction-for additional entries in the OEIS], though not labeled as being produced by the greedy algorithm, appear to be of the same type.
 
==Related expansions==
In general, if one wants an Egyptian fraction expansion in which the denominators are constrained in some way, it is possible to define a greedy algorithm in which at each step one chooses the expansion
:<math>\frac{x}{y}=\frac{1}{d}+\frac{xd-y}{yd},</math>
where ''d'' is chosen, among all possible values satisfying the constraints, as small as possible such that ''xd'' > ''y'' and such that ''d'' is distinct from all previously chosen denominators. For instance, the [[Engel expansion]] can be viewed as an algorithm of this type in which each successive denominator must be a multiple of the previous one. However, it may be difficult to determine whether an algorithm of this type can always succeed in finding a finite expansion. In particular, the [[odd greedy expansion]] of a fraction ''x''/''y'' is formed by a greedy algorithm of this type in which all denominators are constrained to be odd numbers; it is known that, whenever ''y'' is odd, there is a finite Egyptian fraction expansion in which all denominators are odd, but it is not known whether the odd greedy expansion is always finite.
 
== References ==
{{refbegin|colwidth=30em}}
*{{citation
| last = Cahen | first = E.
| journal = Nouvelles Annales des Mathématiques | series = Ser. 3
| pages = 508–514
| title = Note sur un développement des quantités numériques, qui presente quelque analogie avec celui en fractions continues
| volume = 10
| year = 1891}}.
*{{citation
| last = Curtiss | first = D. R. | authorlink = David Raymond Curtiss
| doi = 10.2307/2299023
| issue = 10
| journal = [[American Mathematical Monthly]]
| jstor = 2299023
| pages = 380–387
| title = On Kellogg's diophantine problem
| volume = 29
| year = 1922}}.
*{{citation
| last1 = Freitag | first1 = H. T. | author1-link = Herta Freitag
| last2 = Phillips | first2 = G. M.
| contribution = Sylvester's algorithm and Fibonacci numbers
| location = Dordrecht
| mr = 1737669
| pages = 155–163
| publisher = Kluwer Acad. Publ.
| title = Applications of Fibonacci numbers, Vol. 8 (Rochester, NY, 1998)
| year = 1999}}.
*{{citation
| last = Lambert | first = J. H. | author-link = Johann Heinrich Lambert
| location = Berlin
| pages = 99–104
| publisher = Zweyter Theil
| title = Beyträge zum Gebrauche der Mathematik und deren Anwendung
| year = 1770}}.
*{{citation
| last = Mays | first = Michael
| journal = Journal of Combinatorial Mathematics and Combinatorial Computing
| mr = 0888838
| pages = 141–148
| title = A worst case of the Fibonacci–Sylvester expansion
| volume = 1
| year = 1987}}.
*{{citation
| last = Salzer | first = H. E.
| doi = 10.2307/2305906
| issue = 3
| journal = [[American Mathematical Monthly]]
| jstor = 2305906
| mr = 0020339
| pages = 135–142
| title = The approximation of numbers as sums of reciprocals
| volume = 54
| year = 1947}}.
*{{citation
| last = Salzer | first = H. E.
| doi = 10.2307/2304960
| issue = 6
| journal = [[American Mathematical Monthly]]
| jstor = 2304960
| mr = 0025512
| pages = 350–356
| title = Further remarks on the approximation of numbers as sums of reciprocals
| volume = 55
| year = 1948}}.
*{{citation
| last = Sigler | first = Laurence E. (trans.)
| isbn = 0-387-95419-8
| publisher = Springer-Verlag
| title = Fibonacci's Liber Abaci
| year = 2002}}.
*{{citation
| last = Soundararajan | first = K.
| arxiv = math.CA/0502247
| title = Approximating 1 from below using ''n'' Egyptian fractions
| year = 2005}}.
*{{citation
| last = Spiess | first = O.
| journal = Archiv der Mathematik und Physik, Ser. 3
| pages = 124–134
| title = Über eine Klasse unendlicher Reihen
| volume = 12
| year = 1907}}.
*{{citation
| last = Stong | first = R. E. | authorlink = Robert Evert Stong
| doi = 10.1007/BF01455950
| issue = 4
| journal = Mathematische Annalen
| mr = 0721884
| pages = 501–512
| title = Pseudofree actions and the greedy algorithm
| volume = 265
| year = 1983}}.
*{{citation
| last = Stratemeyer | first = G.
| doi = 10.1007/BF01246446
| journal = Mathematische Zeitschrift
| pages = 767–768
| title = Stammbruchentwickelungen für die Quadratwurzel aus einer rationalen Zahl
| volume = 31
| year = 1930}}.}
*{{citation
| last = Sylvester | first = J. J. | author-link = J. J. Sylvester
| doi = 10.2307/2369261
| issue = 4
| journal = [[American Journal of Mathematics]]
| jstor = 2369261
| pages = 332–335
| title = On a point in the theory of vulgar fractions
| volume = 3
| year = 1880}}.
*{{citation
| last = Wagon | first = S. | authorlink = Stan Wagon
| pages = 271–277
| publisher = W. H. Freeman
| title = Mathematica in Action
| year = 1991}}.
{{refend}}
 
[[Category:Number theory]]
[[Category:Integer sequences]]
[[Category:Egyptian fractions]]

Latest revision as of 22:39, 30 July 2014

Hi there. Allow me start by introducing the author, her title is Sophia Boon but she by no means truly liked that name. Alaska is the only location I've been residing in but now I'm contemplating other choices. Credit authorising is where my main income comes from. To climb is something I truly enjoy doing.

Feel free to visit my web-site; best psychics (isaworld.pe.kr)