fbpx
Wikipedia

Iterated logarithm

In computer science, the iterated logarithm of , written log*  (usually read "log star"), is the number of times the logarithm function must be iteratively applied before the result is less than or equal to .[1] The simplest formal definition is the result of this recurrence relation:

On the positive real numbers, the continuous super-logarithm (inverse tetration) is essentially equivalent:

i.e. the base b iterated logarithm is if n lies within the interval , where denotes tetration. However, on the negative real numbers, log-star is , whereas for positive , so the two functions differ for negative arguments.

Figure 1. Demonstrating log* 4 = 2 for the base-e iterated logarithm. The value of the iterated logarithm can be found by "zig-zagging" on the curve y = logb(x) from the input n, to the interval [0,1]. In this case, b = e. The zig-zagging entails starting from the point (n, 0) and iteratively moving to (n, logb(n) ), to (0, logb(n) ), to (logb(n), 0 ).

The iterated logarithm accepts any positive real number and yields an integer. Graphically, it can be understood as the number of "zig-zags" needed in Figure 1 to reach the interval on the x-axis.

In computer science, lg* is often used to indicate the binary iterated logarithm, which iterates the binary logarithm (with base ) instead of the natural logarithm (with base e).

Mathematically, the iterated logarithm is well-defined for any base greater than , not only for base and base e.

Analysis of algorithms Edit

The iterated logarithm is useful in analysis of algorithms and computational complexity, appearing in the time and space complexity bounds of some algorithms such as:

The iterated logarithm grows at an extremely slow rate, much slower than the logarithm itself. For all values of n relevant to counting the running times of algorithms implemented in practice (i.e., n ≤ 265536, which is far more than the estimated number of atoms in the known universe), the iterated logarithm with base 2 has a value no more than 5.

The base-2 iterated logarithm
x lg* x
(−∞, 1] 0
(1, 2] 1
(2, 4] 2
(4, 16] 3
(16, 65536] 4
(65536, 265536] 5

Higher bases give smaller iterated logarithms. Indeed, the only function commonly used in complexity theory that grows more slowly is the inverse Ackermann function.

Other applications Edit

The iterated logarithm is closely related to the generalized logarithm function used in symmetric level-index arithmetic. The additive persistence of a number, the number of times someone must replace the number by the sum of its digits before reaching its digital root, is  .

In computational complexity theory, Santhanam[5] shows that the computational resources DTIMEcomputation time for a deterministic Turing machine — and NTIME — computation time for a non-deterministic Turing machine — are distinct up to  

References Edit

  1. ^ Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L.; Stein, Clifford (2009) [1990]. "The iterated logarithm function, in Section 3.2: Standard notations and common functions". Introduction to Algorithms (3rd ed.). MIT Press and McGraw-Hill. pp. 58–59. ISBN 0-262-03384-4.
  2. ^ Devillers, Olivier (1992). "Randomization yields simple   algorithms for difficult   problems". International Journal of Computational Geometry & Applications. 2 (1): 97–111. doi:10.1142/S021819599200007X. MR 1159844. S2CID 60203.
  3. ^ Alon, Noga; Azar, Yossi (1989). "Finding an approximate maximum". SIAM Journal on Computing. 18 (2): 258–267. doi:10.1137/0218017. MR 0986665.
  4. ^ Cole, Richard; Vishkin, Uzi (1986). "Deterministic coin tossing with applications to optimal parallel list ranking". Information and Control. 70 (1): 32–53. doi:10.1016/S0019-9958(86)80023-7. MR 0853994.
  5. ^ Santhanam, Rahul (2001). "On separators, segregators and time versus space" (PDF). Proceedings of the 16th Annual IEEE Conference on Computational Complexity, Chicago, Illinois, USA, June 18-21, 2001. IEEE Computer Society. pp. 286–294. doi:10.1109/CCC.2001.933895.

iterated, logarithm, theorem, probability, theory, iterated, logarithm, computer, science, iterated, logarithm, displaystyle, written, displaystyle, usually, read, star, number, times, logarithm, function, must, iteratively, applied, before, result, less, than. For the theorem in probability theory see Law of the iterated logarithm In computer science the iterated logarithm of n displaystyle n written log n displaystyle n usually read log star is the number of times the logarithm function must be iteratively applied before the result is less than or equal to 1 displaystyle 1 1 The simplest formal definition is the result of this recurrence relation log n 0 if n 1 1 log log n if n gt 1 displaystyle log n begin cases 0 amp mbox if n leq 1 1 log log n amp mbox if n gt 1 end cases On the positive real numbers the continuous super logarithm inverse tetration is essentially equivalent log n s l o g e n displaystyle log n lceil mathrm slog e n rceil i e the base b iterated logarithm is log n y displaystyle log n y if n lies within the interval y 1 b lt n y b displaystyle y 1 b lt n leq y b where y b b b b y displaystyle y b underbrace b b cdot cdot b y denotes tetration However on the negative real numbers log star is 0 displaystyle 0 whereas slog e x 1 displaystyle lceil text slog e x rceil 1 for positive x displaystyle x so the two functions differ for negative arguments Figure 1 Demonstrating log 4 2 for the base e iterated logarithm The value of the iterated logarithm can be found by zig zagging on the curve y logb x from the input n to the interval 0 1 In this case b e The zig zagging entails starting from the point n 0 and iteratively moving to n logb n to 0 logb n to logb n 0 The iterated logarithm accepts any positive real number and yields an integer Graphically it can be understood as the number of zig zags needed in Figure 1 to reach the interval 0 1 displaystyle 0 1 on the x axis In computer science lg is often used to indicate the binary iterated logarithm which iterates the binary logarithm with base 2 displaystyle 2 instead of the natural logarithm with base e Mathematically the iterated logarithm is well defined for any base greater than e 1 e 1 444667 displaystyle e 1 e approx 1 444667 not only for base 2 displaystyle 2 and base e Analysis of algorithms EditThe iterated logarithm is useful in analysis of algorithms and computational complexity appearing in the time and space complexity bounds of some algorithms such as Finding the Delaunay triangulation of a set of points knowing the Euclidean minimum spanning tree randomized O n log n time 2 Furer s algorithm for integer multiplication O n log n 2O lg n Finding an approximate maximum element at least as large as the median lg n 4 to lg n 2 parallel operations 3 Richard Cole and Uzi Vishkin s distributed algorithm for 3 coloring an n cycle O log n synchronous communication rounds 4 The iterated logarithm grows at an extremely slow rate much slower than the logarithm itself For all values of n relevant to counting the running times of algorithms implemented in practice i e n 265536 which is far more than the estimated number of atoms in the known universe the iterated logarithm with base 2 has a value no more than 5 The base 2 iterated logarithm x lg x 1 0 1 2 1 2 4 2 4 16 3 16 65536 4 65536 265536 5Higher bases give smaller iterated logarithms Indeed the only function commonly used in complexity theory that grows more slowly is the inverse Ackermann function Other applications EditThe iterated logarithm is closely related to the generalized logarithm function used in symmetric level index arithmetic The additive persistence of a number the number of times someone must replace the number by the sum of its digits before reaching its digital root is O log n displaystyle O log n nbsp In computational complexity theory Santhanam 5 shows that the computational resources DTIME computation time for a deterministic Turing machine and NTIME computation time for a non deterministic Turing machine are distinct up to n log n displaystyle n sqrt log n nbsp References Edit Cormen Thomas H Leiserson Charles E Rivest Ronald L Stein Clifford 2009 1990 The iterated logarithm function in Section 3 2 Standard notations and common functions Introduction to Algorithms 3rd ed MIT Press and McGraw Hill pp 58 59 ISBN 0 262 03384 4 Devillers Olivier 1992 Randomization yields simple O n log n displaystyle O n log ast n nbsp algorithms for difficult W n displaystyle Omega n nbsp problems International Journal of Computational Geometry amp Applications 2 1 97 111 doi 10 1142 S021819599200007X MR 1159844 S2CID 60203 Alon Noga Azar Yossi 1989 Finding an approximate maximum SIAM Journal on Computing 18 2 258 267 doi 10 1137 0218017 MR 0986665 Cole Richard Vishkin Uzi 1986 Deterministic coin tossing with applications to optimal parallel list ranking Information and Control 70 1 32 53 doi 10 1016 S0019 9958 86 80023 7 MR 0853994 Santhanam Rahul 2001 On separators segregators and time versus space PDF Proceedings of the 16th Annual IEEE Conference on Computational Complexity Chicago Illinois USA June 18 21 2001 IEEE Computer Society pp 286 294 doi 10 1109 CCC 2001 933895 Retrieved from https en wikipedia org w index php title Iterated logarithm amp oldid 1136120014, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.