Understanding Taylor Approximations

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











up vote
0
down vote

favorite












I am curious about what quantity a Taylor approximation actually optimizes, when it produces, as they say, the "best" possible nth-degree approximation of a function around the given x-value. Oftentimes graphs make the matter obvious, but given, i.e., $f(x) = (sech 9x)^4$, the second-degree Maclaurin approximation actually appears to be more accurate than the fourth-degree Maclaurin approximation, as shown in the images (red is $f(x)$, black is Maclaurin).



enter image description hereenter image description here



If asked to write an algorithm to assess the relative quality of two candidate approximations of some function around some x-value, my initial idea would be to integrate between each candidate and the function, using bounds close to the given x-value, and choose the candidate which yields less area. However, this raises the question of how far away from the given x-value counts as close.



The only metric I'm aware of that objectively captures the idea of being "close to" or "far from" the given x-value is the radius of convergence. However, it's not obvious to me that using the interval of convergence as integration bounds would be justified, and as this metric is viewed as emerging from the full Taylor series, invoking it to explain the decision mechanism behind constituent, finite Taylor approximations might involve circular reasoning.



This idea of defining "close" supposedly explains the counterintuitive phenomenon in the images as well; we're looking "close" to the origin, but if we would look "even closer," then the fourth-degree Maclaurin approximation would outperform the second-degree Maclaurin approximation.



So how close matters? Is there some sort of weighting scheme where the closer a point is to the given x-value, the more valuable its contribution is to the overall quality of the approximation? Does only the closest possible outlook matter at all, so that candidate Maclaurin approximation $p(x)$ would be selected over candidate Maclaurin approximation $q(x)$, even if all three functions are equal at $x = 0$, $q(x)$ better approximates $f(x)$ at every other $x$ in $mathbbR$, but $p(x)$ better approximates $f(x)$ at $x = ±epsilon$, where $epsilon$ is some infinitesimally small value in *$mathbbR$? Is the idea of integrating between the candidate approximations and the function hypothetically relevant at all?







share|cite|improve this question
























    up vote
    0
    down vote

    favorite












    I am curious about what quantity a Taylor approximation actually optimizes, when it produces, as they say, the "best" possible nth-degree approximation of a function around the given x-value. Oftentimes graphs make the matter obvious, but given, i.e., $f(x) = (sech 9x)^4$, the second-degree Maclaurin approximation actually appears to be more accurate than the fourth-degree Maclaurin approximation, as shown in the images (red is $f(x)$, black is Maclaurin).



    enter image description hereenter image description here



    If asked to write an algorithm to assess the relative quality of two candidate approximations of some function around some x-value, my initial idea would be to integrate between each candidate and the function, using bounds close to the given x-value, and choose the candidate which yields less area. However, this raises the question of how far away from the given x-value counts as close.



    The only metric I'm aware of that objectively captures the idea of being "close to" or "far from" the given x-value is the radius of convergence. However, it's not obvious to me that using the interval of convergence as integration bounds would be justified, and as this metric is viewed as emerging from the full Taylor series, invoking it to explain the decision mechanism behind constituent, finite Taylor approximations might involve circular reasoning.



    This idea of defining "close" supposedly explains the counterintuitive phenomenon in the images as well; we're looking "close" to the origin, but if we would look "even closer," then the fourth-degree Maclaurin approximation would outperform the second-degree Maclaurin approximation.



    So how close matters? Is there some sort of weighting scheme where the closer a point is to the given x-value, the more valuable its contribution is to the overall quality of the approximation? Does only the closest possible outlook matter at all, so that candidate Maclaurin approximation $p(x)$ would be selected over candidate Maclaurin approximation $q(x)$, even if all three functions are equal at $x = 0$, $q(x)$ better approximates $f(x)$ at every other $x$ in $mathbbR$, but $p(x)$ better approximates $f(x)$ at $x = ±epsilon$, where $epsilon$ is some infinitesimally small value in *$mathbbR$? Is the idea of integrating between the candidate approximations and the function hypothetically relevant at all?







    share|cite|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am curious about what quantity a Taylor approximation actually optimizes, when it produces, as they say, the "best" possible nth-degree approximation of a function around the given x-value. Oftentimes graphs make the matter obvious, but given, i.e., $f(x) = (sech 9x)^4$, the second-degree Maclaurin approximation actually appears to be more accurate than the fourth-degree Maclaurin approximation, as shown in the images (red is $f(x)$, black is Maclaurin).



      enter image description hereenter image description here



      If asked to write an algorithm to assess the relative quality of two candidate approximations of some function around some x-value, my initial idea would be to integrate between each candidate and the function, using bounds close to the given x-value, and choose the candidate which yields less area. However, this raises the question of how far away from the given x-value counts as close.



      The only metric I'm aware of that objectively captures the idea of being "close to" or "far from" the given x-value is the radius of convergence. However, it's not obvious to me that using the interval of convergence as integration bounds would be justified, and as this metric is viewed as emerging from the full Taylor series, invoking it to explain the decision mechanism behind constituent, finite Taylor approximations might involve circular reasoning.



      This idea of defining "close" supposedly explains the counterintuitive phenomenon in the images as well; we're looking "close" to the origin, but if we would look "even closer," then the fourth-degree Maclaurin approximation would outperform the second-degree Maclaurin approximation.



      So how close matters? Is there some sort of weighting scheme where the closer a point is to the given x-value, the more valuable its contribution is to the overall quality of the approximation? Does only the closest possible outlook matter at all, so that candidate Maclaurin approximation $p(x)$ would be selected over candidate Maclaurin approximation $q(x)$, even if all three functions are equal at $x = 0$, $q(x)$ better approximates $f(x)$ at every other $x$ in $mathbbR$, but $p(x)$ better approximates $f(x)$ at $x = ±epsilon$, where $epsilon$ is some infinitesimally small value in *$mathbbR$? Is the idea of integrating between the candidate approximations and the function hypothetically relevant at all?







      share|cite|improve this question












      I am curious about what quantity a Taylor approximation actually optimizes, when it produces, as they say, the "best" possible nth-degree approximation of a function around the given x-value. Oftentimes graphs make the matter obvious, but given, i.e., $f(x) = (sech 9x)^4$, the second-degree Maclaurin approximation actually appears to be more accurate than the fourth-degree Maclaurin approximation, as shown in the images (red is $f(x)$, black is Maclaurin).



      enter image description hereenter image description here



      If asked to write an algorithm to assess the relative quality of two candidate approximations of some function around some x-value, my initial idea would be to integrate between each candidate and the function, using bounds close to the given x-value, and choose the candidate which yields less area. However, this raises the question of how far away from the given x-value counts as close.



      The only metric I'm aware of that objectively captures the idea of being "close to" or "far from" the given x-value is the radius of convergence. However, it's not obvious to me that using the interval of convergence as integration bounds would be justified, and as this metric is viewed as emerging from the full Taylor series, invoking it to explain the decision mechanism behind constituent, finite Taylor approximations might involve circular reasoning.



      This idea of defining "close" supposedly explains the counterintuitive phenomenon in the images as well; we're looking "close" to the origin, but if we would look "even closer," then the fourth-degree Maclaurin approximation would outperform the second-degree Maclaurin approximation.



      So how close matters? Is there some sort of weighting scheme where the closer a point is to the given x-value, the more valuable its contribution is to the overall quality of the approximation? Does only the closest possible outlook matter at all, so that candidate Maclaurin approximation $p(x)$ would be selected over candidate Maclaurin approximation $q(x)$, even if all three functions are equal at $x = 0$, $q(x)$ better approximates $f(x)$ at every other $x$ in $mathbbR$, but $p(x)$ better approximates $f(x)$ at $x = ±epsilon$, where $epsilon$ is some infinitesimally small value in *$mathbbR$? Is the idea of integrating between the candidate approximations and the function hypothetically relevant at all?









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 17 at 3:45









      user10478

      1939




      1939




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote













          If $P_n(x)$ is the $n$th order Taylor polynomial approximation to $f(x)$ at $x_0$, then
          $$
          f(x) = P_n(x) + o(|x - x_0|^n) quad textas x to x_0.
          $$
          Moreover, it can be shown that if any other polynomial $p(x)$ of degree less than or equal to $n$ has this property, then $p(x) = P_n(x)$. Thus, $P_n(x)$ is the "best" polynomial approximation of $f$ near $x_0$ of degree at most $n$.






          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%2f2885380%2funderstanding-taylor-approximations%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
            4
            down vote













            If $P_n(x)$ is the $n$th order Taylor polynomial approximation to $f(x)$ at $x_0$, then
            $$
            f(x) = P_n(x) + o(|x - x_0|^n) quad textas x to x_0.
            $$
            Moreover, it can be shown that if any other polynomial $p(x)$ of degree less than or equal to $n$ has this property, then $p(x) = P_n(x)$. Thus, $P_n(x)$ is the "best" polynomial approximation of $f$ near $x_0$ of degree at most $n$.






            share|cite|improve this answer
























              up vote
              4
              down vote













              If $P_n(x)$ is the $n$th order Taylor polynomial approximation to $f(x)$ at $x_0$, then
              $$
              f(x) = P_n(x) + o(|x - x_0|^n) quad textas x to x_0.
              $$
              Moreover, it can be shown that if any other polynomial $p(x)$ of degree less than or equal to $n$ has this property, then $p(x) = P_n(x)$. Thus, $P_n(x)$ is the "best" polynomial approximation of $f$ near $x_0$ of degree at most $n$.






              share|cite|improve this answer






















                up vote
                4
                down vote










                up vote
                4
                down vote









                If $P_n(x)$ is the $n$th order Taylor polynomial approximation to $f(x)$ at $x_0$, then
                $$
                f(x) = P_n(x) + o(|x - x_0|^n) quad textas x to x_0.
                $$
                Moreover, it can be shown that if any other polynomial $p(x)$ of degree less than or equal to $n$ has this property, then $p(x) = P_n(x)$. Thus, $P_n(x)$ is the "best" polynomial approximation of $f$ near $x_0$ of degree at most $n$.






                share|cite|improve this answer












                If $P_n(x)$ is the $n$th order Taylor polynomial approximation to $f(x)$ at $x_0$, then
                $$
                f(x) = P_n(x) + o(|x - x_0|^n) quad textas x to x_0.
                $$
                Moreover, it can be shown that if any other polynomial $p(x)$ of degree less than or equal to $n$ has this property, then $p(x) = P_n(x)$. Thus, $P_n(x)$ is the "best" polynomial approximation of $f$ near $x_0$ of degree at most $n$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Aug 17 at 3:53









                littleO

                26.3k540102




                26.3k540102






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2885380%2funderstanding-taylor-approximations%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    這個網誌中的熱門文章

                    How to combine Bézier curves to a surface?

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

                    Carbon dioxide