#Master Theorem

32 messages · Page 1 of 1 (latest)

burnt ermine
#

ATM im doing some practice qns for solving recursions and came across this qn

i got stuck so i looked at the provided answer which is this(image1), but they never show the working so i'm trying to figure that out.

I don't really understand how to derive epsilon at this point, so i put like my 3 guesses as to how to solve, just need liek a bit of guidance for this part

abstract nimbusBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
spring field
burnt ermine
#

damn

burnt ermine
spring field
burnt ermine
#

ah

#

one sec

#

need to solve using this

#

actually im sure ur method works as well, but i wanna learn how to make use of the master theorem to solve this (now that i know it is possible to do so)

spring field
#

Hm... While I somewhat understand it, I don't really have experience using it, so I likely won't be able to help with that.

burnt ermine
#

alls gd, thanks

spring field
#

I can tell you the exact solution of the recurrence, though.

burnt ermine
#

ooo

#

sure

#

is that against the guidelines tho

spring field
#

Well, it's not like that's really going to help you with your approach.

burnt ermine
#

true

spring field
#

Anyway, the true solution is:
T(n) = Cn^log(4, 3) + 4n ln(n) - 12ln(4)n
Here C is an arbitrary constant.

#

Well, good luck with your approach!
If you can do it, can you share it? I'm interested in how it works.

burnt ermine
#

my lecture is trash

#

this sht is goated

#

basically just follow this and can get the answer

#

which is nlogn (same answer as in the answer sheet)

burnt ermine
spring field
white ploverBOT
#

@spring field has given 1 rep to @burnt ermine

burnt ermine
#

Oh how do u rep