Question about a recurrence

Course Queries Syllabus Queries 3 years ago

223 2 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 years ago

 

In a syllabus of mine, they try to find a closed form of the following recurrence relation

 

T(2k)T(1)3T(k)+ck=1k1T(2k)≤3T(k)+ckk≥1T(1)=1

 

The method I usually use to find the closed form of a recurrence is expand it a few times and try to find a pattern. Then I verify that pattern using induction.

In my syllabus they only show the verification part, by using T(2l)c(3l2l)T(2l)≤c(3l−2l) as hypothesis, where cc is chosen such T(2)cT(2)≤c and l1l≥1.

So, I tried expanding the recurrence relation to see where I could find that pattern, but I don't get anything close to it.

For example:

 

T(2l)
0 views
0 shares

profilepic.png
manpreet 3 years ago

Hint: Consider S(k)=T(2k)+c2kS(k)=T(2k)+c⋅2k. Show that S(k+1)3S(k)S(k+1)⩽3S(k). Compute S(0)S(0). Deduce that S(k)3k(1+c)S(k)⩽3k(1+c) for every k0k⩾0 and, finally, that T(2k)3k+c(3k2k)T(2k)⩽3k+c⋅(3k−2k) for every k0k⩾0.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum