Proof of the Master’s Theorem for Dividing Function
This is a simplified version of the proof of the Master’s Theorem for Dividing Functions. The gist of the proof lies in the rules of big-O notation—the bigger term “eats” the smaller term. Follow this proof and you’ll see how that applies.
Definition. Master Theorem for Dividing Function:
, where :
Case 1: If , then .
Case 2: If , then:
Case 2-1: If , then .
Case 2-2: If , then .
Case 2-3: If , then .
Case 3: If , and satisfies the additional condition for some constant , then .
Proof.
By the summation of the recursion tree with the height :
.
The first term is all nodes except the leaves, the second term is the leaves.
Since , and substitute with , we have
.
.
Thus the first term .
Case 1
If , and because the first term would not exceed which grows slower than the second term , thus
.
Case 2
If , then ,
the first term becomes .
A handy supporting lemma:
converges if (harmonic series) and diverges otherwise;
( is the Euler–Mascheroni constant.)
Case 2-1
If , then for some constant ,
thus the first term reduces to , and .
Hence .
Case 2-2
If , the first term .
Hence .
Case 2-3
If , the first term .
Case 3
If , then .
And with the additional condition for some constant , the first term
. (Geometric series)
Thus, .
Reference materials: