Approach of Variation of parameters (Variation of Constants)












1












$begingroup$


i have a question about the approach "Variation of parameters (also known as variation of constants).



Imagine we have non-homogene ODE of the form:
$$ y' = a(x) cdot y + b(x)$$
The homogene solution is found by the Eigenvalue approach or others like seperation of variables.



This leads us to:
$$ y_H = C cdot underbrace{e^{int a(x) mathop{dx}}}_{y_h} qquad C in mathbb{C}$$



The next step to get the non-homogene solution is to use variation of constants with the approach:
$$ y_P = C(x)cdot y_h $$
Why do we expect the special solution $y_P$ to be of the same kind as $y_H$? How do I know that the soluation must have the structure $y(x) = y_H(x) + y_P(x)$



I would greatly appreciate answers to the question.










share|cite|improve this question









$endgroup$

















    1












    $begingroup$


    i have a question about the approach "Variation of parameters (also known as variation of constants).



    Imagine we have non-homogene ODE of the form:
    $$ y' = a(x) cdot y + b(x)$$
    The homogene solution is found by the Eigenvalue approach or others like seperation of variables.



    This leads us to:
    $$ y_H = C cdot underbrace{e^{int a(x) mathop{dx}}}_{y_h} qquad C in mathbb{C}$$



    The next step to get the non-homogene solution is to use variation of constants with the approach:
    $$ y_P = C(x)cdot y_h $$
    Why do we expect the special solution $y_P$ to be of the same kind as $y_H$? How do I know that the soluation must have the structure $y(x) = y_H(x) + y_P(x)$



    I would greatly appreciate answers to the question.










    share|cite|improve this question









    $endgroup$















      1












      1








      1


      1



      $begingroup$


      i have a question about the approach "Variation of parameters (also known as variation of constants).



      Imagine we have non-homogene ODE of the form:
      $$ y' = a(x) cdot y + b(x)$$
      The homogene solution is found by the Eigenvalue approach or others like seperation of variables.



      This leads us to:
      $$ y_H = C cdot underbrace{e^{int a(x) mathop{dx}}}_{y_h} qquad C in mathbb{C}$$



      The next step to get the non-homogene solution is to use variation of constants with the approach:
      $$ y_P = C(x)cdot y_h $$
      Why do we expect the special solution $y_P$ to be of the same kind as $y_H$? How do I know that the soluation must have the structure $y(x) = y_H(x) + y_P(x)$



      I would greatly appreciate answers to the question.










      share|cite|improve this question









      $endgroup$




      i have a question about the approach "Variation of parameters (also known as variation of constants).



      Imagine we have non-homogene ODE of the form:
      $$ y' = a(x) cdot y + b(x)$$
      The homogene solution is found by the Eigenvalue approach or others like seperation of variables.



      This leads us to:
      $$ y_H = C cdot underbrace{e^{int a(x) mathop{dx}}}_{y_h} qquad C in mathbb{C}$$



      The next step to get the non-homogene solution is to use variation of constants with the approach:
      $$ y_P = C(x)cdot y_h $$
      Why do we expect the special solution $y_P$ to be of the same kind as $y_H$? How do I know that the soluation must have the structure $y(x) = y_H(x) + y_P(x)$



      I would greatly appreciate answers to the question.







      linear-algebra ordinary-differential-equations fundamental-solution






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 30 '18 at 17:34









      Sebi2020Sebi2020

      1225




      1225






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          Those are two rather unrelated questions.



          For the first one, it's simply because someone figured out that that substitution leads to an equation of the form $C'(x) = cdots$, which can be solved just by integrating it. I don't know who exactly was first for ODEs of order one, but the general method of variation of constants is credited to Euler and Lagrange.



          (By the way, $y_P = C cdot y_H$ doesn't need to look anything like $y_H$, since $C$ can be arbitrary complicated, so it's a bit of a stretch in general to say that they are “of the same kind”. But in simple cases, $C$ will be a simple function. It's not very far-fetched that if you have, for example, $b(x)=sin x$ on the right-hand side, and $a(x)$ doesn't contain any trig functions, then you expect $y_P$ to be “some expression containing $sin x$ and/or $cos x$”, since how would otherwise that $sin x$ appear when combining $y_P$ and $y_P'$?)



          The second one (regarding $y_H+y_P$) is as very standard fact about linear equations (not only linear differential equations) which is explained in every textbook and surely many times on this site already; see here for one question about the case of second-order linear ODEs.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:09










          • $begingroup$
            Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:12












          • $begingroup$
            Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
            $endgroup$
            – Hans Lundmark
            Dec 30 '18 at 20:17











          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%2f3057043%2fapproach-of-variation-of-parameters-variation-of-constants%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









          1












          $begingroup$

          Those are two rather unrelated questions.



          For the first one, it's simply because someone figured out that that substitution leads to an equation of the form $C'(x) = cdots$, which can be solved just by integrating it. I don't know who exactly was first for ODEs of order one, but the general method of variation of constants is credited to Euler and Lagrange.



          (By the way, $y_P = C cdot y_H$ doesn't need to look anything like $y_H$, since $C$ can be arbitrary complicated, so it's a bit of a stretch in general to say that they are “of the same kind”. But in simple cases, $C$ will be a simple function. It's not very far-fetched that if you have, for example, $b(x)=sin x$ on the right-hand side, and $a(x)$ doesn't contain any trig functions, then you expect $y_P$ to be “some expression containing $sin x$ and/or $cos x$”, since how would otherwise that $sin x$ appear when combining $y_P$ and $y_P'$?)



          The second one (regarding $y_H+y_P$) is as very standard fact about linear equations (not only linear differential equations) which is explained in every textbook and surely many times on this site already; see here for one question about the case of second-order linear ODEs.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:09










          • $begingroup$
            Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:12












          • $begingroup$
            Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
            $endgroup$
            – Hans Lundmark
            Dec 30 '18 at 20:17
















          1












          $begingroup$

          Those are two rather unrelated questions.



          For the first one, it's simply because someone figured out that that substitution leads to an equation of the form $C'(x) = cdots$, which can be solved just by integrating it. I don't know who exactly was first for ODEs of order one, but the general method of variation of constants is credited to Euler and Lagrange.



          (By the way, $y_P = C cdot y_H$ doesn't need to look anything like $y_H$, since $C$ can be arbitrary complicated, so it's a bit of a stretch in general to say that they are “of the same kind”. But in simple cases, $C$ will be a simple function. It's not very far-fetched that if you have, for example, $b(x)=sin x$ on the right-hand side, and $a(x)$ doesn't contain any trig functions, then you expect $y_P$ to be “some expression containing $sin x$ and/or $cos x$”, since how would otherwise that $sin x$ appear when combining $y_P$ and $y_P'$?)



          The second one (regarding $y_H+y_P$) is as very standard fact about linear equations (not only linear differential equations) which is explained in every textbook and surely many times on this site already; see here for one question about the case of second-order linear ODEs.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:09










          • $begingroup$
            Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:12












          • $begingroup$
            Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
            $endgroup$
            – Hans Lundmark
            Dec 30 '18 at 20:17














          1












          1








          1





          $begingroup$

          Those are two rather unrelated questions.



          For the first one, it's simply because someone figured out that that substitution leads to an equation of the form $C'(x) = cdots$, which can be solved just by integrating it. I don't know who exactly was first for ODEs of order one, but the general method of variation of constants is credited to Euler and Lagrange.



          (By the way, $y_P = C cdot y_H$ doesn't need to look anything like $y_H$, since $C$ can be arbitrary complicated, so it's a bit of a stretch in general to say that they are “of the same kind”. But in simple cases, $C$ will be a simple function. It's not very far-fetched that if you have, for example, $b(x)=sin x$ on the right-hand side, and $a(x)$ doesn't contain any trig functions, then you expect $y_P$ to be “some expression containing $sin x$ and/or $cos x$”, since how would otherwise that $sin x$ appear when combining $y_P$ and $y_P'$?)



          The second one (regarding $y_H+y_P$) is as very standard fact about linear equations (not only linear differential equations) which is explained in every textbook and surely many times on this site already; see here for one question about the case of second-order linear ODEs.






          share|cite|improve this answer









          $endgroup$



          Those are two rather unrelated questions.



          For the first one, it's simply because someone figured out that that substitution leads to an equation of the form $C'(x) = cdots$, which can be solved just by integrating it. I don't know who exactly was first for ODEs of order one, but the general method of variation of constants is credited to Euler and Lagrange.



          (By the way, $y_P = C cdot y_H$ doesn't need to look anything like $y_H$, since $C$ can be arbitrary complicated, so it's a bit of a stretch in general to say that they are “of the same kind”. But in simple cases, $C$ will be a simple function. It's not very far-fetched that if you have, for example, $b(x)=sin x$ on the right-hand side, and $a(x)$ doesn't contain any trig functions, then you expect $y_P$ to be “some expression containing $sin x$ and/or $cos x$”, since how would otherwise that $sin x$ appear when combining $y_P$ and $y_P'$?)



          The second one (regarding $y_H+y_P$) is as very standard fact about linear equations (not only linear differential equations) which is explained in every textbook and surely many times on this site already; see here for one question about the case of second-order linear ODEs.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 30 '18 at 18:10









          Hans LundmarkHans Lundmark

          35.3k564114




          35.3k564114












          • $begingroup$
            Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:09










          • $begingroup$
            Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:12












          • $begingroup$
            Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
            $endgroup$
            – Hans Lundmark
            Dec 30 '18 at 20:17


















          • $begingroup$
            Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:09










          • $begingroup$
            Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
            $endgroup$
            – Sebi2020
            Dec 30 '18 at 20:12












          • $begingroup$
            Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
            $endgroup$
            – Hans Lundmark
            Dec 30 '18 at 20:17
















          $begingroup$
          Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
          $endgroup$
          – Sebi2020
          Dec 30 '18 at 20:09




          $begingroup$
          Does applying to linear equations mean that this equation ($y = y_H + y_P$) is only true for linear differential equations?
          $endgroup$
          – Sebi2020
          Dec 30 '18 at 20:09












          $begingroup$
          Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
          $endgroup$
          – Sebi2020
          Dec 30 '18 at 20:12






          $begingroup$
          Did you mean $y_P = C cdot y_H$ or did you mean $y_P = C cdot y_h$? Many textbooks write $y_P = C cdot y_H$ but i think that's not correct because of the earlier definition of $y_H$. This would evaluate to $y_P = C(x) cdot C cdot e^{int a(x) dx}$. Or is it correct because you could substitute $C cdot C(x)$ with $C^*(x) = C cdot C(x)$
          $endgroup$
          – Sebi2020
          Dec 30 '18 at 20:12














          $begingroup$
          Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
          $endgroup$
          – Hans Lundmark
          Dec 30 '18 at 20:17




          $begingroup$
          Yes, it's definitely only true for linear equations! And I should have written $y_h$, I didn't notice that notational distinction until now. But it really doesn't matter, because $y_H$ and $y_h$ only differ by a constant, and that constant can be absorbed into the function $C(x)$.
          $endgroup$
          – Hans Lundmark
          Dec 30 '18 at 20:17


















          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%2f3057043%2fapproach-of-variation-of-parameters-variation-of-constants%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg