Solution of differential equation $d/dt langle N(t) rangle=k-Gamma langle N(t) rangle$ where brackets indicate average

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I have the following ODE yielded as a steady state solution to a more complicated ODE. The important part is just to consider the following:



$$d/dt langle N(t) rangle=k-Gamma langle N(t) rangle$$
where $langle N(t) rangle$ can be seen as $y$ or an average of $y$ (brackets indicating avg). I am not sure if that is the reason for the result.



The solution is given by
$$langle N(t) rangle=k/Gamma (1-e^-Gamma t)+langle N(t) rangle e^-Gamma t$$



I do not see that however. So far, I've solved first for
$$d/dt <N(t)>=Gamma <N(t)>=0$$



Yielding
$$langle N(t) rangle>=Ccdot e^-Gamma t$$



and $C$
$$C=k/Gamma (1-e^-Gamma t)+c_0$$



I do not see how it solves the equation by inserting c.



Any help is highly appreciated :)



edit: I had a thought it may have to do with the average being additive, and starting and $langle N(0) rangle$ being the same as $langle N(t) rangle$ since it is steady state. I am not completely sure however.







share|cite|improve this question





















  • Use langle and rangle for angle brackets: $langle$ $rangle$
    – Dylan
    Jul 20 at 18:43











  • What is the $Gamma$?
    – Botond
    Jul 20 at 18:52










  • $Gamma$ is just a constant :)
    – user469216
    Jul 20 at 18:53














up vote
2
down vote

favorite












I have the following ODE yielded as a steady state solution to a more complicated ODE. The important part is just to consider the following:



$$d/dt langle N(t) rangle=k-Gamma langle N(t) rangle$$
where $langle N(t) rangle$ can be seen as $y$ or an average of $y$ (brackets indicating avg). I am not sure if that is the reason for the result.



The solution is given by
$$langle N(t) rangle=k/Gamma (1-e^-Gamma t)+langle N(t) rangle e^-Gamma t$$



I do not see that however. So far, I've solved first for
$$d/dt <N(t)>=Gamma <N(t)>=0$$



Yielding
$$langle N(t) rangle>=Ccdot e^-Gamma t$$



and $C$
$$C=k/Gamma (1-e^-Gamma t)+c_0$$



I do not see how it solves the equation by inserting c.



Any help is highly appreciated :)



edit: I had a thought it may have to do with the average being additive, and starting and $langle N(0) rangle$ being the same as $langle N(t) rangle$ since it is steady state. I am not completely sure however.







share|cite|improve this question





















  • Use langle and rangle for angle brackets: $langle$ $rangle$
    – Dylan
    Jul 20 at 18:43











  • What is the $Gamma$?
    – Botond
    Jul 20 at 18:52










  • $Gamma$ is just a constant :)
    – user469216
    Jul 20 at 18:53












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have the following ODE yielded as a steady state solution to a more complicated ODE. The important part is just to consider the following:



$$d/dt langle N(t) rangle=k-Gamma langle N(t) rangle$$
where $langle N(t) rangle$ can be seen as $y$ or an average of $y$ (brackets indicating avg). I am not sure if that is the reason for the result.



The solution is given by
$$langle N(t) rangle=k/Gamma (1-e^-Gamma t)+langle N(t) rangle e^-Gamma t$$



I do not see that however. So far, I've solved first for
$$d/dt <N(t)>=Gamma <N(t)>=0$$



Yielding
$$langle N(t) rangle>=Ccdot e^-Gamma t$$



and $C$
$$C=k/Gamma (1-e^-Gamma t)+c_0$$



I do not see how it solves the equation by inserting c.



Any help is highly appreciated :)



edit: I had a thought it may have to do with the average being additive, and starting and $langle N(0) rangle$ being the same as $langle N(t) rangle$ since it is steady state. I am not completely sure however.







share|cite|improve this question













I have the following ODE yielded as a steady state solution to a more complicated ODE. The important part is just to consider the following:



$$d/dt langle N(t) rangle=k-Gamma langle N(t) rangle$$
where $langle N(t) rangle$ can be seen as $y$ or an average of $y$ (brackets indicating avg). I am not sure if that is the reason for the result.



The solution is given by
$$langle N(t) rangle=k/Gamma (1-e^-Gamma t)+langle N(t) rangle e^-Gamma t$$



I do not see that however. So far, I've solved first for
$$d/dt <N(t)>=Gamma <N(t)>=0$$



Yielding
$$langle N(t) rangle>=Ccdot e^-Gamma t$$



and $C$
$$C=k/Gamma (1-e^-Gamma t)+c_0$$



I do not see how it solves the equation by inserting c.



Any help is highly appreciated :)



edit: I had a thought it may have to do with the average being additive, and starting and $langle N(0) rangle$ being the same as $langle N(t) rangle$ since it is steady state. I am not completely sure however.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 20 at 18:43
























asked Jul 20 at 18:11









user469216

445




445











  • Use langle and rangle for angle brackets: $langle$ $rangle$
    – Dylan
    Jul 20 at 18:43











  • What is the $Gamma$?
    – Botond
    Jul 20 at 18:52










  • $Gamma$ is just a constant :)
    – user469216
    Jul 20 at 18:53
















  • Use langle and rangle for angle brackets: $langle$ $rangle$
    – Dylan
    Jul 20 at 18:43











  • What is the $Gamma$?
    – Botond
    Jul 20 at 18:52










  • $Gamma$ is just a constant :)
    – user469216
    Jul 20 at 18:53















Use langle and rangle for angle brackets: $langle$ $rangle$
– Dylan
Jul 20 at 18:43





Use langle and rangle for angle brackets: $langle$ $rangle$
– Dylan
Jul 20 at 18:43













What is the $Gamma$?
– Botond
Jul 20 at 18:52




What is the $Gamma$?
– Botond
Jul 20 at 18:52












$Gamma$ is just a constant :)
– user469216
Jul 20 at 18:53




$Gamma$ is just a constant :)
– user469216
Jul 20 at 18:53










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










Let $y = langle N(t)rangle$, so that we may write
$$fracdydt +Gamma y = k$$ This equation can be solved by method of integrating factors. An integrating factor here is $e^int_0^t Gamma, ds = e^Gamma t$. Multiply the equation by $e^Gamma t$ and note that by the product rule, we obtain $$fracddt(e^Gamma t y) = ke^Gamma t$$ Integrate both sides to get $$e^Gamma ty = frackGammae^Gamma t + C$$where $C$ is a constant. Setting $t = 0$, $y(0) = k/Gamma + C$, so then $C = y(0) - k/Gamma$. Therefore $$y = frackGamma + left(y(0) - frackGammaright)e^-Gamma t= frackGammaleft(1 - e^-Gamma tright) + y(0)e^-Gamma t$$ as desired.






share|cite|improve this answer





















    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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2857897%2fsolution-of-differential-equation-d-dt-langle-nt-rangle-k-gamma-langle-n%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted










    Let $y = langle N(t)rangle$, so that we may write
    $$fracdydt +Gamma y = k$$ This equation can be solved by method of integrating factors. An integrating factor here is $e^int_0^t Gamma, ds = e^Gamma t$. Multiply the equation by $e^Gamma t$ and note that by the product rule, we obtain $$fracddt(e^Gamma t y) = ke^Gamma t$$ Integrate both sides to get $$e^Gamma ty = frackGammae^Gamma t + C$$where $C$ is a constant. Setting $t = 0$, $y(0) = k/Gamma + C$, so then $C = y(0) - k/Gamma$. Therefore $$y = frackGamma + left(y(0) - frackGammaright)e^-Gamma t= frackGammaleft(1 - e^-Gamma tright) + y(0)e^-Gamma t$$ as desired.






    share|cite|improve this answer

























      up vote
      2
      down vote



      accepted










      Let $y = langle N(t)rangle$, so that we may write
      $$fracdydt +Gamma y = k$$ This equation can be solved by method of integrating factors. An integrating factor here is $e^int_0^t Gamma, ds = e^Gamma t$. Multiply the equation by $e^Gamma t$ and note that by the product rule, we obtain $$fracddt(e^Gamma t y) = ke^Gamma t$$ Integrate both sides to get $$e^Gamma ty = frackGammae^Gamma t + C$$where $C$ is a constant. Setting $t = 0$, $y(0) = k/Gamma + C$, so then $C = y(0) - k/Gamma$. Therefore $$y = frackGamma + left(y(0) - frackGammaright)e^-Gamma t= frackGammaleft(1 - e^-Gamma tright) + y(0)e^-Gamma t$$ as desired.






      share|cite|improve this answer























        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        Let $y = langle N(t)rangle$, so that we may write
        $$fracdydt +Gamma y = k$$ This equation can be solved by method of integrating factors. An integrating factor here is $e^int_0^t Gamma, ds = e^Gamma t$. Multiply the equation by $e^Gamma t$ and note that by the product rule, we obtain $$fracddt(e^Gamma t y) = ke^Gamma t$$ Integrate both sides to get $$e^Gamma ty = frackGammae^Gamma t + C$$where $C$ is a constant. Setting $t = 0$, $y(0) = k/Gamma + C$, so then $C = y(0) - k/Gamma$. Therefore $$y = frackGamma + left(y(0) - frackGammaright)e^-Gamma t= frackGammaleft(1 - e^-Gamma tright) + y(0)e^-Gamma t$$ as desired.






        share|cite|improve this answer













        Let $y = langle N(t)rangle$, so that we may write
        $$fracdydt +Gamma y = k$$ This equation can be solved by method of integrating factors. An integrating factor here is $e^int_0^t Gamma, ds = e^Gamma t$. Multiply the equation by $e^Gamma t$ and note that by the product rule, we obtain $$fracddt(e^Gamma t y) = ke^Gamma t$$ Integrate both sides to get $$e^Gamma ty = frackGammae^Gamma t + C$$where $C$ is a constant. Setting $t = 0$, $y(0) = k/Gamma + C$, so then $C = y(0) - k/Gamma$. Therefore $$y = frackGamma + left(y(0) - frackGammaright)e^-Gamma t= frackGammaleft(1 - e^-Gamma tright) + y(0)e^-Gamma t$$ as desired.







        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 20 at 18:51









        kobe

        33.9k22146




        33.9k22146






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2857897%2fsolution-of-differential-equation-d-dt-langle-nt-rangle-k-gamma-langle-n%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Relationship between determinant of matrix and determinant of adjoint?

            Color the edges and diagonals of a regular polygon