Question

Q) prove correctness the recurrence relation for case n = 2^x using a proof bt induction....

Q) prove correctness the recurrence relation for case n = 2^x using a proof bt induction.

T(n) if n <= 1 then ....... 0

if n > . 1 . then ............1+4T(n/2)

hint : when n = 2^x each of recursive calls in a given instnace of repetitiveRecursion in on the subproblem of the smae size

the equation n = j-i +1 may be helpful in expressiong the problem size in terms of parameters i and j

the closed-form expression is t(n) = n^2+logn

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The problem is not stated properly.

Here's what I understand:

Given:

We need to find the closed form of the recursion when

We can write the recursion as

Now,

Putting

The closed form given in question is wrong.

Add a comment
Know the answer?
Add Answer to:
Q) prove correctness the recurrence relation for case n = 2^x using a proof bt induction....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT