Back to Search
Start Over
Exact and Asymptotic Solutions of a Divide-and-Conquer Recurrence Dividing at Half
- 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.
- Subjects :
- Discrete mathematics
Recurrence relation
010102 general mathematics
0102 computer and information sciences
01 natural sciences
Combinatorics
Uniform continuity
Mathematics (miscellaneous)
010201 computation theory & mathematics
Simple (abstract algebra)
Additive function
Functional equation
Order (group theory)
0101 mathematics
Asymptotic expansion
Mathematics
Analysis of algorithms
Subjects
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