Mass Diffusion Equation (Fick's Second Law)

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











up vote
0
down vote

favorite












Solving the Mass Diffusion Equation $$fracpartial rhopartial t = D_mfracpartial ^2 rhopartial x^2$$ for $$rho (x,t) = frac1sqrtD_mtfleft(fracxsqrtD_mtright)$$ and $$int_-infty^infty rho(x,t) dx = M$$ where M is the total mass of the diffusing particles, I obtained a differential equation of the form $$2f''(u) + uf'(u) + f(u) = 0$$ Above, $u = fracxsqrtD_mt$. How do I analytically solve this differential equation to find the functional form of $f(u)$?







share|cite|improve this question












migrated from physics.stackexchange.com Aug 26 at 22:04


This question came from our site for active researchers, academics and students of physics.














  • Use Mathematica.
    – Samuel Weir
    Aug 18 at 5:07










  • i don’t see how you get this differential equation?. To solve this differential equation i will try this ansatz $rho=w(t) v(x)$
    – Eli
    Aug 18 at 8:17










  • Mathematica gives me the solution, alright, but I was curious if we have a way to analytically arrive at that solution.
    – Divyansh Khurana
    Aug 18 at 9:37










  • Secondly, ρ=w(t)v(x) is basically the "Separation of Variables" method and is perfectly fine. But the above question specifically mentions the form of ρ that is to be assumed.
    – Divyansh Khurana
    Aug 18 at 9:40






  • 1




    Might Mathematics be better suited for this math question?
    – Kyle Kanos
    Aug 18 at 10:25














up vote
0
down vote

favorite












Solving the Mass Diffusion Equation $$fracpartial rhopartial t = D_mfracpartial ^2 rhopartial x^2$$ for $$rho (x,t) = frac1sqrtD_mtfleft(fracxsqrtD_mtright)$$ and $$int_-infty^infty rho(x,t) dx = M$$ where M is the total mass of the diffusing particles, I obtained a differential equation of the form $$2f''(u) + uf'(u) + f(u) = 0$$ Above, $u = fracxsqrtD_mt$. How do I analytically solve this differential equation to find the functional form of $f(u)$?







share|cite|improve this question












migrated from physics.stackexchange.com Aug 26 at 22:04


This question came from our site for active researchers, academics and students of physics.














  • Use Mathematica.
    – Samuel Weir
    Aug 18 at 5:07










  • i don’t see how you get this differential equation?. To solve this differential equation i will try this ansatz $rho=w(t) v(x)$
    – Eli
    Aug 18 at 8:17










  • Mathematica gives me the solution, alright, but I was curious if we have a way to analytically arrive at that solution.
    – Divyansh Khurana
    Aug 18 at 9:37










  • Secondly, ρ=w(t)v(x) is basically the "Separation of Variables" method and is perfectly fine. But the above question specifically mentions the form of ρ that is to be assumed.
    – Divyansh Khurana
    Aug 18 at 9:40






  • 1




    Might Mathematics be better suited for this math question?
    – Kyle Kanos
    Aug 18 at 10:25












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Solving the Mass Diffusion Equation $$fracpartial rhopartial t = D_mfracpartial ^2 rhopartial x^2$$ for $$rho (x,t) = frac1sqrtD_mtfleft(fracxsqrtD_mtright)$$ and $$int_-infty^infty rho(x,t) dx = M$$ where M is the total mass of the diffusing particles, I obtained a differential equation of the form $$2f''(u) + uf'(u) + f(u) = 0$$ Above, $u = fracxsqrtD_mt$. How do I analytically solve this differential equation to find the functional form of $f(u)$?







share|cite|improve this question












Solving the Mass Diffusion Equation $$fracpartial rhopartial t = D_mfracpartial ^2 rhopartial x^2$$ for $$rho (x,t) = frac1sqrtD_mtfleft(fracxsqrtD_mtright)$$ and $$int_-infty^infty rho(x,t) dx = M$$ where M is the total mass of the diffusing particles, I obtained a differential equation of the form $$2f''(u) + uf'(u) + f(u) = 0$$ Above, $u = fracxsqrtD_mt$. How do I analytically solve this differential equation to find the functional form of $f(u)$?









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Aug 18 at 5:02







Divyansh Khurana











migrated from physics.stackexchange.com Aug 26 at 22:04


This question came from our site for active researchers, academics and students of physics.






migrated from physics.stackexchange.com Aug 26 at 22:04


This question came from our site for active researchers, academics and students of physics.













  • Use Mathematica.
    – Samuel Weir
    Aug 18 at 5:07










  • i don’t see how you get this differential equation?. To solve this differential equation i will try this ansatz $rho=w(t) v(x)$
    – Eli
    Aug 18 at 8:17










  • Mathematica gives me the solution, alright, but I was curious if we have a way to analytically arrive at that solution.
    – Divyansh Khurana
    Aug 18 at 9:37










  • Secondly, ρ=w(t)v(x) is basically the "Separation of Variables" method and is perfectly fine. But the above question specifically mentions the form of ρ that is to be assumed.
    – Divyansh Khurana
    Aug 18 at 9:40






  • 1




    Might Mathematics be better suited for this math question?
    – Kyle Kanos
    Aug 18 at 10:25
















  • Use Mathematica.
    – Samuel Weir
    Aug 18 at 5:07










  • i don’t see how you get this differential equation?. To solve this differential equation i will try this ansatz $rho=w(t) v(x)$
    – Eli
    Aug 18 at 8:17










  • Mathematica gives me the solution, alright, but I was curious if we have a way to analytically arrive at that solution.
    – Divyansh Khurana
    Aug 18 at 9:37










  • Secondly, ρ=w(t)v(x) is basically the "Separation of Variables" method and is perfectly fine. But the above question specifically mentions the form of ρ that is to be assumed.
    – Divyansh Khurana
    Aug 18 at 9:40






  • 1




    Might Mathematics be better suited for this math question?
    – Kyle Kanos
    Aug 18 at 10:25















Use Mathematica.
– Samuel Weir
Aug 18 at 5:07




Use Mathematica.
– Samuel Weir
Aug 18 at 5:07












i don’t see how you get this differential equation?. To solve this differential equation i will try this ansatz $rho=w(t) v(x)$
– Eli
Aug 18 at 8:17




i don’t see how you get this differential equation?. To solve this differential equation i will try this ansatz $rho=w(t) v(x)$
– Eli
Aug 18 at 8:17












Mathematica gives me the solution, alright, but I was curious if we have a way to analytically arrive at that solution.
– Divyansh Khurana
Aug 18 at 9:37




Mathematica gives me the solution, alright, but I was curious if we have a way to analytically arrive at that solution.
– Divyansh Khurana
Aug 18 at 9:37












Secondly, ρ=w(t)v(x) is basically the "Separation of Variables" method and is perfectly fine. But the above question specifically mentions the form of ρ that is to be assumed.
– Divyansh Khurana
Aug 18 at 9:40




Secondly, ρ=w(t)v(x) is basically the "Separation of Variables" method and is perfectly fine. But the above question specifically mentions the form of ρ that is to be assumed.
– Divyansh Khurana
Aug 18 at 9:40




1




1




Might Mathematics be better suited for this math question?
– Kyle Kanos
Aug 18 at 10:25




Might Mathematics be better suited for this math question?
– Kyle Kanos
Aug 18 at 10:25










1 Answer
1






active

oldest

votes

















up vote
1
down vote













$$2f''(u) + uf'(u) + f(u) = 2f''+(uf)'=0$$so
$$2f'+uf=C$$From the boundary conditions, C = 0. So, $$fracf'f=-fracu2$$The solution to this differential equation is:
$$f=Ae^-fracu^24$$where A is a constant of integration. So,
$$rho=fracAsqrtD_mte^-fracu^24$$To determine A, all you need to do is satisfy the condition $$int_-infty^+inftyrho du=fracMsqrtD_mt$$or$$Aint_-infty^+inftye^-fracu^24du=M$$






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%2f2895578%2fmass-diffusion-equation-ficks-second-law%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
    1
    down vote













    $$2f''(u) + uf'(u) + f(u) = 2f''+(uf)'=0$$so
    $$2f'+uf=C$$From the boundary conditions, C = 0. So, $$fracf'f=-fracu2$$The solution to this differential equation is:
    $$f=Ae^-fracu^24$$where A is a constant of integration. So,
    $$rho=fracAsqrtD_mte^-fracu^24$$To determine A, all you need to do is satisfy the condition $$int_-infty^+inftyrho du=fracMsqrtD_mt$$or$$Aint_-infty^+inftye^-fracu^24du=M$$






    share|cite|improve this answer
























      up vote
      1
      down vote













      $$2f''(u) + uf'(u) + f(u) = 2f''+(uf)'=0$$so
      $$2f'+uf=C$$From the boundary conditions, C = 0. So, $$fracf'f=-fracu2$$The solution to this differential equation is:
      $$f=Ae^-fracu^24$$where A is a constant of integration. So,
      $$rho=fracAsqrtD_mte^-fracu^24$$To determine A, all you need to do is satisfy the condition $$int_-infty^+inftyrho du=fracMsqrtD_mt$$or$$Aint_-infty^+inftye^-fracu^24du=M$$






      share|cite|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        $$2f''(u) + uf'(u) + f(u) = 2f''+(uf)'=0$$so
        $$2f'+uf=C$$From the boundary conditions, C = 0. So, $$fracf'f=-fracu2$$The solution to this differential equation is:
        $$f=Ae^-fracu^24$$where A is a constant of integration. So,
        $$rho=fracAsqrtD_mte^-fracu^24$$To determine A, all you need to do is satisfy the condition $$int_-infty^+inftyrho du=fracMsqrtD_mt$$or$$Aint_-infty^+inftye^-fracu^24du=M$$






        share|cite|improve this answer












        $$2f''(u) + uf'(u) + f(u) = 2f''+(uf)'=0$$so
        $$2f'+uf=C$$From the boundary conditions, C = 0. So, $$fracf'f=-fracu2$$The solution to this differential equation is:
        $$f=Ae^-fracu^24$$where A is a constant of integration. So,
        $$rho=fracAsqrtD_mte^-fracu^24$$To determine A, all you need to do is satisfy the condition $$int_-infty^+inftyrho du=fracMsqrtD_mt$$or$$Aint_-infty^+inftye^-fracu^24du=M$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Aug 19 at 12:32







        Chester Miller


































             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2895578%2fmass-diffusion-equation-ficks-second-law%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

            Why am i infinitely getting the same tweet with the Twitter Search API?

            Carbon dioxide