Is there any possible way to solve $mddot{x} + kx +mu mg =0$?












-1












$begingroup$


Is there any possible way to solve this .Here $dot x = dx/dt$ t is time here, Ive tried many online calculators . My own known methods don't seem ti work (like e^{rt} method; cf pi method; wronskian method nothing seems to work. $mddot{x} + kx +mu mg =0$ and yeah x is the only variable here. $dot x = v$ when t=0 x= 0.










share|cite|improve this question









$endgroup$












  • $begingroup$
    $m$,$k$,$mu$,$g$ depend on $t$ or are constant? Check this, math24.net/…
    $endgroup$
    – Hans
    Nov 29 '18 at 14:01










  • $begingroup$
    @Hans x is the only variable means anything else in the equation is constant. Should I specify that in the question?
    $endgroup$
    – user187604
    Nov 29 '18 at 14:03






  • 3




    $begingroup$
    This is a driven harmonic oscillator with constant driving force $F(t) = -mu mg$. The general solution is the solutions to the homogenous equation $mddot{x} + kx = 0$ plus the particular solution $x_p = -mu m g /k$
    $endgroup$
    – Winther
    Nov 29 '18 at 14:03












  • $begingroup$
    @Winther the only problem is $mu mg $ does not depend on t. If it had x in it then ill probably be able to solve it.
    $endgroup$
    – user187604
    Nov 29 '18 at 14:05






  • 1




    $begingroup$
    It's not really to solve $mddot{x} = mu mg$. The usual way of finding a particular solution is to try an ansatz on the same form as your driving force (with some free parameters to fit). If it's a constant try a constant. If it's an exponential try an exponential, etc. If you plug in $x(t) = C$ then the ODE gives you $kC + mu mg = 0$ which has a solution. If this didn't work then you had to modify your guess and try again.
    $endgroup$
    – Winther
    Nov 29 '18 at 14:13


















-1












$begingroup$


Is there any possible way to solve this .Here $dot x = dx/dt$ t is time here, Ive tried many online calculators . My own known methods don't seem ti work (like e^{rt} method; cf pi method; wronskian method nothing seems to work. $mddot{x} + kx +mu mg =0$ and yeah x is the only variable here. $dot x = v$ when t=0 x= 0.










share|cite|improve this question









$endgroup$












  • $begingroup$
    $m$,$k$,$mu$,$g$ depend on $t$ or are constant? Check this, math24.net/…
    $endgroup$
    – Hans
    Nov 29 '18 at 14:01










  • $begingroup$
    @Hans x is the only variable means anything else in the equation is constant. Should I specify that in the question?
    $endgroup$
    – user187604
    Nov 29 '18 at 14:03






  • 3




    $begingroup$
    This is a driven harmonic oscillator with constant driving force $F(t) = -mu mg$. The general solution is the solutions to the homogenous equation $mddot{x} + kx = 0$ plus the particular solution $x_p = -mu m g /k$
    $endgroup$
    – Winther
    Nov 29 '18 at 14:03












  • $begingroup$
    @Winther the only problem is $mu mg $ does not depend on t. If it had x in it then ill probably be able to solve it.
    $endgroup$
    – user187604
    Nov 29 '18 at 14:05






  • 1




    $begingroup$
    It's not really to solve $mddot{x} = mu mg$. The usual way of finding a particular solution is to try an ansatz on the same form as your driving force (with some free parameters to fit). If it's a constant try a constant. If it's an exponential try an exponential, etc. If you plug in $x(t) = C$ then the ODE gives you $kC + mu mg = 0$ which has a solution. If this didn't work then you had to modify your guess and try again.
    $endgroup$
    – Winther
    Nov 29 '18 at 14:13
















-1












-1








-1





$begingroup$


Is there any possible way to solve this .Here $dot x = dx/dt$ t is time here, Ive tried many online calculators . My own known methods don't seem ti work (like e^{rt} method; cf pi method; wronskian method nothing seems to work. $mddot{x} + kx +mu mg =0$ and yeah x is the only variable here. $dot x = v$ when t=0 x= 0.










share|cite|improve this question









$endgroup$




Is there any possible way to solve this .Here $dot x = dx/dt$ t is time here, Ive tried many online calculators . My own known methods don't seem ti work (like e^{rt} method; cf pi method; wronskian method nothing seems to work. $mddot{x} + kx +mu mg =0$ and yeah x is the only variable here. $dot x = v$ when t=0 x= 0.







ordinary-differential-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 29 '18 at 13:53









user187604user187604

28511




28511












  • $begingroup$
    $m$,$k$,$mu$,$g$ depend on $t$ or are constant? Check this, math24.net/…
    $endgroup$
    – Hans
    Nov 29 '18 at 14:01










  • $begingroup$
    @Hans x is the only variable means anything else in the equation is constant. Should I specify that in the question?
    $endgroup$
    – user187604
    Nov 29 '18 at 14:03






  • 3




    $begingroup$
    This is a driven harmonic oscillator with constant driving force $F(t) = -mu mg$. The general solution is the solutions to the homogenous equation $mddot{x} + kx = 0$ plus the particular solution $x_p = -mu m g /k$
    $endgroup$
    – Winther
    Nov 29 '18 at 14:03












  • $begingroup$
    @Winther the only problem is $mu mg $ does not depend on t. If it had x in it then ill probably be able to solve it.
    $endgroup$
    – user187604
    Nov 29 '18 at 14:05






  • 1




    $begingroup$
    It's not really to solve $mddot{x} = mu mg$. The usual way of finding a particular solution is to try an ansatz on the same form as your driving force (with some free parameters to fit). If it's a constant try a constant. If it's an exponential try an exponential, etc. If you plug in $x(t) = C$ then the ODE gives you $kC + mu mg = 0$ which has a solution. If this didn't work then you had to modify your guess and try again.
    $endgroup$
    – Winther
    Nov 29 '18 at 14:13




















  • $begingroup$
    $m$,$k$,$mu$,$g$ depend on $t$ or are constant? Check this, math24.net/…
    $endgroup$
    – Hans
    Nov 29 '18 at 14:01










  • $begingroup$
    @Hans x is the only variable means anything else in the equation is constant. Should I specify that in the question?
    $endgroup$
    – user187604
    Nov 29 '18 at 14:03






  • 3




    $begingroup$
    This is a driven harmonic oscillator with constant driving force $F(t) = -mu mg$. The general solution is the solutions to the homogenous equation $mddot{x} + kx = 0$ plus the particular solution $x_p = -mu m g /k$
    $endgroup$
    – Winther
    Nov 29 '18 at 14:03












  • $begingroup$
    @Winther the only problem is $mu mg $ does not depend on t. If it had x in it then ill probably be able to solve it.
    $endgroup$
    – user187604
    Nov 29 '18 at 14:05






  • 1




    $begingroup$
    It's not really to solve $mddot{x} = mu mg$. The usual way of finding a particular solution is to try an ansatz on the same form as your driving force (with some free parameters to fit). If it's a constant try a constant. If it's an exponential try an exponential, etc. If you plug in $x(t) = C$ then the ODE gives you $kC + mu mg = 0$ which has a solution. If this didn't work then you had to modify your guess and try again.
    $endgroup$
    – Winther
    Nov 29 '18 at 14:13


















$begingroup$
$m$,$k$,$mu$,$g$ depend on $t$ or are constant? Check this, math24.net/…
$endgroup$
– Hans
Nov 29 '18 at 14:01




$begingroup$
$m$,$k$,$mu$,$g$ depend on $t$ or are constant? Check this, math24.net/…
$endgroup$
– Hans
Nov 29 '18 at 14:01












$begingroup$
@Hans x is the only variable means anything else in the equation is constant. Should I specify that in the question?
$endgroup$
– user187604
Nov 29 '18 at 14:03




$begingroup$
@Hans x is the only variable means anything else in the equation is constant. Should I specify that in the question?
$endgroup$
– user187604
Nov 29 '18 at 14:03




3




3




$begingroup$
This is a driven harmonic oscillator with constant driving force $F(t) = -mu mg$. The general solution is the solutions to the homogenous equation $mddot{x} + kx = 0$ plus the particular solution $x_p = -mu m g /k$
$endgroup$
– Winther
Nov 29 '18 at 14:03






$begingroup$
This is a driven harmonic oscillator with constant driving force $F(t) = -mu mg$. The general solution is the solutions to the homogenous equation $mddot{x} + kx = 0$ plus the particular solution $x_p = -mu m g /k$
$endgroup$
– Winther
Nov 29 '18 at 14:03














$begingroup$
@Winther the only problem is $mu mg $ does not depend on t. If it had x in it then ill probably be able to solve it.
$endgroup$
– user187604
Nov 29 '18 at 14:05




$begingroup$
@Winther the only problem is $mu mg $ does not depend on t. If it had x in it then ill probably be able to solve it.
$endgroup$
– user187604
Nov 29 '18 at 14:05




1




1




$begingroup$
It's not really to solve $mddot{x} = mu mg$. The usual way of finding a particular solution is to try an ansatz on the same form as your driving force (with some free parameters to fit). If it's a constant try a constant. If it's an exponential try an exponential, etc. If you plug in $x(t) = C$ then the ODE gives you $kC + mu mg = 0$ which has a solution. If this didn't work then you had to modify your guess and try again.
$endgroup$
– Winther
Nov 29 '18 at 14:13






$begingroup$
It's not really to solve $mddot{x} = mu mg$. The usual way of finding a particular solution is to try an ansatz on the same form as your driving force (with some free parameters to fit). If it's a constant try a constant. If it's an exponential try an exponential, etc. If you plug in $x(t) = C$ then the ODE gives you $kC + mu mg = 0$ which has a solution. If this didn't work then you had to modify your guess and try again.
$endgroup$
– Winther
Nov 29 '18 at 14:13












2 Answers
2






active

oldest

votes


















3












$begingroup$

Solve first $$mddot{x} + kx=0$$Let's call the solution for this $x_h(t)$. Then just add a constant $C$ to it. Plug it into the original equation. The derivative of a constant is null. $$mddot{x}_h + kx_h+kC+mu mg=0$$
The sum of the first two terms is zero, so $$C=-frac{mu m g}k$$
The final answer is $$x(t)=Asinomega t+Bcosomega t-frac{mu m g}k$$with $omega^2=k/m$






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    With bare hands:



    $$ddot{x} + frac kmx +mu g =0,$$



    $$dot xddot{x} + frac kmxdot x +mu g dot x=0,$$
    $$dot x^2 + frac kmx^2 +2mu g x=c,$$



    $$frac{dot x}{sqrt{c-2mu gx-dfrac kmx^2}}=0.$$



    Now by a linear transformation applied to $x$, you can reduce to a form



    $$frac{dot z}{sqrt{1-z^2}}=0$$ or $$arcsin z=+d$$ or $$ax+b=sin(d)$$ where $a,b$ are known.






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      @user187604: multiplied.
      $endgroup$
      – Yves Daoust
      Nov 29 '18 at 14:43












    • $begingroup$
      @user187604: how is what possible ?
      $endgroup$
      – Yves Daoust
      Nov 29 '18 at 14:48










    • $begingroup$
      @user187604: can you pinpoint anything wrong in this development ?
      $endgroup$
      – Yves Daoust
      Nov 29 '18 at 14:49










    • $begingroup$
      @user187604: notice that my answer is the same as the one you accepted.
      $endgroup$
      – Yves Daoust
      Nov 29 '18 at 15:10












    • $begingroup$
      @user187604: integration.
      $endgroup$
      – Yves Daoust
      Nov 29 '18 at 15:19











    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%2f3018648%2fis-there-any-possible-way-to-solve-m-ddotx-kx-mu-mg-0%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









    3












    $begingroup$

    Solve first $$mddot{x} + kx=0$$Let's call the solution for this $x_h(t)$. Then just add a constant $C$ to it. Plug it into the original equation. The derivative of a constant is null. $$mddot{x}_h + kx_h+kC+mu mg=0$$
    The sum of the first two terms is zero, so $$C=-frac{mu m g}k$$
    The final answer is $$x(t)=Asinomega t+Bcosomega t-frac{mu m g}k$$with $omega^2=k/m$






    share|cite|improve this answer









    $endgroup$


















      3












      $begingroup$

      Solve first $$mddot{x} + kx=0$$Let's call the solution for this $x_h(t)$. Then just add a constant $C$ to it. Plug it into the original equation. The derivative of a constant is null. $$mddot{x}_h + kx_h+kC+mu mg=0$$
      The sum of the first two terms is zero, so $$C=-frac{mu m g}k$$
      The final answer is $$x(t)=Asinomega t+Bcosomega t-frac{mu m g}k$$with $omega^2=k/m$






      share|cite|improve this answer









      $endgroup$
















        3












        3








        3





        $begingroup$

        Solve first $$mddot{x} + kx=0$$Let's call the solution for this $x_h(t)$. Then just add a constant $C$ to it. Plug it into the original equation. The derivative of a constant is null. $$mddot{x}_h + kx_h+kC+mu mg=0$$
        The sum of the first two terms is zero, so $$C=-frac{mu m g}k$$
        The final answer is $$x(t)=Asinomega t+Bcosomega t-frac{mu m g}k$$with $omega^2=k/m$






        share|cite|improve this answer









        $endgroup$



        Solve first $$mddot{x} + kx=0$$Let's call the solution for this $x_h(t)$. Then just add a constant $C$ to it. Plug it into the original equation. The derivative of a constant is null. $$mddot{x}_h + kx_h+kC+mu mg=0$$
        The sum of the first two terms is zero, so $$C=-frac{mu m g}k$$
        The final answer is $$x(t)=Asinomega t+Bcosomega t-frac{mu m g}k$$with $omega^2=k/m$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 29 '18 at 14:10









        AndreiAndrei

        11.9k21126




        11.9k21126























            0












            $begingroup$

            With bare hands:



            $$ddot{x} + frac kmx +mu g =0,$$



            $$dot xddot{x} + frac kmxdot x +mu g dot x=0,$$
            $$dot x^2 + frac kmx^2 +2mu g x=c,$$



            $$frac{dot x}{sqrt{c-2mu gx-dfrac kmx^2}}=0.$$



            Now by a linear transformation applied to $x$, you can reduce to a form



            $$frac{dot z}{sqrt{1-z^2}}=0$$ or $$arcsin z=+d$$ or $$ax+b=sin(d)$$ where $a,b$ are known.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              @user187604: multiplied.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:43












            • $begingroup$
              @user187604: how is what possible ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:48










            • $begingroup$
              @user187604: can you pinpoint anything wrong in this development ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:49










            • $begingroup$
              @user187604: notice that my answer is the same as the one you accepted.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:10












            • $begingroup$
              @user187604: integration.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:19
















            0












            $begingroup$

            With bare hands:



            $$ddot{x} + frac kmx +mu g =0,$$



            $$dot xddot{x} + frac kmxdot x +mu g dot x=0,$$
            $$dot x^2 + frac kmx^2 +2mu g x=c,$$



            $$frac{dot x}{sqrt{c-2mu gx-dfrac kmx^2}}=0.$$



            Now by a linear transformation applied to $x$, you can reduce to a form



            $$frac{dot z}{sqrt{1-z^2}}=0$$ or $$arcsin z=+d$$ or $$ax+b=sin(d)$$ where $a,b$ are known.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              @user187604: multiplied.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:43












            • $begingroup$
              @user187604: how is what possible ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:48










            • $begingroup$
              @user187604: can you pinpoint anything wrong in this development ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:49










            • $begingroup$
              @user187604: notice that my answer is the same as the one you accepted.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:10












            • $begingroup$
              @user187604: integration.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:19














            0












            0








            0





            $begingroup$

            With bare hands:



            $$ddot{x} + frac kmx +mu g =0,$$



            $$dot xddot{x} + frac kmxdot x +mu g dot x=0,$$
            $$dot x^2 + frac kmx^2 +2mu g x=c,$$



            $$frac{dot x}{sqrt{c-2mu gx-dfrac kmx^2}}=0.$$



            Now by a linear transformation applied to $x$, you can reduce to a form



            $$frac{dot z}{sqrt{1-z^2}}=0$$ or $$arcsin z=+d$$ or $$ax+b=sin(d)$$ where $a,b$ are known.






            share|cite|improve this answer











            $endgroup$



            With bare hands:



            $$ddot{x} + frac kmx +mu g =0,$$



            $$dot xddot{x} + frac kmxdot x +mu g dot x=0,$$
            $$dot x^2 + frac kmx^2 +2mu g x=c,$$



            $$frac{dot x}{sqrt{c-2mu gx-dfrac kmx^2}}=0.$$



            Now by a linear transformation applied to $x$, you can reduce to a form



            $$frac{dot z}{sqrt{1-z^2}}=0$$ or $$arcsin z=+d$$ or $$ax+b=sin(d)$$ where $a,b$ are known.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Nov 29 '18 at 16:33









            user187604

            28511




            28511










            answered Nov 29 '18 at 14:34









            Yves DaoustYves Daoust

            127k673226




            127k673226












            • $begingroup$
              @user187604: multiplied.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:43












            • $begingroup$
              @user187604: how is what possible ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:48










            • $begingroup$
              @user187604: can you pinpoint anything wrong in this development ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:49










            • $begingroup$
              @user187604: notice that my answer is the same as the one you accepted.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:10












            • $begingroup$
              @user187604: integration.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:19


















            • $begingroup$
              @user187604: multiplied.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:43












            • $begingroup$
              @user187604: how is what possible ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:48










            • $begingroup$
              @user187604: can you pinpoint anything wrong in this development ?
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 14:49










            • $begingroup$
              @user187604: notice that my answer is the same as the one you accepted.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:10












            • $begingroup$
              @user187604: integration.
              $endgroup$
              – Yves Daoust
              Nov 29 '18 at 15:19
















            $begingroup$
            @user187604: multiplied.
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 14:43






            $begingroup$
            @user187604: multiplied.
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 14:43














            $begingroup$
            @user187604: how is what possible ?
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 14:48




            $begingroup$
            @user187604: how is what possible ?
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 14:48












            $begingroup$
            @user187604: can you pinpoint anything wrong in this development ?
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 14:49




            $begingroup$
            @user187604: can you pinpoint anything wrong in this development ?
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 14:49












            $begingroup$
            @user187604: notice that my answer is the same as the one you accepted.
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 15:10






            $begingroup$
            @user187604: notice that my answer is the same as the one you accepted.
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 15:10














            $begingroup$
            @user187604: integration.
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 15:19




            $begingroup$
            @user187604: integration.
            $endgroup$
            – Yves Daoust
            Nov 29 '18 at 15:19


















            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3018648%2fis-there-any-possible-way-to-solve-m-ddotx-kx-mu-mg-0%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?