Solving $8n^2 < 64nlog n$ for $n$
$begingroup$
I'm analysing algorithms and trying to find out for which values of n does one algorithm out perform the other and I have come up with that equation. Unfortunately my maths ability is now embarrassingly bad as I have not done real maths in a long time...
I have done this:
$$8n^2 < 64nlog n$$
$$8n < 64log n$$
$$8n/64 < log n$$
$$n/8 < log n$$
$$e^{n/8} < e^{log n}$$
$$e^{n/8} < n$$
And now I'm stuck with that variable exponent.
algebra-precalculus logarithms
$endgroup$
|
show 2 more comments
$begingroup$
I'm analysing algorithms and trying to find out for which values of n does one algorithm out perform the other and I have come up with that equation. Unfortunately my maths ability is now embarrassingly bad as I have not done real maths in a long time...
I have done this:
$$8n^2 < 64nlog n$$
$$8n < 64log n$$
$$8n/64 < log n$$
$$n/8 < log n$$
$$e^{n/8} < e^{log n}$$
$$e^{n/8} < n$$
And now I'm stuck with that variable exponent.
algebra-precalculus logarithms
$endgroup$
$begingroup$
@Jamal Moir Check if the edit is okay.
$endgroup$
– SchrodingersCat
Jan 20 '16 at 12:43
$begingroup$
@SchrodingersCat Ah, thanks for doing that!
$endgroup$
– Jamal Moir
Jan 20 '16 at 12:45
2
$begingroup$
The equation $frac{e^n}{8} = n$ is transcendental and has no closed for equation, but some quick manual checking shows that the equality holds for $n geq 27$ but not $n leq 26$. One could formalize this a bit, for example, using Newton's method.
$endgroup$
– Travis
Jan 20 '16 at 12:48
$begingroup$
You can use Wolframalpha to solve this - it comes up with $25$ integer solutions $2le nle26$ - see here
$endgroup$
– Mufasa
Jan 20 '16 at 12:51
3
$begingroup$
You're welcome, I hope you found it useful. This is the best one can do without resorting to special functions; the relevant one here is the Lambert-W function, but it's really nothing more than a function that gives a name to solutions of the sort of inequality at hand, so one doesn't gain much in this situation from appealing to it.
$endgroup$
– Travis
Jan 20 '16 at 12:55
|
show 2 more comments
$begingroup$
I'm analysing algorithms and trying to find out for which values of n does one algorithm out perform the other and I have come up with that equation. Unfortunately my maths ability is now embarrassingly bad as I have not done real maths in a long time...
I have done this:
$$8n^2 < 64nlog n$$
$$8n < 64log n$$
$$8n/64 < log n$$
$$n/8 < log n$$
$$e^{n/8} < e^{log n}$$
$$e^{n/8} < n$$
And now I'm stuck with that variable exponent.
algebra-precalculus logarithms
$endgroup$
I'm analysing algorithms and trying to find out for which values of n does one algorithm out perform the other and I have come up with that equation. Unfortunately my maths ability is now embarrassingly bad as I have not done real maths in a long time...
I have done this:
$$8n^2 < 64nlog n$$
$$8n < 64log n$$
$$8n/64 < log n$$
$$n/8 < log n$$
$$e^{n/8} < e^{log n}$$
$$e^{n/8} < n$$
And now I'm stuck with that variable exponent.
algebra-precalculus logarithms
algebra-precalculus logarithms
edited Dec 22 '18 at 3:52
Shaun
9,241113684
9,241113684
asked Jan 20 '16 at 12:39
Jamal MoirJamal Moir
365
365
$begingroup$
@Jamal Moir Check if the edit is okay.
$endgroup$
– SchrodingersCat
Jan 20 '16 at 12:43
$begingroup$
@SchrodingersCat Ah, thanks for doing that!
$endgroup$
– Jamal Moir
Jan 20 '16 at 12:45
2
$begingroup$
The equation $frac{e^n}{8} = n$ is transcendental and has no closed for equation, but some quick manual checking shows that the equality holds for $n geq 27$ but not $n leq 26$. One could formalize this a bit, for example, using Newton's method.
$endgroup$
– Travis
Jan 20 '16 at 12:48
$begingroup$
You can use Wolframalpha to solve this - it comes up with $25$ integer solutions $2le nle26$ - see here
$endgroup$
– Mufasa
Jan 20 '16 at 12:51
3
$begingroup$
You're welcome, I hope you found it useful. This is the best one can do without resorting to special functions; the relevant one here is the Lambert-W function, but it's really nothing more than a function that gives a name to solutions of the sort of inequality at hand, so one doesn't gain much in this situation from appealing to it.
$endgroup$
– Travis
Jan 20 '16 at 12:55
|
show 2 more comments
$begingroup$
@Jamal Moir Check if the edit is okay.
$endgroup$
– SchrodingersCat
Jan 20 '16 at 12:43
$begingroup$
@SchrodingersCat Ah, thanks for doing that!
$endgroup$
– Jamal Moir
Jan 20 '16 at 12:45
2
$begingroup$
The equation $frac{e^n}{8} = n$ is transcendental and has no closed for equation, but some quick manual checking shows that the equality holds for $n geq 27$ but not $n leq 26$. One could formalize this a bit, for example, using Newton's method.
$endgroup$
– Travis
Jan 20 '16 at 12:48
$begingroup$
You can use Wolframalpha to solve this - it comes up with $25$ integer solutions $2le nle26$ - see here
$endgroup$
– Mufasa
Jan 20 '16 at 12:51
3
$begingroup$
You're welcome, I hope you found it useful. This is the best one can do without resorting to special functions; the relevant one here is the Lambert-W function, but it's really nothing more than a function that gives a name to solutions of the sort of inequality at hand, so one doesn't gain much in this situation from appealing to it.
$endgroup$
– Travis
Jan 20 '16 at 12:55
$begingroup$
@Jamal Moir Check if the edit is okay.
$endgroup$
– SchrodingersCat
Jan 20 '16 at 12:43
$begingroup$
@Jamal Moir Check if the edit is okay.
$endgroup$
– SchrodingersCat
Jan 20 '16 at 12:43
$begingroup$
@SchrodingersCat Ah, thanks for doing that!
$endgroup$
– Jamal Moir
Jan 20 '16 at 12:45
$begingroup$
@SchrodingersCat Ah, thanks for doing that!
$endgroup$
– Jamal Moir
Jan 20 '16 at 12:45
2
2
$begingroup$
The equation $frac{e^n}{8} = n$ is transcendental and has no closed for equation, but some quick manual checking shows that the equality holds for $n geq 27$ but not $n leq 26$. One could formalize this a bit, for example, using Newton's method.
$endgroup$
– Travis
Jan 20 '16 at 12:48
$begingroup$
The equation $frac{e^n}{8} = n$ is transcendental and has no closed for equation, but some quick manual checking shows that the equality holds for $n geq 27$ but not $n leq 26$. One could formalize this a bit, for example, using Newton's method.
$endgroup$
– Travis
Jan 20 '16 at 12:48
$begingroup$
You can use Wolframalpha to solve this - it comes up with $25$ integer solutions $2le nle26$ - see here
$endgroup$
– Mufasa
Jan 20 '16 at 12:51
$begingroup$
You can use Wolframalpha to solve this - it comes up with $25$ integer solutions $2le nle26$ - see here
$endgroup$
– Mufasa
Jan 20 '16 at 12:51
3
3
$begingroup$
You're welcome, I hope you found it useful. This is the best one can do without resorting to special functions; the relevant one here is the Lambert-W function, but it's really nothing more than a function that gives a name to solutions of the sort of inequality at hand, so one doesn't gain much in this situation from appealing to it.
$endgroup$
– Travis
Jan 20 '16 at 12:55
$begingroup$
You're welcome, I hope you found it useful. This is the best one can do without resorting to special functions; the relevant one here is the Lambert-W function, but it's really nothing more than a function that gives a name to solutions of the sort of inequality at hand, so one doesn't gain much in this situation from appealing to it.
$endgroup$
– Travis
Jan 20 '16 at 12:55
|
show 2 more comments
0
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1619484%2fsolving-8n2-64n-log-n-for-n%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1619484%2fsolving-8n2-64n-log-n-for-n%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
@Jamal Moir Check if the edit is okay.
$endgroup$
– SchrodingersCat
Jan 20 '16 at 12:43
$begingroup$
@SchrodingersCat Ah, thanks for doing that!
$endgroup$
– Jamal Moir
Jan 20 '16 at 12:45
2
$begingroup$
The equation $frac{e^n}{8} = n$ is transcendental and has no closed for equation, but some quick manual checking shows that the equality holds for $n geq 27$ but not $n leq 26$. One could formalize this a bit, for example, using Newton's method.
$endgroup$
– Travis
Jan 20 '16 at 12:48
$begingroup$
You can use Wolframalpha to solve this - it comes up with $25$ integer solutions $2le nle26$ - see here
$endgroup$
– Mufasa
Jan 20 '16 at 12:51
3
$begingroup$
You're welcome, I hope you found it useful. This is the best one can do without resorting to special functions; the relevant one here is the Lambert-W function, but it's really nothing more than a function that gives a name to solutions of the sort of inequality at hand, so one doesn't gain much in this situation from appealing to it.
$endgroup$
– Travis
Jan 20 '16 at 12:55