ODE's. Repeated complex roots












0












$begingroup$


I got a question about his ODE: $(D-3)^3(D^2+25)^2(D-2)y = 7x^2e^{3x} + xsin (5x)+4x^3$. So, in the solutions of the homogeneous eq. appears a complex root ($r = pm5i$) with multiplicity 2. What I need to do with the soluctions?.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    I got a question about his ODE: $(D-3)^3(D^2+25)^2(D-2)y = 7x^2e^{3x} + xsin (5x)+4x^3$. So, in the solutions of the homogeneous eq. appears a complex root ($r = pm5i$) with multiplicity 2. What I need to do with the soluctions?.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      I got a question about his ODE: $(D-3)^3(D^2+25)^2(D-2)y = 7x^2e^{3x} + xsin (5x)+4x^3$. So, in the solutions of the homogeneous eq. appears a complex root ($r = pm5i$) with multiplicity 2. What I need to do with the soluctions?.










      share|cite|improve this question









      $endgroup$




      I got a question about his ODE: $(D-3)^3(D^2+25)^2(D-2)y = 7x^2e^{3x} + xsin (5x)+4x^3$. So, in the solutions of the homogeneous eq. appears a complex root ($r = pm5i$) with multiplicity 2. What I need to do with the soluctions?.







      ordinary-differential-equations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 10 '18 at 4:53









      tajiri_numero_1tajiri_numero_1

      115




      115






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          It helps to look at the homogeneous solution first



          $$ y_h(x) = (c_1x^2+c_2x+c_3)e^{3x} + (c_4x + c_5)sin (5x) + (c_6x + c_7)cos(5x) + c_8e^{2x} $$



          where the 8 constants correspond to the 8th degree characteristic polynomial.





          Let's look at each individual term on the non-homogeneous side. Let's say we have $y_h = y_1+y_2+y_3$ and



          begin{align}
          Ly_1 &= 4x^3 \
          Ly_2 &= 7x^2e^{3x} \
          Ly_3 &= xsin(5x)
          end{align}



          where $L = (D-3)^3(D^2+25)^2(D-2)$





          The first one is easy enough, since it's not part of the homogeneous solution. It's simply



          $$ y_1(x) = a_1 x^3 + a_2 x^2 + a_3 x + a_4 $$



          The second one is a polynomial multiplied with a solution of the homogeneous equation, so we should guess a solution of the same form. This turns out to be



          $$ y_2(x) = (b_1x^2 + b_2 x + b_3)x^3e^{3x} $$



          where the quadratic factor corresponds to the $x^2$, and the additional power of $x$ is needed to "offset" the homogeneous solution. Note that this power needs to be at least higher than the highest power of the homogenous solution (i.e. $c_1x^2e^{3x}$), or otherwise equal to the multiplicity of its root.



          With that in mind, we can make a guess for the last trigonometric term. Its multiplicity is $2$, therefore



          $$ y_3(x) = (d_1 x + d_2)x^2sin (5x) + (d_3 x + d_4)x^2cos(5x) $$



          You do need both $sin$ and $cos$ terms, and this particular form works for any linear combination of trig functions in the non-homogeneous function.






          share|cite|improve this answer









          $endgroup$









          • 1




            $begingroup$
            Thank you. You answered my question.
            $endgroup$
            – tajiri_numero_1
            Dec 10 '18 at 5:39











          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%2f3033462%2fodes-repeated-complex-roots%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$

          It helps to look at the homogeneous solution first



          $$ y_h(x) = (c_1x^2+c_2x+c_3)e^{3x} + (c_4x + c_5)sin (5x) + (c_6x + c_7)cos(5x) + c_8e^{2x} $$



          where the 8 constants correspond to the 8th degree characteristic polynomial.





          Let's look at each individual term on the non-homogeneous side. Let's say we have $y_h = y_1+y_2+y_3$ and



          begin{align}
          Ly_1 &= 4x^3 \
          Ly_2 &= 7x^2e^{3x} \
          Ly_3 &= xsin(5x)
          end{align}



          where $L = (D-3)^3(D^2+25)^2(D-2)$





          The first one is easy enough, since it's not part of the homogeneous solution. It's simply



          $$ y_1(x) = a_1 x^3 + a_2 x^2 + a_3 x + a_4 $$



          The second one is a polynomial multiplied with a solution of the homogeneous equation, so we should guess a solution of the same form. This turns out to be



          $$ y_2(x) = (b_1x^2 + b_2 x + b_3)x^3e^{3x} $$



          where the quadratic factor corresponds to the $x^2$, and the additional power of $x$ is needed to "offset" the homogeneous solution. Note that this power needs to be at least higher than the highest power of the homogenous solution (i.e. $c_1x^2e^{3x}$), or otherwise equal to the multiplicity of its root.



          With that in mind, we can make a guess for the last trigonometric term. Its multiplicity is $2$, therefore



          $$ y_3(x) = (d_1 x + d_2)x^2sin (5x) + (d_3 x + d_4)x^2cos(5x) $$



          You do need both $sin$ and $cos$ terms, and this particular form works for any linear combination of trig functions in the non-homogeneous function.






          share|cite|improve this answer









          $endgroup$









          • 1




            $begingroup$
            Thank you. You answered my question.
            $endgroup$
            – tajiri_numero_1
            Dec 10 '18 at 5:39
















          0












          $begingroup$

          It helps to look at the homogeneous solution first



          $$ y_h(x) = (c_1x^2+c_2x+c_3)e^{3x} + (c_4x + c_5)sin (5x) + (c_6x + c_7)cos(5x) + c_8e^{2x} $$



          where the 8 constants correspond to the 8th degree characteristic polynomial.





          Let's look at each individual term on the non-homogeneous side. Let's say we have $y_h = y_1+y_2+y_3$ and



          begin{align}
          Ly_1 &= 4x^3 \
          Ly_2 &= 7x^2e^{3x} \
          Ly_3 &= xsin(5x)
          end{align}



          where $L = (D-3)^3(D^2+25)^2(D-2)$





          The first one is easy enough, since it's not part of the homogeneous solution. It's simply



          $$ y_1(x) = a_1 x^3 + a_2 x^2 + a_3 x + a_4 $$



          The second one is a polynomial multiplied with a solution of the homogeneous equation, so we should guess a solution of the same form. This turns out to be



          $$ y_2(x) = (b_1x^2 + b_2 x + b_3)x^3e^{3x} $$



          where the quadratic factor corresponds to the $x^2$, and the additional power of $x$ is needed to "offset" the homogeneous solution. Note that this power needs to be at least higher than the highest power of the homogenous solution (i.e. $c_1x^2e^{3x}$), or otherwise equal to the multiplicity of its root.



          With that in mind, we can make a guess for the last trigonometric term. Its multiplicity is $2$, therefore



          $$ y_3(x) = (d_1 x + d_2)x^2sin (5x) + (d_3 x + d_4)x^2cos(5x) $$



          You do need both $sin$ and $cos$ terms, and this particular form works for any linear combination of trig functions in the non-homogeneous function.






          share|cite|improve this answer









          $endgroup$









          • 1




            $begingroup$
            Thank you. You answered my question.
            $endgroup$
            – tajiri_numero_1
            Dec 10 '18 at 5:39














          0












          0








          0





          $begingroup$

          It helps to look at the homogeneous solution first



          $$ y_h(x) = (c_1x^2+c_2x+c_3)e^{3x} + (c_4x + c_5)sin (5x) + (c_6x + c_7)cos(5x) + c_8e^{2x} $$



          where the 8 constants correspond to the 8th degree characteristic polynomial.





          Let's look at each individual term on the non-homogeneous side. Let's say we have $y_h = y_1+y_2+y_3$ and



          begin{align}
          Ly_1 &= 4x^3 \
          Ly_2 &= 7x^2e^{3x} \
          Ly_3 &= xsin(5x)
          end{align}



          where $L = (D-3)^3(D^2+25)^2(D-2)$





          The first one is easy enough, since it's not part of the homogeneous solution. It's simply



          $$ y_1(x) = a_1 x^3 + a_2 x^2 + a_3 x + a_4 $$



          The second one is a polynomial multiplied with a solution of the homogeneous equation, so we should guess a solution of the same form. This turns out to be



          $$ y_2(x) = (b_1x^2 + b_2 x + b_3)x^3e^{3x} $$



          where the quadratic factor corresponds to the $x^2$, and the additional power of $x$ is needed to "offset" the homogeneous solution. Note that this power needs to be at least higher than the highest power of the homogenous solution (i.e. $c_1x^2e^{3x}$), or otherwise equal to the multiplicity of its root.



          With that in mind, we can make a guess for the last trigonometric term. Its multiplicity is $2$, therefore



          $$ y_3(x) = (d_1 x + d_2)x^2sin (5x) + (d_3 x + d_4)x^2cos(5x) $$



          You do need both $sin$ and $cos$ terms, and this particular form works for any linear combination of trig functions in the non-homogeneous function.






          share|cite|improve this answer









          $endgroup$



          It helps to look at the homogeneous solution first



          $$ y_h(x) = (c_1x^2+c_2x+c_3)e^{3x} + (c_4x + c_5)sin (5x) + (c_6x + c_7)cos(5x) + c_8e^{2x} $$



          where the 8 constants correspond to the 8th degree characteristic polynomial.





          Let's look at each individual term on the non-homogeneous side. Let's say we have $y_h = y_1+y_2+y_3$ and



          begin{align}
          Ly_1 &= 4x^3 \
          Ly_2 &= 7x^2e^{3x} \
          Ly_3 &= xsin(5x)
          end{align}



          where $L = (D-3)^3(D^2+25)^2(D-2)$





          The first one is easy enough, since it's not part of the homogeneous solution. It's simply



          $$ y_1(x) = a_1 x^3 + a_2 x^2 + a_3 x + a_4 $$



          The second one is a polynomial multiplied with a solution of the homogeneous equation, so we should guess a solution of the same form. This turns out to be



          $$ y_2(x) = (b_1x^2 + b_2 x + b_3)x^3e^{3x} $$



          where the quadratic factor corresponds to the $x^2$, and the additional power of $x$ is needed to "offset" the homogeneous solution. Note that this power needs to be at least higher than the highest power of the homogenous solution (i.e. $c_1x^2e^{3x}$), or otherwise equal to the multiplicity of its root.



          With that in mind, we can make a guess for the last trigonometric term. Its multiplicity is $2$, therefore



          $$ y_3(x) = (d_1 x + d_2)x^2sin (5x) + (d_3 x + d_4)x^2cos(5x) $$



          You do need both $sin$ and $cos$ terms, and this particular form works for any linear combination of trig functions in the non-homogeneous function.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 10 '18 at 5:30









          DylanDylan

          12.8k31026




          12.8k31026








          • 1




            $begingroup$
            Thank you. You answered my question.
            $endgroup$
            – tajiri_numero_1
            Dec 10 '18 at 5:39














          • 1




            $begingroup$
            Thank you. You answered my question.
            $endgroup$
            – tajiri_numero_1
            Dec 10 '18 at 5:39








          1




          1




          $begingroup$
          Thank you. You answered my question.
          $endgroup$
          – tajiri_numero_1
          Dec 10 '18 at 5:39




          $begingroup$
          Thank you. You answered my question.
          $endgroup$
          – tajiri_numero_1
          Dec 10 '18 at 5:39


















          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%2f3033462%2fodes-repeated-complex-roots%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

          Index of /

          Tribalistas

          Listed building