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)$.










0












$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!










share|cite|improve this question











$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















0












$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!










share|cite|improve this question











$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













0












0








0





$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!










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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












  • 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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer