Show there is an $n$-th degree polynomial $p(x)$ such that $||f(x)-p(x)||_infty leq ||f(x)-q(x)||_infty$.











up vote
4
down vote

favorite












Show that for each $f in C[0,1]$ there is an $n$-th degree polynomial $p(x)$ on $[0,1]$ such that $||f(x)-p(x)||_infty leq ||f(x)-q(x)||_infty$ for any other $n$-th degree polynomial $q(x)$.



This looks similar to the following




If $A subseteq (X,||cdot||)$ is compact and non-empty then for each $x in X$ there is some $y_0 in A$ such that
$$||x-y_0||=inf{||x-y||: y in A}$$




However, the set of $n$-th degree polynomial is finite-dimensional (hence closed), can we prove the it is compact?










share|cite|improve this question






















  • The set of polynomials of degree at most $n$ is not even bounded...
    – gangrene
    Dec 1 at 2:00










  • @gangrene, oh how could I forget this.... How should I prove the statement then? Any suggestions?
    – bbw
    Dec 1 at 2:01










  • The set of degree $n$ polynomials within distance $le D$ of $f$ is bounded, and if $D=|f|$, is non-empty.
    – kimchi lover
    Dec 1 at 2:08












  • @kimchilover, you mean the set of $n$-th degree polynomials with the property that $||p(x)||_{infty} leq ||f||_{infty}$ is bounded. So we can apply the result I mentioned above?
    – bbw
    Dec 1 at 2:15










  • Yes, with a few details to fill in.
    – kimchi lover
    Dec 1 at 2:17















up vote
4
down vote

favorite












Show that for each $f in C[0,1]$ there is an $n$-th degree polynomial $p(x)$ on $[0,1]$ such that $||f(x)-p(x)||_infty leq ||f(x)-q(x)||_infty$ for any other $n$-th degree polynomial $q(x)$.



This looks similar to the following




If $A subseteq (X,||cdot||)$ is compact and non-empty then for each $x in X$ there is some $y_0 in A$ such that
$$||x-y_0||=inf{||x-y||: y in A}$$




However, the set of $n$-th degree polynomial is finite-dimensional (hence closed), can we prove the it is compact?










share|cite|improve this question






















  • The set of polynomials of degree at most $n$ is not even bounded...
    – gangrene
    Dec 1 at 2:00










  • @gangrene, oh how could I forget this.... How should I prove the statement then? Any suggestions?
    – bbw
    Dec 1 at 2:01










  • The set of degree $n$ polynomials within distance $le D$ of $f$ is bounded, and if $D=|f|$, is non-empty.
    – kimchi lover
    Dec 1 at 2:08












  • @kimchilover, you mean the set of $n$-th degree polynomials with the property that $||p(x)||_{infty} leq ||f||_{infty}$ is bounded. So we can apply the result I mentioned above?
    – bbw
    Dec 1 at 2:15










  • Yes, with a few details to fill in.
    – kimchi lover
    Dec 1 at 2:17













up vote
4
down vote

favorite









up vote
4
down vote

favorite











Show that for each $f in C[0,1]$ there is an $n$-th degree polynomial $p(x)$ on $[0,1]$ such that $||f(x)-p(x)||_infty leq ||f(x)-q(x)||_infty$ for any other $n$-th degree polynomial $q(x)$.



This looks similar to the following




If $A subseteq (X,||cdot||)$ is compact and non-empty then for each $x in X$ there is some $y_0 in A$ such that
$$||x-y_0||=inf{||x-y||: y in A}$$




However, the set of $n$-th degree polynomial is finite-dimensional (hence closed), can we prove the it is compact?










share|cite|improve this question













Show that for each $f in C[0,1]$ there is an $n$-th degree polynomial $p(x)$ on $[0,1]$ such that $||f(x)-p(x)||_infty leq ||f(x)-q(x)||_infty$ for any other $n$-th degree polynomial $q(x)$.



This looks similar to the following




If $A subseteq (X,||cdot||)$ is compact and non-empty then for each $x in X$ there is some $y_0 in A$ such that
$$||x-y_0||=inf{||x-y||: y in A}$$




However, the set of $n$-th degree polynomial is finite-dimensional (hence closed), can we prove the it is compact?







real-analysis functional-analysis norm






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 1 at 1:52









bbw

46537




46537












  • The set of polynomials of degree at most $n$ is not even bounded...
    – gangrene
    Dec 1 at 2:00










  • @gangrene, oh how could I forget this.... How should I prove the statement then? Any suggestions?
    – bbw
    Dec 1 at 2:01










  • The set of degree $n$ polynomials within distance $le D$ of $f$ is bounded, and if $D=|f|$, is non-empty.
    – kimchi lover
    Dec 1 at 2:08












  • @kimchilover, you mean the set of $n$-th degree polynomials with the property that $||p(x)||_{infty} leq ||f||_{infty}$ is bounded. So we can apply the result I mentioned above?
    – bbw
    Dec 1 at 2:15










  • Yes, with a few details to fill in.
    – kimchi lover
    Dec 1 at 2:17


















  • The set of polynomials of degree at most $n$ is not even bounded...
    – gangrene
    Dec 1 at 2:00










  • @gangrene, oh how could I forget this.... How should I prove the statement then? Any suggestions?
    – bbw
    Dec 1 at 2:01










  • The set of degree $n$ polynomials within distance $le D$ of $f$ is bounded, and if $D=|f|$, is non-empty.
    – kimchi lover
    Dec 1 at 2:08












  • @kimchilover, you mean the set of $n$-th degree polynomials with the property that $||p(x)||_{infty} leq ||f||_{infty}$ is bounded. So we can apply the result I mentioned above?
    – bbw
    Dec 1 at 2:15










  • Yes, with a few details to fill in.
    – kimchi lover
    Dec 1 at 2:17
















The set of polynomials of degree at most $n$ is not even bounded...
– gangrene
Dec 1 at 2:00




The set of polynomials of degree at most $n$ is not even bounded...
– gangrene
Dec 1 at 2:00












@gangrene, oh how could I forget this.... How should I prove the statement then? Any suggestions?
– bbw
Dec 1 at 2:01




@gangrene, oh how could I forget this.... How should I prove the statement then? Any suggestions?
– bbw
Dec 1 at 2:01












The set of degree $n$ polynomials within distance $le D$ of $f$ is bounded, and if $D=|f|$, is non-empty.
– kimchi lover
Dec 1 at 2:08






The set of degree $n$ polynomials within distance $le D$ of $f$ is bounded, and if $D=|f|$, is non-empty.
– kimchi lover
Dec 1 at 2:08














@kimchilover, you mean the set of $n$-th degree polynomials with the property that $||p(x)||_{infty} leq ||f||_{infty}$ is bounded. So we can apply the result I mentioned above?
– bbw
Dec 1 at 2:15




@kimchilover, you mean the set of $n$-th degree polynomials with the property that $||p(x)||_{infty} leq ||f||_{infty}$ is bounded. So we can apply the result I mentioned above?
– bbw
Dec 1 at 2:15












Yes, with a few details to fill in.
– kimchi lover
Dec 1 at 2:17




Yes, with a few details to fill in.
– kimchi lover
Dec 1 at 2:17










1 Answer
1






active

oldest

votes

















up vote
1
down vote














Theorem (Distance between compact sets): Let $(X,d)$ be some metric space, $A,Bsubset X$ be nonempty and compact.
Then there are $xin A$ and $yin B$ with
$$d(x,y)=d(A,B).$$




Here, the distance between two sets $P,Qsubset X$ is defined as



$$d(P,Q) = inf_{xin P, yin Q}d(x,y).$$



Proof: Let $(x_n,y_n)_{ninBbb N}subset Atimes B$ be a minimizing sequence, say



$$d(A,B) leqslant d(x_n,y_n) < d(A,B)+frac1n.$$



Because $A$ is compact, there is a subsequence $(x_{n_k})_{kinmathbb N}$ that is convergent, say to $xin A$.

Because $B$ is compact, there is a subsequence $(y_{n_{k_j}})_{jinmathbb N}$ that is convergent, say to $yin B$.



Then, as $jtoinfty$ we see from



$$d(A,B) leqslant dleft(x_{n_{k_j}},y_{n_{k_j}}right) < d(A,B)+frac1{{n_{k_j}}}$$



that $d(x,y) = d(A,B)$. $square$





We will use the theorem with $A = {f}subset C[0,1]$.
For $B$, let $P_nsubset C[0,1]$ be the subset of $n$-degree polynomials.
Pick any $qin P_n$ and consider $B = overline{mathcal B(f,lVert qrVert)}cap P_n$.



It suffices to check that $B$ is compact.
To that end, notice that $P_n$ is a closed, finite-dimensional subspace of $C[0,1]$, so that $B$ is the intersection of two closed sets and hence closed.
Moreover, $B$ is by construction bounded, so it is a closed and bounded subset of a finite-dimensional normed space, and hence compact.



The theorem will produce some $p$ that minimizes distance to $f$ over $B$.
Can you see why $p$ minimizes distance over all of $P_n$? (Use the triangle inequality!)






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: 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%2f3020903%2fshow-there-is-an-n-th-degree-polynomial-px-such-that-fx-px-infty%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








    up vote
    1
    down vote














    Theorem (Distance between compact sets): Let $(X,d)$ be some metric space, $A,Bsubset X$ be nonempty and compact.
    Then there are $xin A$ and $yin B$ with
    $$d(x,y)=d(A,B).$$




    Here, the distance between two sets $P,Qsubset X$ is defined as



    $$d(P,Q) = inf_{xin P, yin Q}d(x,y).$$



    Proof: Let $(x_n,y_n)_{ninBbb N}subset Atimes B$ be a minimizing sequence, say



    $$d(A,B) leqslant d(x_n,y_n) < d(A,B)+frac1n.$$



    Because $A$ is compact, there is a subsequence $(x_{n_k})_{kinmathbb N}$ that is convergent, say to $xin A$.

    Because $B$ is compact, there is a subsequence $(y_{n_{k_j}})_{jinmathbb N}$ that is convergent, say to $yin B$.



    Then, as $jtoinfty$ we see from



    $$d(A,B) leqslant dleft(x_{n_{k_j}},y_{n_{k_j}}right) < d(A,B)+frac1{{n_{k_j}}}$$



    that $d(x,y) = d(A,B)$. $square$





    We will use the theorem with $A = {f}subset C[0,1]$.
    For $B$, let $P_nsubset C[0,1]$ be the subset of $n$-degree polynomials.
    Pick any $qin P_n$ and consider $B = overline{mathcal B(f,lVert qrVert)}cap P_n$.



    It suffices to check that $B$ is compact.
    To that end, notice that $P_n$ is a closed, finite-dimensional subspace of $C[0,1]$, so that $B$ is the intersection of two closed sets and hence closed.
    Moreover, $B$ is by construction bounded, so it is a closed and bounded subset of a finite-dimensional normed space, and hence compact.



    The theorem will produce some $p$ that minimizes distance to $f$ over $B$.
    Can you see why $p$ minimizes distance over all of $P_n$? (Use the triangle inequality!)






    share|cite|improve this answer

























      up vote
      1
      down vote














      Theorem (Distance between compact sets): Let $(X,d)$ be some metric space, $A,Bsubset X$ be nonempty and compact.
      Then there are $xin A$ and $yin B$ with
      $$d(x,y)=d(A,B).$$




      Here, the distance between two sets $P,Qsubset X$ is defined as



      $$d(P,Q) = inf_{xin P, yin Q}d(x,y).$$



      Proof: Let $(x_n,y_n)_{ninBbb N}subset Atimes B$ be a minimizing sequence, say



      $$d(A,B) leqslant d(x_n,y_n) < d(A,B)+frac1n.$$



      Because $A$ is compact, there is a subsequence $(x_{n_k})_{kinmathbb N}$ that is convergent, say to $xin A$.

      Because $B$ is compact, there is a subsequence $(y_{n_{k_j}})_{jinmathbb N}$ that is convergent, say to $yin B$.



      Then, as $jtoinfty$ we see from



      $$d(A,B) leqslant dleft(x_{n_{k_j}},y_{n_{k_j}}right) < d(A,B)+frac1{{n_{k_j}}}$$



      that $d(x,y) = d(A,B)$. $square$





      We will use the theorem with $A = {f}subset C[0,1]$.
      For $B$, let $P_nsubset C[0,1]$ be the subset of $n$-degree polynomials.
      Pick any $qin P_n$ and consider $B = overline{mathcal B(f,lVert qrVert)}cap P_n$.



      It suffices to check that $B$ is compact.
      To that end, notice that $P_n$ is a closed, finite-dimensional subspace of $C[0,1]$, so that $B$ is the intersection of two closed sets and hence closed.
      Moreover, $B$ is by construction bounded, so it is a closed and bounded subset of a finite-dimensional normed space, and hence compact.



      The theorem will produce some $p$ that minimizes distance to $f$ over $B$.
      Can you see why $p$ minimizes distance over all of $P_n$? (Use the triangle inequality!)






      share|cite|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote










        Theorem (Distance between compact sets): Let $(X,d)$ be some metric space, $A,Bsubset X$ be nonempty and compact.
        Then there are $xin A$ and $yin B$ with
        $$d(x,y)=d(A,B).$$




        Here, the distance between two sets $P,Qsubset X$ is defined as



        $$d(P,Q) = inf_{xin P, yin Q}d(x,y).$$



        Proof: Let $(x_n,y_n)_{ninBbb N}subset Atimes B$ be a minimizing sequence, say



        $$d(A,B) leqslant d(x_n,y_n) < d(A,B)+frac1n.$$



        Because $A$ is compact, there is a subsequence $(x_{n_k})_{kinmathbb N}$ that is convergent, say to $xin A$.

        Because $B$ is compact, there is a subsequence $(y_{n_{k_j}})_{jinmathbb N}$ that is convergent, say to $yin B$.



        Then, as $jtoinfty$ we see from



        $$d(A,B) leqslant dleft(x_{n_{k_j}},y_{n_{k_j}}right) < d(A,B)+frac1{{n_{k_j}}}$$



        that $d(x,y) = d(A,B)$. $square$





        We will use the theorem with $A = {f}subset C[0,1]$.
        For $B$, let $P_nsubset C[0,1]$ be the subset of $n$-degree polynomials.
        Pick any $qin P_n$ and consider $B = overline{mathcal B(f,lVert qrVert)}cap P_n$.



        It suffices to check that $B$ is compact.
        To that end, notice that $P_n$ is a closed, finite-dimensional subspace of $C[0,1]$, so that $B$ is the intersection of two closed sets and hence closed.
        Moreover, $B$ is by construction bounded, so it is a closed and bounded subset of a finite-dimensional normed space, and hence compact.



        The theorem will produce some $p$ that minimizes distance to $f$ over $B$.
        Can you see why $p$ minimizes distance over all of $P_n$? (Use the triangle inequality!)






        share|cite|improve this answer













        Theorem (Distance between compact sets): Let $(X,d)$ be some metric space, $A,Bsubset X$ be nonempty and compact.
        Then there are $xin A$ and $yin B$ with
        $$d(x,y)=d(A,B).$$




        Here, the distance between two sets $P,Qsubset X$ is defined as



        $$d(P,Q) = inf_{xin P, yin Q}d(x,y).$$



        Proof: Let $(x_n,y_n)_{ninBbb N}subset Atimes B$ be a minimizing sequence, say



        $$d(A,B) leqslant d(x_n,y_n) < d(A,B)+frac1n.$$



        Because $A$ is compact, there is a subsequence $(x_{n_k})_{kinmathbb N}$ that is convergent, say to $xin A$.

        Because $B$ is compact, there is a subsequence $(y_{n_{k_j}})_{jinmathbb N}$ that is convergent, say to $yin B$.



        Then, as $jtoinfty$ we see from



        $$d(A,B) leqslant dleft(x_{n_{k_j}},y_{n_{k_j}}right) < d(A,B)+frac1{{n_{k_j}}}$$



        that $d(x,y) = d(A,B)$. $square$





        We will use the theorem with $A = {f}subset C[0,1]$.
        For $B$, let $P_nsubset C[0,1]$ be the subset of $n$-degree polynomials.
        Pick any $qin P_n$ and consider $B = overline{mathcal B(f,lVert qrVert)}cap P_n$.



        It suffices to check that $B$ is compact.
        To that end, notice that $P_n$ is a closed, finite-dimensional subspace of $C[0,1]$, so that $B$ is the intersection of two closed sets and hence closed.
        Moreover, $B$ is by construction bounded, so it is a closed and bounded subset of a finite-dimensional normed space, and hence compact.



        The theorem will produce some $p$ that minimizes distance to $f$ over $B$.
        Can you see why $p$ minimizes distance over all of $P_n$? (Use the triangle inequality!)







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered 2 days ago









        Fimpellizieri

        17.2k11836




        17.2k11836






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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.


            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%2f3020903%2fshow-there-is-an-n-th-degree-polynomial-px-such-that-fx-px-infty%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

            Måne

            Storängen

            VLT Carioca