Solution of second order differential eqauation $ D''y + (k)^2 y=0$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












What is the need to write two different solutions of the following equation ( although they are same solutions as I think) -



$$ D''y + (k)^2 y=0$$



( where D" means ordinary derivative of y with respect to x, and symbol ^ denotes power raised to )



Solution one
$$ y = A sin(kx) + B cos(kx)$$



Solution two
$$ y = A exp(ikx) + B exp( -ikx)$$



When I told my teacher from where these solutions came from,she said the equation you are showing is a standard equation and you have to remember the solutions. But I want to know how did we reach at these solutions. I mean when we have first order differential equation, we obtain the solutions by Integration or by some any method using integration. I want somewhat that kind of solution which have been obtained by integration or I mean I don't want to cram these solutions but want to know from where they came from and what is the actual way to obtain them?







share|cite|improve this question


















  • 1




    Mostly guess-and-check, as most DE solutions are. You do need two linearly independent solutions, because of the theory of ODE's.
    – Adrian Keister
    Aug 27 at 17:11










  • Do you know how one solves $ay'' + by' + cy=0$ where $a,b,c$ are constants in general?
    – Sobi
    Aug 27 at 17:11










  • @Sabi, sorry to say but I don't. Please show me how to if it is related to my question.
    – Gagan Saggu
    Aug 27 at 17:15










  • @GaganSaggu You can find everything you need here.
    – Sobi
    Aug 27 at 17:16











  • That's not exactly correct. If $k=0$, the solutions are $Ax+B$.
    – DisintegratingByParts
    Aug 27 at 23:50














up vote
0
down vote

favorite












What is the need to write two different solutions of the following equation ( although they are same solutions as I think) -



$$ D''y + (k)^2 y=0$$



( where D" means ordinary derivative of y with respect to x, and symbol ^ denotes power raised to )



Solution one
$$ y = A sin(kx) + B cos(kx)$$



Solution two
$$ y = A exp(ikx) + B exp( -ikx)$$



When I told my teacher from where these solutions came from,she said the equation you are showing is a standard equation and you have to remember the solutions. But I want to know how did we reach at these solutions. I mean when we have first order differential equation, we obtain the solutions by Integration or by some any method using integration. I want somewhat that kind of solution which have been obtained by integration or I mean I don't want to cram these solutions but want to know from where they came from and what is the actual way to obtain them?







share|cite|improve this question


















  • 1




    Mostly guess-and-check, as most DE solutions are. You do need two linearly independent solutions, because of the theory of ODE's.
    – Adrian Keister
    Aug 27 at 17:11










  • Do you know how one solves $ay'' + by' + cy=0$ where $a,b,c$ are constants in general?
    – Sobi
    Aug 27 at 17:11










  • @Sabi, sorry to say but I don't. Please show me how to if it is related to my question.
    – Gagan Saggu
    Aug 27 at 17:15










  • @GaganSaggu You can find everything you need here.
    – Sobi
    Aug 27 at 17:16











  • That's not exactly correct. If $k=0$, the solutions are $Ax+B$.
    – DisintegratingByParts
    Aug 27 at 23:50












up vote
0
down vote

favorite









up vote
0
down vote

favorite











What is the need to write two different solutions of the following equation ( although they are same solutions as I think) -



$$ D''y + (k)^2 y=0$$



( where D" means ordinary derivative of y with respect to x, and symbol ^ denotes power raised to )



Solution one
$$ y = A sin(kx) + B cos(kx)$$



Solution two
$$ y = A exp(ikx) + B exp( -ikx)$$



When I told my teacher from where these solutions came from,she said the equation you are showing is a standard equation and you have to remember the solutions. But I want to know how did we reach at these solutions. I mean when we have first order differential equation, we obtain the solutions by Integration or by some any method using integration. I want somewhat that kind of solution which have been obtained by integration or I mean I don't want to cram these solutions but want to know from where they came from and what is the actual way to obtain them?







share|cite|improve this question














What is the need to write two different solutions of the following equation ( although they are same solutions as I think) -



$$ D''y + (k)^2 y=0$$



( where D" means ordinary derivative of y with respect to x, and symbol ^ denotes power raised to )



Solution one
$$ y = A sin(kx) + B cos(kx)$$



Solution two
$$ y = A exp(ikx) + B exp( -ikx)$$



When I told my teacher from where these solutions came from,she said the equation you are showing is a standard equation and you have to remember the solutions. But I want to know how did we reach at these solutions. I mean when we have first order differential equation, we obtain the solutions by Integration or by some any method using integration. I want somewhat that kind of solution which have been obtained by integration or I mean I don't want to cram these solutions but want to know from where they came from and what is the actual way to obtain them?









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 28 at 18:37







user519686

















asked Aug 27 at 17:08









Gagan Saggu

93




93







  • 1




    Mostly guess-and-check, as most DE solutions are. You do need two linearly independent solutions, because of the theory of ODE's.
    – Adrian Keister
    Aug 27 at 17:11










  • Do you know how one solves $ay'' + by' + cy=0$ where $a,b,c$ are constants in general?
    – Sobi
    Aug 27 at 17:11










  • @Sabi, sorry to say but I don't. Please show me how to if it is related to my question.
    – Gagan Saggu
    Aug 27 at 17:15










  • @GaganSaggu You can find everything you need here.
    – Sobi
    Aug 27 at 17:16











  • That's not exactly correct. If $k=0$, the solutions are $Ax+B$.
    – DisintegratingByParts
    Aug 27 at 23:50












  • 1




    Mostly guess-and-check, as most DE solutions are. You do need two linearly independent solutions, because of the theory of ODE's.
    – Adrian Keister
    Aug 27 at 17:11










  • Do you know how one solves $ay'' + by' + cy=0$ where $a,b,c$ are constants in general?
    – Sobi
    Aug 27 at 17:11










  • @Sabi, sorry to say but I don't. Please show me how to if it is related to my question.
    – Gagan Saggu
    Aug 27 at 17:15










  • @GaganSaggu You can find everything you need here.
    – Sobi
    Aug 27 at 17:16











  • That's not exactly correct. If $k=0$, the solutions are $Ax+B$.
    – DisintegratingByParts
    Aug 27 at 23:50







1




1




Mostly guess-and-check, as most DE solutions are. You do need two linearly independent solutions, because of the theory of ODE's.
– Adrian Keister
Aug 27 at 17:11




Mostly guess-and-check, as most DE solutions are. You do need two linearly independent solutions, because of the theory of ODE's.
– Adrian Keister
Aug 27 at 17:11












Do you know how one solves $ay'' + by' + cy=0$ where $a,b,c$ are constants in general?
– Sobi
Aug 27 at 17:11




Do you know how one solves $ay'' + by' + cy=0$ where $a,b,c$ are constants in general?
– Sobi
Aug 27 at 17:11












@Sabi, sorry to say but I don't. Please show me how to if it is related to my question.
– Gagan Saggu
Aug 27 at 17:15




@Sabi, sorry to say but I don't. Please show me how to if it is related to my question.
– Gagan Saggu
Aug 27 at 17:15












@GaganSaggu You can find everything you need here.
– Sobi
Aug 27 at 17:16





@GaganSaggu You can find everything you need here.
– Sobi
Aug 27 at 17:16













That's not exactly correct. If $k=0$, the solutions are $Ax+B$.
– DisintegratingByParts
Aug 27 at 23:50




That's not exactly correct. If $k=0$, the solutions are $Ax+B$.
– DisintegratingByParts
Aug 27 at 23:50










2 Answers
2






active

oldest

votes

















up vote
1
down vote













You are looking for a solution to $$y''+k^2 y =0$$



That means you are looking for a function whose second derivative is a constant multiple of the original function.



What types of functions have the property that when you take second derivative you get a constant multiple of your function?



Well $$y= e^lambda x$$ is a good candidate.



Plug in your equation and solve for $lambda$ and you will get the correct answers.



In the process you need to know $$ e^ix = cos x + i sin x $$






share|cite|improve this answer



























    up vote
    0
    down vote













    Solution two is equal to one
    $$ y = A exp(ikx) + B exp( -ikx)=A(cos kx+i sin kx) + B (cos kx-i sin kx)=(A+B) cos kx+(A-iB) sin kx)= A_1 sin(kx) + B_1 cos(kx)$$






    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: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      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%2f2896416%2fsolution-of-second-order-differential-eqauation-dy-k2-y-0%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      You are looking for a solution to $$y''+k^2 y =0$$



      That means you are looking for a function whose second derivative is a constant multiple of the original function.



      What types of functions have the property that when you take second derivative you get a constant multiple of your function?



      Well $$y= e^lambda x$$ is a good candidate.



      Plug in your equation and solve for $lambda$ and you will get the correct answers.



      In the process you need to know $$ e^ix = cos x + i sin x $$






      share|cite|improve this answer
























        up vote
        1
        down vote













        You are looking for a solution to $$y''+k^2 y =0$$



        That means you are looking for a function whose second derivative is a constant multiple of the original function.



        What types of functions have the property that when you take second derivative you get a constant multiple of your function?



        Well $$y= e^lambda x$$ is a good candidate.



        Plug in your equation and solve for $lambda$ and you will get the correct answers.



        In the process you need to know $$ e^ix = cos x + i sin x $$






        share|cite|improve this answer






















          up vote
          1
          down vote










          up vote
          1
          down vote









          You are looking for a solution to $$y''+k^2 y =0$$



          That means you are looking for a function whose second derivative is a constant multiple of the original function.



          What types of functions have the property that when you take second derivative you get a constant multiple of your function?



          Well $$y= e^lambda x$$ is a good candidate.



          Plug in your equation and solve for $lambda$ and you will get the correct answers.



          In the process you need to know $$ e^ix = cos x + i sin x $$






          share|cite|improve this answer












          You are looking for a solution to $$y''+k^2 y =0$$



          That means you are looking for a function whose second derivative is a constant multiple of the original function.



          What types of functions have the property that when you take second derivative you get a constant multiple of your function?



          Well $$y= e^lambda x$$ is a good candidate.



          Plug in your equation and solve for $lambda$ and you will get the correct answers.



          In the process you need to know $$ e^ix = cos x + i sin x $$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 27 at 17:19









          Mohammad Riazi-Kermani

          30.6k41852




          30.6k41852




















              up vote
              0
              down vote













              Solution two is equal to one
              $$ y = A exp(ikx) + B exp( -ikx)=A(cos kx+i sin kx) + B (cos kx-i sin kx)=(A+B) cos kx+(A-iB) sin kx)= A_1 sin(kx) + B_1 cos(kx)$$






              share|cite|improve this answer
























                up vote
                0
                down vote













                Solution two is equal to one
                $$ y = A exp(ikx) + B exp( -ikx)=A(cos kx+i sin kx) + B (cos kx-i sin kx)=(A+B) cos kx+(A-iB) sin kx)= A_1 sin(kx) + B_1 cos(kx)$$






                share|cite|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Solution two is equal to one
                  $$ y = A exp(ikx) + B exp( -ikx)=A(cos kx+i sin kx) + B (cos kx-i sin kx)=(A+B) cos kx+(A-iB) sin kx)= A_1 sin(kx) + B_1 cos(kx)$$






                  share|cite|improve this answer












                  Solution two is equal to one
                  $$ y = A exp(ikx) + B exp( -ikx)=A(cos kx+i sin kx) + B (cos kx-i sin kx)=(A+B) cos kx+(A-iB) sin kx)= A_1 sin(kx) + B_1 cos(kx)$$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 27 at 17:24







                  user519686


































                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896416%2fsolution-of-second-order-differential-eqauation-dy-k2-y-0%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      How to combine Bézier curves to a surface?

                      Mutual Information Always Non-negative

                      Why am i infinitely getting the same tweet with the Twitter Search API?