Is this solution correct? Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$ The 2019 Stack Overflow Developer Survey Results Are InQuestion about oblique asymptotesBig O Notation ExerciseIs $n^2=O(2^log(n))$?Solving limit with asymptoticBig O, Omega and Theta NotationBig-Oh Notation ProofsLet f(n)=(n^loga)(lgn^k); a>=1. Which of the following statements are true:Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$. $f(n) = n$, $g(n) = (log n)^c$ for positive integer $c$.Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$. $f(n) = n + (log n)^2$, $g(n) = n + log(n^2)$.Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$.
How to notate time signature switching consistently every measure
Slides for 30 min~1 hr Skype tenure track application interview
Falsification in Math vs Science
What is the motivation for a law requiring 2 parties to consent for recording a conversation
If a sorcerer casts the Banishment spell on a PC while in Avernus, does the PC return to their home plane?
Relationship between Gromov-Witten and Taubes' Gromov invariant
Why doesn't UInt have a toDouble()?
What's the name of these plastic connectors
How to translate "being like"?
writing variables above the numbers in tikz picture
What do hard-Brexiteers want with respect to the Irish border?
Dropping list elements from nested list after evaluation
Likelihood that a superbug or lethal virus could come from a landfill
What is preventing me from simply constructing a hash that's lower than the current target?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
Output the Arecibo Message
What is the meaning of Triage in Cybersec world?
Is it correct to say the Neural Networks are an alternative way of performing Maximum Likelihood Estimation? if not, why?
Why “相同意思的词” is called “同义词” instead of "同意词"?
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
Why couldn't they take pictures of a closer black hole?
Inverse Relationship Between Precision and Recall
Is bread bad for ducks?
How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?
Is this solution correct? Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$
The 2019 Stack Overflow Developer Survey Results Are InQuestion about oblique asymptotesBig O Notation ExerciseIs $n^2=O(2^log(n))$?Solving limit with asymptoticBig O, Omega and Theta NotationBig-Oh Notation ProofsLet f(n)=(n^loga)(lgn^k); a>=1. Which of the following statements are true:Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$. $f(n) = n$, $g(n) = (log n)^c$ for positive integer $c$.Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$. $f(n) = n + (log n)^2$, $g(n) = n + log(n^2)$.Prove whether $f(n)$ is $O$, $o$, $Omega$, $omega$ or $Theta$ of $g(n)$.
$begingroup$
$f(n) = n + (log n)^2$, $g(n) = n + log(n^2)$.
log is assumed to be base 2
So I differentiated each of the functions
$f(n)' = 1 + 2(log n)$
$g(n)' = 1 + (2/nln(2))$
and then finding the limit of $f(n)' / g(n)'$ as $n$ approaches infinity. Which the denominator approaches 1, while the numerator approaches infinity. Thus, $f(n) = omega g(n)$?
Is this correct? I'm pretty new so if you could guide me I'd appreciate it!
discrete-mathematics asymptotics computer-science
$endgroup$
|
show 1 more comment
$begingroup$
$f(n) = n + (log n)^2$, $g(n) = n + log(n^2)$.
log is assumed to be base 2
So I differentiated each of the functions
$f(n)' = 1 + 2(log n)$
$g(n)' = 1 + (2/nln(2))$
and then finding the limit of $f(n)' / g(n)'$ as $n$ approaches infinity. Which the denominator approaches 1, while the numerator approaches infinity. Thus, $f(n) = omega g(n)$?
Is this correct? I'm pretty new so if you could guide me I'd appreciate it!
discrete-mathematics asymptotics computer-science
$endgroup$
1
$begingroup$
You should check your derivatives.
$endgroup$
– Fabio Somenzi
Mar 24 at 5:34
$begingroup$
I checked them and got the same answer, I might be doing it wrong though. So for f(n) both 1 and $(logn)^2$ followed the power rule, so that one seems correct. For g(n) I changed $log(n^2)$ into $2log(n)$ before differentiating. The n in g(n) becomes 1, and the log(n) becomes $1/nln(2)$ and multiplied by 2 at the end since that is a constant. I don't see my mistake, I am pretty new though so I have probably made an error. Could you point it out?
$endgroup$
– Brownie
Mar 24 at 5:52
1
$begingroup$
The derivative of $(log n)^2$ is $2log n$ times the derivative of $log n$.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:03
$begingroup$
Oh can you not use the power rule on (log n)^2? I will rework and edit!
$endgroup$
– Brownie
Mar 24 at 6:07
1
$begingroup$
The rule used to differentiate $(log n)^2$ is the chain rule. Both functions are $Theta(n)$. As you proceed in your study of asymptotics, you'll learn that $n$ dominates the logarithmic terms.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:30
|
show 1 more comment
$begingroup$
$f(n) = n + (log n)^2$, $g(n) = n + log(n^2)$.
log is assumed to be base 2
So I differentiated each of the functions
$f(n)' = 1 + 2(log n)$
$g(n)' = 1 + (2/nln(2))$
and then finding the limit of $f(n)' / g(n)'$ as $n$ approaches infinity. Which the denominator approaches 1, while the numerator approaches infinity. Thus, $f(n) = omega g(n)$?
Is this correct? I'm pretty new so if you could guide me I'd appreciate it!
discrete-mathematics asymptotics computer-science
$endgroup$
$f(n) = n + (log n)^2$, $g(n) = n + log(n^2)$.
log is assumed to be base 2
So I differentiated each of the functions
$f(n)' = 1 + 2(log n)$
$g(n)' = 1 + (2/nln(2))$
and then finding the limit of $f(n)' / g(n)'$ as $n$ approaches infinity. Which the denominator approaches 1, while the numerator approaches infinity. Thus, $f(n) = omega g(n)$?
Is this correct? I'm pretty new so if you could guide me I'd appreciate it!
discrete-mathematics asymptotics computer-science
discrete-mathematics asymptotics computer-science
edited Mar 24 at 5:36
Fabio Somenzi
6,52821321
6,52821321
asked Mar 24 at 5:04
BrownieBrownie
3327
3327
1
$begingroup$
You should check your derivatives.
$endgroup$
– Fabio Somenzi
Mar 24 at 5:34
$begingroup$
I checked them and got the same answer, I might be doing it wrong though. So for f(n) both 1 and $(logn)^2$ followed the power rule, so that one seems correct. For g(n) I changed $log(n^2)$ into $2log(n)$ before differentiating. The n in g(n) becomes 1, and the log(n) becomes $1/nln(2)$ and multiplied by 2 at the end since that is a constant. I don't see my mistake, I am pretty new though so I have probably made an error. Could you point it out?
$endgroup$
– Brownie
Mar 24 at 5:52
1
$begingroup$
The derivative of $(log n)^2$ is $2log n$ times the derivative of $log n$.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:03
$begingroup$
Oh can you not use the power rule on (log n)^2? I will rework and edit!
$endgroup$
– Brownie
Mar 24 at 6:07
1
$begingroup$
The rule used to differentiate $(log n)^2$ is the chain rule. Both functions are $Theta(n)$. As you proceed in your study of asymptotics, you'll learn that $n$ dominates the logarithmic terms.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:30
|
show 1 more comment
1
$begingroup$
You should check your derivatives.
$endgroup$
– Fabio Somenzi
Mar 24 at 5:34
$begingroup$
I checked them and got the same answer, I might be doing it wrong though. So for f(n) both 1 and $(logn)^2$ followed the power rule, so that one seems correct. For g(n) I changed $log(n^2)$ into $2log(n)$ before differentiating. The n in g(n) becomes 1, and the log(n) becomes $1/nln(2)$ and multiplied by 2 at the end since that is a constant. I don't see my mistake, I am pretty new though so I have probably made an error. Could you point it out?
$endgroup$
– Brownie
Mar 24 at 5:52
1
$begingroup$
The derivative of $(log n)^2$ is $2log n$ times the derivative of $log n$.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:03
$begingroup$
Oh can you not use the power rule on (log n)^2? I will rework and edit!
$endgroup$
– Brownie
Mar 24 at 6:07
1
$begingroup$
The rule used to differentiate $(log n)^2$ is the chain rule. Both functions are $Theta(n)$. As you proceed in your study of asymptotics, you'll learn that $n$ dominates the logarithmic terms.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:30
1
1
$begingroup$
You should check your derivatives.
$endgroup$
– Fabio Somenzi
Mar 24 at 5:34
$begingroup$
You should check your derivatives.
$endgroup$
– Fabio Somenzi
Mar 24 at 5:34
$begingroup$
I checked them and got the same answer, I might be doing it wrong though. So for f(n) both 1 and $(logn)^2$ followed the power rule, so that one seems correct. For g(n) I changed $log(n^2)$ into $2log(n)$ before differentiating. The n in g(n) becomes 1, and the log(n) becomes $1/nln(2)$ and multiplied by 2 at the end since that is a constant. I don't see my mistake, I am pretty new though so I have probably made an error. Could you point it out?
$endgroup$
– Brownie
Mar 24 at 5:52
$begingroup$
I checked them and got the same answer, I might be doing it wrong though. So for f(n) both 1 and $(logn)^2$ followed the power rule, so that one seems correct. For g(n) I changed $log(n^2)$ into $2log(n)$ before differentiating. The n in g(n) becomes 1, and the log(n) becomes $1/nln(2)$ and multiplied by 2 at the end since that is a constant. I don't see my mistake, I am pretty new though so I have probably made an error. Could you point it out?
$endgroup$
– Brownie
Mar 24 at 5:52
1
1
$begingroup$
The derivative of $(log n)^2$ is $2log n$ times the derivative of $log n$.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:03
$begingroup$
The derivative of $(log n)^2$ is $2log n$ times the derivative of $log n$.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:03
$begingroup$
Oh can you not use the power rule on (log n)^2? I will rework and edit!
$endgroup$
– Brownie
Mar 24 at 6:07
$begingroup$
Oh can you not use the power rule on (log n)^2? I will rework and edit!
$endgroup$
– Brownie
Mar 24 at 6:07
1
1
$begingroup$
The rule used to differentiate $(log n)^2$ is the chain rule. Both functions are $Theta(n)$. As you proceed in your study of asymptotics, you'll learn that $n$ dominates the logarithmic terms.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:30
$begingroup$
The rule used to differentiate $(log n)^2$ is the chain rule. Both functions are $Theta(n)$. As you proceed in your study of asymptotics, you'll learn that $n$ dominates the logarithmic terms.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:30
|
show 1 more comment
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%2f3160123%2fis-this-solution-correct-prove-whether-fn-is-o-o-omega-omega-o%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%2f3160123%2fis-this-solution-correct-prove-whether-fn-is-o-o-omega-omega-o%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
1
$begingroup$
You should check your derivatives.
$endgroup$
– Fabio Somenzi
Mar 24 at 5:34
$begingroup$
I checked them and got the same answer, I might be doing it wrong though. So for f(n) both 1 and $(logn)^2$ followed the power rule, so that one seems correct. For g(n) I changed $log(n^2)$ into $2log(n)$ before differentiating. The n in g(n) becomes 1, and the log(n) becomes $1/nln(2)$ and multiplied by 2 at the end since that is a constant. I don't see my mistake, I am pretty new though so I have probably made an error. Could you point it out?
$endgroup$
– Brownie
Mar 24 at 5:52
1
$begingroup$
The derivative of $(log n)^2$ is $2log n$ times the derivative of $log n$.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:03
$begingroup$
Oh can you not use the power rule on (log n)^2? I will rework and edit!
$endgroup$
– Brownie
Mar 24 at 6:07
1
$begingroup$
The rule used to differentiate $(log n)^2$ is the chain rule. Both functions are $Theta(n)$. As you proceed in your study of asymptotics, you'll learn that $n$ dominates the logarithmic terms.
$endgroup$
– Fabio Somenzi
Mar 24 at 6:30