Finding a basis for $W^perp$

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











up vote
2
down vote

favorite













Define an inner product on $mathbbP_4[x]$ over $mathbbR$ as follows:
$$
langle f,g rangle = int_0^1 f(x)g(x) ,mathrmdx
$$
Let $W$ be the subspace of $mathbbP_4[x]$ consisting of $0$ and all polynomials with degree $0$: That is, $W= mathbbR$. Find a basis for $W^perp$.




My attempts:



$mathbbP_4[x]= a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$



Now $p_1 =1$, $p_2 = x$, $p_3 = x^2$, $p_4 = x^3$, $p_5 = x^4$.



Now $p_1= w_1$ so that $| w_1 |^2 = (w_1,w_1) = (1,1)$.



Now $| w_1 |^2 = int_0^1 1 cdot 1 ,mathrmdx = 1$.



Similarly $w_2 = p_2 - fraclangle p_2, w_1 rangle w_1w_1 = (x - frac12)$.



Is this partial answer correct or not?



Please help me; any hints/solution will be appreciated.



Thanks in advance.







share|cite|improve this question


























    up vote
    2
    down vote

    favorite













    Define an inner product on $mathbbP_4[x]$ over $mathbbR$ as follows:
    $$
    langle f,g rangle = int_0^1 f(x)g(x) ,mathrmdx
    $$
    Let $W$ be the subspace of $mathbbP_4[x]$ consisting of $0$ and all polynomials with degree $0$: That is, $W= mathbbR$. Find a basis for $W^perp$.




    My attempts:



    $mathbbP_4[x]= a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$



    Now $p_1 =1$, $p_2 = x$, $p_3 = x^2$, $p_4 = x^3$, $p_5 = x^4$.



    Now $p_1= w_1$ so that $| w_1 |^2 = (w_1,w_1) = (1,1)$.



    Now $| w_1 |^2 = int_0^1 1 cdot 1 ,mathrmdx = 1$.



    Similarly $w_2 = p_2 - fraclangle p_2, w_1 rangle w_1w_1 = (x - frac12)$.



    Is this partial answer correct or not?



    Please help me; any hints/solution will be appreciated.



    Thanks in advance.







    share|cite|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite












      Define an inner product on $mathbbP_4[x]$ over $mathbbR$ as follows:
      $$
      langle f,g rangle = int_0^1 f(x)g(x) ,mathrmdx
      $$
      Let $W$ be the subspace of $mathbbP_4[x]$ consisting of $0$ and all polynomials with degree $0$: That is, $W= mathbbR$. Find a basis for $W^perp$.




      My attempts:



      $mathbbP_4[x]= a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$



      Now $p_1 =1$, $p_2 = x$, $p_3 = x^2$, $p_4 = x^3$, $p_5 = x^4$.



      Now $p_1= w_1$ so that $| w_1 |^2 = (w_1,w_1) = (1,1)$.



      Now $| w_1 |^2 = int_0^1 1 cdot 1 ,mathrmdx = 1$.



      Similarly $w_2 = p_2 - fraclangle p_2, w_1 rangle w_1w_1 = (x - frac12)$.



      Is this partial answer correct or not?



      Please help me; any hints/solution will be appreciated.



      Thanks in advance.







      share|cite|improve this question















      Define an inner product on $mathbbP_4[x]$ over $mathbbR$ as follows:
      $$
      langle f,g rangle = int_0^1 f(x)g(x) ,mathrmdx
      $$
      Let $W$ be the subspace of $mathbbP_4[x]$ consisting of $0$ and all polynomials with degree $0$: That is, $W= mathbbR$. Find a basis for $W^perp$.




      My attempts:



      $mathbbP_4[x]= a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$



      Now $p_1 =1$, $p_2 = x$, $p_3 = x^2$, $p_4 = x^3$, $p_5 = x^4$.



      Now $p_1= w_1$ so that $| w_1 |^2 = (w_1,w_1) = (1,1)$.



      Now $| w_1 |^2 = int_0^1 1 cdot 1 ,mathrmdx = 1$.



      Similarly $w_2 = p_2 - fraclangle p_2, w_1 rangle w_1w_1 = (x - frac12)$.



      Is this partial answer correct or not?



      Please help me; any hints/solution will be appreciated.



      Thanks in advance.









      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 26 at 21:37









      Jendrik Stelzner

      7,63121037




      7,63121037










      asked Aug 26 at 16:24









      stupid

      676111




      676111




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Let $f(x)=kin W$ and $gin W^perp$ then



          $$langle f,grangle = kint_0^1 g(x) dx=0$$



          that is



          $$a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$$



          then



          $$g(x)=a_1(x-1/2)+a_2(x^2-1/3)+a_3(x^3-1/4)+a_4(x^4-1/5)$$



          therefore a basis for $W^perp$ is given by



          $$x-1/2, x^2-1/3, x^3-1/4, x^4-1/5$$






          share|cite|improve this answer




















          • thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
            – stupid
            Aug 26 at 16:56






          • 1




            from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
            – gimusi
            Aug 26 at 16:58










          • okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
            – stupid
            Aug 26 at 17:04






          • 1




            @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
            – gimusi
            Aug 26 at 17:07







          • 1




            I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
            – gimusi
            Aug 26 at 17:10











          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%2f2895203%2ffinding-a-basis-for-w-perp%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
          2
          down vote



          accepted










          Let $f(x)=kin W$ and $gin W^perp$ then



          $$langle f,grangle = kint_0^1 g(x) dx=0$$



          that is



          $$a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$$



          then



          $$g(x)=a_1(x-1/2)+a_2(x^2-1/3)+a_3(x^3-1/4)+a_4(x^4-1/5)$$



          therefore a basis for $W^perp$ is given by



          $$x-1/2, x^2-1/3, x^3-1/4, x^4-1/5$$






          share|cite|improve this answer




















          • thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
            – stupid
            Aug 26 at 16:56






          • 1




            from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
            – gimusi
            Aug 26 at 16:58










          • okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
            – stupid
            Aug 26 at 17:04






          • 1




            @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
            – gimusi
            Aug 26 at 17:07







          • 1




            I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
            – gimusi
            Aug 26 at 17:10















          up vote
          2
          down vote



          accepted










          Let $f(x)=kin W$ and $gin W^perp$ then



          $$langle f,grangle = kint_0^1 g(x) dx=0$$



          that is



          $$a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$$



          then



          $$g(x)=a_1(x-1/2)+a_2(x^2-1/3)+a_3(x^3-1/4)+a_4(x^4-1/5)$$



          therefore a basis for $W^perp$ is given by



          $$x-1/2, x^2-1/3, x^3-1/4, x^4-1/5$$






          share|cite|improve this answer




















          • thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
            – stupid
            Aug 26 at 16:56






          • 1




            from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
            – gimusi
            Aug 26 at 16:58










          • okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
            – stupid
            Aug 26 at 17:04






          • 1




            @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
            – gimusi
            Aug 26 at 17:07







          • 1




            I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
            – gimusi
            Aug 26 at 17:10













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Let $f(x)=kin W$ and $gin W^perp$ then



          $$langle f,grangle = kint_0^1 g(x) dx=0$$



          that is



          $$a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$$



          then



          $$g(x)=a_1(x-1/2)+a_2(x^2-1/3)+a_3(x^3-1/4)+a_4(x^4-1/5)$$



          therefore a basis for $W^perp$ is given by



          $$x-1/2, x^2-1/3, x^3-1/4, x^4-1/5$$






          share|cite|improve this answer












          Let $f(x)=kin W$ and $gin W^perp$ then



          $$langle f,grangle = kint_0^1 g(x) dx=0$$



          that is



          $$a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$$



          then



          $$g(x)=a_1(x-1/2)+a_2(x^2-1/3)+a_3(x^3-1/4)+a_4(x^4-1/5)$$



          therefore a basis for $W^perp$ is given by



          $$x-1/2, x^2-1/3, x^3-1/4, x^4-1/5$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 26 at 16:44









          gimusi

          70.4k73786




          70.4k73786











          • thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
            – stupid
            Aug 26 at 16:56






          • 1




            from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
            – gimusi
            Aug 26 at 16:58










          • okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
            – stupid
            Aug 26 at 17:04






          • 1




            @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
            – gimusi
            Aug 26 at 17:07







          • 1




            I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
            – gimusi
            Aug 26 at 17:10

















          • thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
            – stupid
            Aug 26 at 16:56






          • 1




            from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
            – gimusi
            Aug 26 at 16:58










          • okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
            – stupid
            Aug 26 at 17:04






          • 1




            @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
            – gimusi
            Aug 26 at 17:07







          • 1




            I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
            – gimusi
            Aug 26 at 17:10
















          thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
          – stupid
          Aug 26 at 16:56




          thanks @gimusi but im not getting how u write $a_0+frac12a_1+frac13a_2+frac14a_3+frac15a_4=0$?? how it come
          – stupid
          Aug 26 at 16:56




          1




          1




          from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
          – gimusi
          Aug 26 at 16:58




          from the condition that $int_0^1 g(x) dx=0$, I’ve skipped all the intermediate steps but they are trivial
          – gimusi
          Aug 26 at 16:58












          okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
          – stupid
          Aug 26 at 17:04




          okk im getting now .... but liitle more doubts $a_0$ is not in g(x) ..then how its come on
          – stupid
          Aug 26 at 17:04




          1




          1




          @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
          – gimusi
          Aug 26 at 17:07





          @stupid $$g(x)=a_0 + a_1x + a_2x^2 +a_3x^3 + a_4x^4$$ then use the condition found for the coefficients that is $$a_0=-frac12a_1-frac13a_2-frac14a_3-frac15a_4$$.
          – gimusi
          Aug 26 at 17:07





          1




          1




          I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
          – gimusi
          Aug 26 at 17:10





          I didn’t give all details since you can find out easily by yourself! You are welcome, Bye
          – gimusi
          Aug 26 at 17:10


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2895203%2ffinding-a-basis-for-w-perp%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