Solving $f(n) = n log(n)$ using this version of Master theorem.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to solve this $T(n)= 2T(n/2) + nlog(n)$ using this version of master theorem in my lecture notes:
enter image description here



But I cannot be able to solve it. But if I use other version master theorem found on net, one example wiki's
enter image description here



I am able to solve this question using case 2. So which theorem is to use? And there are different case 2 solutions for different Master Theorem versions. Which is the best to apply? I am quite confused.
Thanks.







share|cite|improve this question





















  • Well, if the second theorem is more detailed, then why not use that? There is no "one" Master Theorem, and instead of worrying about finding the right one it is always easier to derive the solution by hand.
    – Michal Adamaszek
    Jul 19 at 18:01














up vote
0
down vote

favorite












I am trying to solve this $T(n)= 2T(n/2) + nlog(n)$ using this version of master theorem in my lecture notes:
enter image description here



But I cannot be able to solve it. But if I use other version master theorem found on net, one example wiki's
enter image description here



I am able to solve this question using case 2. So which theorem is to use? And there are different case 2 solutions for different Master Theorem versions. Which is the best to apply? I am quite confused.
Thanks.







share|cite|improve this question





















  • Well, if the second theorem is more detailed, then why not use that? There is no "one" Master Theorem, and instead of worrying about finding the right one it is always easier to derive the solution by hand.
    – Michal Adamaszek
    Jul 19 at 18:01












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to solve this $T(n)= 2T(n/2) + nlog(n)$ using this version of master theorem in my lecture notes:
enter image description here



But I cannot be able to solve it. But if I use other version master theorem found on net, one example wiki's
enter image description here



I am able to solve this question using case 2. So which theorem is to use? And there are different case 2 solutions for different Master Theorem versions. Which is the best to apply? I am quite confused.
Thanks.







share|cite|improve this question













I am trying to solve this $T(n)= 2T(n/2) + nlog(n)$ using this version of master theorem in my lecture notes:
enter image description here



But I cannot be able to solve it. But if I use other version master theorem found on net, one example wiki's
enter image description here



I am able to solve this question using case 2. So which theorem is to use? And there are different case 2 solutions for different Master Theorem versions. Which is the best to apply? I am quite confused.
Thanks.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 19 at 9:53









thesmallprint

2,2191617




2,2191617









asked Jul 19 at 9:19









engkhsky

465




465











  • Well, if the second theorem is more detailed, then why not use that? There is no "one" Master Theorem, and instead of worrying about finding the right one it is always easier to derive the solution by hand.
    – Michal Adamaszek
    Jul 19 at 18:01
















  • Well, if the second theorem is more detailed, then why not use that? There is no "one" Master Theorem, and instead of worrying about finding the right one it is always easier to derive the solution by hand.
    – Michal Adamaszek
    Jul 19 at 18:01















Well, if the second theorem is more detailed, then why not use that? There is no "one" Master Theorem, and instead of worrying about finding the right one it is always easier to derive the solution by hand.
– Michal Adamaszek
Jul 19 at 18:01




Well, if the second theorem is more detailed, then why not use that? There is no "one" Master Theorem, and instead of worrying about finding the right one it is always easier to derive the solution by hand.
– Michal Adamaszek
Jul 19 at 18:01















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2856436%2fsolving-fn-n-logn-using-this-version-of-master-theorem%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2856436%2fsolving-fn-n-logn-using-this-version-of-master-theorem%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?