Solve for $k$ if $beta^kk!ge (1-alpha)/alpha$.












2














Let $beta$ be a constant and $alphain (0,1]$. I want to show that for any $alphain (0,1]$ (no matter how small) there exists $kinmathbb N$ such that $$beta^kk!ge (1-alpha)/alpha$$



I used that $beta^kk!=(beta^{-k}/k!)^{-1}$ and hence, since $x^k/k!to 0$ as $ktoinfty$ for any $xin mathbb R$ (from the summation property of the exponential series), I obtained that such a $k$ always exists.



My question is whether I can solve the above inequality for $k$ and derive a statement using for instance the big $mathcal O$ notation, e.g., something like $kin mathcal O(1/alpha)$. Any ideas? Thank you.










share|cite|improve this question





























    2














    Let $beta$ be a constant and $alphain (0,1]$. I want to show that for any $alphain (0,1]$ (no matter how small) there exists $kinmathbb N$ such that $$beta^kk!ge (1-alpha)/alpha$$



    I used that $beta^kk!=(beta^{-k}/k!)^{-1}$ and hence, since $x^k/k!to 0$ as $ktoinfty$ for any $xin mathbb R$ (from the summation property of the exponential series), I obtained that such a $k$ always exists.



    My question is whether I can solve the above inequality for $k$ and derive a statement using for instance the big $mathcal O$ notation, e.g., something like $kin mathcal O(1/alpha)$. Any ideas? Thank you.










    share|cite|improve this question



























      2












      2








      2


      1





      Let $beta$ be a constant and $alphain (0,1]$. I want to show that for any $alphain (0,1]$ (no matter how small) there exists $kinmathbb N$ such that $$beta^kk!ge (1-alpha)/alpha$$



      I used that $beta^kk!=(beta^{-k}/k!)^{-1}$ and hence, since $x^k/k!to 0$ as $ktoinfty$ for any $xin mathbb R$ (from the summation property of the exponential series), I obtained that such a $k$ always exists.



      My question is whether I can solve the above inequality for $k$ and derive a statement using for instance the big $mathcal O$ notation, e.g., something like $kin mathcal O(1/alpha)$. Any ideas? Thank you.










      share|cite|improve this question















      Let $beta$ be a constant and $alphain (0,1]$. I want to show that for any $alphain (0,1]$ (no matter how small) there exists $kinmathbb N$ such that $$beta^kk!ge (1-alpha)/alpha$$



      I used that $beta^kk!=(beta^{-k}/k!)^{-1}$ and hence, since $x^k/k!to 0$ as $ktoinfty$ for any $xin mathbb R$ (from the summation property of the exponential series), I obtained that such a $k$ always exists.



      My question is whether I can solve the above inequality for $k$ and derive a statement using for instance the big $mathcal O$ notation, e.g., something like $kin mathcal O(1/alpha)$. Any ideas? Thank you.







      inequality asymptotics






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 29 at 8:32

























      asked Nov 29 at 5:06









      Jimmy R.

      33k42157




      33k42157






















          2 Answers
          2






          active

          oldest

          votes


















          2














          From
          $b^kk!ge (1-a)/a
          $

          we get
          $kln b +ln(k!) ge c$
          where
          $c = ln((1-a)/a)
          $
          .



          Since
          $0 < a < 1$,
          $0 < (1-a)/a
          =1/a-1$

          so
          $c$ can be any real.



          To get an
          approximate case of equality,
          for a first step use
          $ln(k!) > kln k - k$.



          Then if
          $kln b+kln k - k
          ge c$
          ,
          $k$ is ok.



          Write this as
          $c
          le k(ln(b)-1) + kln(k)
          =k(ln(k)+ln(b)-1)
          =k(ln(kb/e))
          $

          or
          $cb/e
          le (kb/e)(ln(kb/e))
          $
          .



          Letting
          $r = cb/e$
          and
          $x = kb/e$,
          this becomes
          $r le xln(x)$.



          The problem of inverting
          this equation has been well studied.
          As a first approximation,
          $x = r/ln(r)$.



          This becomes
          $kb/e
          approx dfrac{cb/e}{ln(cb/e)}
          $

          or
          $k
          approx dfrac{c}{ln(cb/e)}
          $
          .



          That's all.






          share|cite|improve this answer





















          • +1 Thank you very much!
            – Jimmy R.
            Nov 29 at 5:45










          • So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
            – Jimmy R.
            Nov 29 at 5:51






          • 1




            If $c$ is large, which occurs when $a$ is small, then yes.
            – marty cohen
            Nov 29 at 5:58



















          1














          If you have a look at this question of mine, you will see a magnificent approximation proposed by @robjohn.



          Adapted to the problem $beta^k,k!=A$ with $ A>0$, the approximation of $k$ would be given by



          $$ksim e beta, e^{W(t)}-frac 12=frac{t e beta}{W(t) }-frac 12 qquad text{where}qquad t=frac{log left(frac{A^2}{2 pi beta }right)}{2 e beta }$$ and, in the real domain, Lambert function $W(t)$ exists as long as $t ge-frac 1e$.






          share|cite|improve this answer























          • It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
            – marty cohen
            Nov 29 at 6:34












          • @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
            – Claude Leibovici
            Nov 29 at 6:45










          • +1 looks great! Thank you very much!
            – Jimmy R.
            Nov 29 at 8:11






          • 1




            @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
            – Claude Leibovici
            Nov 29 at 8:56











          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%2f3018210%2fsolve-for-k-if-betakk-ge-1-alpha-alpha%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          From
          $b^kk!ge (1-a)/a
          $

          we get
          $kln b +ln(k!) ge c$
          where
          $c = ln((1-a)/a)
          $
          .



          Since
          $0 < a < 1$,
          $0 < (1-a)/a
          =1/a-1$

          so
          $c$ can be any real.



          To get an
          approximate case of equality,
          for a first step use
          $ln(k!) > kln k - k$.



          Then if
          $kln b+kln k - k
          ge c$
          ,
          $k$ is ok.



          Write this as
          $c
          le k(ln(b)-1) + kln(k)
          =k(ln(k)+ln(b)-1)
          =k(ln(kb/e))
          $

          or
          $cb/e
          le (kb/e)(ln(kb/e))
          $
          .



          Letting
          $r = cb/e$
          and
          $x = kb/e$,
          this becomes
          $r le xln(x)$.



          The problem of inverting
          this equation has been well studied.
          As a first approximation,
          $x = r/ln(r)$.



          This becomes
          $kb/e
          approx dfrac{cb/e}{ln(cb/e)}
          $

          or
          $k
          approx dfrac{c}{ln(cb/e)}
          $
          .



          That's all.






          share|cite|improve this answer





















          • +1 Thank you very much!
            – Jimmy R.
            Nov 29 at 5:45










          • So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
            – Jimmy R.
            Nov 29 at 5:51






          • 1




            If $c$ is large, which occurs when $a$ is small, then yes.
            – marty cohen
            Nov 29 at 5:58
















          2














          From
          $b^kk!ge (1-a)/a
          $

          we get
          $kln b +ln(k!) ge c$
          where
          $c = ln((1-a)/a)
          $
          .



          Since
          $0 < a < 1$,
          $0 < (1-a)/a
          =1/a-1$

          so
          $c$ can be any real.



          To get an
          approximate case of equality,
          for a first step use
          $ln(k!) > kln k - k$.



          Then if
          $kln b+kln k - k
          ge c$
          ,
          $k$ is ok.



          Write this as
          $c
          le k(ln(b)-1) + kln(k)
          =k(ln(k)+ln(b)-1)
          =k(ln(kb/e))
          $

          or
          $cb/e
          le (kb/e)(ln(kb/e))
          $
          .



          Letting
          $r = cb/e$
          and
          $x = kb/e$,
          this becomes
          $r le xln(x)$.



          The problem of inverting
          this equation has been well studied.
          As a first approximation,
          $x = r/ln(r)$.



          This becomes
          $kb/e
          approx dfrac{cb/e}{ln(cb/e)}
          $

          or
          $k
          approx dfrac{c}{ln(cb/e)}
          $
          .



          That's all.






          share|cite|improve this answer





















          • +1 Thank you very much!
            – Jimmy R.
            Nov 29 at 5:45










          • So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
            – Jimmy R.
            Nov 29 at 5:51






          • 1




            If $c$ is large, which occurs when $a$ is small, then yes.
            – marty cohen
            Nov 29 at 5:58














          2












          2








          2






          From
          $b^kk!ge (1-a)/a
          $

          we get
          $kln b +ln(k!) ge c$
          where
          $c = ln((1-a)/a)
          $
          .



          Since
          $0 < a < 1$,
          $0 < (1-a)/a
          =1/a-1$

          so
          $c$ can be any real.



          To get an
          approximate case of equality,
          for a first step use
          $ln(k!) > kln k - k$.



          Then if
          $kln b+kln k - k
          ge c$
          ,
          $k$ is ok.



          Write this as
          $c
          le k(ln(b)-1) + kln(k)
          =k(ln(k)+ln(b)-1)
          =k(ln(kb/e))
          $

          or
          $cb/e
          le (kb/e)(ln(kb/e))
          $
          .



          Letting
          $r = cb/e$
          and
          $x = kb/e$,
          this becomes
          $r le xln(x)$.



          The problem of inverting
          this equation has been well studied.
          As a first approximation,
          $x = r/ln(r)$.



          This becomes
          $kb/e
          approx dfrac{cb/e}{ln(cb/e)}
          $

          or
          $k
          approx dfrac{c}{ln(cb/e)}
          $
          .



          That's all.






          share|cite|improve this answer












          From
          $b^kk!ge (1-a)/a
          $

          we get
          $kln b +ln(k!) ge c$
          where
          $c = ln((1-a)/a)
          $
          .



          Since
          $0 < a < 1$,
          $0 < (1-a)/a
          =1/a-1$

          so
          $c$ can be any real.



          To get an
          approximate case of equality,
          for a first step use
          $ln(k!) > kln k - k$.



          Then if
          $kln b+kln k - k
          ge c$
          ,
          $k$ is ok.



          Write this as
          $c
          le k(ln(b)-1) + kln(k)
          =k(ln(k)+ln(b)-1)
          =k(ln(kb/e))
          $

          or
          $cb/e
          le (kb/e)(ln(kb/e))
          $
          .



          Letting
          $r = cb/e$
          and
          $x = kb/e$,
          this becomes
          $r le xln(x)$.



          The problem of inverting
          this equation has been well studied.
          As a first approximation,
          $x = r/ln(r)$.



          This becomes
          $kb/e
          approx dfrac{cb/e}{ln(cb/e)}
          $

          or
          $k
          approx dfrac{c}{ln(cb/e)}
          $
          .



          That's all.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 29 at 5:23









          marty cohen

          72.3k549127




          72.3k549127












          • +1 Thank you very much!
            – Jimmy R.
            Nov 29 at 5:45










          • So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
            – Jimmy R.
            Nov 29 at 5:51






          • 1




            If $c$ is large, which occurs when $a$ is small, then yes.
            – marty cohen
            Nov 29 at 5:58


















          • +1 Thank you very much!
            – Jimmy R.
            Nov 29 at 5:45










          • So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
            – Jimmy R.
            Nov 29 at 5:51






          • 1




            If $c$ is large, which occurs when $a$ is small, then yes.
            – marty cohen
            Nov 29 at 5:58
















          +1 Thank you very much!
          – Jimmy R.
          Nov 29 at 5:45




          +1 Thank you very much!
          – Jimmy R.
          Nov 29 at 5:45












          So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
          – Jimmy R.
          Nov 29 at 5:51




          So, from the last equation is it correct to infer that $k=mathcal O(c(ln c)^{-1})$?
          – Jimmy R.
          Nov 29 at 5:51




          1




          1




          If $c$ is large, which occurs when $a$ is small, then yes.
          – marty cohen
          Nov 29 at 5:58




          If $c$ is large, which occurs when $a$ is small, then yes.
          – marty cohen
          Nov 29 at 5:58











          1














          If you have a look at this question of mine, you will see a magnificent approximation proposed by @robjohn.



          Adapted to the problem $beta^k,k!=A$ with $ A>0$, the approximation of $k$ would be given by



          $$ksim e beta, e^{W(t)}-frac 12=frac{t e beta}{W(t) }-frac 12 qquad text{where}qquad t=frac{log left(frac{A^2}{2 pi beta }right)}{2 e beta }$$ and, in the real domain, Lambert function $W(t)$ exists as long as $t ge-frac 1e$.






          share|cite|improve this answer























          • It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
            – marty cohen
            Nov 29 at 6:34












          • @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
            – Claude Leibovici
            Nov 29 at 6:45










          • +1 looks great! Thank you very much!
            – Jimmy R.
            Nov 29 at 8:11






          • 1




            @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
            – Claude Leibovici
            Nov 29 at 8:56
















          1














          If you have a look at this question of mine, you will see a magnificent approximation proposed by @robjohn.



          Adapted to the problem $beta^k,k!=A$ with $ A>0$, the approximation of $k$ would be given by



          $$ksim e beta, e^{W(t)}-frac 12=frac{t e beta}{W(t) }-frac 12 qquad text{where}qquad t=frac{log left(frac{A^2}{2 pi beta }right)}{2 e beta }$$ and, in the real domain, Lambert function $W(t)$ exists as long as $t ge-frac 1e$.






          share|cite|improve this answer























          • It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
            – marty cohen
            Nov 29 at 6:34












          • @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
            – Claude Leibovici
            Nov 29 at 6:45










          • +1 looks great! Thank you very much!
            – Jimmy R.
            Nov 29 at 8:11






          • 1




            @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
            – Claude Leibovici
            Nov 29 at 8:56














          1












          1








          1






          If you have a look at this question of mine, you will see a magnificent approximation proposed by @robjohn.



          Adapted to the problem $beta^k,k!=A$ with $ A>0$, the approximation of $k$ would be given by



          $$ksim e beta, e^{W(t)}-frac 12=frac{t e beta}{W(t) }-frac 12 qquad text{where}qquad t=frac{log left(frac{A^2}{2 pi beta }right)}{2 e beta }$$ and, in the real domain, Lambert function $W(t)$ exists as long as $t ge-frac 1e$.






          share|cite|improve this answer














          If you have a look at this question of mine, you will see a magnificent approximation proposed by @robjohn.



          Adapted to the problem $beta^k,k!=A$ with $ A>0$, the approximation of $k$ would be given by



          $$ksim e beta, e^{W(t)}-frac 12=frac{t e beta}{W(t) }-frac 12 qquad text{where}qquad t=frac{log left(frac{A^2}{2 pi beta }right)}{2 e beta }$$ and, in the real domain, Lambert function $W(t)$ exists as long as $t ge-frac 1e$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 29 at 7:32

























          answered Nov 29 at 6:07









          Claude Leibovici

          118k1157132




          118k1157132












          • It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
            – marty cohen
            Nov 29 at 6:34












          • @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
            – Claude Leibovici
            Nov 29 at 6:45










          • +1 looks great! Thank you very much!
            – Jimmy R.
            Nov 29 at 8:11






          • 1




            @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
            – Claude Leibovici
            Nov 29 at 8:56


















          • It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
            – marty cohen
            Nov 29 at 6:34












          • @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
            – Claude Leibovici
            Nov 29 at 6:45










          • +1 looks great! Thank you very much!
            – Jimmy R.
            Nov 29 at 8:11






          • 1




            @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
            – Claude Leibovici
            Nov 29 at 8:56
















          It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
          – marty cohen
          Nov 29 at 6:34






          It would be interesting to compare our two answers. I'd have to look up the asymptotics of $W(t)$.
          – marty cohen
          Nov 29 at 6:34














          @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
          – Claude Leibovici
          Nov 29 at 6:45




          @martycohen. I would like to say that, from the time robjohn provided this approximation (almost two years ago), I used it a lot of times (including in my answers here on MSE) and it is incredibly very good. I suppose that you noticed that, using $beta=1$ we get the solution of $n!=K$.
          – Claude Leibovici
          Nov 29 at 6:45












          +1 looks great! Thank you very much!
          – Jimmy R.
          Nov 29 at 8:11




          +1 looks great! Thank you very much!
          – Jimmy R.
          Nov 29 at 8:11




          1




          1




          @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
          – Claude Leibovici
          Nov 29 at 8:56




          @JimmyR. Trust me : it is not great ! It is super great. I use it very often in my research and a lot of times in my answers here.
          – Claude Leibovici
          Nov 29 at 8:56


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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.


          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%2f3018210%2fsolve-for-k-if-betakk-ge-1-alpha-alpha%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

          Wiesbaden

          To store a contact into the json file from server.js file using a class in NodeJS

          Marschland