quadrature rule has the highest possible order











up vote
0
down vote

favorite













Find the weights $w_0, w_1$ and the abscissa $x_0$ such that the following quadrature rule has the highest possible order: $$int_0^1 f(x) dx approx w_0f(x_0) + w_1 f(1)$$




Do I need to use the formula,
$$w_j = frac{2}{(1-x_j^2)
(P'_n(x_j))^2}$$



If so how do I use it? what is $x_j$ and $P'_n$?










share|cite|improve this question


























    up vote
    0
    down vote

    favorite













    Find the weights $w_0, w_1$ and the abscissa $x_0$ such that the following quadrature rule has the highest possible order: $$int_0^1 f(x) dx approx w_0f(x_0) + w_1 f(1)$$




    Do I need to use the formula,
    $$w_j = frac{2}{(1-x_j^2)
    (P'_n(x_j))^2}$$



    If so how do I use it? what is $x_j$ and $P'_n$?










    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite












      Find the weights $w_0, w_1$ and the abscissa $x_0$ such that the following quadrature rule has the highest possible order: $$int_0^1 f(x) dx approx w_0f(x_0) + w_1 f(1)$$




      Do I need to use the formula,
      $$w_j = frac{2}{(1-x_j^2)
      (P'_n(x_j))^2}$$



      If so how do I use it? what is $x_j$ and $P'_n$?










      share|cite|improve this question














      Find the weights $w_0, w_1$ and the abscissa $x_0$ such that the following quadrature rule has the highest possible order: $$int_0^1 f(x) dx approx w_0f(x_0) + w_1 f(1)$$




      Do I need to use the formula,
      $$w_j = frac{2}{(1-x_j^2)
      (P'_n(x_j))^2}$$



      If so how do I use it? what is $x_j$ and $P'_n$?







      numerical-methods






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked yesterday









      user123

      46319




      46319






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          The abscissas $(x_j)$ are the zeros of the $n$th orthogonal polynomial; here $n=2$ and $P_2$ is the second Legendre polynomial (only the domain of definition has been altered from $[-1,1]$ to $[0,1]$ so you need to change variable. Read about Gaussian quadratures.






          share|cite|improve this answer























          • I havemade another post about this question with more detail, could you help?
            – user123
            11 hours ago











          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%2f3005226%2fquadrature-rule-has-the-highest-possible-order%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
          0
          down vote













          The abscissas $(x_j)$ are the zeros of the $n$th orthogonal polynomial; here $n=2$ and $P_2$ is the second Legendre polynomial (only the domain of definition has been altered from $[-1,1]$ to $[0,1]$ so you need to change variable. Read about Gaussian quadratures.






          share|cite|improve this answer























          • I havemade another post about this question with more detail, could you help?
            – user123
            11 hours ago















          up vote
          0
          down vote













          The abscissas $(x_j)$ are the zeros of the $n$th orthogonal polynomial; here $n=2$ and $P_2$ is the second Legendre polynomial (only the domain of definition has been altered from $[-1,1]$ to $[0,1]$ so you need to change variable. Read about Gaussian quadratures.






          share|cite|improve this answer























          • I havemade another post about this question with more detail, could you help?
            – user123
            11 hours ago













          up vote
          0
          down vote










          up vote
          0
          down vote









          The abscissas $(x_j)$ are the zeros of the $n$th orthogonal polynomial; here $n=2$ and $P_2$ is the second Legendre polynomial (only the domain of definition has been altered from $[-1,1]$ to $[0,1]$ so you need to change variable. Read about Gaussian quadratures.






          share|cite|improve this answer














          The abscissas $(x_j)$ are the zeros of the $n$th orthogonal polynomial; here $n=2$ and $P_2$ is the second Legendre polynomial (only the domain of definition has been altered from $[-1,1]$ to $[0,1]$ so you need to change variable. Read about Gaussian quadratures.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited yesterday

























          answered yesterday









          Richard Martin

          1,3588




          1,3588












          • I havemade another post about this question with more detail, could you help?
            – user123
            11 hours ago


















          • I havemade another post about this question with more detail, could you help?
            – user123
            11 hours ago
















          I havemade another post about this question with more detail, could you help?
          – user123
          11 hours ago




          I havemade another post about this question with more detail, could you help?
          – user123
          11 hours ago


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3005226%2fquadrature-rule-has-the-highest-possible-order%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

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          SQL update select statement

          'app-layout' is not a known element: how to share Component with different Modules