Distance between polynomials in euclidean space












0














In Euclidean space $R[x]_{leq n}$consisting of polynomials with scalar product i need to find distance between polynomial $f=2$ and subspace of polynomials with zero constant term.



How can i approach to this problem?










share|cite|improve this question
























  • Did you mean a polynomial of degree 2? Or the constant 2?
    – twnly
    Nov 29 at 7:18










  • If $f = 2$ denotes the constant polynomial $2$, then it belongs to the subspace mentioned. So, I think the distance from the subspace is $0$.
    – Aniruddha Deshmukh
    Nov 29 at 7:20










  • Remark: the 'subspace of polynomials with non zero constant term' is not a subspace
    – Charles Madeline
    Nov 29 at 7:20










  • @twnly, constant
    – chaseperfection
    Nov 29 at 7:26










  • @CharlesMadeline, yes, sorry, i edited. With zero constant term
    – chaseperfection
    Nov 29 at 7:27
















0














In Euclidean space $R[x]_{leq n}$consisting of polynomials with scalar product i need to find distance between polynomial $f=2$ and subspace of polynomials with zero constant term.



How can i approach to this problem?










share|cite|improve this question
























  • Did you mean a polynomial of degree 2? Or the constant 2?
    – twnly
    Nov 29 at 7:18










  • If $f = 2$ denotes the constant polynomial $2$, then it belongs to the subspace mentioned. So, I think the distance from the subspace is $0$.
    – Aniruddha Deshmukh
    Nov 29 at 7:20










  • Remark: the 'subspace of polynomials with non zero constant term' is not a subspace
    – Charles Madeline
    Nov 29 at 7:20










  • @twnly, constant
    – chaseperfection
    Nov 29 at 7:26










  • @CharlesMadeline, yes, sorry, i edited. With zero constant term
    – chaseperfection
    Nov 29 at 7:27














0












0








0







In Euclidean space $R[x]_{leq n}$consisting of polynomials with scalar product i need to find distance between polynomial $f=2$ and subspace of polynomials with zero constant term.



How can i approach to this problem?










share|cite|improve this question















In Euclidean space $R[x]_{leq n}$consisting of polynomials with scalar product i need to find distance between polynomial $f=2$ and subspace of polynomials with zero constant term.



How can i approach to this problem?







linear-algebra polynomials






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 29 at 7:26

























asked Nov 29 at 7:12









chaseperfection

172




172












  • Did you mean a polynomial of degree 2? Or the constant 2?
    – twnly
    Nov 29 at 7:18










  • If $f = 2$ denotes the constant polynomial $2$, then it belongs to the subspace mentioned. So, I think the distance from the subspace is $0$.
    – Aniruddha Deshmukh
    Nov 29 at 7:20










  • Remark: the 'subspace of polynomials with non zero constant term' is not a subspace
    – Charles Madeline
    Nov 29 at 7:20










  • @twnly, constant
    – chaseperfection
    Nov 29 at 7:26










  • @CharlesMadeline, yes, sorry, i edited. With zero constant term
    – chaseperfection
    Nov 29 at 7:27


















  • Did you mean a polynomial of degree 2? Or the constant 2?
    – twnly
    Nov 29 at 7:18










  • If $f = 2$ denotes the constant polynomial $2$, then it belongs to the subspace mentioned. So, I think the distance from the subspace is $0$.
    – Aniruddha Deshmukh
    Nov 29 at 7:20










  • Remark: the 'subspace of polynomials with non zero constant term' is not a subspace
    – Charles Madeline
    Nov 29 at 7:20










  • @twnly, constant
    – chaseperfection
    Nov 29 at 7:26










  • @CharlesMadeline, yes, sorry, i edited. With zero constant term
    – chaseperfection
    Nov 29 at 7:27
















Did you mean a polynomial of degree 2? Or the constant 2?
– twnly
Nov 29 at 7:18




Did you mean a polynomial of degree 2? Or the constant 2?
– twnly
Nov 29 at 7:18












If $f = 2$ denotes the constant polynomial $2$, then it belongs to the subspace mentioned. So, I think the distance from the subspace is $0$.
– Aniruddha Deshmukh
Nov 29 at 7:20




If $f = 2$ denotes the constant polynomial $2$, then it belongs to the subspace mentioned. So, I think the distance from the subspace is $0$.
– Aniruddha Deshmukh
Nov 29 at 7:20












Remark: the 'subspace of polynomials with non zero constant term' is not a subspace
– Charles Madeline
Nov 29 at 7:20




Remark: the 'subspace of polynomials with non zero constant term' is not a subspace
– Charles Madeline
Nov 29 at 7:20












@twnly, constant
– chaseperfection
Nov 29 at 7:26




@twnly, constant
– chaseperfection
Nov 29 at 7:26












@CharlesMadeline, yes, sorry, i edited. With zero constant term
– chaseperfection
Nov 29 at 7:27




@CharlesMadeline, yes, sorry, i edited. With zero constant term
– chaseperfection
Nov 29 at 7:27










1 Answer
1






active

oldest

votes


















0














If your inner product is defined by $langle p,q rangle=int_0^{1} p(x)q(x)dx$ then the answer is $2$. To see this let $f_n(x)=2n(frac 1 n -x)$ for $x <frac 1 n$ and $0$ otherwise. it is easy to see that the distance between $f_n$ and $2$ tends to $2$. Now Weirstrass approximation shows that required distance is also $2$. [Some details: the distance is obviously $leq 2$ so we only have to produce some sequence in the subspace whose distance to $2$ tends to $2$. By Weirstrass approximation any continuous function vanishing at $0$ can be approximated uniformly by polynomials vanishing at $0$ and I am using this for $f_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',
    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%2f3018310%2fdistance-between-polynomials-in-euclidean-space%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









    0














    If your inner product is defined by $langle p,q rangle=int_0^{1} p(x)q(x)dx$ then the answer is $2$. To see this let $f_n(x)=2n(frac 1 n -x)$ for $x <frac 1 n$ and $0$ otherwise. it is easy to see that the distance between $f_n$ and $2$ tends to $2$. Now Weirstrass approximation shows that required distance is also $2$. [Some details: the distance is obviously $leq 2$ so we only have to produce some sequence in the subspace whose distance to $2$ tends to $2$. By Weirstrass approximation any continuous function vanishing at $0$ can be approximated uniformly by polynomials vanishing at $0$ and I am using this for $f_n$].






    share|cite|improve this answer


























      0














      If your inner product is defined by $langle p,q rangle=int_0^{1} p(x)q(x)dx$ then the answer is $2$. To see this let $f_n(x)=2n(frac 1 n -x)$ for $x <frac 1 n$ and $0$ otherwise. it is easy to see that the distance between $f_n$ and $2$ tends to $2$. Now Weirstrass approximation shows that required distance is also $2$. [Some details: the distance is obviously $leq 2$ so we only have to produce some sequence in the subspace whose distance to $2$ tends to $2$. By Weirstrass approximation any continuous function vanishing at $0$ can be approximated uniformly by polynomials vanishing at $0$ and I am using this for $f_n$].






      share|cite|improve this answer
























        0












        0








        0






        If your inner product is defined by $langle p,q rangle=int_0^{1} p(x)q(x)dx$ then the answer is $2$. To see this let $f_n(x)=2n(frac 1 n -x)$ for $x <frac 1 n$ and $0$ otherwise. it is easy to see that the distance between $f_n$ and $2$ tends to $2$. Now Weirstrass approximation shows that required distance is also $2$. [Some details: the distance is obviously $leq 2$ so we only have to produce some sequence in the subspace whose distance to $2$ tends to $2$. By Weirstrass approximation any continuous function vanishing at $0$ can be approximated uniformly by polynomials vanishing at $0$ and I am using this for $f_n$].






        share|cite|improve this answer












        If your inner product is defined by $langle p,q rangle=int_0^{1} p(x)q(x)dx$ then the answer is $2$. To see this let $f_n(x)=2n(frac 1 n -x)$ for $x <frac 1 n$ and $0$ otherwise. it is easy to see that the distance between $f_n$ and $2$ tends to $2$. Now Weirstrass approximation shows that required distance is also $2$. [Some details: the distance is obviously $leq 2$ so we only have to produce some sequence in the subspace whose distance to $2$ tends to $2$. By Weirstrass approximation any continuous function vanishing at $0$ can be approximated uniformly by polynomials vanishing at $0$ and I am using this for $f_n$].







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 29 at 7:35









        Kavi Rama Murthy

        48.9k31854




        48.9k31854






























            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%2f3018310%2fdistance-between-polynomials-in-euclidean-space%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

            Tonle Sap (See)

            I get strange results when I access the Sqlitedatabase with Unity C# via XAMPP

            Guatemaltekische Davis-Cup-Mannschaft