Substitution Proofs for Recurrence Bounds
Choose an inductive bound with enough slack to absorb additive work and handle uneven recursion without an exact closed form.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Leave slack in the hypothesis
For \(T(n)=T(\lfloor n/2\rfloor)+T(\lceil n/2\rceil)+1\) and \(T(1)=1\), the natural bound \(T(n)\le 2n\) has no slack: substitution yields \(2n+1\). Strengthen it to \(T(n)\le2n-1\). Applying the stronger bound to both smaller arguments gives
\[ 2\lfloor n/2\rfloor-1+2\lceil n/2\rceil-1+1=2n-1. \]
The base case holds with equality. In fact the recurrence has this exact solution. The small correction accounts for the overhead at each branching node.
Identify the quantity absorbing the toll
In deterministic selection, the recursive sizes add to at most \(0.9n+O(1)\). A large linear coefficient absorbs linear partitioning work after a fixed threshold. Include all smaller sizes as base cases. When the sizes sum to \(n\) and every level costs linear work, a linear hypothesis has no analogous slack. Recursion trees show how the logarithmic number of active levels enters the bound.[1][2]