Differential equation: $x''=frac2xx^2-1$

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











up vote
3
down vote

favorite













I want to solve the differential equation$$begincasesx''=frac2xx^2-1\x'(0)=0\x(0)=x_0endcases$$




This is what I have done so far. I have not studied differential equation much, and introducing the function $s$ below is just a trick that I learned, but I'm not sure why/if it works.



Let $s:=x'$. Then
$$fracd^2xdt^2=fracdsdt=fracdsdxfracdxdt=fracdsdxs$$
so the above equation becomes $$sfracdsdx=frac2xx^2-1$$
$$s,ds=frac2xx^2-1,dx$$$$int s,ds=intfrac2xx^2-1,dx+C$$
$$s^2=loglvert x^2-1rvert+C$$$$x'=omegasqrtloglvert x^2-1rvert+C,,omega:mathbb R_+mapsto-1,1$$
and with $x'(0)=0$, $x(0)=x_0$ we have
$$x'=omegasqrtlogbigglvertfracx^2-1x_0^2-1biggrvert$$
How can I continue to solve for $x(t)$? And am I justified in introducing $s$ and treat the notation like I did to obtain $x'$?







share|cite|improve this question






















  • Your steps are pretty fine. Just go on as if you are solving a first order differential equation. But maybe there are some integrals that can’t be done by hand.
    – Szeto
    Aug 15 at 11:01














up vote
3
down vote

favorite













I want to solve the differential equation$$begincasesx''=frac2xx^2-1\x'(0)=0\x(0)=x_0endcases$$




This is what I have done so far. I have not studied differential equation much, and introducing the function $s$ below is just a trick that I learned, but I'm not sure why/if it works.



Let $s:=x'$. Then
$$fracd^2xdt^2=fracdsdt=fracdsdxfracdxdt=fracdsdxs$$
so the above equation becomes $$sfracdsdx=frac2xx^2-1$$
$$s,ds=frac2xx^2-1,dx$$$$int s,ds=intfrac2xx^2-1,dx+C$$
$$s^2=loglvert x^2-1rvert+C$$$$x'=omegasqrtloglvert x^2-1rvert+C,,omega:mathbb R_+mapsto-1,1$$
and with $x'(0)=0$, $x(0)=x_0$ we have
$$x'=omegasqrtlogbigglvertfracx^2-1x_0^2-1biggrvert$$
How can I continue to solve for $x(t)$? And am I justified in introducing $s$ and treat the notation like I did to obtain $x'$?







share|cite|improve this question






















  • Your steps are pretty fine. Just go on as if you are solving a first order differential equation. But maybe there are some integrals that can’t be done by hand.
    – Szeto
    Aug 15 at 11:01












up vote
3
down vote

favorite









up vote
3
down vote

favorite












I want to solve the differential equation$$begincasesx''=frac2xx^2-1\x'(0)=0\x(0)=x_0endcases$$




This is what I have done so far. I have not studied differential equation much, and introducing the function $s$ below is just a trick that I learned, but I'm not sure why/if it works.



Let $s:=x'$. Then
$$fracd^2xdt^2=fracdsdt=fracdsdxfracdxdt=fracdsdxs$$
so the above equation becomes $$sfracdsdx=frac2xx^2-1$$
$$s,ds=frac2xx^2-1,dx$$$$int s,ds=intfrac2xx^2-1,dx+C$$
$$s^2=loglvert x^2-1rvert+C$$$$x'=omegasqrtloglvert x^2-1rvert+C,,omega:mathbb R_+mapsto-1,1$$
and with $x'(0)=0$, $x(0)=x_0$ we have
$$x'=omegasqrtlogbigglvertfracx^2-1x_0^2-1biggrvert$$
How can I continue to solve for $x(t)$? And am I justified in introducing $s$ and treat the notation like I did to obtain $x'$?







share|cite|improve this question















I want to solve the differential equation$$begincasesx''=frac2xx^2-1\x'(0)=0\x(0)=x_0endcases$$




This is what I have done so far. I have not studied differential equation much, and introducing the function $s$ below is just a trick that I learned, but I'm not sure why/if it works.



Let $s:=x'$. Then
$$fracd^2xdt^2=fracdsdt=fracdsdxfracdxdt=fracdsdxs$$
so the above equation becomes $$sfracdsdx=frac2xx^2-1$$
$$s,ds=frac2xx^2-1,dx$$$$int s,ds=intfrac2xx^2-1,dx+C$$
$$s^2=loglvert x^2-1rvert+C$$$$x'=omegasqrtloglvert x^2-1rvert+C,,omega:mathbb R_+mapsto-1,1$$
and with $x'(0)=0$, $x(0)=x_0$ we have
$$x'=omegasqrtlogbigglvertfracx^2-1x_0^2-1biggrvert$$
How can I continue to solve for $x(t)$? And am I justified in introducing $s$ and treat the notation like I did to obtain $x'$?









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 15 at 13:55

























asked Aug 15 at 10:26









Ludvig Lindström

8417




8417











  • Your steps are pretty fine. Just go on as if you are solving a first order differential equation. But maybe there are some integrals that can’t be done by hand.
    – Szeto
    Aug 15 at 11:01
















  • Your steps are pretty fine. Just go on as if you are solving a first order differential equation. But maybe there are some integrals that can’t be done by hand.
    – Szeto
    Aug 15 at 11:01















Your steps are pretty fine. Just go on as if you are solving a first order differential equation. But maybe there are some integrals that can’t be done by hand.
– Szeto
Aug 15 at 11:01




Your steps are pretty fine. Just go on as if you are solving a first order differential equation. But maybe there are some integrals that can’t be done by hand.
– Szeto
Aug 15 at 11:01










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Your calculus is correct.
$$fracdxdt=omegasqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
with $omega=pm 1$ .
$$t=pmint fracdxsqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
With condition $x(0)=x_0$ :
$$t=int_x_0^x fracdxisqrtlnbigglvertfracxi^2-1x_0^2-1biggrvert$$
One can show that the integral is convergent for $xito x_0$. That isn't the main trouble.



The integral cannot be expressed in terms of standard functions, a fortiori the inverse function $x(t)$ as well. Numerical calculus is required to fully solve the problem.






share|cite|improve this answer






















  • This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
    – Ludvig Lindström
    Aug 15 at 11:52






  • 1




    OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
    – JJacquelin
    Aug 15 at 13:48

















up vote
1
down vote













The procedure is correct. The last equation is separable, and its solution can be written as
$$
int_x_0^xfracdxsqrtlogBiglvertdfracx^2-1x_0^2-1Bigrvert=x_0+omega,t.
$$
However, the integral has no closed form in terms of elementary functions (or even special functions, as far as I can tell.)






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%2f2883448%2fdifferential-equation-x-frac2xx2-1%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Your calculus is correct.
    $$fracdxdt=omegasqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    with $omega=pm 1$ .
    $$t=pmint fracdxsqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    With condition $x(0)=x_0$ :
    $$t=int_x_0^x fracdxisqrtlnbigglvertfracxi^2-1x_0^2-1biggrvert$$
    One can show that the integral is convergent for $xito x_0$. That isn't the main trouble.



    The integral cannot be expressed in terms of standard functions, a fortiori the inverse function $x(t)$ as well. Numerical calculus is required to fully solve the problem.






    share|cite|improve this answer






















    • This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
      – Ludvig Lindström
      Aug 15 at 11:52






    • 1




      OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
      – JJacquelin
      Aug 15 at 13:48














    up vote
    1
    down vote



    accepted










    Your calculus is correct.
    $$fracdxdt=omegasqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    with $omega=pm 1$ .
    $$t=pmint fracdxsqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    With condition $x(0)=x_0$ :
    $$t=int_x_0^x fracdxisqrtlnbigglvertfracxi^2-1x_0^2-1biggrvert$$
    One can show that the integral is convergent for $xito x_0$. That isn't the main trouble.



    The integral cannot be expressed in terms of standard functions, a fortiori the inverse function $x(t)$ as well. Numerical calculus is required to fully solve the problem.






    share|cite|improve this answer






















    • This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
      – Ludvig Lindström
      Aug 15 at 11:52






    • 1




      OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
      – JJacquelin
      Aug 15 at 13:48












    up vote
    1
    down vote



    accepted







    up vote
    1
    down vote



    accepted






    Your calculus is correct.
    $$fracdxdt=omegasqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    with $omega=pm 1$ .
    $$t=pmint fracdxsqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    With condition $x(0)=x_0$ :
    $$t=int_x_0^x fracdxisqrtlnbigglvertfracxi^2-1x_0^2-1biggrvert$$
    One can show that the integral is convergent for $xito x_0$. That isn't the main trouble.



    The integral cannot be expressed in terms of standard functions, a fortiori the inverse function $x(t)$ as well. Numerical calculus is required to fully solve the problem.






    share|cite|improve this answer














    Your calculus is correct.
    $$fracdxdt=omegasqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    with $omega=pm 1$ .
    $$t=pmint fracdxsqrtlnbigglvertfracx^2-1x_0^2-1biggrvert$$
    With condition $x(0)=x_0$ :
    $$t=int_x_0^x fracdxisqrtlnbigglvertfracxi^2-1x_0^2-1biggrvert$$
    One can show that the integral is convergent for $xito x_0$. That isn't the main trouble.



    The integral cannot be expressed in terms of standard functions, a fortiori the inverse function $x(t)$ as well. Numerical calculus is required to fully solve the problem.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Aug 15 at 13:47

























    answered Aug 15 at 11:29









    JJacquelin

    40.6k21650




    40.6k21650











    • This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
      – Ludvig Lindström
      Aug 15 at 11:52






    • 1




      OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
      – JJacquelin
      Aug 15 at 13:48
















    • This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
      – Ludvig Lindström
      Aug 15 at 11:52






    • 1




      OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
      – JJacquelin
      Aug 15 at 13:48















    This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
    – Ludvig Lindström
    Aug 15 at 11:52




    This problems is just from a thought experminent in physics involving two chambers separated by a moveable wall that is pushed by the gas pressure in the two chambers. Thinking about the problem now I realize $omega=$sgn$(x')$ must some how be dependent of $t$, but I don't know how...
    – Ludvig Lindström
    Aug 15 at 11:52




    1




    1




    OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
    – JJacquelin
    Aug 15 at 13:48




    OK. I realize that $omega=pm 1$. So, some details have been corrected in my answer. This doesn't change the conclusion about the non-elementary form of analytic solution.
    – JJacquelin
    Aug 15 at 13:48










    up vote
    1
    down vote













    The procedure is correct. The last equation is separable, and its solution can be written as
    $$
    int_x_0^xfracdxsqrtlogBiglvertdfracx^2-1x_0^2-1Bigrvert=x_0+omega,t.
    $$
    However, the integral has no closed form in terms of elementary functions (or even special functions, as far as I can tell.)






    share|cite|improve this answer


























      up vote
      1
      down vote













      The procedure is correct. The last equation is separable, and its solution can be written as
      $$
      int_x_0^xfracdxsqrtlogBiglvertdfracx^2-1x_0^2-1Bigrvert=x_0+omega,t.
      $$
      However, the integral has no closed form in terms of elementary functions (or even special functions, as far as I can tell.)






      share|cite|improve this answer
























        up vote
        1
        down vote










        up vote
        1
        down vote









        The procedure is correct. The last equation is separable, and its solution can be written as
        $$
        int_x_0^xfracdxsqrtlogBiglvertdfracx^2-1x_0^2-1Bigrvert=x_0+omega,t.
        $$
        However, the integral has no closed form in terms of elementary functions (or even special functions, as far as I can tell.)






        share|cite|improve this answer














        The procedure is correct. The last equation is separable, and its solution can be written as
        $$
        int_x_0^xfracdxsqrtlogBiglvertdfracx^2-1x_0^2-1Bigrvert=x_0+omega,t.
        $$
        However, the integral has no closed form in terms of elementary functions (or even special functions, as far as I can tell.)







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Aug 15 at 15:29

























        answered Aug 15 at 11:05









        Julián Aguirre

        65.1k23894




        65.1k23894






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2883448%2fdifferential-equation-x-frac2xx2-1%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Propositional logic and tautologies

            Distribution of Stopped Wiener Process with Stochastic Volatility