|
Divide-and-conquer Asymptotic behavior |
|
| Introduction |
| A fundamental idea |
| Complexity and recurrences |
| 2-rational sequences |
| Asymptotic behavior |
| References |
Elementary approach. Let us start with the elementary approach. It is employed in almost all the works on the subject, [6, p.117], [9, chap. 4], [19, p. 546]. The results are often shown in an expeditious way; on occasion they are wrong by a lack of precison on the assumptions. It is impossible to treat all the cases and it seems more interesting to state clear, valid results in a well defined class of recurrences. This framework will provide heuristics for the examples met in practice and those examples will be treated by an ad hoc method if needed.
The sequences (Tn) which satisfy the recurrence
![]()
A heuristic method that is frequently used to determine the behavior of a divide-and-conquer sequence consists in evaluating it on the powers of 2. In the domain of 2-rational sequences this process is natural: such a sequence is the translation of a rational series, in the sense of formal language theory. A subsequence associated with the integers whose binary expansion is of the form (uvk)2, where u and v are fixed patterns, has a rational generating series in the ordinary meaning. This subsequence thus satisfies a linear recurrence with constant coefficients of classical type. The sequence being evaluated at powers of 2, the comparison may be extended to all the integers under some assumptions of monotony and regularity [19, p. 565].
The simple result that we quoted provides the complexity of several divide-and-conquer algorithms. The multiplication of integers by Karatsuba's method, the multiplication of polynomials, the multiplication of matrices by Strassen's method all have cost bounded by some sequences which satisfy
![]()
For mergesort the cost in the average case and in the worst case both satisfy a recurrence of the form
![]()
One could give other illustrations; we refer the reader to [7, pp. 23-24], [9, §28.5],[9, § 29.3.2], [9, §35.4], [14, p. 172], [20, §5.1.7], [24, p. 190], [27, p. 27], [32, pp. 153, 164]), [33, § 10.2], [34, chap. 28]. One will also consult [18], [26, §4.6.3], [28], and [13].
Sophisticated approach.
Now let us handle the sophisticated approach. The divide-and-conquer
sequences encountered in the analysis of algorithms have a polynomial
behavior i.e. of order
.
It is for example the case of all 2-rational
sequences; indeed such a sequence (un) is
expressed by
![]()
![]()
Such a behavior makes it possible to consider the Dirichlet series associated with the sequence,
![]()
![]()
![]()
![]()
![]()
The remarkable point of these results is the occurrence of
periodic fluctuations in logarithmic scale. One notices them in the
picture below where the sequence of points
is shown. On this topic one can consult
[16],
[15], [2], [3].

The divide-and-conquer strategy thus provides a method to obtain effecient algorithms. Moreover it leads to a large class of recurrences. Their algebraic study shows links with automata theory and more generally to rational series of formal language theory. In addition their precise asymptotic analysis rests on methods of analytic number theory, which make it possible to explain the fluctuations that one observes in experiments.
| Previous page: | 2-rational sequences |
| Next page: | References |