Integrating the errorfunction using the method of undetermined coefficients

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











up vote
0
down vote

favorite












$DeclareMathOperatorerfErf$
I am trying to solve using the method of undetermined coefficients:



$$interf(x)dx$$



With the method of undetermined coefficients one would start by "simply" guessing a general solution to the integral.



In the case of $interf(x)dx$ my calculusbook suggests we try:



$$interf(x)=P(x)erf(x)+Q(x)e^-x^2+C$$



Here P and Q are polynomials to be determined.



Question: Where on earth does this guess come from? I don't intuit it at all. Any help would be appreciated.







share|cite|improve this question



















  • It's called guessing for a reason ... :)
    – Hagen von Eitzen
    Jul 19 at 19:08










  • @HagenvonEitzen I think it's supposed to be an educated guess... but for now the "educated" part is beyond me...
    – GambitSquared
    Jul 19 at 19:09














up vote
0
down vote

favorite












$DeclareMathOperatorerfErf$
I am trying to solve using the method of undetermined coefficients:



$$interf(x)dx$$



With the method of undetermined coefficients one would start by "simply" guessing a general solution to the integral.



In the case of $interf(x)dx$ my calculusbook suggests we try:



$$interf(x)=P(x)erf(x)+Q(x)e^-x^2+C$$



Here P and Q are polynomials to be determined.



Question: Where on earth does this guess come from? I don't intuit it at all. Any help would be appreciated.







share|cite|improve this question



















  • It's called guessing for a reason ... :)
    – Hagen von Eitzen
    Jul 19 at 19:08










  • @HagenvonEitzen I think it's supposed to be an educated guess... but for now the "educated" part is beyond me...
    – GambitSquared
    Jul 19 at 19:09












up vote
0
down vote

favorite









up vote
0
down vote

favorite











$DeclareMathOperatorerfErf$
I am trying to solve using the method of undetermined coefficients:



$$interf(x)dx$$



With the method of undetermined coefficients one would start by "simply" guessing a general solution to the integral.



In the case of $interf(x)dx$ my calculusbook suggests we try:



$$interf(x)=P(x)erf(x)+Q(x)e^-x^2+C$$



Here P and Q are polynomials to be determined.



Question: Where on earth does this guess come from? I don't intuit it at all. Any help would be appreciated.







share|cite|improve this question











$DeclareMathOperatorerfErf$
I am trying to solve using the method of undetermined coefficients:



$$interf(x)dx$$



With the method of undetermined coefficients one would start by "simply" guessing a general solution to the integral.



In the case of $interf(x)dx$ my calculusbook suggests we try:



$$interf(x)=P(x)erf(x)+Q(x)e^-x^2+C$$



Here P and Q are polynomials to be determined.



Question: Where on earth does this guess come from? I don't intuit it at all. Any help would be appreciated.









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 19 at 19:05









GambitSquared

1,2801034




1,2801034











  • It's called guessing for a reason ... :)
    – Hagen von Eitzen
    Jul 19 at 19:08










  • @HagenvonEitzen I think it's supposed to be an educated guess... but for now the "educated" part is beyond me...
    – GambitSquared
    Jul 19 at 19:09
















  • It's called guessing for a reason ... :)
    – Hagen von Eitzen
    Jul 19 at 19:08










  • @HagenvonEitzen I think it's supposed to be an educated guess... but for now the "educated" part is beyond me...
    – GambitSquared
    Jul 19 at 19:09















It's called guessing for a reason ... :)
– Hagen von Eitzen
Jul 19 at 19:08




It's called guessing for a reason ... :)
– Hagen von Eitzen
Jul 19 at 19:08












@HagenvonEitzen I think it's supposed to be an educated guess... but for now the "educated" part is beyond me...
– GambitSquared
Jul 19 at 19:09




@HagenvonEitzen I think it's supposed to be an educated guess... but for now the "educated" part is beyond me...
– GambitSquared
Jul 19 at 19:09










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










What could be on the right hand side of
$$int f(x),mathrm dx = ldots? $$
After differentiating, the left hand side becomes $f(x)$, of course. So we want something that produces - initially perhaps with some additional "waste" - $f(x)$. By the product rule, $xf(x)$ does produce $f(x)$ (and also $xf'(x)$, with which we have to deal as well), so allowing $xf(x)$ would be a good idea. A slight generalization is to allow not just $x$ times $f(x)$, but in fact $P(x)f(x)$ for arbitrary polynomial $P$, as well as $Q(x)f'(x)$ in order to somehow hopefully cancel the "waste". We may want to continue with polynomial multiples of $f''(x)$ etc., but fortunately in our specific example, $f''$ is already a polynomial multiple of $f'$ ...






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%2f2856968%2fintegrating-the-errorfunction-using-the-method-of-undetermined-coefficients%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    What could be on the right hand side of
    $$int f(x),mathrm dx = ldots? $$
    After differentiating, the left hand side becomes $f(x)$, of course. So we want something that produces - initially perhaps with some additional "waste" - $f(x)$. By the product rule, $xf(x)$ does produce $f(x)$ (and also $xf'(x)$, with which we have to deal as well), so allowing $xf(x)$ would be a good idea. A slight generalization is to allow not just $x$ times $f(x)$, but in fact $P(x)f(x)$ for arbitrary polynomial $P$, as well as $Q(x)f'(x)$ in order to somehow hopefully cancel the "waste". We may want to continue with polynomial multiples of $f''(x)$ etc., but fortunately in our specific example, $f''$ is already a polynomial multiple of $f'$ ...






    share|cite|improve this answer

























      up vote
      1
      down vote



      accepted










      What could be on the right hand side of
      $$int f(x),mathrm dx = ldots? $$
      After differentiating, the left hand side becomes $f(x)$, of course. So we want something that produces - initially perhaps with some additional "waste" - $f(x)$. By the product rule, $xf(x)$ does produce $f(x)$ (and also $xf'(x)$, with which we have to deal as well), so allowing $xf(x)$ would be a good idea. A slight generalization is to allow not just $x$ times $f(x)$, but in fact $P(x)f(x)$ for arbitrary polynomial $P$, as well as $Q(x)f'(x)$ in order to somehow hopefully cancel the "waste". We may want to continue with polynomial multiples of $f''(x)$ etc., but fortunately in our specific example, $f''$ is already a polynomial multiple of $f'$ ...






      share|cite|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        What could be on the right hand side of
        $$int f(x),mathrm dx = ldots? $$
        After differentiating, the left hand side becomes $f(x)$, of course. So we want something that produces - initially perhaps with some additional "waste" - $f(x)$. By the product rule, $xf(x)$ does produce $f(x)$ (and also $xf'(x)$, with which we have to deal as well), so allowing $xf(x)$ would be a good idea. A slight generalization is to allow not just $x$ times $f(x)$, but in fact $P(x)f(x)$ for arbitrary polynomial $P$, as well as $Q(x)f'(x)$ in order to somehow hopefully cancel the "waste". We may want to continue with polynomial multiples of $f''(x)$ etc., but fortunately in our specific example, $f''$ is already a polynomial multiple of $f'$ ...






        share|cite|improve this answer













        What could be on the right hand side of
        $$int f(x),mathrm dx = ldots? $$
        After differentiating, the left hand side becomes $f(x)$, of course. So we want something that produces - initially perhaps with some additional "waste" - $f(x)$. By the product rule, $xf(x)$ does produce $f(x)$ (and also $xf'(x)$, with which we have to deal as well), so allowing $xf(x)$ would be a good idea. A slight generalization is to allow not just $x$ times $f(x)$, but in fact $P(x)f(x)$ for arbitrary polynomial $P$, as well as $Q(x)f'(x)$ in order to somehow hopefully cancel the "waste". We may want to continue with polynomial multiples of $f''(x)$ etc., but fortunately in our specific example, $f''$ is already a polynomial multiple of $f'$ ...







        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 19 at 19:16









        Hagen von Eitzen

        265k20258477




        265k20258477






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2856968%2fintegrating-the-errorfunction-using-the-method-of-undetermined-coefficients%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?