Taylor series leads to two different functions - why?












18












$begingroup$


Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$



Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get



$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$



$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get



$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$



and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



As you can see, arguments of $ln$ are not equal. Where did it go wrong?










share|cite|improve this question











$endgroup$








  • 5




    $begingroup$
    it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
    $endgroup$
    – Jneven
    May 16 at 8:51








  • 5




    $begingroup$
    It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
    $endgroup$
    – user21820
    May 16 at 9:37
















18












$begingroup$


Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$



Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get



$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$



$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get



$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$



and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



As you can see, arguments of $ln$ are not equal. Where did it go wrong?










share|cite|improve this question











$endgroup$








  • 5




    $begingroup$
    it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
    $endgroup$
    – Jneven
    May 16 at 8:51








  • 5




    $begingroup$
    It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
    $endgroup$
    – user21820
    May 16 at 9:37














18












18








18


1



$begingroup$


Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$



Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get



$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$



$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get



$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$



and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



As you can see, arguments of $ln$ are not equal. Where did it go wrong?










share|cite|improve this question











$endgroup$




Suppose, I want to find a function such that its Taylor series expansion is
$$f(x) = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



I could start with $$frac{1}{1-x}=sum_{n=0}^{infty}x^n$$



Integrate it, substitute $xrightarrow frac{x}{a}$, multiply by $a$ and get



$$F(x) = -ln|x-1| = sum_{n=0}^{infty}frac{x^{n+1}}{n+1}$$



$$a Fleft(frac{x}{a}right) = -a lnleft|frac{x}{a}-1right| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



On the other hand, I could start with subtituting $x rightarrow frac{x}{a}$ before integration to get



$$frac{a}{a-x} = sum_{n=0}^{infty}frac{x^n}{a^n}$$



and then integrate it to get
$$-aln|x-a| = sum_{n=0}^{infty}frac{x^{n+1}}{(n+1)a^n}$$



As you can see, arguments of $ln$ are not equal. Where did it go wrong?







calculus taylor-expansion






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 16 at 9:31









Asaf Karagila♦

312k33446780




312k33446780










asked May 16 at 8:43









persistent_netizenpersistent_netizen

1366




1366








  • 5




    $begingroup$
    it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
    $endgroup$
    – Jneven
    May 16 at 8:51








  • 5




    $begingroup$
    It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
    $endgroup$
    – user21820
    May 16 at 9:37














  • 5




    $begingroup$
    it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
    $endgroup$
    – Jneven
    May 16 at 8:51








  • 5




    $begingroup$
    It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
    $endgroup$
    – user21820
    May 16 at 9:37








5




5




$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51






$begingroup$
it is possible that two different functions will have the same derivative. think about $f(x) = 2x^{2} +3, g(x) = 2x^{2} - 4 f'(x)=g'(x) = 4x$
$endgroup$
– Jneven
May 16 at 8:51






5




5




$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37




$begingroup$
It's good that you ask this question. But that's why it always pays to be precise. If you had attempted to define exactly what $F$ was, you would have realized that either you define it as some anti-derivative, or you define it as some specific definite integral, and in both cases you will know that you have to handle the constants that arise correctly.
$endgroup$
– user21820
May 16 at 9:37










1 Answer
1






active

oldest

votes


















38












$begingroup$

When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).



If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.






share|cite|improve this answer









$endgroup$














    Your Answer








    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%2f3228101%2ftaylor-series-leads-to-two-different-functions-why%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









    38












    $begingroup$

    When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).



    If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.






    share|cite|improve this answer









    $endgroup$


















      38












      $begingroup$

      When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).



      If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.






      share|cite|improve this answer









      $endgroup$
















        38












        38








        38





        $begingroup$

        When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).



        If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.






        share|cite|improve this answer









        $endgroup$



        When you integrate, you should include a constant of integration. What you see here is that when integrating the functions, you get different constants of integration. This is why your answers differ by only a constant, namely $aln a$ (you can see this by use of $log$ rules).



        If you take care with the limits or boundary conditions in the integration step, then the answers will agree exactly.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered May 16 at 8:49









        John DoeJohn Doe

        13.4k11744




        13.4k11744






























            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%2f3228101%2ftaylor-series-leads-to-two-different-functions-why%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

            Bruad Bilen | Luke uk diar | NawigatsjuunCommonskategorii: BruadCommonskategorii: RunstükenWikiquote: Bruad

            Modern approach to radio buttons

            A word for worn pool table felt