Chapter 4 Answers

powered by FreeFind

Modified: 

Recurrence Relation Tutorial

Question - Is T(1) necessary? Yes when ën/2û = 1.

Question - Is T(1) necessary? Yes when én/2ù = 1.

Question

Inductive proofs on the recurrence: T(n) = T(n-1) + 1

Typically assume the case for parameter n that generates a sequence term for recurrence T(n) and prove T(n+1)=T((n+1)-1)+1.

For above recurrence: T(n) = T(ën/4û) + n

SUBSTITUTION METHOD

Question - Is this an exact solution for T(n)? No. But holds for definition of O(n lg n).