Back to Search Start Over

Exact and Asymptotic Solutions of a Divide-and-Conquer Recurrence Dividing at Half

Authors :
Hsien-Kuei Hwang
Svante Janson
Tsung-Hsi Tsai
Source :
ACM Transactions on Algorithms. 13:1-43
Publication Year :
2017
Publisher :
Association for Computing Machinery (ACM), 2017.

Abstract

Divide-and-conquer recurrences of the form f ( n ) = f (⌊ n/2⌋ ) + f ( ⌈ n/2⌉ ) + g ( n ) ( n ⩾ 2), with g ( n ) and f (1) given, appear very frequently in the analysis of computer algorithms and related areas. While most previous methods and results focus on simpler crude approximation to the solution, we show that the solution always satisfies the simple identity f ( n ) = n P (log 2 n ) − Q ( n ) under an optimum (iff) condition on g ( n ). This form is not only an identity but also an asymptotic expansion because Q ( n ) is of a smaller order than linearity. Explicit forms for the continuous periodic function P are provided. We show how our results can be easily applied to many dozens of concrete examples collected from the literature and how they can be extended in various directions. Our method of proof is surprisingly simple and elementary but leads to the strongest types of results for all examples to which our theory applies.

Details

ISSN :
15496333 and 15496325
Volume :
13
Database :
OpenAIRE
Journal :
ACM Transactions on Algorithms
Accession number :
edsair.doi...........216642921dca47f3fe2b5e1689924434
Full Text :
https://doi.org/10.1145/3127585