Example. Proving a closed form for a recurrence [00CV]
- April 2, 2026
Let a_0 = 0, a_n = 2a_{n-1} + 1. Prove that a_n = 2^n - 1 for all n \geq 0.
Proof.
- April 2, 2026
Let P(n) be the proposition “a_n = 2^n - 1”. We will show \forall {n}: {\mathbb {N}}.\;{P(n)} by induction.
Subproof. Proving a closed form for a recurrence ›
- April 2, 2026
P(0) says “a_0 = 2^0 - 1”, which is true since both sides are equal to 0.
Subproof. Proving a closed form for a recurrence ›
- April 2, 2026
In the induction step, we must show \forall {k}: {\mathbb {N}}.\;{P(k) \to P(k+1)}. So let k be an arbitrary natural number, and suppose P(k) is true, that is, a_k = 2^k - 1. We must show P(k+1), that is, a_{k+1} = 2^{k+1} - 1.
a_{k+1}
= \quad \quad \quad { definition }
2a_k + 1
= \quad \quad \quad { assumption (induction hypothesis) }
2(2^k - 1) + 1
= \quad \quad \quad { algebra }
2^{k+1} - 2 + 1
= \quad \quad \quad { algebra }
2^{k+1} - 1