How to compute $(-1)^n+1n!(1-esum_k=0^nfrac(-1)^kk!)$?










2












$begingroup$


I was doing some work on the integral $int_0^1 x^ne^x dx$ and I eventually came to this expression in terms of n $$int_0^1 x^ne^x dx=(-1)^n+1n!biggl(1-esum_k=0^nfrac(-1)^kk!biggr)$$ Now my question is this, how do I compute the limit of this expression as $n$ goes to $infty$? I recognize that $$lim_ntoinftyesum_k=0^nfrac(-1)^kk!=1$$ per the series expression of $e^x$ at $-1$. This gives me an indeterminate form, but I can't apply L'Hopital's rule because I can't differentiate $n!$ (or $1/n!$ as the case would be after re-arranging), and I also can't think of a variable substitution that would help me here. Common sense and wolfram definitely imply that the limit is in fact $0$, but how can I show this?










share|cite|improve this question











$endgroup$







  • 3




    $begingroup$
    $n!=Gamma(n+1)$ is differentiable.
    $endgroup$
    – J.G.
    Nov 15 '18 at 7:01






  • 1




    $begingroup$
    perhaps some properties of the gamma function/complex analysis would be useful
    $endgroup$
    – rubikscube09
    Nov 15 '18 at 7:04










  • $begingroup$
    I'm not very familiar with the gamma function, is there any other way? And if not, how could I use the gamma function to do this? Also, would it be sufficient to show that the integrand approaches $0$ on the interval?
    $endgroup$
    – JacksonFitzsimmons
    Nov 15 '18 at 7:06















2












$begingroup$


I was doing some work on the integral $int_0^1 x^ne^x dx$ and I eventually came to this expression in terms of n $$int_0^1 x^ne^x dx=(-1)^n+1n!biggl(1-esum_k=0^nfrac(-1)^kk!biggr)$$ Now my question is this, how do I compute the limit of this expression as $n$ goes to $infty$? I recognize that $$lim_ntoinftyesum_k=0^nfrac(-1)^kk!=1$$ per the series expression of $e^x$ at $-1$. This gives me an indeterminate form, but I can't apply L'Hopital's rule because I can't differentiate $n!$ (or $1/n!$ as the case would be after re-arranging), and I also can't think of a variable substitution that would help me here. Common sense and wolfram definitely imply that the limit is in fact $0$, but how can I show this?










share|cite|improve this question











$endgroup$







  • 3




    $begingroup$
    $n!=Gamma(n+1)$ is differentiable.
    $endgroup$
    – J.G.
    Nov 15 '18 at 7:01






  • 1




    $begingroup$
    perhaps some properties of the gamma function/complex analysis would be useful
    $endgroup$
    – rubikscube09
    Nov 15 '18 at 7:04










  • $begingroup$
    I'm not very familiar with the gamma function, is there any other way? And if not, how could I use the gamma function to do this? Also, would it be sufficient to show that the integrand approaches $0$ on the interval?
    $endgroup$
    – JacksonFitzsimmons
    Nov 15 '18 at 7:06













2












2








2


2



$begingroup$


I was doing some work on the integral $int_0^1 x^ne^x dx$ and I eventually came to this expression in terms of n $$int_0^1 x^ne^x dx=(-1)^n+1n!biggl(1-esum_k=0^nfrac(-1)^kk!biggr)$$ Now my question is this, how do I compute the limit of this expression as $n$ goes to $infty$? I recognize that $$lim_ntoinftyesum_k=0^nfrac(-1)^kk!=1$$ per the series expression of $e^x$ at $-1$. This gives me an indeterminate form, but I can't apply L'Hopital's rule because I can't differentiate $n!$ (or $1/n!$ as the case would be after re-arranging), and I also can't think of a variable substitution that would help me here. Common sense and wolfram definitely imply that the limit is in fact $0$, but how can I show this?










share|cite|improve this question











$endgroup$




I was doing some work on the integral $int_0^1 x^ne^x dx$ and I eventually came to this expression in terms of n $$int_0^1 x^ne^x dx=(-1)^n+1n!biggl(1-esum_k=0^nfrac(-1)^kk!biggr)$$ Now my question is this, how do I compute the limit of this expression as $n$ goes to $infty$? I recognize that $$lim_ntoinftyesum_k=0^nfrac(-1)^kk!=1$$ per the series expression of $e^x$ at $-1$. This gives me an indeterminate form, but I can't apply L'Hopital's rule because I can't differentiate $n!$ (or $1/n!$ as the case would be after re-arranging), and I also can't think of a variable substitution that would help me here. Common sense and wolfram definitely imply that the limit is in fact $0$, but how can I show this?







calculus integration limits definite-integrals exponential-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 15 '18 at 12:11









user21820

39.4k543155




39.4k543155










asked Nov 15 '18 at 6:51









JacksonFitzsimmonsJacksonFitzsimmons

551212




551212







  • 3




    $begingroup$
    $n!=Gamma(n+1)$ is differentiable.
    $endgroup$
    – J.G.
    Nov 15 '18 at 7:01






  • 1




    $begingroup$
    perhaps some properties of the gamma function/complex analysis would be useful
    $endgroup$
    – rubikscube09
    Nov 15 '18 at 7:04










  • $begingroup$
    I'm not very familiar with the gamma function, is there any other way? And if not, how could I use the gamma function to do this? Also, would it be sufficient to show that the integrand approaches $0$ on the interval?
    $endgroup$
    – JacksonFitzsimmons
    Nov 15 '18 at 7:06












  • 3




    $begingroup$
    $n!=Gamma(n+1)$ is differentiable.
    $endgroup$
    – J.G.
    Nov 15 '18 at 7:01






  • 1




    $begingroup$
    perhaps some properties of the gamma function/complex analysis would be useful
    $endgroup$
    – rubikscube09
    Nov 15 '18 at 7:04










  • $begingroup$
    I'm not very familiar with the gamma function, is there any other way? And if not, how could I use the gamma function to do this? Also, would it be sufficient to show that the integrand approaches $0$ on the interval?
    $endgroup$
    – JacksonFitzsimmons
    Nov 15 '18 at 7:06







3




3




$begingroup$
$n!=Gamma(n+1)$ is differentiable.
$endgroup$
– J.G.
Nov 15 '18 at 7:01




$begingroup$
$n!=Gamma(n+1)$ is differentiable.
$endgroup$
– J.G.
Nov 15 '18 at 7:01




1




1




$begingroup$
perhaps some properties of the gamma function/complex analysis would be useful
$endgroup$
– rubikscube09
Nov 15 '18 at 7:04




$begingroup$
perhaps some properties of the gamma function/complex analysis would be useful
$endgroup$
– rubikscube09
Nov 15 '18 at 7:04












$begingroup$
I'm not very familiar with the gamma function, is there any other way? And if not, how could I use the gamma function to do this? Also, would it be sufficient to show that the integrand approaches $0$ on the interval?
$endgroup$
– JacksonFitzsimmons
Nov 15 '18 at 7:06




$begingroup$
I'm not very familiar with the gamma function, is there any other way? And if not, how could I use the gamma function to do this? Also, would it be sufficient to show that the integrand approaches $0$ on the interval?
$endgroup$
– JacksonFitzsimmons
Nov 15 '18 at 7:06










3 Answers
3






active

oldest

votes


















5












$begingroup$

When $xin [0,1]$, $e^xle e$, by first mean value theorem for definite integrals,
beginalign*
I_n&lemax_xin[0,1]e^xint_0^1x^n~mathrm dx\
&=fracen+1to0.
endalign*

Since $I_n>0$, the limit is $0$ by squeeze theorem.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks, I never remember the squeeze theorem
    $endgroup$
    – JacksonFitzsimmons
    Nov 15 '18 at 7:08


















4












$begingroup$

Not as slick as Tianlalu's method, but for $yin (0,,1)$ we have
$$
lim_ntoinftyint_0^y x^n e^x dx le
lim_ntoinftyy^nint_0^y e^x dx=0.
$$






share|cite|improve this answer











$endgroup$




















    2












    $begingroup$

    I don't know what you are 'allowed' to use but you could use the lagrange remainer for the exponential function:



    $$exp(-1)=sum_k=0^nfrac(-1)^kk!+frace^xi(n+1)!(-1)^n+1$$



    for some $-1<xi<0$. If you estimate $e^xi $ and replace the sum you get convergence to $0$.






    share|cite|improve this answer









    $endgroup$












      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%2f2999327%2fhow-to-compute-1n1n1-e-sum-k-0n-frac-1kk%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5












      $begingroup$

      When $xin [0,1]$, $e^xle e$, by first mean value theorem for definite integrals,
      beginalign*
      I_n&lemax_xin[0,1]e^xint_0^1x^n~mathrm dx\
      &=fracen+1to0.
      endalign*

      Since $I_n>0$, the limit is $0$ by squeeze theorem.






      share|cite|improve this answer









      $endgroup$












      • $begingroup$
        Thanks, I never remember the squeeze theorem
        $endgroup$
        – JacksonFitzsimmons
        Nov 15 '18 at 7:08















      5












      $begingroup$

      When $xin [0,1]$, $e^xle e$, by first mean value theorem for definite integrals,
      beginalign*
      I_n&lemax_xin[0,1]e^xint_0^1x^n~mathrm dx\
      &=fracen+1to0.
      endalign*

      Since $I_n>0$, the limit is $0$ by squeeze theorem.






      share|cite|improve this answer









      $endgroup$












      • $begingroup$
        Thanks, I never remember the squeeze theorem
        $endgroup$
        – JacksonFitzsimmons
        Nov 15 '18 at 7:08













      5












      5








      5





      $begingroup$

      When $xin [0,1]$, $e^xle e$, by first mean value theorem for definite integrals,
      beginalign*
      I_n&lemax_xin[0,1]e^xint_0^1x^n~mathrm dx\
      &=fracen+1to0.
      endalign*

      Since $I_n>0$, the limit is $0$ by squeeze theorem.






      share|cite|improve this answer









      $endgroup$



      When $xin [0,1]$, $e^xle e$, by first mean value theorem for definite integrals,
      beginalign*
      I_n&lemax_xin[0,1]e^xint_0^1x^n~mathrm dx\
      &=fracen+1to0.
      endalign*

      Since $I_n>0$, the limit is $0$ by squeeze theorem.







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered Nov 15 '18 at 7:05









      TianlaluTianlalu

      3,08421138




      3,08421138











      • $begingroup$
        Thanks, I never remember the squeeze theorem
        $endgroup$
        – JacksonFitzsimmons
        Nov 15 '18 at 7:08
















      • $begingroup$
        Thanks, I never remember the squeeze theorem
        $endgroup$
        – JacksonFitzsimmons
        Nov 15 '18 at 7:08















      $begingroup$
      Thanks, I never remember the squeeze theorem
      $endgroup$
      – JacksonFitzsimmons
      Nov 15 '18 at 7:08




      $begingroup$
      Thanks, I never remember the squeeze theorem
      $endgroup$
      – JacksonFitzsimmons
      Nov 15 '18 at 7:08











      4












      $begingroup$

      Not as slick as Tianlalu's method, but for $yin (0,,1)$ we have
      $$
      lim_ntoinftyint_0^y x^n e^x dx le
      lim_ntoinftyy^nint_0^y e^x dx=0.
      $$






      share|cite|improve this answer











      $endgroup$

















        4












        $begingroup$

        Not as slick as Tianlalu's method, but for $yin (0,,1)$ we have
        $$
        lim_ntoinftyint_0^y x^n e^x dx le
        lim_ntoinftyy^nint_0^y e^x dx=0.
        $$






        share|cite|improve this answer











        $endgroup$















          4












          4








          4





          $begingroup$

          Not as slick as Tianlalu's method, but for $yin (0,,1)$ we have
          $$
          lim_ntoinftyint_0^y x^n e^x dx le
          lim_ntoinftyy^nint_0^y e^x dx=0.
          $$






          share|cite|improve this answer











          $endgroup$



          Not as slick as Tianlalu's method, but for $yin (0,,1)$ we have
          $$
          lim_ntoinftyint_0^y x^n e^x dx le
          lim_ntoinftyy^nint_0^y e^x dx=0.
          $$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 15 '18 at 7:31









          Tianlalu

          3,08421138




          3,08421138










          answered Nov 15 '18 at 7:28









          J.G.J.G.

          29.6k22946




          29.6k22946





















              2












              $begingroup$

              I don't know what you are 'allowed' to use but you could use the lagrange remainer for the exponential function:



              $$exp(-1)=sum_k=0^nfrac(-1)^kk!+frace^xi(n+1)!(-1)^n+1$$



              for some $-1<xi<0$. If you estimate $e^xi $ and replace the sum you get convergence to $0$.






              share|cite|improve this answer









              $endgroup$

















                2












                $begingroup$

                I don't know what you are 'allowed' to use but you could use the lagrange remainer for the exponential function:



                $$exp(-1)=sum_k=0^nfrac(-1)^kk!+frace^xi(n+1)!(-1)^n+1$$



                for some $-1<xi<0$. If you estimate $e^xi $ and replace the sum you get convergence to $0$.






                share|cite|improve this answer









                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  I don't know what you are 'allowed' to use but you could use the lagrange remainer for the exponential function:



                  $$exp(-1)=sum_k=0^nfrac(-1)^kk!+frace^xi(n+1)!(-1)^n+1$$



                  for some $-1<xi<0$. If you estimate $e^xi $ and replace the sum you get convergence to $0$.






                  share|cite|improve this answer









                  $endgroup$



                  I don't know what you are 'allowed' to use but you could use the lagrange remainer for the exponential function:



                  $$exp(-1)=sum_k=0^nfrac(-1)^kk!+frace^xi(n+1)!(-1)^n+1$$



                  for some $-1<xi<0$. If you estimate $e^xi $ and replace the sum you get convergence to $0$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 15 '18 at 7:13









                  maxmilgrammaxmilgram

                  7607




                  7607



























                      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%2f2999327%2fhow-to-compute-1n1n1-e-sum-k-0n-frac-1kk%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







                      這個網誌中的熱門文章

                      How to read a connectionString WITH PROVIDER in .NET Core?

                      Node.js Script on GitHub Pages or Amazon S3

                      Museum of Modern and Contemporary Art of Trento and Rovereto