Forced harmonic oscillator differential equation solution












0












$begingroup$


I have this differential equation :



$ddot{x} + omega_0^2x = F_0cos(omega t + Delta)$ with $omega_0^2 = k/m enspace .$



I take the complex equation



$ ddot{z} + omega_0^2 z = F_0e^{i(omega t + Delta)} enspace ,$



assuming an exponential solution : $alpha e^{ut + v}$



I find :



$z_p = alpha e^{ut + v} Leftrightarrow alpha u^2 e^{ut + v} + omega_0^2 alpha e^{ut + v} = F_0 e^{i(omega t + Delta)} $



$Leftrightarrow alpha e^{ut + v} = frac{F_0}{u^2 + omega_0^2} e^{i (omega t + Delta)}$



So $ z_p = frac{F_0}{omega_0^2 - omega^2}[cos(omega t + Delta) + i sin(omega t + Delta)]$



and I end up with :



$x_p = Re[z_p] = frac{F_0}{omega_0^2 - omega^2}cos(omega t + Delta) $



But the book states that a particular solution is :



$ x_p(t) = frac{F_0/m}{omega_0^2 - omega^2}cos(omega t + Delta) $



So where did the "m" come from ? Where did I go wrong ?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    For me there is no $m$ in there, not even the units are consistent.
    $endgroup$
    – nicoguaro
    Sep 27 '14 at 16:50








  • 1




    $begingroup$
    Your starting equation should be $$ddot{x} + omega_0^2x = color{red}{frac{F_0}{m}}cos(omega t + Delta)$$ You have get rid of the mass $m$ in LHS, you need to do that to the RHS too.
    $endgroup$
    – achille hui
    Sep 27 '14 at 17:05


















0












$begingroup$


I have this differential equation :



$ddot{x} + omega_0^2x = F_0cos(omega t + Delta)$ with $omega_0^2 = k/m enspace .$



I take the complex equation



$ ddot{z} + omega_0^2 z = F_0e^{i(omega t + Delta)} enspace ,$



assuming an exponential solution : $alpha e^{ut + v}$



I find :



$z_p = alpha e^{ut + v} Leftrightarrow alpha u^2 e^{ut + v} + omega_0^2 alpha e^{ut + v} = F_0 e^{i(omega t + Delta)} $



$Leftrightarrow alpha e^{ut + v} = frac{F_0}{u^2 + omega_0^2} e^{i (omega t + Delta)}$



So $ z_p = frac{F_0}{omega_0^2 - omega^2}[cos(omega t + Delta) + i sin(omega t + Delta)]$



and I end up with :



$x_p = Re[z_p] = frac{F_0}{omega_0^2 - omega^2}cos(omega t + Delta) $



But the book states that a particular solution is :



$ x_p(t) = frac{F_0/m}{omega_0^2 - omega^2}cos(omega t + Delta) $



So where did the "m" come from ? Where did I go wrong ?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    For me there is no $m$ in there, not even the units are consistent.
    $endgroup$
    – nicoguaro
    Sep 27 '14 at 16:50








  • 1




    $begingroup$
    Your starting equation should be $$ddot{x} + omega_0^2x = color{red}{frac{F_0}{m}}cos(omega t + Delta)$$ You have get rid of the mass $m$ in LHS, you need to do that to the RHS too.
    $endgroup$
    – achille hui
    Sep 27 '14 at 17:05
















0












0








0





$begingroup$


I have this differential equation :



$ddot{x} + omega_0^2x = F_0cos(omega t + Delta)$ with $omega_0^2 = k/m enspace .$



I take the complex equation



$ ddot{z} + omega_0^2 z = F_0e^{i(omega t + Delta)} enspace ,$



assuming an exponential solution : $alpha e^{ut + v}$



I find :



$z_p = alpha e^{ut + v} Leftrightarrow alpha u^2 e^{ut + v} + omega_0^2 alpha e^{ut + v} = F_0 e^{i(omega t + Delta)} $



$Leftrightarrow alpha e^{ut + v} = frac{F_0}{u^2 + omega_0^2} e^{i (omega t + Delta)}$



So $ z_p = frac{F_0}{omega_0^2 - omega^2}[cos(omega t + Delta) + i sin(omega t + Delta)]$



and I end up with :



$x_p = Re[z_p] = frac{F_0}{omega_0^2 - omega^2}cos(omega t + Delta) $



But the book states that a particular solution is :



$ x_p(t) = frac{F_0/m}{omega_0^2 - omega^2}cos(omega t + Delta) $



So where did the "m" come from ? Where did I go wrong ?










share|cite|improve this question











$endgroup$




I have this differential equation :



$ddot{x} + omega_0^2x = F_0cos(omega t + Delta)$ with $omega_0^2 = k/m enspace .$



I take the complex equation



$ ddot{z} + omega_0^2 z = F_0e^{i(omega t + Delta)} enspace ,$



assuming an exponential solution : $alpha e^{ut + v}$



I find :



$z_p = alpha e^{ut + v} Leftrightarrow alpha u^2 e^{ut + v} + omega_0^2 alpha e^{ut + v} = F_0 e^{i(omega t + Delta)} $



$Leftrightarrow alpha e^{ut + v} = frac{F_0}{u^2 + omega_0^2} e^{i (omega t + Delta)}$



So $ z_p = frac{F_0}{omega_0^2 - omega^2}[cos(omega t + Delta) + i sin(omega t + Delta)]$



and I end up with :



$x_p = Re[z_p] = frac{F_0}{omega_0^2 - omega^2}cos(omega t + Delta) $



But the book states that a particular solution is :



$ x_p(t) = frac{F_0/m}{omega_0^2 - omega^2}cos(omega t + Delta) $



So where did the "m" come from ? Where did I go wrong ?







ordinary-differential-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Sep 27 '14 at 16:40









nicoguaro

1237




1237










asked Sep 27 '14 at 16:29









user1234161user1234161

290312




290312








  • 1




    $begingroup$
    For me there is no $m$ in there, not even the units are consistent.
    $endgroup$
    – nicoguaro
    Sep 27 '14 at 16:50








  • 1




    $begingroup$
    Your starting equation should be $$ddot{x} + omega_0^2x = color{red}{frac{F_0}{m}}cos(omega t + Delta)$$ You have get rid of the mass $m$ in LHS, you need to do that to the RHS too.
    $endgroup$
    – achille hui
    Sep 27 '14 at 17:05
















  • 1




    $begingroup$
    For me there is no $m$ in there, not even the units are consistent.
    $endgroup$
    – nicoguaro
    Sep 27 '14 at 16:50








  • 1




    $begingroup$
    Your starting equation should be $$ddot{x} + omega_0^2x = color{red}{frac{F_0}{m}}cos(omega t + Delta)$$ You have get rid of the mass $m$ in LHS, you need to do that to the RHS too.
    $endgroup$
    – achille hui
    Sep 27 '14 at 17:05










1




1




$begingroup$
For me there is no $m$ in there, not even the units are consistent.
$endgroup$
– nicoguaro
Sep 27 '14 at 16:50






$begingroup$
For me there is no $m$ in there, not even the units are consistent.
$endgroup$
– nicoguaro
Sep 27 '14 at 16:50






1




1




$begingroup$
Your starting equation should be $$ddot{x} + omega_0^2x = color{red}{frac{F_0}{m}}cos(omega t + Delta)$$ You have get rid of the mass $m$ in LHS, you need to do that to the RHS too.
$endgroup$
– achille hui
Sep 27 '14 at 17:05






$begingroup$
Your starting equation should be $$ddot{x} + omega_0^2x = color{red}{frac{F_0}{m}}cos(omega t + Delta)$$ You have get rid of the mass $m$ in LHS, you need to do that to the RHS too.
$endgroup$
– achille hui
Sep 27 '14 at 17:05












1 Answer
1






active

oldest

votes


















0












$begingroup$

The general one degree-of-freedom motion equation for the mass-spring system has the form



$mddot{x}+kx=F(t)$



Dividing this equation by $m$, we get



$ddot{x}+omega_n^2x=F(t)/m=f(t)$



where $omega_n^2=frac{k}{m}$



For harmonic excitation, $F(t)=F_0cos(omega t+Delta)$. In standard form, then



$ddot{x}+omega_n^2x=f_0cos(omega t+Delta)$



The particular answer to this differential equation is



$x_p(t) = frac{f_0}{omega_n^2-omega^2}cos(omega t+Delta)$



So it all depends on how you write your force function. Either your equation should be



$ddot{x}+omega_n^2x=frac{F_0}{m}cos(omega t+Delta)$



to get the same answer you are looking for, or, for the exact equation you typed, then your answer is absolutely correct.



This "divide or not by m" thing always confuses the students. You should pay attention to how you derive the equation of motion and its response in standard form (with the $omega_n$ parameter) or general form (with the $m$ and $k$ parameters).






share|cite|improve this answer









$endgroup$














    Your Answer








    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%2f948328%2fforced-harmonic-oscillator-differential-equation-solution%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









    0












    $begingroup$

    The general one degree-of-freedom motion equation for the mass-spring system has the form



    $mddot{x}+kx=F(t)$



    Dividing this equation by $m$, we get



    $ddot{x}+omega_n^2x=F(t)/m=f(t)$



    where $omega_n^2=frac{k}{m}$



    For harmonic excitation, $F(t)=F_0cos(omega t+Delta)$. In standard form, then



    $ddot{x}+omega_n^2x=f_0cos(omega t+Delta)$



    The particular answer to this differential equation is



    $x_p(t) = frac{f_0}{omega_n^2-omega^2}cos(omega t+Delta)$



    So it all depends on how you write your force function. Either your equation should be



    $ddot{x}+omega_n^2x=frac{F_0}{m}cos(omega t+Delta)$



    to get the same answer you are looking for, or, for the exact equation you typed, then your answer is absolutely correct.



    This "divide or not by m" thing always confuses the students. You should pay attention to how you derive the equation of motion and its response in standard form (with the $omega_n$ parameter) or general form (with the $m$ and $k$ parameters).






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      The general one degree-of-freedom motion equation for the mass-spring system has the form



      $mddot{x}+kx=F(t)$



      Dividing this equation by $m$, we get



      $ddot{x}+omega_n^2x=F(t)/m=f(t)$



      where $omega_n^2=frac{k}{m}$



      For harmonic excitation, $F(t)=F_0cos(omega t+Delta)$. In standard form, then



      $ddot{x}+omega_n^2x=f_0cos(omega t+Delta)$



      The particular answer to this differential equation is



      $x_p(t) = frac{f_0}{omega_n^2-omega^2}cos(omega t+Delta)$



      So it all depends on how you write your force function. Either your equation should be



      $ddot{x}+omega_n^2x=frac{F_0}{m}cos(omega t+Delta)$



      to get the same answer you are looking for, or, for the exact equation you typed, then your answer is absolutely correct.



      This "divide or not by m" thing always confuses the students. You should pay attention to how you derive the equation of motion and its response in standard form (with the $omega_n$ parameter) or general form (with the $m$ and $k$ parameters).






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        The general one degree-of-freedom motion equation for the mass-spring system has the form



        $mddot{x}+kx=F(t)$



        Dividing this equation by $m$, we get



        $ddot{x}+omega_n^2x=F(t)/m=f(t)$



        where $omega_n^2=frac{k}{m}$



        For harmonic excitation, $F(t)=F_0cos(omega t+Delta)$. In standard form, then



        $ddot{x}+omega_n^2x=f_0cos(omega t+Delta)$



        The particular answer to this differential equation is



        $x_p(t) = frac{f_0}{omega_n^2-omega^2}cos(omega t+Delta)$



        So it all depends on how you write your force function. Either your equation should be



        $ddot{x}+omega_n^2x=frac{F_0}{m}cos(omega t+Delta)$



        to get the same answer you are looking for, or, for the exact equation you typed, then your answer is absolutely correct.



        This "divide or not by m" thing always confuses the students. You should pay attention to how you derive the equation of motion and its response in standard form (with the $omega_n$ parameter) or general form (with the $m$ and $k$ parameters).






        share|cite|improve this answer









        $endgroup$



        The general one degree-of-freedom motion equation for the mass-spring system has the form



        $mddot{x}+kx=F(t)$



        Dividing this equation by $m$, we get



        $ddot{x}+omega_n^2x=F(t)/m=f(t)$



        where $omega_n^2=frac{k}{m}$



        For harmonic excitation, $F(t)=F_0cos(omega t+Delta)$. In standard form, then



        $ddot{x}+omega_n^2x=f_0cos(omega t+Delta)$



        The particular answer to this differential equation is



        $x_p(t) = frac{f_0}{omega_n^2-omega^2}cos(omega t+Delta)$



        So it all depends on how you write your force function. Either your equation should be



        $ddot{x}+omega_n^2x=frac{F_0}{m}cos(omega t+Delta)$



        to get the same answer you are looking for, or, for the exact equation you typed, then your answer is absolutely correct.



        This "divide or not by m" thing always confuses the students. You should pay attention to how you derive the equation of motion and its response in standard form (with the $omega_n$ parameter) or general form (with the $m$ and $k$ parameters).







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Oct 19 '18 at 19:13









        ThalesThales

        214111




        214111






























            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%2f948328%2fforced-harmonic-oscillator-differential-equation-solution%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

            Le Mesnil-Réaume

            Ida-Boy-Ed-Garten

            web3.py web3.isConnected() returns false always