Solving $(D^5-D)y = 8sin x$ using operator methods












2












$begingroup$


This question is similar to this link but here it involves $sin x$ and it creates a problem. I tried writing $sin x = Im (e^{ix})$ but that doesnt help:



$$(D^5-D) y = 8Im (e^{ix})$$



Now $(D^5-D)$ has factor $D=i$ so we need to factor that out and apply it on right side:



$$(D-1)(D+i)(D+1)D y=frac{1}{D-i}(Im(e^{ix}))\
implies y = frac{8}{(i-1)(i+1)(2i)(i)}Im(e^{ix}int e^{ix} e^{-ix} dx)$$



which gives $y_p = 2xsin x$. Another method would have been assuming $y_p = x(Acos x + Bsin x)$ but that too would have been lengthy



Is the method in this answer correct, because it is using complex numbers loosely. Is this operator method?










share|cite|improve this question









$endgroup$

















    2












    $begingroup$


    This question is similar to this link but here it involves $sin x$ and it creates a problem. I tried writing $sin x = Im (e^{ix})$ but that doesnt help:



    $$(D^5-D) y = 8Im (e^{ix})$$



    Now $(D^5-D)$ has factor $D=i$ so we need to factor that out and apply it on right side:



    $$(D-1)(D+i)(D+1)D y=frac{1}{D-i}(Im(e^{ix}))\
    implies y = frac{8}{(i-1)(i+1)(2i)(i)}Im(e^{ix}int e^{ix} e^{-ix} dx)$$



    which gives $y_p = 2xsin x$. Another method would have been assuming $y_p = x(Acos x + Bsin x)$ but that too would have been lengthy



    Is the method in this answer correct, because it is using complex numbers loosely. Is this operator method?










    share|cite|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      This question is similar to this link but here it involves $sin x$ and it creates a problem. I tried writing $sin x = Im (e^{ix})$ but that doesnt help:



      $$(D^5-D) y = 8Im (e^{ix})$$



      Now $(D^5-D)$ has factor $D=i$ so we need to factor that out and apply it on right side:



      $$(D-1)(D+i)(D+1)D y=frac{1}{D-i}(Im(e^{ix}))\
      implies y = frac{8}{(i-1)(i+1)(2i)(i)}Im(e^{ix}int e^{ix} e^{-ix} dx)$$



      which gives $y_p = 2xsin x$. Another method would have been assuming $y_p = x(Acos x + Bsin x)$ but that too would have been lengthy



      Is the method in this answer correct, because it is using complex numbers loosely. Is this operator method?










      share|cite|improve this question









      $endgroup$




      This question is similar to this link but here it involves $sin x$ and it creates a problem. I tried writing $sin x = Im (e^{ix})$ but that doesnt help:



      $$(D^5-D) y = 8Im (e^{ix})$$



      Now $(D^5-D)$ has factor $D=i$ so we need to factor that out and apply it on right side:



      $$(D-1)(D+i)(D+1)D y=frac{1}{D-i}(Im(e^{ix}))\
      implies y = frac{8}{(i-1)(i+1)(2i)(i)}Im(e^{ix}int e^{ix} e^{-ix} dx)$$



      which gives $y_p = 2xsin x$. Another method would have been assuming $y_p = x(Acos x + Bsin x)$ but that too would have been lengthy



      Is the method in this answer correct, because it is using complex numbers loosely. Is this operator method?







      calculus ordinary-differential-equations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 20 at 12:16









      jeeajeea

      60715




      60715






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          You can use the same method suggested in 1. Let us find a solution $y$ of the equation
          $$
          (D^5-D)[y]=8e^{ix}
          $$
          first. Write $T=D^5-D$. For any $rinBbb C$, it holds that
          $$
          T[e^{rx}]=D^5[e^{rx}]-D[e^{rx}]=(r^5-r)e^{rx}.
          $$
          Plugging $r=i$ into the equation does not give the solution because $i^5-i=0$. Now, by differentiating both sides with respect to $r$, we get
          $$
          frac{partial}{partial r}T[e^{rx}]=T[frac{partial}{partial r}e^{rx}]=T[xe^{rx}]=frac{partial}{partial r}left((r^5-r)e^{rx}right)=(5r^4-1)e^{rx}+(r^5-r)xe^{rx}.
          $$

          Plugging $r=i$ into the expression, we get
          $$
          T[xe^{ix}]=(5i^4-1)e^{ix}+(i^5-i)xe^{ix}=4e^{ix}.
          $$
          This shows $T[2xe^{ix}]=8e^{ix}$. By separating real and imaginary parts, we get
          $$
          T[2xcos x]=8cos x,quad T[2xsin x]=8sin x.
          $$
          This allows us a particular solution $y(x) =2xsin x$ satisfying $T[y]=8sin x$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            THanks a lot again! is the method I put in the question also fine
            $endgroup$
            – jeea
            Jan 20 at 12:40










          • $begingroup$
            @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
            $endgroup$
            – Song
            Jan 20 at 12:45













          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%2f3080508%2fsolving-d5-dy-8-sin-x-using-operator-methods%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









          2












          $begingroup$

          You can use the same method suggested in 1. Let us find a solution $y$ of the equation
          $$
          (D^5-D)[y]=8e^{ix}
          $$
          first. Write $T=D^5-D$. For any $rinBbb C$, it holds that
          $$
          T[e^{rx}]=D^5[e^{rx}]-D[e^{rx}]=(r^5-r)e^{rx}.
          $$
          Plugging $r=i$ into the equation does not give the solution because $i^5-i=0$. Now, by differentiating both sides with respect to $r$, we get
          $$
          frac{partial}{partial r}T[e^{rx}]=T[frac{partial}{partial r}e^{rx}]=T[xe^{rx}]=frac{partial}{partial r}left((r^5-r)e^{rx}right)=(5r^4-1)e^{rx}+(r^5-r)xe^{rx}.
          $$

          Plugging $r=i$ into the expression, we get
          $$
          T[xe^{ix}]=(5i^4-1)e^{ix}+(i^5-i)xe^{ix}=4e^{ix}.
          $$
          This shows $T[2xe^{ix}]=8e^{ix}$. By separating real and imaginary parts, we get
          $$
          T[2xcos x]=8cos x,quad T[2xsin x]=8sin x.
          $$
          This allows us a particular solution $y(x) =2xsin x$ satisfying $T[y]=8sin x$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            THanks a lot again! is the method I put in the question also fine
            $endgroup$
            – jeea
            Jan 20 at 12:40










          • $begingroup$
            @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
            $endgroup$
            – Song
            Jan 20 at 12:45


















          2












          $begingroup$

          You can use the same method suggested in 1. Let us find a solution $y$ of the equation
          $$
          (D^5-D)[y]=8e^{ix}
          $$
          first. Write $T=D^5-D$. For any $rinBbb C$, it holds that
          $$
          T[e^{rx}]=D^5[e^{rx}]-D[e^{rx}]=(r^5-r)e^{rx}.
          $$
          Plugging $r=i$ into the equation does not give the solution because $i^5-i=0$. Now, by differentiating both sides with respect to $r$, we get
          $$
          frac{partial}{partial r}T[e^{rx}]=T[frac{partial}{partial r}e^{rx}]=T[xe^{rx}]=frac{partial}{partial r}left((r^5-r)e^{rx}right)=(5r^4-1)e^{rx}+(r^5-r)xe^{rx}.
          $$

          Plugging $r=i$ into the expression, we get
          $$
          T[xe^{ix}]=(5i^4-1)e^{ix}+(i^5-i)xe^{ix}=4e^{ix}.
          $$
          This shows $T[2xe^{ix}]=8e^{ix}$. By separating real and imaginary parts, we get
          $$
          T[2xcos x]=8cos x,quad T[2xsin x]=8sin x.
          $$
          This allows us a particular solution $y(x) =2xsin x$ satisfying $T[y]=8sin x$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            THanks a lot again! is the method I put in the question also fine
            $endgroup$
            – jeea
            Jan 20 at 12:40










          • $begingroup$
            @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
            $endgroup$
            – Song
            Jan 20 at 12:45
















          2












          2








          2





          $begingroup$

          You can use the same method suggested in 1. Let us find a solution $y$ of the equation
          $$
          (D^5-D)[y]=8e^{ix}
          $$
          first. Write $T=D^5-D$. For any $rinBbb C$, it holds that
          $$
          T[e^{rx}]=D^5[e^{rx}]-D[e^{rx}]=(r^5-r)e^{rx}.
          $$
          Plugging $r=i$ into the equation does not give the solution because $i^5-i=0$. Now, by differentiating both sides with respect to $r$, we get
          $$
          frac{partial}{partial r}T[e^{rx}]=T[frac{partial}{partial r}e^{rx}]=T[xe^{rx}]=frac{partial}{partial r}left((r^5-r)e^{rx}right)=(5r^4-1)e^{rx}+(r^5-r)xe^{rx}.
          $$

          Plugging $r=i$ into the expression, we get
          $$
          T[xe^{ix}]=(5i^4-1)e^{ix}+(i^5-i)xe^{ix}=4e^{ix}.
          $$
          This shows $T[2xe^{ix}]=8e^{ix}$. By separating real and imaginary parts, we get
          $$
          T[2xcos x]=8cos x,quad T[2xsin x]=8sin x.
          $$
          This allows us a particular solution $y(x) =2xsin x$ satisfying $T[y]=8sin x$.






          share|cite|improve this answer









          $endgroup$



          You can use the same method suggested in 1. Let us find a solution $y$ of the equation
          $$
          (D^5-D)[y]=8e^{ix}
          $$
          first. Write $T=D^5-D$. For any $rinBbb C$, it holds that
          $$
          T[e^{rx}]=D^5[e^{rx}]-D[e^{rx}]=(r^5-r)e^{rx}.
          $$
          Plugging $r=i$ into the equation does not give the solution because $i^5-i=0$. Now, by differentiating both sides with respect to $r$, we get
          $$
          frac{partial}{partial r}T[e^{rx}]=T[frac{partial}{partial r}e^{rx}]=T[xe^{rx}]=frac{partial}{partial r}left((r^5-r)e^{rx}right)=(5r^4-1)e^{rx}+(r^5-r)xe^{rx}.
          $$

          Plugging $r=i$ into the expression, we get
          $$
          T[xe^{ix}]=(5i^4-1)e^{ix}+(i^5-i)xe^{ix}=4e^{ix}.
          $$
          This shows $T[2xe^{ix}]=8e^{ix}$. By separating real and imaginary parts, we get
          $$
          T[2xcos x]=8cos x,quad T[2xsin x]=8sin x.
          $$
          This allows us a particular solution $y(x) =2xsin x$ satisfying $T[y]=8sin x$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 20 at 12:32









          SongSong

          16.5k1741




          16.5k1741












          • $begingroup$
            THanks a lot again! is the method I put in the question also fine
            $endgroup$
            – jeea
            Jan 20 at 12:40










          • $begingroup$
            @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
            $endgroup$
            – Song
            Jan 20 at 12:45




















          • $begingroup$
            THanks a lot again! is the method I put in the question also fine
            $endgroup$
            – jeea
            Jan 20 at 12:40










          • $begingroup$
            @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
            $endgroup$
            – Song
            Jan 20 at 12:45


















          $begingroup$
          THanks a lot again! is the method I put in the question also fine
          $endgroup$
          – jeea
          Jan 20 at 12:40




          $begingroup$
          THanks a lot again! is the method I put in the question also fine
          $endgroup$
          – jeea
          Jan 20 at 12:40












          $begingroup$
          @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
          $endgroup$
          – Song
          Jan 20 at 12:45






          $begingroup$
          @jeea It came close to being right ... Note that to invert $(D-i)$, i.e. to get $(D-i)^{-1}[f]$, we should calculate the convolution$$int_0^x e^{i(x-t)}f(t)dt .$$ In this case, $$int_0^x e^{i(x-t)}e^{it}dt =int_0^x e^{ix}dt = xe^{ix}.$$
          $endgroup$
          – Song
          Jan 20 at 12:45




















          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%2f3080508%2fsolving-d5-dy-8-sin-x-using-operator-methods%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

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

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith