Given interpolating function on an interval, find the upper bound of the error for that function












1












$begingroup$


Let p(x) be a linear function interpolating sin(x) at $x=0, x=frac{pi}{2}$. Prove that $|p(x)-sin x| leq frac{1}{2}(frac{pi}{4})^2$ on $[0, frac{pi}{2}]$.



I've already done a bit of work and found that $p(x) = frac{2}{pi}x$, therefore $|p(x)-sin x| = |frac{2}{pi}x-sin x|$.



However, I'm not quite sure how to show that the value $frac{1}{2}(frac{pi}{4})^2$ is the upper bound of this error on our given interval. My thought would be to show that the largest error on this interval is equal to that value, but can't easily see a way to find where that error occurs.



How would I go about proving that the given value is a bound for the error of $|p(x)-sin x|$?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Let p(x) be a linear function interpolating sin(x) at $x=0, x=frac{pi}{2}$. Prove that $|p(x)-sin x| leq frac{1}{2}(frac{pi}{4})^2$ on $[0, frac{pi}{2}]$.



    I've already done a bit of work and found that $p(x) = frac{2}{pi}x$, therefore $|p(x)-sin x| = |frac{2}{pi}x-sin x|$.



    However, I'm not quite sure how to show that the value $frac{1}{2}(frac{pi}{4})^2$ is the upper bound of this error on our given interval. My thought would be to show that the largest error on this interval is equal to that value, but can't easily see a way to find where that error occurs.



    How would I go about proving that the given value is a bound for the error of $|p(x)-sin x|$?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Let p(x) be a linear function interpolating sin(x) at $x=0, x=frac{pi}{2}$. Prove that $|p(x)-sin x| leq frac{1}{2}(frac{pi}{4})^2$ on $[0, frac{pi}{2}]$.



      I've already done a bit of work and found that $p(x) = frac{2}{pi}x$, therefore $|p(x)-sin x| = |frac{2}{pi}x-sin x|$.



      However, I'm not quite sure how to show that the value $frac{1}{2}(frac{pi}{4})^2$ is the upper bound of this error on our given interval. My thought would be to show that the largest error on this interval is equal to that value, but can't easily see a way to find where that error occurs.



      How would I go about proving that the given value is a bound for the error of $|p(x)-sin x|$?










      share|cite|improve this question











      $endgroup$




      Let p(x) be a linear function interpolating sin(x) at $x=0, x=frac{pi}{2}$. Prove that $|p(x)-sin x| leq frac{1}{2}(frac{pi}{4})^2$ on $[0, frac{pi}{2}]$.



      I've already done a bit of work and found that $p(x) = frac{2}{pi}x$, therefore $|p(x)-sin x| = |frac{2}{pi}x-sin x|$.



      However, I'm not quite sure how to show that the value $frac{1}{2}(frac{pi}{4})^2$ is the upper bound of this error on our given interval. My thought would be to show that the largest error on this interval is equal to that value, but can't easily see a way to find where that error occurs.



      How would I go about proving that the given value is a bound for the error of $|p(x)-sin x|$?







      real-analysis interpolation






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 11 '18 at 7:36









      mathcounterexamples.net

      26.7k22157




      26.7k22157










      asked Dec 10 '18 at 21:33









      rocketPoweredrocketPowered

      244




      244






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          If you look at Polynomial interpolation at paragraph interpolation error, you’ll find that
          $$p(x)-sin x = frac{sin^{prime prime}xi}{2!}x(x-pi/2)$$ with $xi in (0,pi/2)$. You can mimic the proof given in Wikipedia article to your special case.



          Based on that you will easily get the requested bound as $vert sin^{prime prime}xi vert le 1$ and $0 le vert x(x-pi/2) vert le left( frac{pi}{4} right)^2$ for $x in [0,pi/2]$.



          This is a special case of polynomial interpolation: linear interpolation.






          share|cite|improve this answer









          $endgroup$













            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%2f3034509%2fgiven-interpolating-function-on-an-interval-find-the-upper-bound-of-the-error-f%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$

            If you look at Polynomial interpolation at paragraph interpolation error, you’ll find that
            $$p(x)-sin x = frac{sin^{prime prime}xi}{2!}x(x-pi/2)$$ with $xi in (0,pi/2)$. You can mimic the proof given in Wikipedia article to your special case.



            Based on that you will easily get the requested bound as $vert sin^{prime prime}xi vert le 1$ and $0 le vert x(x-pi/2) vert le left( frac{pi}{4} right)^2$ for $x in [0,pi/2]$.



            This is a special case of polynomial interpolation: linear interpolation.






            share|cite|improve this answer









            $endgroup$


















              1












              $begingroup$

              If you look at Polynomial interpolation at paragraph interpolation error, you’ll find that
              $$p(x)-sin x = frac{sin^{prime prime}xi}{2!}x(x-pi/2)$$ with $xi in (0,pi/2)$. You can mimic the proof given in Wikipedia article to your special case.



              Based on that you will easily get the requested bound as $vert sin^{prime prime}xi vert le 1$ and $0 le vert x(x-pi/2) vert le left( frac{pi}{4} right)^2$ for $x in [0,pi/2]$.



              This is a special case of polynomial interpolation: linear interpolation.






              share|cite|improve this answer









              $endgroup$
















                1












                1








                1





                $begingroup$

                If you look at Polynomial interpolation at paragraph interpolation error, you’ll find that
                $$p(x)-sin x = frac{sin^{prime prime}xi}{2!}x(x-pi/2)$$ with $xi in (0,pi/2)$. You can mimic the proof given in Wikipedia article to your special case.



                Based on that you will easily get the requested bound as $vert sin^{prime prime}xi vert le 1$ and $0 le vert x(x-pi/2) vert le left( frac{pi}{4} right)^2$ for $x in [0,pi/2]$.



                This is a special case of polynomial interpolation: linear interpolation.






                share|cite|improve this answer









                $endgroup$



                If you look at Polynomial interpolation at paragraph interpolation error, you’ll find that
                $$p(x)-sin x = frac{sin^{prime prime}xi}{2!}x(x-pi/2)$$ with $xi in (0,pi/2)$. You can mimic the proof given in Wikipedia article to your special case.



                Based on that you will easily get the requested bound as $vert sin^{prime prime}xi vert le 1$ and $0 le vert x(x-pi/2) vert le left( frac{pi}{4} right)^2$ for $x in [0,pi/2]$.



                This is a special case of polynomial interpolation: linear interpolation.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 10 '18 at 21:53









                mathcounterexamples.netmathcounterexamples.net

                26.7k22157




                26.7k22157






























                    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%2f3034509%2fgiven-interpolating-function-on-an-interval-find-the-upper-bound-of-the-error-f%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

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix