why $ln(n!)=nln(n)-n+frac12ln(2pi n)+o(1)$?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I know that $$n!sim_infty left(fracneright)^nsqrt2pi n,$$
and thus $$ln(n!)sim_infty lnleftleft(fracneright)^nsqrt2pi nright.tag*$$
But why does it implies
$$ln(n!)=nln(n)-n+frac12ln(2pi n)+o(1) ?$$
For me $(*)$ gives us $$ln(n!)=nln(n)-n+frac12ln(2pi n)+oleft(lnleftleft(fracneright)^nsqrt2pi nrightright),$$
and since $$lim_nto infty lnleftleft(fracneright)^nsqrt2pi nrightneq 0,$$
why do we have this $o(1)$ at the end ?
asymptotics factorial
add a comment |Â
up vote
0
down vote
favorite
I know that $$n!sim_infty left(fracneright)^nsqrt2pi n,$$
and thus $$ln(n!)sim_infty lnleftleft(fracneright)^nsqrt2pi nright.tag*$$
But why does it implies
$$ln(n!)=nln(n)-n+frac12ln(2pi n)+o(1) ?$$
For me $(*)$ gives us $$ln(n!)=nln(n)-n+frac12ln(2pi n)+oleft(lnleftleft(fracneright)^nsqrt2pi nrightright),$$
and since $$lim_nto infty lnleftleft(fracneright)^nsqrt2pi nrightneq 0,$$
why do we have this $o(1)$ at the end ?
asymptotics factorial
Forget $(*)$
â Lord Shark the Unknown
Jul 22 at 12:00
@LordSharktheUnknown: what do you mean ?
â Peter
Jul 22 at 12:01
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I know that $$n!sim_infty left(fracneright)^nsqrt2pi n,$$
and thus $$ln(n!)sim_infty lnleftleft(fracneright)^nsqrt2pi nright.tag*$$
But why does it implies
$$ln(n!)=nln(n)-n+frac12ln(2pi n)+o(1) ?$$
For me $(*)$ gives us $$ln(n!)=nln(n)-n+frac12ln(2pi n)+oleft(lnleftleft(fracneright)^nsqrt2pi nrightright),$$
and since $$lim_nto infty lnleftleft(fracneright)^nsqrt2pi nrightneq 0,$$
why do we have this $o(1)$ at the end ?
asymptotics factorial
I know that $$n!sim_infty left(fracneright)^nsqrt2pi n,$$
and thus $$ln(n!)sim_infty lnleftleft(fracneright)^nsqrt2pi nright.tag*$$
But why does it implies
$$ln(n!)=nln(n)-n+frac12ln(2pi n)+o(1) ?$$
For me $(*)$ gives us $$ln(n!)=nln(n)-n+frac12ln(2pi n)+oleft(lnleftleft(fracneright)^nsqrt2pi nrightright),$$
and since $$lim_nto infty lnleftleft(fracneright)^nsqrt2pi nrightneq 0,$$
why do we have this $o(1)$ at the end ?
asymptotics factorial
asked Jul 22 at 11:56
Peter
348112
348112
Forget $(*)$
â Lord Shark the Unknown
Jul 22 at 12:00
@LordSharktheUnknown: what do you mean ?
â Peter
Jul 22 at 12:01
add a comment |Â
Forget $(*)$
â Lord Shark the Unknown
Jul 22 at 12:00
@LordSharktheUnknown: what do you mean ?
â Peter
Jul 22 at 12:01
Forget $(*)$
â Lord Shark the Unknown
Jul 22 at 12:00
Forget $(*)$
â Lord Shark the Unknown
Jul 22 at 12:00
@LordSharktheUnknown: what do you mean ?
â Peter
Jul 22 at 12:01
@LordSharktheUnknown: what do you mean ?
â Peter
Jul 22 at 12:01
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
3
down vote
accepted
Your calculus is incorrect. The asymptotic equality $f(n)sim g(n)$ is equivalent to $f(n)= g(n)cdot (1+o(1))$.
Taking logarithm yields the equivalent condition $log f(n) = log g(n) + log (1+o(1))$. To finish the proof, note that $log (1+o(1))= o(1)$. So to sum up: $log f(n) = log g(n) + o(1)$.
Nice answer +1 :)
â Peter
Jul 22 at 12:09
add a comment |Â
up vote
0
down vote
Taking the logarithm on both sides of $n!sim_infty left(fracneright)^nsqrt2pi n$ and keeping the $sim_infty$ is an awful waste of information.
$sim_infty$ means that the ratio between the expressions on either side goes to $1$ as $ntoinfty$. That means that the difference between the logarithm of the two terms goes to $0$, which is much stronger (at least since the terms both go to $infty$). That's exactly $o(1)$.
add a comment |Â
up vote
0
down vote
The original asymptote is stronger than you think it is; $sim$ means the expressions on either side have a ratio of the form $1+o(1)$. In fact, one can prove $n!$ is exactly the usual approximation for it multiplied by a Taylor series in $1/n$; the result is called the Stirling series.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Your calculus is incorrect. The asymptotic equality $f(n)sim g(n)$ is equivalent to $f(n)= g(n)cdot (1+o(1))$.
Taking logarithm yields the equivalent condition $log f(n) = log g(n) + log (1+o(1))$. To finish the proof, note that $log (1+o(1))= o(1)$. So to sum up: $log f(n) = log g(n) + o(1)$.
Nice answer +1 :)
â Peter
Jul 22 at 12:09
add a comment |Â
up vote
3
down vote
accepted
Your calculus is incorrect. The asymptotic equality $f(n)sim g(n)$ is equivalent to $f(n)= g(n)cdot (1+o(1))$.
Taking logarithm yields the equivalent condition $log f(n) = log g(n) + log (1+o(1))$. To finish the proof, note that $log (1+o(1))= o(1)$. So to sum up: $log f(n) = log g(n) + o(1)$.
Nice answer +1 :)
â Peter
Jul 22 at 12:09
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Your calculus is incorrect. The asymptotic equality $f(n)sim g(n)$ is equivalent to $f(n)= g(n)cdot (1+o(1))$.
Taking logarithm yields the equivalent condition $log f(n) = log g(n) + log (1+o(1))$. To finish the proof, note that $log (1+o(1))= o(1)$. So to sum up: $log f(n) = log g(n) + o(1)$.
Your calculus is incorrect. The asymptotic equality $f(n)sim g(n)$ is equivalent to $f(n)= g(n)cdot (1+o(1))$.
Taking logarithm yields the equivalent condition $log f(n) = log g(n) + log (1+o(1))$. To finish the proof, note that $log (1+o(1))= o(1)$. So to sum up: $log f(n) = log g(n) + o(1)$.
answered Jul 22 at 12:04
A. Pongrácz
2,159221
2,159221
Nice answer +1 :)
â Peter
Jul 22 at 12:09
add a comment |Â
Nice answer +1 :)
â Peter
Jul 22 at 12:09
Nice answer +1 :)
â Peter
Jul 22 at 12:09
Nice answer +1 :)
â Peter
Jul 22 at 12:09
add a comment |Â
up vote
0
down vote
Taking the logarithm on both sides of $n!sim_infty left(fracneright)^nsqrt2pi n$ and keeping the $sim_infty$ is an awful waste of information.
$sim_infty$ means that the ratio between the expressions on either side goes to $1$ as $ntoinfty$. That means that the difference between the logarithm of the two terms goes to $0$, which is much stronger (at least since the terms both go to $infty$). That's exactly $o(1)$.
add a comment |Â
up vote
0
down vote
Taking the logarithm on both sides of $n!sim_infty left(fracneright)^nsqrt2pi n$ and keeping the $sim_infty$ is an awful waste of information.
$sim_infty$ means that the ratio between the expressions on either side goes to $1$ as $ntoinfty$. That means that the difference between the logarithm of the two terms goes to $0$, which is much stronger (at least since the terms both go to $infty$). That's exactly $o(1)$.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Taking the logarithm on both sides of $n!sim_infty left(fracneright)^nsqrt2pi n$ and keeping the $sim_infty$ is an awful waste of information.
$sim_infty$ means that the ratio between the expressions on either side goes to $1$ as $ntoinfty$. That means that the difference between the logarithm of the two terms goes to $0$, which is much stronger (at least since the terms both go to $infty$). That's exactly $o(1)$.
Taking the logarithm on both sides of $n!sim_infty left(fracneright)^nsqrt2pi n$ and keeping the $sim_infty$ is an awful waste of information.
$sim_infty$ means that the ratio between the expressions on either side goes to $1$ as $ntoinfty$. That means that the difference between the logarithm of the two terms goes to $0$, which is much stronger (at least since the terms both go to $infty$). That's exactly $o(1)$.
answered Jul 22 at 12:06
Arthur
98.5k793174
98.5k793174
add a comment |Â
add a comment |Â
up vote
0
down vote
The original asymptote is stronger than you think it is; $sim$ means the expressions on either side have a ratio of the form $1+o(1)$. In fact, one can prove $n!$ is exactly the usual approximation for it multiplied by a Taylor series in $1/n$; the result is called the Stirling series.
add a comment |Â
up vote
0
down vote
The original asymptote is stronger than you think it is; $sim$ means the expressions on either side have a ratio of the form $1+o(1)$. In fact, one can prove $n!$ is exactly the usual approximation for it multiplied by a Taylor series in $1/n$; the result is called the Stirling series.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The original asymptote is stronger than you think it is; $sim$ means the expressions on either side have a ratio of the form $1+o(1)$. In fact, one can prove $n!$ is exactly the usual approximation for it multiplied by a Taylor series in $1/n$; the result is called the Stirling series.
The original asymptote is stronger than you think it is; $sim$ means the expressions on either side have a ratio of the form $1+o(1)$. In fact, one can prove $n!$ is exactly the usual approximation for it multiplied by a Taylor series in $1/n$; the result is called the Stirling series.
answered Jul 22 at 12:06
J.G.
13.2k11424
13.2k11424
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2859329%2fwhy-lnn-n-lnn-n-frac12-ln2-pi-no1%23new-answer', 'question_page');
);
Post as a guest
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
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
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
Forget $(*)$
â Lord Shark the Unknown
Jul 22 at 12:00
@LordSharktheUnknown: what do you mean ?
â Peter
Jul 22 at 12:01