CSci 280: Algorithms and problem-solving paradigms
Home Syllabus Classwork

Recurrences and induction

Suppose T is a recurrence relation defined as follows.

T(0) = D
T(n) = 2 ⋅ T(n) + C

Theorem: T can be represented by the closed-form equation T(n) = D ⋅ 2n + C ⋅ (2n − 1).

Proof: We will proceed by induction.