I need help finding the general solution to the differential equation $y''(t)+7y'(t)=-14$











up vote
2
down vote

favorite












What I've tried:



I have the inhomogeneous differential equation:



$$y''(t)+7y'(t)=-14$$



I find the particular solution to be on the form $$kt$$



by inserting the particular solution in the equation



$$(kt)''+7(kt)'=-14$$



and isolating for k, I get that:



$$k=-2$$



and therefore the particular solution is



$$y(t)-2t$$



I also need the general solution for the homogenous equation



$$y''(t)+7y'(t)=0$$



by finding the roots of the characteristic polynomial



$$z^2+7z=z(z+7)=0$$
$$z_1=0$$
$$z_2=-7$$



I get the general solution:



$$c_1e^{0t}+c_2e^{-7t}=c_1+c_2e^{-7t}$$



Now, according to my textbook, the general solution of an inhomogeneous differential equation is given by



$$y(t)=y_p(t)+y_{hom}(t)$$



Where $y_p(t)$ is the particular solution and $y_{hom}(t)$ is the general solution to the homogenous equation. Therefore I get the general solution to be



$$y(t)=c_1+c_2e^{-7t}-2t$$



This is not consistent with Maple's result however



enter image description here



Can anyone see where I've gone wrong?










share|cite|improve this question


























    up vote
    2
    down vote

    favorite












    What I've tried:



    I have the inhomogeneous differential equation:



    $$y''(t)+7y'(t)=-14$$



    I find the particular solution to be on the form $$kt$$



    by inserting the particular solution in the equation



    $$(kt)''+7(kt)'=-14$$



    and isolating for k, I get that:



    $$k=-2$$



    and therefore the particular solution is



    $$y(t)-2t$$



    I also need the general solution for the homogenous equation



    $$y''(t)+7y'(t)=0$$



    by finding the roots of the characteristic polynomial



    $$z^2+7z=z(z+7)=0$$
    $$z_1=0$$
    $$z_2=-7$$



    I get the general solution:



    $$c_1e^{0t}+c_2e^{-7t}=c_1+c_2e^{-7t}$$



    Now, according to my textbook, the general solution of an inhomogeneous differential equation is given by



    $$y(t)=y_p(t)+y_{hom}(t)$$



    Where $y_p(t)$ is the particular solution and $y_{hom}(t)$ is the general solution to the homogenous equation. Therefore I get the general solution to be



    $$y(t)=c_1+c_2e^{-7t}-2t$$



    This is not consistent with Maple's result however



    enter image description here



    Can anyone see where I've gone wrong?










    share|cite|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      What I've tried:



      I have the inhomogeneous differential equation:



      $$y''(t)+7y'(t)=-14$$



      I find the particular solution to be on the form $$kt$$



      by inserting the particular solution in the equation



      $$(kt)''+7(kt)'=-14$$



      and isolating for k, I get that:



      $$k=-2$$



      and therefore the particular solution is



      $$y(t)-2t$$



      I also need the general solution for the homogenous equation



      $$y''(t)+7y'(t)=0$$



      by finding the roots of the characteristic polynomial



      $$z^2+7z=z(z+7)=0$$
      $$z_1=0$$
      $$z_2=-7$$



      I get the general solution:



      $$c_1e^{0t}+c_2e^{-7t}=c_1+c_2e^{-7t}$$



      Now, according to my textbook, the general solution of an inhomogeneous differential equation is given by



      $$y(t)=y_p(t)+y_{hom}(t)$$



      Where $y_p(t)$ is the particular solution and $y_{hom}(t)$ is the general solution to the homogenous equation. Therefore I get the general solution to be



      $$y(t)=c_1+c_2e^{-7t}-2t$$



      This is not consistent with Maple's result however



      enter image description here



      Can anyone see where I've gone wrong?










      share|cite|improve this question













      What I've tried:



      I have the inhomogeneous differential equation:



      $$y''(t)+7y'(t)=-14$$



      I find the particular solution to be on the form $$kt$$



      by inserting the particular solution in the equation



      $$(kt)''+7(kt)'=-14$$



      and isolating for k, I get that:



      $$k=-2$$



      and therefore the particular solution is



      $$y(t)-2t$$



      I also need the general solution for the homogenous equation



      $$y''(t)+7y'(t)=0$$



      by finding the roots of the characteristic polynomial



      $$z^2+7z=z(z+7)=0$$
      $$z_1=0$$
      $$z_2=-7$$



      I get the general solution:



      $$c_1e^{0t}+c_2e^{-7t}=c_1+c_2e^{-7t}$$



      Now, according to my textbook, the general solution of an inhomogeneous differential equation is given by



      $$y(t)=y_p(t)+y_{hom}(t)$$



      Where $y_p(t)$ is the particular solution and $y_{hom}(t)$ is the general solution to the homogenous equation. Therefore I get the general solution to be



      $$y(t)=c_1+c_2e^{-7t}-2t$$



      This is not consistent with Maple's result however



      enter image description here



      Can anyone see where I've gone wrong?







      differential-equations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 19 at 21:27









      Boris Grunwald

      1487




      1487






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You have not gone wrong anywhere! It is just a question concerning the choice of the arbitrary constants $c_1,c_2$ and $C_1,C_2$ respectively. Therefore lets just take a brief look at the two given solutions



          $$begin{align}
          y_1(t)&=c_1+c_2e^{-7t}-2t\
          y_2(t)&=C_2+frac{-C_1}{7}e^{-7t}-2t
          end{align}$$



          We can agree one the fact that the particular solution $-2t$ is the same in both $y_1(t)$ and $y_2(t)$. Therefore we do not have to worry about this term further. Now we can argue that $c_1=C_2$ since these are both arbitrary constants which have to be defined later one. Following a similiar agrumentation we can moreover say that $c_2=frac{-C_1}{7}$ hence there is no restriction regarding their value.



          Therefore Maple aswell as you by yourself provided the exact same solution beside the choice of some arbitrary constants.






          share|cite|improve this answer





















          • Thanks, that makes sense!
            – Boris Grunwald
            Nov 19 at 21:46


















          up vote
          1
          down vote













          You went wrong when you thought what Maple wrote is different from your solution in any significant way.



          Maple has swapped the roles of $c_1$ and $c_2$ compared to you. And Maple's $c_1$ is seven times larger than your $c_2$ and has opposite sign, but since the constants are arbitrary anyways this doesn't matter. So you and Maple describe the exact same collection of functions.






          share|cite|improve this answer




























            up vote
            0
            down vote













            As others said, your solution is right (only the expressions of the constant differ). Here is how I would solve.



            First notice that $y$ is missing, and solve for $z:=y'$:



            $$z'+7z=-14.$$



            An obvious particular solution is the constant $z=-2$. Then with the characteristic polynomial $p+7$, you can immediately write the general solution,



            $$z=ce^{-7t}-2.$$



            Now to get $y$, you integrate once, and obtain



            $$y=c_0e^{-7t}-2t+c_1.$$






            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: 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%2f3005544%2fi-need-help-finding-the-general-solution-to-the-differential-equation-yt7y%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote



              accepted










              You have not gone wrong anywhere! It is just a question concerning the choice of the arbitrary constants $c_1,c_2$ and $C_1,C_2$ respectively. Therefore lets just take a brief look at the two given solutions



              $$begin{align}
              y_1(t)&=c_1+c_2e^{-7t}-2t\
              y_2(t)&=C_2+frac{-C_1}{7}e^{-7t}-2t
              end{align}$$



              We can agree one the fact that the particular solution $-2t$ is the same in both $y_1(t)$ and $y_2(t)$. Therefore we do not have to worry about this term further. Now we can argue that $c_1=C_2$ since these are both arbitrary constants which have to be defined later one. Following a similiar agrumentation we can moreover say that $c_2=frac{-C_1}{7}$ hence there is no restriction regarding their value.



              Therefore Maple aswell as you by yourself provided the exact same solution beside the choice of some arbitrary constants.






              share|cite|improve this answer





















              • Thanks, that makes sense!
                – Boris Grunwald
                Nov 19 at 21:46















              up vote
              1
              down vote



              accepted










              You have not gone wrong anywhere! It is just a question concerning the choice of the arbitrary constants $c_1,c_2$ and $C_1,C_2$ respectively. Therefore lets just take a brief look at the two given solutions



              $$begin{align}
              y_1(t)&=c_1+c_2e^{-7t}-2t\
              y_2(t)&=C_2+frac{-C_1}{7}e^{-7t}-2t
              end{align}$$



              We can agree one the fact that the particular solution $-2t$ is the same in both $y_1(t)$ and $y_2(t)$. Therefore we do not have to worry about this term further. Now we can argue that $c_1=C_2$ since these are both arbitrary constants which have to be defined later one. Following a similiar agrumentation we can moreover say that $c_2=frac{-C_1}{7}$ hence there is no restriction regarding their value.



              Therefore Maple aswell as you by yourself provided the exact same solution beside the choice of some arbitrary constants.






              share|cite|improve this answer





















              • Thanks, that makes sense!
                – Boris Grunwald
                Nov 19 at 21:46













              up vote
              1
              down vote



              accepted







              up vote
              1
              down vote



              accepted






              You have not gone wrong anywhere! It is just a question concerning the choice of the arbitrary constants $c_1,c_2$ and $C_1,C_2$ respectively. Therefore lets just take a brief look at the two given solutions



              $$begin{align}
              y_1(t)&=c_1+c_2e^{-7t}-2t\
              y_2(t)&=C_2+frac{-C_1}{7}e^{-7t}-2t
              end{align}$$



              We can agree one the fact that the particular solution $-2t$ is the same in both $y_1(t)$ and $y_2(t)$. Therefore we do not have to worry about this term further. Now we can argue that $c_1=C_2$ since these are both arbitrary constants which have to be defined later one. Following a similiar agrumentation we can moreover say that $c_2=frac{-C_1}{7}$ hence there is no restriction regarding their value.



              Therefore Maple aswell as you by yourself provided the exact same solution beside the choice of some arbitrary constants.






              share|cite|improve this answer












              You have not gone wrong anywhere! It is just a question concerning the choice of the arbitrary constants $c_1,c_2$ and $C_1,C_2$ respectively. Therefore lets just take a brief look at the two given solutions



              $$begin{align}
              y_1(t)&=c_1+c_2e^{-7t}-2t\
              y_2(t)&=C_2+frac{-C_1}{7}e^{-7t}-2t
              end{align}$$



              We can agree one the fact that the particular solution $-2t$ is the same in both $y_1(t)$ and $y_2(t)$. Therefore we do not have to worry about this term further. Now we can argue that $c_1=C_2$ since these are both arbitrary constants which have to be defined later one. Following a similiar agrumentation we can moreover say that $c_2=frac{-C_1}{7}$ hence there is no restriction regarding their value.



              Therefore Maple aswell as you by yourself provided the exact same solution beside the choice of some arbitrary constants.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Nov 19 at 21:36









              mrtaurho

              2,7791927




              2,7791927












              • Thanks, that makes sense!
                – Boris Grunwald
                Nov 19 at 21:46


















              • Thanks, that makes sense!
                – Boris Grunwald
                Nov 19 at 21:46
















              Thanks, that makes sense!
              – Boris Grunwald
              Nov 19 at 21:46




              Thanks, that makes sense!
              – Boris Grunwald
              Nov 19 at 21:46










              up vote
              1
              down vote













              You went wrong when you thought what Maple wrote is different from your solution in any significant way.



              Maple has swapped the roles of $c_1$ and $c_2$ compared to you. And Maple's $c_1$ is seven times larger than your $c_2$ and has opposite sign, but since the constants are arbitrary anyways this doesn't matter. So you and Maple describe the exact same collection of functions.






              share|cite|improve this answer

























                up vote
                1
                down vote













                You went wrong when you thought what Maple wrote is different from your solution in any significant way.



                Maple has swapped the roles of $c_1$ and $c_2$ compared to you. And Maple's $c_1$ is seven times larger than your $c_2$ and has opposite sign, but since the constants are arbitrary anyways this doesn't matter. So you and Maple describe the exact same collection of functions.






                share|cite|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  You went wrong when you thought what Maple wrote is different from your solution in any significant way.



                  Maple has swapped the roles of $c_1$ and $c_2$ compared to you. And Maple's $c_1$ is seven times larger than your $c_2$ and has opposite sign, but since the constants are arbitrary anyways this doesn't matter. So you and Maple describe the exact same collection of functions.






                  share|cite|improve this answer












                  You went wrong when you thought what Maple wrote is different from your solution in any significant way.



                  Maple has swapped the roles of $c_1$ and $c_2$ compared to you. And Maple's $c_1$ is seven times larger than your $c_2$ and has opposite sign, but since the constants are arbitrary anyways this doesn't matter. So you and Maple describe the exact same collection of functions.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 19 at 21:36









                  Arthur

                  110k7104186




                  110k7104186






















                      up vote
                      0
                      down vote













                      As others said, your solution is right (only the expressions of the constant differ). Here is how I would solve.



                      First notice that $y$ is missing, and solve for $z:=y'$:



                      $$z'+7z=-14.$$



                      An obvious particular solution is the constant $z=-2$. Then with the characteristic polynomial $p+7$, you can immediately write the general solution,



                      $$z=ce^{-7t}-2.$$



                      Now to get $y$, you integrate once, and obtain



                      $$y=c_0e^{-7t}-2t+c_1.$$






                      share|cite|improve this answer

























                        up vote
                        0
                        down vote













                        As others said, your solution is right (only the expressions of the constant differ). Here is how I would solve.



                        First notice that $y$ is missing, and solve for $z:=y'$:



                        $$z'+7z=-14.$$



                        An obvious particular solution is the constant $z=-2$. Then with the characteristic polynomial $p+7$, you can immediately write the general solution,



                        $$z=ce^{-7t}-2.$$



                        Now to get $y$, you integrate once, and obtain



                        $$y=c_0e^{-7t}-2t+c_1.$$






                        share|cite|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          As others said, your solution is right (only the expressions of the constant differ). Here is how I would solve.



                          First notice that $y$ is missing, and solve for $z:=y'$:



                          $$z'+7z=-14.$$



                          An obvious particular solution is the constant $z=-2$. Then with the characteristic polynomial $p+7$, you can immediately write the general solution,



                          $$z=ce^{-7t}-2.$$



                          Now to get $y$, you integrate once, and obtain



                          $$y=c_0e^{-7t}-2t+c_1.$$






                          share|cite|improve this answer












                          As others said, your solution is right (only the expressions of the constant differ). Here is how I would solve.



                          First notice that $y$ is missing, and solve for $z:=y'$:



                          $$z'+7z=-14.$$



                          An obvious particular solution is the constant $z=-2$. Then with the characteristic polynomial $p+7$, you can immediately write the general solution,



                          $$z=ce^{-7t}-2.$$



                          Now to get $y$, you integrate once, and obtain



                          $$y=c_0e^{-7t}-2t+c_1.$$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Nov 19 at 21:47









                          Yves Daoust

                          123k668219




                          123k668219






























                              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.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • 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.


                              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%2f3005544%2fi-need-help-finding-the-general-solution-to-the-differential-equation-yt7y%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?