Non bounded ODE solution












1












$begingroup$


Find the value of $w ge0$ so that the ODE below doesn't have a bounded solution



$$y''+y=cos(wt)$$



My attempt:



The solution should be in the form



$y(t)=Asin(wt)+Bcos(wt)$



$y'(t)=Awcos(wt)-Bwsin(wt)$



$y''(t)=-Aw^2sin(wt)-Bw^2cos(wt)$



So $(1): -Aw^2sin(wt)-Bw^2cos(wt)+Asin(wt)+Bcos(wt)=cos(wt)$



$Asin(wt)(1-w^2)+Bcos(wt)(1-w^2)=cos(wt)$ $Rightarrow A=0$ and $B=frac{1}{1-w^2}$



Thus $y(t)=frac{1}{1-w^2}cos(wt)$



Since $cosx$ is bounded for every $xin mathbb{R}$ does that mean that $w=1$ so that the solution is not bounded? Does not bounded means not defined in this case? Or am I very wrong?










share|cite|improve this question









$endgroup$

















    1












    $begingroup$


    Find the value of $w ge0$ so that the ODE below doesn't have a bounded solution



    $$y''+y=cos(wt)$$



    My attempt:



    The solution should be in the form



    $y(t)=Asin(wt)+Bcos(wt)$



    $y'(t)=Awcos(wt)-Bwsin(wt)$



    $y''(t)=-Aw^2sin(wt)-Bw^2cos(wt)$



    So $(1): -Aw^2sin(wt)-Bw^2cos(wt)+Asin(wt)+Bcos(wt)=cos(wt)$



    $Asin(wt)(1-w^2)+Bcos(wt)(1-w^2)=cos(wt)$ $Rightarrow A=0$ and $B=frac{1}{1-w^2}$



    Thus $y(t)=frac{1}{1-w^2}cos(wt)$



    Since $cosx$ is bounded for every $xin mathbb{R}$ does that mean that $w=1$ so that the solution is not bounded? Does not bounded means not defined in this case? Or am I very wrong?










    share|cite|improve this question









    $endgroup$















      1












      1








      1





      $begingroup$


      Find the value of $w ge0$ so that the ODE below doesn't have a bounded solution



      $$y''+y=cos(wt)$$



      My attempt:



      The solution should be in the form



      $y(t)=Asin(wt)+Bcos(wt)$



      $y'(t)=Awcos(wt)-Bwsin(wt)$



      $y''(t)=-Aw^2sin(wt)-Bw^2cos(wt)$



      So $(1): -Aw^2sin(wt)-Bw^2cos(wt)+Asin(wt)+Bcos(wt)=cos(wt)$



      $Asin(wt)(1-w^2)+Bcos(wt)(1-w^2)=cos(wt)$ $Rightarrow A=0$ and $B=frac{1}{1-w^2}$



      Thus $y(t)=frac{1}{1-w^2}cos(wt)$



      Since $cosx$ is bounded for every $xin mathbb{R}$ does that mean that $w=1$ so that the solution is not bounded? Does not bounded means not defined in this case? Or am I very wrong?










      share|cite|improve this question









      $endgroup$




      Find the value of $w ge0$ so that the ODE below doesn't have a bounded solution



      $$y''+y=cos(wt)$$



      My attempt:



      The solution should be in the form



      $y(t)=Asin(wt)+Bcos(wt)$



      $y'(t)=Awcos(wt)-Bwsin(wt)$



      $y''(t)=-Aw^2sin(wt)-Bw^2cos(wt)$



      So $(1): -Aw^2sin(wt)-Bw^2cos(wt)+Asin(wt)+Bcos(wt)=cos(wt)$



      $Asin(wt)(1-w^2)+Bcos(wt)(1-w^2)=cos(wt)$ $Rightarrow A=0$ and $B=frac{1}{1-w^2}$



      Thus $y(t)=frac{1}{1-w^2}cos(wt)$



      Since $cosx$ is bounded for every $xin mathbb{R}$ does that mean that $w=1$ so that the solution is not bounded? Does not bounded means not defined in this case? Or am I very wrong?







      ordinary-differential-equations initial-value-problems






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 26 at 0:49









      VakiPitsiVakiPitsi

      1978




      1978






















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          Your solution gives a particular solution, but not the whole solution. You have to add the solution to the corresponding homogeneous equation $y''+y=0$, which is easily seen to be $c_1 cos(t) + c_2 sin(t)$. Hence, $$y(t)=c_1 cos(t) + c_2 sin(t) + frac{1}{1-w^2}cos(wt)$$



          But this is still bounded for all $t$. However, notice that this solution is valid for $w neq 1$, but not for $w=1$ since you would obtain $0=cos(wt)$ when you plug derivatives back into the differential equation if $w=1$.



          For $w=1$, you may guess the solution to be of the form $A cos(t) + B sin(t)$, but it can't be since these are already included in the solution to the homogeneous equation. The strategy here is to assume the solution has the form $A t cos(t) + B t sin(t)$. Then,



          $$begin{cases} y=At sin(t)+Bt cos(t) \ y'=At cos(t)+B cos(t)-Bt sin(t) +A sin(t) \ y''= -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) end{cases}$$
          $$implies left( -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) right) + left( At sin(t)+Bt cos(t) right) = cos(t)$$
          $$implies 2A cos(t) - 2B sin(t) = cos(t) implies begin{cases} A=frac{1}{2} \ B =0 end{cases}$$



          So we obtain the full solution for when $w=1$ as



          $$y(t)=c_1 cos(t) + c_2 sin(t) + frac12tsin(t)$$



          which you can see is unbounded.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
            $endgroup$
            – VakiPitsi
            Jan 26 at 13:20












          • $begingroup$
            Yes, that’s right.
            $endgroup$
            – greelious
            Jan 26 at 14:09



















          0












          $begingroup$

          Compare the solution provided to that obtained by use of the Laplace transform. Using $y(t) to y(s)$ and $y''(t) to s^2 , y(s) - y'(0) - y(0) , s$ then
          begin{align}
          s^2 , y(s) - y'(0) - y(0) , s + y(s) &= frac{s}{s^2 + omega^2} \
          y(s) &= frac{y'(0)}{s^2 + 1} + frac{y(0) , s}{s^2 + 1} + frac{s}{(s^2 +1)(s^2 + omega^2)} \
          y(t) &= y(0) , cos(t) + y'(0) , sin(t) - frac{cos(t) - cos(omega t)}{1-omega^2} \
          &= left( y(0) -frac{1}{1-omega^2} right) , cos(t) + y'(0) , sin(t) + frac{cos(omega t)}{1- omega^2}.
          end{align}



          This solution is in agreement with that of the proposer and the Laplace transform used is
          $$y(s) = int_{0}^{infty} e^{- s t} , y(t) , dt.$$






          share|cite|improve this answer









          $endgroup$













            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%2f3087794%2fnon-bounded-ode-solution%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









            1












            $begingroup$

            Your solution gives a particular solution, but not the whole solution. You have to add the solution to the corresponding homogeneous equation $y''+y=0$, which is easily seen to be $c_1 cos(t) + c_2 sin(t)$. Hence, $$y(t)=c_1 cos(t) + c_2 sin(t) + frac{1}{1-w^2}cos(wt)$$



            But this is still bounded for all $t$. However, notice that this solution is valid for $w neq 1$, but not for $w=1$ since you would obtain $0=cos(wt)$ when you plug derivatives back into the differential equation if $w=1$.



            For $w=1$, you may guess the solution to be of the form $A cos(t) + B sin(t)$, but it can't be since these are already included in the solution to the homogeneous equation. The strategy here is to assume the solution has the form $A t cos(t) + B t sin(t)$. Then,



            $$begin{cases} y=At sin(t)+Bt cos(t) \ y'=At cos(t)+B cos(t)-Bt sin(t) +A sin(t) \ y''= -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) end{cases}$$
            $$implies left( -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) right) + left( At sin(t)+Bt cos(t) right) = cos(t)$$
            $$implies 2A cos(t) - 2B sin(t) = cos(t) implies begin{cases} A=frac{1}{2} \ B =0 end{cases}$$



            So we obtain the full solution for when $w=1$ as



            $$y(t)=c_1 cos(t) + c_2 sin(t) + frac12tsin(t)$$



            which you can see is unbounded.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
              $endgroup$
              – VakiPitsi
              Jan 26 at 13:20












            • $begingroup$
              Yes, that’s right.
              $endgroup$
              – greelious
              Jan 26 at 14:09
















            1












            $begingroup$

            Your solution gives a particular solution, but not the whole solution. You have to add the solution to the corresponding homogeneous equation $y''+y=0$, which is easily seen to be $c_1 cos(t) + c_2 sin(t)$. Hence, $$y(t)=c_1 cos(t) + c_2 sin(t) + frac{1}{1-w^2}cos(wt)$$



            But this is still bounded for all $t$. However, notice that this solution is valid for $w neq 1$, but not for $w=1$ since you would obtain $0=cos(wt)$ when you plug derivatives back into the differential equation if $w=1$.



            For $w=1$, you may guess the solution to be of the form $A cos(t) + B sin(t)$, but it can't be since these are already included in the solution to the homogeneous equation. The strategy here is to assume the solution has the form $A t cos(t) + B t sin(t)$. Then,



            $$begin{cases} y=At sin(t)+Bt cos(t) \ y'=At cos(t)+B cos(t)-Bt sin(t) +A sin(t) \ y''= -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) end{cases}$$
            $$implies left( -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) right) + left( At sin(t)+Bt cos(t) right) = cos(t)$$
            $$implies 2A cos(t) - 2B sin(t) = cos(t) implies begin{cases} A=frac{1}{2} \ B =0 end{cases}$$



            So we obtain the full solution for when $w=1$ as



            $$y(t)=c_1 cos(t) + c_2 sin(t) + frac12tsin(t)$$



            which you can see is unbounded.






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
              $endgroup$
              – VakiPitsi
              Jan 26 at 13:20












            • $begingroup$
              Yes, that’s right.
              $endgroup$
              – greelious
              Jan 26 at 14:09














            1












            1








            1





            $begingroup$

            Your solution gives a particular solution, but not the whole solution. You have to add the solution to the corresponding homogeneous equation $y''+y=0$, which is easily seen to be $c_1 cos(t) + c_2 sin(t)$. Hence, $$y(t)=c_1 cos(t) + c_2 sin(t) + frac{1}{1-w^2}cos(wt)$$



            But this is still bounded for all $t$. However, notice that this solution is valid for $w neq 1$, but not for $w=1$ since you would obtain $0=cos(wt)$ when you plug derivatives back into the differential equation if $w=1$.



            For $w=1$, you may guess the solution to be of the form $A cos(t) + B sin(t)$, but it can't be since these are already included in the solution to the homogeneous equation. The strategy here is to assume the solution has the form $A t cos(t) + B t sin(t)$. Then,



            $$begin{cases} y=At sin(t)+Bt cos(t) \ y'=At cos(t)+B cos(t)-Bt sin(t) +A sin(t) \ y''= -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) end{cases}$$
            $$implies left( -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) right) + left( At sin(t)+Bt cos(t) right) = cos(t)$$
            $$implies 2A cos(t) - 2B sin(t) = cos(t) implies begin{cases} A=frac{1}{2} \ B =0 end{cases}$$



            So we obtain the full solution for when $w=1$ as



            $$y(t)=c_1 cos(t) + c_2 sin(t) + frac12tsin(t)$$



            which you can see is unbounded.






            share|cite|improve this answer











            $endgroup$



            Your solution gives a particular solution, but not the whole solution. You have to add the solution to the corresponding homogeneous equation $y''+y=0$, which is easily seen to be $c_1 cos(t) + c_2 sin(t)$. Hence, $$y(t)=c_1 cos(t) + c_2 sin(t) + frac{1}{1-w^2}cos(wt)$$



            But this is still bounded for all $t$. However, notice that this solution is valid for $w neq 1$, but not for $w=1$ since you would obtain $0=cos(wt)$ when you plug derivatives back into the differential equation if $w=1$.



            For $w=1$, you may guess the solution to be of the form $A cos(t) + B sin(t)$, but it can't be since these are already included in the solution to the homogeneous equation. The strategy here is to assume the solution has the form $A t cos(t) + B t sin(t)$. Then,



            $$begin{cases} y=At sin(t)+Bt cos(t) \ y'=At cos(t)+B cos(t)-Bt sin(t) +A sin(t) \ y''= -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) end{cases}$$
            $$implies left( -Bt cos(t)+2A cos(t)-Atsin(t)-2B sin(t) right) + left( At sin(t)+Bt cos(t) right) = cos(t)$$
            $$implies 2A cos(t) - 2B sin(t) = cos(t) implies begin{cases} A=frac{1}{2} \ B =0 end{cases}$$



            So we obtain the full solution for when $w=1$ as



            $$y(t)=c_1 cos(t) + c_2 sin(t) + frac12tsin(t)$$



            which you can see is unbounded.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Jan 26 at 2:12

























            answered Jan 26 at 2:06









            greeliousgreelious

            472112




            472112












            • $begingroup$
              Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
              $endgroup$
              – VakiPitsi
              Jan 26 at 13:20












            • $begingroup$
              Yes, that’s right.
              $endgroup$
              – greelious
              Jan 26 at 14:09


















            • $begingroup$
              Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
              $endgroup$
              – VakiPitsi
              Jan 26 at 13:20












            • $begingroup$
              Yes, that’s right.
              $endgroup$
              – greelious
              Jan 26 at 14:09
















            $begingroup$
            Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
            $endgroup$
            – VakiPitsi
            Jan 26 at 13:20






            $begingroup$
            Thank you for your comment! $y(t)=c_1cos(t)+c_2sin(t)+frac{1}{2}tsin(t)$ is unbounded because $t$ can take any value right?
            $endgroup$
            – VakiPitsi
            Jan 26 at 13:20














            $begingroup$
            Yes, that’s right.
            $endgroup$
            – greelious
            Jan 26 at 14:09




            $begingroup$
            Yes, that’s right.
            $endgroup$
            – greelious
            Jan 26 at 14:09











            0












            $begingroup$

            Compare the solution provided to that obtained by use of the Laplace transform. Using $y(t) to y(s)$ and $y''(t) to s^2 , y(s) - y'(0) - y(0) , s$ then
            begin{align}
            s^2 , y(s) - y'(0) - y(0) , s + y(s) &= frac{s}{s^2 + omega^2} \
            y(s) &= frac{y'(0)}{s^2 + 1} + frac{y(0) , s}{s^2 + 1} + frac{s}{(s^2 +1)(s^2 + omega^2)} \
            y(t) &= y(0) , cos(t) + y'(0) , sin(t) - frac{cos(t) - cos(omega t)}{1-omega^2} \
            &= left( y(0) -frac{1}{1-omega^2} right) , cos(t) + y'(0) , sin(t) + frac{cos(omega t)}{1- omega^2}.
            end{align}



            This solution is in agreement with that of the proposer and the Laplace transform used is
            $$y(s) = int_{0}^{infty} e^{- s t} , y(t) , dt.$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Compare the solution provided to that obtained by use of the Laplace transform. Using $y(t) to y(s)$ and $y''(t) to s^2 , y(s) - y'(0) - y(0) , s$ then
              begin{align}
              s^2 , y(s) - y'(0) - y(0) , s + y(s) &= frac{s}{s^2 + omega^2} \
              y(s) &= frac{y'(0)}{s^2 + 1} + frac{y(0) , s}{s^2 + 1} + frac{s}{(s^2 +1)(s^2 + omega^2)} \
              y(t) &= y(0) , cos(t) + y'(0) , sin(t) - frac{cos(t) - cos(omega t)}{1-omega^2} \
              &= left( y(0) -frac{1}{1-omega^2} right) , cos(t) + y'(0) , sin(t) + frac{cos(omega t)}{1- omega^2}.
              end{align}



              This solution is in agreement with that of the proposer and the Laplace transform used is
              $$y(s) = int_{0}^{infty} e^{- s t} , y(t) , dt.$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Compare the solution provided to that obtained by use of the Laplace transform. Using $y(t) to y(s)$ and $y''(t) to s^2 , y(s) - y'(0) - y(0) , s$ then
                begin{align}
                s^2 , y(s) - y'(0) - y(0) , s + y(s) &= frac{s}{s^2 + omega^2} \
                y(s) &= frac{y'(0)}{s^2 + 1} + frac{y(0) , s}{s^2 + 1} + frac{s}{(s^2 +1)(s^2 + omega^2)} \
                y(t) &= y(0) , cos(t) + y'(0) , sin(t) - frac{cos(t) - cos(omega t)}{1-omega^2} \
                &= left( y(0) -frac{1}{1-omega^2} right) , cos(t) + y'(0) , sin(t) + frac{cos(omega t)}{1- omega^2}.
                end{align}



                This solution is in agreement with that of the proposer and the Laplace transform used is
                $$y(s) = int_{0}^{infty} e^{- s t} , y(t) , dt.$$






                share|cite|improve this answer









                $endgroup$



                Compare the solution provided to that obtained by use of the Laplace transform. Using $y(t) to y(s)$ and $y''(t) to s^2 , y(s) - y'(0) - y(0) , s$ then
                begin{align}
                s^2 , y(s) - y'(0) - y(0) , s + y(s) &= frac{s}{s^2 + omega^2} \
                y(s) &= frac{y'(0)}{s^2 + 1} + frac{y(0) , s}{s^2 + 1} + frac{s}{(s^2 +1)(s^2 + omega^2)} \
                y(t) &= y(0) , cos(t) + y'(0) , sin(t) - frac{cos(t) - cos(omega t)}{1-omega^2} \
                &= left( y(0) -frac{1}{1-omega^2} right) , cos(t) + y'(0) , sin(t) + frac{cos(omega t)}{1- omega^2}.
                end{align}



                This solution is in agreement with that of the proposer and the Laplace transform used is
                $$y(s) = int_{0}^{infty} e^{- s t} , y(t) , dt.$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 26 at 2:28









                LeucippusLeucippus

                19.7k102871




                19.7k102871






























                    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%2f3087794%2fnon-bounded-ode-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

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    Npm cannot find a required file even through it is in the searched directory