Approximating integrals with step functions











up vote
5
down vote

favorite
1












For $f colon [1,2] to mathbb{R}$ , $f(x) = 1/x$, Choose a sequence of step functions $phi_n$ approximating $f$ with partition $P_n := [r/n : n < r < 2n]$ to show that $ 1/(n+1) + cdots + 1/2n to int_1^2 x^{-1} dx$ as $ n to infty$



So far i have played about with the right hand side of the integral, which equals log2, to no avail. f is continuous on [1,2], hence regulated. So we know that for any sequence of step functions $(phi_n)_{n=1}^infty$ converging to f uniformly, the sequence $(int_a^b phi_n(x) dx)_{n=1}^infty$ also converges. So i know that if i am to choose a sequence of step functions $phi$ approximating f that it will converge, but im not sure how to choose $phi$










share|cite|improve this question


























    up vote
    5
    down vote

    favorite
    1












    For $f colon [1,2] to mathbb{R}$ , $f(x) = 1/x$, Choose a sequence of step functions $phi_n$ approximating $f$ with partition $P_n := [r/n : n < r < 2n]$ to show that $ 1/(n+1) + cdots + 1/2n to int_1^2 x^{-1} dx$ as $ n to infty$



    So far i have played about with the right hand side of the integral, which equals log2, to no avail. f is continuous on [1,2], hence regulated. So we know that for any sequence of step functions $(phi_n)_{n=1}^infty$ converging to f uniformly, the sequence $(int_a^b phi_n(x) dx)_{n=1}^infty$ also converges. So i know that if i am to choose a sequence of step functions $phi$ approximating f that it will converge, but im not sure how to choose $phi$










    share|cite|improve this question
























      up vote
      5
      down vote

      favorite
      1









      up vote
      5
      down vote

      favorite
      1






      1





      For $f colon [1,2] to mathbb{R}$ , $f(x) = 1/x$, Choose a sequence of step functions $phi_n$ approximating $f$ with partition $P_n := [r/n : n < r < 2n]$ to show that $ 1/(n+1) + cdots + 1/2n to int_1^2 x^{-1} dx$ as $ n to infty$



      So far i have played about with the right hand side of the integral, which equals log2, to no avail. f is continuous on [1,2], hence regulated. So we know that for any sequence of step functions $(phi_n)_{n=1}^infty$ converging to f uniformly, the sequence $(int_a^b phi_n(x) dx)_{n=1}^infty$ also converges. So i know that if i am to choose a sequence of step functions $phi$ approximating f that it will converge, but im not sure how to choose $phi$










      share|cite|improve this question













      For $f colon [1,2] to mathbb{R}$ , $f(x) = 1/x$, Choose a sequence of step functions $phi_n$ approximating $f$ with partition $P_n := [r/n : n < r < 2n]$ to show that $ 1/(n+1) + cdots + 1/2n to int_1^2 x^{-1} dx$ as $ n to infty$



      So far i have played about with the right hand side of the integral, which equals log2, to no avail. f is continuous on [1,2], hence regulated. So we know that for any sequence of step functions $(phi_n)_{n=1}^infty$ converging to f uniformly, the sequence $(int_a^b phi_n(x) dx)_{n=1}^infty$ also converges. So i know that if i am to choose a sequence of step functions $phi$ approximating f that it will converge, but im not sure how to choose $phi$







      real-analysis analysis integration






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Oct 18 '13 at 14:58









      user65972

      475413




      475413






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Take $phi_{n}(x)=sum_{i=1}^{n}frac{n}{n+i}chi_{E_{i}}(x)$ where $E_{i}={x: 1+frac{i-1}{n}<x<1+frac{i}{n}}$.



          Actually, you can see that it is natural by drawing the graph of $f$ and $phi_{n}$.






          share|cite|improve this answer





















          • Sorry i dont understand what $chi$ exactly means in this context?
            – user65972
            Oct 20 '13 at 23:34










          • $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
            – Guillermo
            Oct 22 '13 at 8:51













          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%2f531096%2fapproximating-integrals-with-step-functions%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













          Take $phi_{n}(x)=sum_{i=1}^{n}frac{n}{n+i}chi_{E_{i}}(x)$ where $E_{i}={x: 1+frac{i-1}{n}<x<1+frac{i}{n}}$.



          Actually, you can see that it is natural by drawing the graph of $f$ and $phi_{n}$.






          share|cite|improve this answer





















          • Sorry i dont understand what $chi$ exactly means in this context?
            – user65972
            Oct 20 '13 at 23:34










          • $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
            – Guillermo
            Oct 22 '13 at 8:51

















          up vote
          0
          down vote













          Take $phi_{n}(x)=sum_{i=1}^{n}frac{n}{n+i}chi_{E_{i}}(x)$ where $E_{i}={x: 1+frac{i-1}{n}<x<1+frac{i}{n}}$.



          Actually, you can see that it is natural by drawing the graph of $f$ and $phi_{n}$.






          share|cite|improve this answer





















          • Sorry i dont understand what $chi$ exactly means in this context?
            – user65972
            Oct 20 '13 at 23:34










          • $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
            – Guillermo
            Oct 22 '13 at 8:51















          up vote
          0
          down vote










          up vote
          0
          down vote









          Take $phi_{n}(x)=sum_{i=1}^{n}frac{n}{n+i}chi_{E_{i}}(x)$ where $E_{i}={x: 1+frac{i-1}{n}<x<1+frac{i}{n}}$.



          Actually, you can see that it is natural by drawing the graph of $f$ and $phi_{n}$.






          share|cite|improve this answer












          Take $phi_{n}(x)=sum_{i=1}^{n}frac{n}{n+i}chi_{E_{i}}(x)$ where $E_{i}={x: 1+frac{i-1}{n}<x<1+frac{i}{n}}$.



          Actually, you can see that it is natural by drawing the graph of $f$ and $phi_{n}$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Oct 18 '13 at 18:41









          Guillermo

          1,228922




          1,228922












          • Sorry i dont understand what $chi$ exactly means in this context?
            – user65972
            Oct 20 '13 at 23:34










          • $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
            – Guillermo
            Oct 22 '13 at 8:51




















          • Sorry i dont understand what $chi$ exactly means in this context?
            – user65972
            Oct 20 '13 at 23:34










          • $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
            – Guillermo
            Oct 22 '13 at 8:51


















          Sorry i dont understand what $chi$ exactly means in this context?
          – user65972
          Oct 20 '13 at 23:34




          Sorry i dont understand what $chi$ exactly means in this context?
          – user65972
          Oct 20 '13 at 23:34












          $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
          – Guillermo
          Oct 22 '13 at 8:51






          $chi_{E}(x) = 1$ for $x in E$ and $0$ for $x notin E$.
          – Guillermo
          Oct 22 '13 at 8:51




















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f531096%2fapproximating-integrals-with-step-functions%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

          Bundesstraße 106

          Verónica Boquete

          Ida-Boy-Ed-Garten