Skip to main content

Exact asymptotics of divide-and-conquer recurrences

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 700))

Abstract

The divide-and-conquer principle is a major paradigm of algorithms design. Corresponding cost functions satisfy recurrences that directly reflect the decomposition mechanism used in the algorithm. This work shows that periodicity phenomena, often of a fractal nature, are ubiquitous in the performances of these algorithms. Mellin transforms and Dirichlet series are used to attain precise asymptotic estimates. The method is illustrated by a detailed average case, variance and distribution analysis of the classic top-down recursive mergesort algorithm.

The approach is applicable to a large number of divide-and-conquer recurrences, and a general theorem is obtained when the partitioning-merging toll of a divide-and-conquer algorithm is a sublinear function. As another illustration the method is also used to provide an exact analysis of an efficient maxima-finding algorithm.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Allouche, J.-P. Automates finis en théorie des nombres. Expositiones Mathematicae 5 (1987), 239–266.

    Google Scholar 

  2. Allouche, J.-P., and Cohen, H. Dirichlet series and curious infinite products. Bulletin of the London Mathematical Society 17 (1985), 531–538.

    Google Scholar 

  3. Allouche, J.-P., and Shallit, J. The ring of k-regular sequences. Theoretical Computer Science 98 (1992), 163–197.

    Google Scholar 

  4. Apostol, T. M. Introduction to Analytic Number Theory. Springer-Verlag, 1976.

    Google Scholar 

  5. Apostol, T. M., and Vu, T. H. Dirichlet series related to the Riemann zeta function. Journal of Number Theory 19 (1984), 85–102.

    Google Scholar 

  6. Bentley, J. L., Clarkson, K. L., and Levine, D. B. Fast linear expected-time algorithms for computing maxima and convex hulls. In First Symposium on Discrete Algorithms (SODA) (1990).

    Google Scholar 

  7. Bentley, J. L., Kung, H., Schkolnick, M., and Thompson, C. On the average number of maxima in a set of vectors and applications. Journal of the Association for Computing Machinery 25, 4 (October 1978), 536–543.

    Google Scholar 

  8. Billingsley, P. Probability and Measure, 2nd ed. John Wiley & Sons, 1986.

    Google Scholar 

  9. Buchta, C. On the average number of maxima in a set of vectors. Information Processing Letters 33 (Nov. 1989), 63–65.

    Google Scholar 

  10. Cormen, T. H., Leiserson, C. E., and Rivest, R. L.Introduction to Algorithms. MIT Press, New York, 1990.

    Google Scholar 

  11. Delange, H. Sur la fonction sommatoire de la fonction somme des chiffres. L'enseignement Mathématique XXI, 1 (1975), 31–47.

    Google Scholar 

  12. Devroye, L. Moment inequalities for random variables in computational geometry. Computing 30 (1983), 111–119.

    Google Scholar 

  13. Dumas, P. Récurrences Mahlériennes, suites automatiques, et études asymptotiques. Doctorat de mathématiques, Université de Bordeaux I, 1992. In preparation.

    Google Scholar 

  14. Dumont, J.-M., and Thomas, A. Systèmes de numération et fonctions fractales relatifs aux substitutions. Theoretical Computer Science 65 (1989), 153–169.

    Google Scholar 

  15. Flajolet, P., and Golin, M. Mellin transforms and asymptotics: The mergesort recurrence. Preprint submitted to Acta Informatica., Jan. 1993.

    Google Scholar 

  16. Flajolet, P., Grabner, P., Kirschenhofer, P., Prodinger, H., and Tichy, R. Mellin transforms and asymptotics: Digital sums. Research Report 1498, Institut National de Recherche en Informatique et en Automatique, Sept. 1991. 23 pages. To appear in Theoretical Computer Science, December 1993.

    Google Scholar 

  17. Knuth, D. E. The Art of Computer Programming, vol. 1: Fundamental Algorithms. Addison-Wesley, 1968. Second edition, 1973.

    Google Scholar 

  18. Knuth, D. E. The Art of Computer Programming, vol. 3: Sorting and Searching. Addison-Wesley, 1973.

    Google Scholar 

  19. Sedgewick, R.Algorithms, second ed. Addison-Wesley, Reading, Mass., 1988.

    Google Scholar 

  20. Stolarsky, K. B. Power and exponential sums of digital sums related to binomial coefficients. SIAM Journal on Applied Mathematics 32, 4 (1977), 717–730.

    Google Scholar 

  21. Vardi, I. Computational Recreations in Mathematica. Addison Wesley, 1991.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Andrzej Lingas Rolf Karlsson Svante Carlsson

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Flajolet, P., Golin, M. (1993). Exact asymptotics of divide-and-conquer recurrences. In: Lingas, A., Karlsson, R., Carlsson, S. (eds) Automata, Languages and Programming. ICALP 1993. Lecture Notes in Computer Science, vol 700. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56939-1_68

Download citation

  • DOI: https://doi.org/10.1007/3-540-56939-1_68

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-56939-8

  • Online ISBN: 978-3-540-47826-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics