Finding the complementary function of a second order linear differential equation












1












$begingroup$


I have a question stating




Find the complementary function of $frac{d^2y}{dx^2} + 4frac{dy}{dx} + 40y = x$




So I solved the auxillary equation, $ lambda^2 + 4lambda +40 = 0$, which gives $lambda = -2 pm 6i$. I believe I am correct in thinking this means the complementary solution is of the form $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, where $x in mathbb{R}$. I would have thought this is the final answer but the answer given is $e^{-2x}(Acos{6x} +Bsin{6x})$. To try to get this I did
$$ begin{align}
Ae^{(-2+6i)x} + Be^{(-2-6i)x} &= Ae^{-2x}(cos{6x} +isin{6x}) +Be^{-2x}(cos{6x}+isin{6x}) \ &= e^{-2x}((A+B)cos{6x} + (A-B)isin{6x})
end{align}$$
How do you get to the given answer?



EDIT



To clarify. What I want to know is how to get from my answer, $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, to the textbook's(and wolfram alpha's) answer, $e^{-2x}(Acos{6x} +Bsin{6x})$ ?










share|cite|improve this question











$endgroup$












  • $begingroup$
    You are aware that all 3 forms are essentially the same, only with different composition of the constants? Is your question on whether the equation $(C,D)=(A+B, (A-B)i)$ is always solvable for $A,B$?
    $endgroup$
    – LutzL
    Feb 26 '18 at 17:34
















1












$begingroup$


I have a question stating




Find the complementary function of $frac{d^2y}{dx^2} + 4frac{dy}{dx} + 40y = x$




So I solved the auxillary equation, $ lambda^2 + 4lambda +40 = 0$, which gives $lambda = -2 pm 6i$. I believe I am correct in thinking this means the complementary solution is of the form $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, where $x in mathbb{R}$. I would have thought this is the final answer but the answer given is $e^{-2x}(Acos{6x} +Bsin{6x})$. To try to get this I did
$$ begin{align}
Ae^{(-2+6i)x} + Be^{(-2-6i)x} &= Ae^{-2x}(cos{6x} +isin{6x}) +Be^{-2x}(cos{6x}+isin{6x}) \ &= e^{-2x}((A+B)cos{6x} + (A-B)isin{6x})
end{align}$$
How do you get to the given answer?



EDIT



To clarify. What I want to know is how to get from my answer, $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, to the textbook's(and wolfram alpha's) answer, $e^{-2x}(Acos{6x} +Bsin{6x})$ ?










share|cite|improve this question











$endgroup$












  • $begingroup$
    You are aware that all 3 forms are essentially the same, only with different composition of the constants? Is your question on whether the equation $(C,D)=(A+B, (A-B)i)$ is always solvable for $A,B$?
    $endgroup$
    – LutzL
    Feb 26 '18 at 17:34














1












1








1


1



$begingroup$


I have a question stating




Find the complementary function of $frac{d^2y}{dx^2} + 4frac{dy}{dx} + 40y = x$




So I solved the auxillary equation, $ lambda^2 + 4lambda +40 = 0$, which gives $lambda = -2 pm 6i$. I believe I am correct in thinking this means the complementary solution is of the form $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, where $x in mathbb{R}$. I would have thought this is the final answer but the answer given is $e^{-2x}(Acos{6x} +Bsin{6x})$. To try to get this I did
$$ begin{align}
Ae^{(-2+6i)x} + Be^{(-2-6i)x} &= Ae^{-2x}(cos{6x} +isin{6x}) +Be^{-2x}(cos{6x}+isin{6x}) \ &= e^{-2x}((A+B)cos{6x} + (A-B)isin{6x})
end{align}$$
How do you get to the given answer?



EDIT



To clarify. What I want to know is how to get from my answer, $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, to the textbook's(and wolfram alpha's) answer, $e^{-2x}(Acos{6x} +Bsin{6x})$ ?










share|cite|improve this question











$endgroup$




I have a question stating




Find the complementary function of $frac{d^2y}{dx^2} + 4frac{dy}{dx} + 40y = x$




So I solved the auxillary equation, $ lambda^2 + 4lambda +40 = 0$, which gives $lambda = -2 pm 6i$. I believe I am correct in thinking this means the complementary solution is of the form $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, where $x in mathbb{R}$. I would have thought this is the final answer but the answer given is $e^{-2x}(Acos{6x} +Bsin{6x})$. To try to get this I did
$$ begin{align}
Ae^{(-2+6i)x} + Be^{(-2-6i)x} &= Ae^{-2x}(cos{6x} +isin{6x}) +Be^{-2x}(cos{6x}+isin{6x}) \ &= e^{-2x}((A+B)cos{6x} + (A-B)isin{6x})
end{align}$$
How do you get to the given answer?



EDIT



To clarify. What I want to know is how to get from my answer, $Ae^{(-2+6i)x} + Be^{(-2-6i)x}$, to the textbook's(and wolfram alpha's) answer, $e^{-2x}(Acos{6x} +Bsin{6x})$ ?







calculus ordinary-differential-equations complex-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 26 '18 at 19:25







Ewan Miller

















asked Feb 26 '18 at 16:52









Ewan MillerEwan Miller

12713




12713












  • $begingroup$
    You are aware that all 3 forms are essentially the same, only with different composition of the constants? Is your question on whether the equation $(C,D)=(A+B, (A-B)i)$ is always solvable for $A,B$?
    $endgroup$
    – LutzL
    Feb 26 '18 at 17:34


















  • $begingroup$
    You are aware that all 3 forms are essentially the same, only with different composition of the constants? Is your question on whether the equation $(C,D)=(A+B, (A-B)i)$ is always solvable for $A,B$?
    $endgroup$
    – LutzL
    Feb 26 '18 at 17:34
















$begingroup$
You are aware that all 3 forms are essentially the same, only with different composition of the constants? Is your question on whether the equation $(C,D)=(A+B, (A-B)i)$ is always solvable for $A,B$?
$endgroup$
– LutzL
Feb 26 '18 at 17:34




$begingroup$
You are aware that all 3 forms are essentially the same, only with different composition of the constants? Is your question on whether the equation $(C,D)=(A+B, (A-B)i)$ is always solvable for $A,B$?
$endgroup$
– LutzL
Feb 26 '18 at 17:34










2 Answers
2






active

oldest

votes


















0












$begingroup$

It is simply $(A+B)=C$ and $(A-B)= D$ to give $e^{-2x}(Ccos{6x}+Dsin{6x})$






share|cite|improve this answer









$endgroup$





















    -1












    $begingroup$

    It is easy..



    Use $e^{ix}=cos x+i sin x$.



    And in final step you can collect $cos$ and $sin$ values as constant (you can say $A+B=$ new constant let say $C$ and $(A-B)i=$ another constant let say $D$)






    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%2f2667694%2ffinding-the-complementary-function-of-a-second-order-linear-differential-equatio%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









      0












      $begingroup$

      It is simply $(A+B)=C$ and $(A-B)= D$ to give $e^{-2x}(Ccos{6x}+Dsin{6x})$






      share|cite|improve this answer









      $endgroup$


















        0












        $begingroup$

        It is simply $(A+B)=C$ and $(A-B)= D$ to give $e^{-2x}(Ccos{6x}+Dsin{6x})$






        share|cite|improve this answer









        $endgroup$
















          0












          0








          0





          $begingroup$

          It is simply $(A+B)=C$ and $(A-B)= D$ to give $e^{-2x}(Ccos{6x}+Dsin{6x})$






          share|cite|improve this answer









          $endgroup$



          It is simply $(A+B)=C$ and $(A-B)= D$ to give $e^{-2x}(Ccos{6x}+Dsin{6x})$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Feb 26 '18 at 19:59









          Ewan MillerEwan Miller

          12713




          12713























              -1












              $begingroup$

              It is easy..



              Use $e^{ix}=cos x+i sin x$.



              And in final step you can collect $cos$ and $sin$ values as constant (you can say $A+B=$ new constant let say $C$ and $(A-B)i=$ another constant let say $D$)






              share|cite|improve this answer











              $endgroup$


















                -1












                $begingroup$

                It is easy..



                Use $e^{ix}=cos x+i sin x$.



                And in final step you can collect $cos$ and $sin$ values as constant (you can say $A+B=$ new constant let say $C$ and $(A-B)i=$ another constant let say $D$)






                share|cite|improve this answer











                $endgroup$
















                  -1












                  -1








                  -1





                  $begingroup$

                  It is easy..



                  Use $e^{ix}=cos x+i sin x$.



                  And in final step you can collect $cos$ and $sin$ values as constant (you can say $A+B=$ new constant let say $C$ and $(A-B)i=$ another constant let say $D$)






                  share|cite|improve this answer











                  $endgroup$



                  It is easy..



                  Use $e^{ix}=cos x+i sin x$.



                  And in final step you can collect $cos$ and $sin$ values as constant (you can say $A+B=$ new constant let say $C$ and $(A-B)i=$ another constant let say $D$)







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Dec 29 '18 at 5:23









                  Siong Thye Goh

                  103k1468119




                  103k1468119










                  answered Dec 29 '18 at 5:00









                  محبس الجنمحبس الجن

                  1




                  1






























                      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%2f2667694%2ffinding-the-complementary-function-of-a-second-order-linear-differential-equatio%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

                      How do I know what Microsoft account the skydrive app is syncing to?

                      When does type information flow backwards in C++?

                      Grease: Live!