How to write this as a differential equation?











up vote
1
down vote

favorite












I was solving differential equations problems from Mary Boas book, and there was a problem that I couldn't write it as a differential equation



Solve the equation for the rate of growth of bacteria if the rate of increase is proportional to the number present but the population is being reduced at a constant
rate by the removal of bacteria for experimental purposes.



How can I add the removal rate to my differential equation (I write the increase rate as $$dfrac{dN}{dt} = KN(t)$$where $K$ is a constant, and $N(t)$ is the number of bacteria at any time).










share|cite|improve this question


























    up vote
    1
    down vote

    favorite












    I was solving differential equations problems from Mary Boas book, and there was a problem that I couldn't write it as a differential equation



    Solve the equation for the rate of growth of bacteria if the rate of increase is proportional to the number present but the population is being reduced at a constant
    rate by the removal of bacteria for experimental purposes.



    How can I add the removal rate to my differential equation (I write the increase rate as $$dfrac{dN}{dt} = KN(t)$$where $K$ is a constant, and $N(t)$ is the number of bacteria at any time).










    share|cite|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I was solving differential equations problems from Mary Boas book, and there was a problem that I couldn't write it as a differential equation



      Solve the equation for the rate of growth of bacteria if the rate of increase is proportional to the number present but the population is being reduced at a constant
      rate by the removal of bacteria for experimental purposes.



      How can I add the removal rate to my differential equation (I write the increase rate as $$dfrac{dN}{dt} = KN(t)$$where $K$ is a constant, and $N(t)$ is the number of bacteria at any time).










      share|cite|improve this question













      I was solving differential equations problems from Mary Boas book, and there was a problem that I couldn't write it as a differential equation



      Solve the equation for the rate of growth of bacteria if the rate of increase is proportional to the number present but the population is being reduced at a constant
      rate by the removal of bacteria for experimental purposes.



      How can I add the removal rate to my differential equation (I write the increase rate as $$dfrac{dN}{dt} = KN(t)$$where $K$ is a constant, and $N(t)$ is the number of bacteria at any time).







      differential-equations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 26 at 18:17









      David Scott

      82




      82






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          We should add the term for the removal at a constant rate $K_2>0$ that is




          $$dfrac{dN(t)}{dt} = KN(t)-K_2 $$







          share|cite|improve this answer





















          • At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
            – David Scott
            Nov 26 at 18:23












          • You also need to adjust for the initial conditions $N(0)=N_0$, check that!
            – gimusi
            Nov 26 at 18:26












          • Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
            – gimusi
            Nov 26 at 18:42










          • It does work for this boundary condition, THANK YOU.
            – David Scott
            Nov 26 at 21:07










          • @DavidScott You are welcome! Well done, Bye.
            – gimusi
            Nov 26 at 21:30











          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',
          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%2f3014704%2fhow-to-write-this-as-a-differential-equation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          We should add the term for the removal at a constant rate $K_2>0$ that is




          $$dfrac{dN(t)}{dt} = KN(t)-K_2 $$







          share|cite|improve this answer





















          • At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
            – David Scott
            Nov 26 at 18:23












          • You also need to adjust for the initial conditions $N(0)=N_0$, check that!
            – gimusi
            Nov 26 at 18:26












          • Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
            – gimusi
            Nov 26 at 18:42










          • It does work for this boundary condition, THANK YOU.
            – David Scott
            Nov 26 at 21:07










          • @DavidScott You are welcome! Well done, Bye.
            – gimusi
            Nov 26 at 21:30















          up vote
          2
          down vote



          accepted










          We should add the term for the removal at a constant rate $K_2>0$ that is




          $$dfrac{dN(t)}{dt} = KN(t)-K_2 $$







          share|cite|improve this answer





















          • At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
            – David Scott
            Nov 26 at 18:23












          • You also need to adjust for the initial conditions $N(0)=N_0$, check that!
            – gimusi
            Nov 26 at 18:26












          • Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
            – gimusi
            Nov 26 at 18:42










          • It does work for this boundary condition, THANK YOU.
            – David Scott
            Nov 26 at 21:07










          • @DavidScott You are welcome! Well done, Bye.
            – gimusi
            Nov 26 at 21:30













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          We should add the term for the removal at a constant rate $K_2>0$ that is




          $$dfrac{dN(t)}{dt} = KN(t)-K_2 $$







          share|cite|improve this answer












          We should add the term for the removal at a constant rate $K_2>0$ that is




          $$dfrac{dN(t)}{dt} = KN(t)-K_2 $$








          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 26 at 18:19









          gimusi

          92.5k94495




          92.5k94495












          • At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
            – David Scott
            Nov 26 at 18:23












          • You also need to adjust for the initial conditions $N(0)=N_0$, check that!
            – gimusi
            Nov 26 at 18:26












          • Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
            – gimusi
            Nov 26 at 18:42










          • It does work for this boundary condition, THANK YOU.
            – David Scott
            Nov 26 at 21:07










          • @DavidScott You are welcome! Well done, Bye.
            – gimusi
            Nov 26 at 21:30


















          • At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
            – David Scott
            Nov 26 at 18:23












          • You also need to adjust for the initial conditions $N(0)=N_0$, check that!
            – gimusi
            Nov 26 at 18:26












          • Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
            – gimusi
            Nov 26 at 18:42










          • It does work for this boundary condition, THANK YOU.
            – David Scott
            Nov 26 at 21:07










          • @DavidScott You are welcome! Well done, Bye.
            – gimusi
            Nov 26 at 21:30
















          At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
          – David Scott
          Nov 26 at 18:23






          At the end of the book, the final answer is $N = N_0e^{Kt}-(R/K)(e^{Kt}-1)$, however, if I just add it like that I get $N = frac{N_0e^{Kt}+R}{K}$
          – David Scott
          Nov 26 at 18:23














          You also need to adjust for the initial conditions $N(0)=N_0$, check that!
          – gimusi
          Nov 26 at 18:26






          You also need to adjust for the initial conditions $N(0)=N_0$, check that!
          – gimusi
          Nov 26 at 18:26














          Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
          – gimusi
          Nov 26 at 18:42




          Your solution is not compatible with the initial condition. If you show your derivation I’ll take a look to it.
          – gimusi
          Nov 26 at 18:42












          It does work for this boundary condition, THANK YOU.
          – David Scott
          Nov 26 at 21:07




          It does work for this boundary condition, THANK YOU.
          – David Scott
          Nov 26 at 21:07












          @DavidScott You are welcome! Well done, Bye.
          – gimusi
          Nov 26 at 21:30




          @DavidScott You are welcome! Well done, Bye.
          – gimusi
          Nov 26 at 21:30


















          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%2f3014704%2fhow-to-write-this-as-a-differential-equation%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

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

          Redirect URL with Chrome Remote Debugging Android Devices

          Dieringhausen