Transfer between integrals and infinite sums












4












$begingroup$


So I was watching a video on YouTube about how $$sum_{i=1}^infty frac{chi(i)}{i} = frac{pi}{4}$$ (note that $chi(i) = 0$ for even numbers $i$, $1$ for $text{mod}(i, 4) = 1$, and $-1$ for $text{mod}(i,4) = 3$) and one of the proofs shown involved stating that $$sum_{i=1}^infty frac{chi(i)}{i} = int_{0}^{1} sum_{i=0}^{infty}chi(i+1)x^{i}dx,.$$
My question is 1.) how is this done and 2.) how can this be replicated with different infinite sums. Thanks in advance!










share|cite|improve this question











$endgroup$

















    4












    $begingroup$


    So I was watching a video on YouTube about how $$sum_{i=1}^infty frac{chi(i)}{i} = frac{pi}{4}$$ (note that $chi(i) = 0$ for even numbers $i$, $1$ for $text{mod}(i, 4) = 1$, and $-1$ for $text{mod}(i,4) = 3$) and one of the proofs shown involved stating that $$sum_{i=1}^infty frac{chi(i)}{i} = int_{0}^{1} sum_{i=0}^{infty}chi(i+1)x^{i}dx,.$$
    My question is 1.) how is this done and 2.) how can this be replicated with different infinite sums. Thanks in advance!










    share|cite|improve this question











    $endgroup$















      4












      4








      4


      2



      $begingroup$


      So I was watching a video on YouTube about how $$sum_{i=1}^infty frac{chi(i)}{i} = frac{pi}{4}$$ (note that $chi(i) = 0$ for even numbers $i$, $1$ for $text{mod}(i, 4) = 1$, and $-1$ for $text{mod}(i,4) = 3$) and one of the proofs shown involved stating that $$sum_{i=1}^infty frac{chi(i)}{i} = int_{0}^{1} sum_{i=0}^{infty}chi(i+1)x^{i}dx,.$$
      My question is 1.) how is this done and 2.) how can this be replicated with different infinite sums. Thanks in advance!










      share|cite|improve this question











      $endgroup$




      So I was watching a video on YouTube about how $$sum_{i=1}^infty frac{chi(i)}{i} = frac{pi}{4}$$ (note that $chi(i) = 0$ for even numbers $i$, $1$ for $text{mod}(i, 4) = 1$, and $-1$ for $text{mod}(i,4) = 3$) and one of the proofs shown involved stating that $$sum_{i=1}^infty frac{chi(i)}{i} = int_{0}^{1} sum_{i=0}^{infty}chi(i+1)x^{i}dx,.$$
      My question is 1.) how is this done and 2.) how can this be replicated with different infinite sums. Thanks in advance!







      calculus integration sequences-and-series summation power-series






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 20 '18 at 22:48









      Batominovski

      33.1k33293




      33.1k33293










      asked Nov 20 '18 at 22:24









      connor laneconnor lane

      263




      263






















          2 Answers
          2






          active

          oldest

          votes


















          5












          $begingroup$

          Note that, for all $igeq 1$,
          $$frac{1}{i} = int_0^1 x^{i-1} dx$$
          (this is a "trick" worth knowing), and therefore
          $$
          sum_{i=1}^infty frac{chi(i)}{i} =
          sum_{i=1}^infty chi(i)int_0^1 x^{i-1} dx
          =
          int_0^1sum_{i=1}^infty chi(i)x^{i-1} dx
          =
          int_0^1sum_{k=0}^infty chi(k+1)x^{k} dx
          $$

          where the only part which would require justification is when we swap $int_0^1$ and $sum_{i=1}^infty$: this is Tonelli-Fubini.






          share|cite|improve this answer









          $endgroup$





















            4












            $begingroup$

            If you have a power series
            $$f(x):=sum_{k=0}^infty,a_kx^k$$
            with radius of convergence $rgeq 1$ ($a_0,a_1,a_2,ldotsinmathbb{C}$), then $f_n|_{[0,1)}to f|_{[0,1)}$ uniformly on compact sets as $ntoinfty$, where $$f_n(x):=sum_{k=0}^n,a_kx^ktext{ for each }xinmathbb{C}text{ and }ninmathbb{Z}_{>0},.$$
            This provides a justification for swapping the infinite sum and the integral, that is,
            $$int_0^1,f(x),text{d}x=int_0^1,sum_{k=0}^infty,a_kx^k,text{d}x=sum_{k=0}^infty,int_0^1,a_kx^k,text{d}x=sum_{k=0}^infty,frac{a_{k}}{k+1},.$$





            In particular, the power series
            $$g(x):=sum_{k=0}^infty,chi(k+1),x^k$$
            has radius of convergence $dfrac{1}{limsuplimits_{ktoinfty},sqrt[k]{big|chi(k+1)big|}}=1$. Therefore, you can swap the integral and the infinite sum to obtain
            $$int_0^1,g(x),text{d}x=int_0^1,sum_{k=0}^infty,chi(k+1),x^k,text{d}x=sum_{k=0}^infty,frac{chi(k+1)}{k+1}=sum_{k=1}^infty,frac{chi(k)}{k},.$$



            Note that $x^4,g(x)=g(x)-1+x^2$, so $$g(x)=frac{1-x^2}{1-x^4}=frac{1}{1+x^2}text{ for all }xinmathbb{C}text{ such that }|x|<1,.$$
            That is,
            $$sum_{k=1}^infty,frac{chi(k)}{k}=int_0^1,frac{1}{1+x^2},text{d}x=arctan(x)big|_{x=0}^{x=1}=frac{pi}{4},.$$





            Alternatively, note that
            $$chi(k)=frac{text{i}^k-(-text{i})^k}{2text{i}}text{ for each }k=0,1,2,ldots,,$$
            where $text{i}$ is the imaginary unit $sqrt{-1}$. From the Taylor series of the principal branch of the natural logarithm function $$ln(1+z)=sum_{k=1}^infty,frac{(-1)^{k-1}}{k},z^k,,$$ we note that the series above converges for $z=pm text{i}$, yielding
            $$frac{1}{2},ln(2)+text{i}frac{pi}{4}=ln(1+text{i})=-sum_{k=1}^infty,frac{(-text{i})^k}{k}$$
            and
            $$frac{1}{2},ln(2)-text{i}frac{pi}{4}=ln(1-text{i})=-sum_{k=1}^infty,frac{text{i}^k}{k},.$$
            Subtracting the two equations above and dividing the result by $2text{i}$ yields
            $$frac{pi}{4}=sum_{k=1}^infty,frac{text{i}^k-(-text{i})^k}{2text{i},k}=sum_{k=1}^infty,frac{chi(k)}{k},.$$






            share|cite|improve this answer











            $endgroup$













            • $begingroup$
              For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
              $endgroup$
              – Matematleta
              Nov 21 '18 at 0:44










            • $begingroup$
              @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
              $endgroup$
              – Batominovski
              Nov 21 '18 at 0:48












            • $begingroup$
              Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
              $endgroup$
              – Matematleta
              Nov 21 '18 at 0:54










            • $begingroup$
              @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
              $endgroup$
              – Batominovski
              Nov 21 '18 at 0:59












            • $begingroup$
              Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
              $endgroup$
              – Matematleta
              Nov 21 '18 at 1:18













            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%2f3006984%2ftransfer-between-integrals-and-infinite-sums%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5












            $begingroup$

            Note that, for all $igeq 1$,
            $$frac{1}{i} = int_0^1 x^{i-1} dx$$
            (this is a "trick" worth knowing), and therefore
            $$
            sum_{i=1}^infty frac{chi(i)}{i} =
            sum_{i=1}^infty chi(i)int_0^1 x^{i-1} dx
            =
            int_0^1sum_{i=1}^infty chi(i)x^{i-1} dx
            =
            int_0^1sum_{k=0}^infty chi(k+1)x^{k} dx
            $$

            where the only part which would require justification is when we swap $int_0^1$ and $sum_{i=1}^infty$: this is Tonelli-Fubini.






            share|cite|improve this answer









            $endgroup$


















              5












              $begingroup$

              Note that, for all $igeq 1$,
              $$frac{1}{i} = int_0^1 x^{i-1} dx$$
              (this is a "trick" worth knowing), and therefore
              $$
              sum_{i=1}^infty frac{chi(i)}{i} =
              sum_{i=1}^infty chi(i)int_0^1 x^{i-1} dx
              =
              int_0^1sum_{i=1}^infty chi(i)x^{i-1} dx
              =
              int_0^1sum_{k=0}^infty chi(k+1)x^{k} dx
              $$

              where the only part which would require justification is when we swap $int_0^1$ and $sum_{i=1}^infty$: this is Tonelli-Fubini.






              share|cite|improve this answer









              $endgroup$
















                5












                5








                5





                $begingroup$

                Note that, for all $igeq 1$,
                $$frac{1}{i} = int_0^1 x^{i-1} dx$$
                (this is a "trick" worth knowing), and therefore
                $$
                sum_{i=1}^infty frac{chi(i)}{i} =
                sum_{i=1}^infty chi(i)int_0^1 x^{i-1} dx
                =
                int_0^1sum_{i=1}^infty chi(i)x^{i-1} dx
                =
                int_0^1sum_{k=0}^infty chi(k+1)x^{k} dx
                $$

                where the only part which would require justification is when we swap $int_0^1$ and $sum_{i=1}^infty$: this is Tonelli-Fubini.






                share|cite|improve this answer









                $endgroup$



                Note that, for all $igeq 1$,
                $$frac{1}{i} = int_0^1 x^{i-1} dx$$
                (this is a "trick" worth knowing), and therefore
                $$
                sum_{i=1}^infty frac{chi(i)}{i} =
                sum_{i=1}^infty chi(i)int_0^1 x^{i-1} dx
                =
                int_0^1sum_{i=1}^infty chi(i)x^{i-1} dx
                =
                int_0^1sum_{k=0}^infty chi(k+1)x^{k} dx
                $$

                where the only part which would require justification is when we swap $int_0^1$ and $sum_{i=1}^infty$: this is Tonelli-Fubini.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 20 '18 at 22:40









                Clement C.Clement C.

                50.9k33992




                50.9k33992























                    4












                    $begingroup$

                    If you have a power series
                    $$f(x):=sum_{k=0}^infty,a_kx^k$$
                    with radius of convergence $rgeq 1$ ($a_0,a_1,a_2,ldotsinmathbb{C}$), then $f_n|_{[0,1)}to f|_{[0,1)}$ uniformly on compact sets as $ntoinfty$, where $$f_n(x):=sum_{k=0}^n,a_kx^ktext{ for each }xinmathbb{C}text{ and }ninmathbb{Z}_{>0},.$$
                    This provides a justification for swapping the infinite sum and the integral, that is,
                    $$int_0^1,f(x),text{d}x=int_0^1,sum_{k=0}^infty,a_kx^k,text{d}x=sum_{k=0}^infty,int_0^1,a_kx^k,text{d}x=sum_{k=0}^infty,frac{a_{k}}{k+1},.$$





                    In particular, the power series
                    $$g(x):=sum_{k=0}^infty,chi(k+1),x^k$$
                    has radius of convergence $dfrac{1}{limsuplimits_{ktoinfty},sqrt[k]{big|chi(k+1)big|}}=1$. Therefore, you can swap the integral and the infinite sum to obtain
                    $$int_0^1,g(x),text{d}x=int_0^1,sum_{k=0}^infty,chi(k+1),x^k,text{d}x=sum_{k=0}^infty,frac{chi(k+1)}{k+1}=sum_{k=1}^infty,frac{chi(k)}{k},.$$



                    Note that $x^4,g(x)=g(x)-1+x^2$, so $$g(x)=frac{1-x^2}{1-x^4}=frac{1}{1+x^2}text{ for all }xinmathbb{C}text{ such that }|x|<1,.$$
                    That is,
                    $$sum_{k=1}^infty,frac{chi(k)}{k}=int_0^1,frac{1}{1+x^2},text{d}x=arctan(x)big|_{x=0}^{x=1}=frac{pi}{4},.$$





                    Alternatively, note that
                    $$chi(k)=frac{text{i}^k-(-text{i})^k}{2text{i}}text{ for each }k=0,1,2,ldots,,$$
                    where $text{i}$ is the imaginary unit $sqrt{-1}$. From the Taylor series of the principal branch of the natural logarithm function $$ln(1+z)=sum_{k=1}^infty,frac{(-1)^{k-1}}{k},z^k,,$$ we note that the series above converges for $z=pm text{i}$, yielding
                    $$frac{1}{2},ln(2)+text{i}frac{pi}{4}=ln(1+text{i})=-sum_{k=1}^infty,frac{(-text{i})^k}{k}$$
                    and
                    $$frac{1}{2},ln(2)-text{i}frac{pi}{4}=ln(1-text{i})=-sum_{k=1}^infty,frac{text{i}^k}{k},.$$
                    Subtracting the two equations above and dividing the result by $2text{i}$ yields
                    $$frac{pi}{4}=sum_{k=1}^infty,frac{text{i}^k-(-text{i})^k}{2text{i},k}=sum_{k=1}^infty,frac{chi(k)}{k},.$$






                    share|cite|improve this answer











                    $endgroup$













                    • $begingroup$
                      For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:44










                    • $begingroup$
                      @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:48












                    • $begingroup$
                      Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:54










                    • $begingroup$
                      @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:59












                    • $begingroup$
                      Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 1:18


















                    4












                    $begingroup$

                    If you have a power series
                    $$f(x):=sum_{k=0}^infty,a_kx^k$$
                    with radius of convergence $rgeq 1$ ($a_0,a_1,a_2,ldotsinmathbb{C}$), then $f_n|_{[0,1)}to f|_{[0,1)}$ uniformly on compact sets as $ntoinfty$, where $$f_n(x):=sum_{k=0}^n,a_kx^ktext{ for each }xinmathbb{C}text{ and }ninmathbb{Z}_{>0},.$$
                    This provides a justification for swapping the infinite sum and the integral, that is,
                    $$int_0^1,f(x),text{d}x=int_0^1,sum_{k=0}^infty,a_kx^k,text{d}x=sum_{k=0}^infty,int_0^1,a_kx^k,text{d}x=sum_{k=0}^infty,frac{a_{k}}{k+1},.$$





                    In particular, the power series
                    $$g(x):=sum_{k=0}^infty,chi(k+1),x^k$$
                    has radius of convergence $dfrac{1}{limsuplimits_{ktoinfty},sqrt[k]{big|chi(k+1)big|}}=1$. Therefore, you can swap the integral and the infinite sum to obtain
                    $$int_0^1,g(x),text{d}x=int_0^1,sum_{k=0}^infty,chi(k+1),x^k,text{d}x=sum_{k=0}^infty,frac{chi(k+1)}{k+1}=sum_{k=1}^infty,frac{chi(k)}{k},.$$



                    Note that $x^4,g(x)=g(x)-1+x^2$, so $$g(x)=frac{1-x^2}{1-x^4}=frac{1}{1+x^2}text{ for all }xinmathbb{C}text{ such that }|x|<1,.$$
                    That is,
                    $$sum_{k=1}^infty,frac{chi(k)}{k}=int_0^1,frac{1}{1+x^2},text{d}x=arctan(x)big|_{x=0}^{x=1}=frac{pi}{4},.$$





                    Alternatively, note that
                    $$chi(k)=frac{text{i}^k-(-text{i})^k}{2text{i}}text{ for each }k=0,1,2,ldots,,$$
                    where $text{i}$ is the imaginary unit $sqrt{-1}$. From the Taylor series of the principal branch of the natural logarithm function $$ln(1+z)=sum_{k=1}^infty,frac{(-1)^{k-1}}{k},z^k,,$$ we note that the series above converges for $z=pm text{i}$, yielding
                    $$frac{1}{2},ln(2)+text{i}frac{pi}{4}=ln(1+text{i})=-sum_{k=1}^infty,frac{(-text{i})^k}{k}$$
                    and
                    $$frac{1}{2},ln(2)-text{i}frac{pi}{4}=ln(1-text{i})=-sum_{k=1}^infty,frac{text{i}^k}{k},.$$
                    Subtracting the two equations above and dividing the result by $2text{i}$ yields
                    $$frac{pi}{4}=sum_{k=1}^infty,frac{text{i}^k-(-text{i})^k}{2text{i},k}=sum_{k=1}^infty,frac{chi(k)}{k},.$$






                    share|cite|improve this answer











                    $endgroup$













                    • $begingroup$
                      For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:44










                    • $begingroup$
                      @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:48












                    • $begingroup$
                      Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:54










                    • $begingroup$
                      @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:59












                    • $begingroup$
                      Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 1:18
















                    4












                    4








                    4





                    $begingroup$

                    If you have a power series
                    $$f(x):=sum_{k=0}^infty,a_kx^k$$
                    with radius of convergence $rgeq 1$ ($a_0,a_1,a_2,ldotsinmathbb{C}$), then $f_n|_{[0,1)}to f|_{[0,1)}$ uniformly on compact sets as $ntoinfty$, where $$f_n(x):=sum_{k=0}^n,a_kx^ktext{ for each }xinmathbb{C}text{ and }ninmathbb{Z}_{>0},.$$
                    This provides a justification for swapping the infinite sum and the integral, that is,
                    $$int_0^1,f(x),text{d}x=int_0^1,sum_{k=0}^infty,a_kx^k,text{d}x=sum_{k=0}^infty,int_0^1,a_kx^k,text{d}x=sum_{k=0}^infty,frac{a_{k}}{k+1},.$$





                    In particular, the power series
                    $$g(x):=sum_{k=0}^infty,chi(k+1),x^k$$
                    has radius of convergence $dfrac{1}{limsuplimits_{ktoinfty},sqrt[k]{big|chi(k+1)big|}}=1$. Therefore, you can swap the integral and the infinite sum to obtain
                    $$int_0^1,g(x),text{d}x=int_0^1,sum_{k=0}^infty,chi(k+1),x^k,text{d}x=sum_{k=0}^infty,frac{chi(k+1)}{k+1}=sum_{k=1}^infty,frac{chi(k)}{k},.$$



                    Note that $x^4,g(x)=g(x)-1+x^2$, so $$g(x)=frac{1-x^2}{1-x^4}=frac{1}{1+x^2}text{ for all }xinmathbb{C}text{ such that }|x|<1,.$$
                    That is,
                    $$sum_{k=1}^infty,frac{chi(k)}{k}=int_0^1,frac{1}{1+x^2},text{d}x=arctan(x)big|_{x=0}^{x=1}=frac{pi}{4},.$$





                    Alternatively, note that
                    $$chi(k)=frac{text{i}^k-(-text{i})^k}{2text{i}}text{ for each }k=0,1,2,ldots,,$$
                    where $text{i}$ is the imaginary unit $sqrt{-1}$. From the Taylor series of the principal branch of the natural logarithm function $$ln(1+z)=sum_{k=1}^infty,frac{(-1)^{k-1}}{k},z^k,,$$ we note that the series above converges for $z=pm text{i}$, yielding
                    $$frac{1}{2},ln(2)+text{i}frac{pi}{4}=ln(1+text{i})=-sum_{k=1}^infty,frac{(-text{i})^k}{k}$$
                    and
                    $$frac{1}{2},ln(2)-text{i}frac{pi}{4}=ln(1-text{i})=-sum_{k=1}^infty,frac{text{i}^k}{k},.$$
                    Subtracting the two equations above and dividing the result by $2text{i}$ yields
                    $$frac{pi}{4}=sum_{k=1}^infty,frac{text{i}^k-(-text{i})^k}{2text{i},k}=sum_{k=1}^infty,frac{chi(k)}{k},.$$






                    share|cite|improve this answer











                    $endgroup$



                    If you have a power series
                    $$f(x):=sum_{k=0}^infty,a_kx^k$$
                    with radius of convergence $rgeq 1$ ($a_0,a_1,a_2,ldotsinmathbb{C}$), then $f_n|_{[0,1)}to f|_{[0,1)}$ uniformly on compact sets as $ntoinfty$, where $$f_n(x):=sum_{k=0}^n,a_kx^ktext{ for each }xinmathbb{C}text{ and }ninmathbb{Z}_{>0},.$$
                    This provides a justification for swapping the infinite sum and the integral, that is,
                    $$int_0^1,f(x),text{d}x=int_0^1,sum_{k=0}^infty,a_kx^k,text{d}x=sum_{k=0}^infty,int_0^1,a_kx^k,text{d}x=sum_{k=0}^infty,frac{a_{k}}{k+1},.$$





                    In particular, the power series
                    $$g(x):=sum_{k=0}^infty,chi(k+1),x^k$$
                    has radius of convergence $dfrac{1}{limsuplimits_{ktoinfty},sqrt[k]{big|chi(k+1)big|}}=1$. Therefore, you can swap the integral and the infinite sum to obtain
                    $$int_0^1,g(x),text{d}x=int_0^1,sum_{k=0}^infty,chi(k+1),x^k,text{d}x=sum_{k=0}^infty,frac{chi(k+1)}{k+1}=sum_{k=1}^infty,frac{chi(k)}{k},.$$



                    Note that $x^4,g(x)=g(x)-1+x^2$, so $$g(x)=frac{1-x^2}{1-x^4}=frac{1}{1+x^2}text{ for all }xinmathbb{C}text{ such that }|x|<1,.$$
                    That is,
                    $$sum_{k=1}^infty,frac{chi(k)}{k}=int_0^1,frac{1}{1+x^2},text{d}x=arctan(x)big|_{x=0}^{x=1}=frac{pi}{4},.$$





                    Alternatively, note that
                    $$chi(k)=frac{text{i}^k-(-text{i})^k}{2text{i}}text{ for each }k=0,1,2,ldots,,$$
                    where $text{i}$ is the imaginary unit $sqrt{-1}$. From the Taylor series of the principal branch of the natural logarithm function $$ln(1+z)=sum_{k=1}^infty,frac{(-1)^{k-1}}{k},z^k,,$$ we note that the series above converges for $z=pm text{i}$, yielding
                    $$frac{1}{2},ln(2)+text{i}frac{pi}{4}=ln(1+text{i})=-sum_{k=1}^infty,frac{(-text{i})^k}{k}$$
                    and
                    $$frac{1}{2},ln(2)-text{i}frac{pi}{4}=ln(1-text{i})=-sum_{k=1}^infty,frac{text{i}^k}{k},.$$
                    Subtracting the two equations above and dividing the result by $2text{i}$ yields
                    $$frac{pi}{4}=sum_{k=1}^infty,frac{text{i}^k-(-text{i})^k}{2text{i},k}=sum_{k=1}^infty,frac{chi(k)}{k},.$$







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Nov 20 '18 at 23:32

























                    answered Nov 20 '18 at 22:44









                    BatominovskiBatominovski

                    33.1k33293




                    33.1k33293












                    • $begingroup$
                      For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:44










                    • $begingroup$
                      @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:48












                    • $begingroup$
                      Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:54










                    • $begingroup$
                      @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:59












                    • $begingroup$
                      Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 1:18




















                    • $begingroup$
                      For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:44










                    • $begingroup$
                      @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:48












                    • $begingroup$
                      Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 0:54










                    • $begingroup$
                      @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
                      $endgroup$
                      – Batominovski
                      Nov 21 '18 at 0:59












                    • $begingroup$
                      Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
                      $endgroup$
                      – Matematleta
                      Nov 21 '18 at 1:18


















                    $begingroup$
                    For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
                    $endgroup$
                    – Matematleta
                    Nov 21 '18 at 0:44




                    $begingroup$
                    For all this to work, you need to show that $g(1)$ converges and that seems to be the crux of the matter.
                    $endgroup$
                    – Matematleta
                    Nov 21 '18 at 0:44












                    $begingroup$
                    @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
                    $endgroup$
                    – Batominovski
                    Nov 21 '18 at 0:48






                    $begingroup$
                    @Matematleta No, I don't need to know that. The integral can be viewed as the integral on the interval $[0,1)$. The important thing is that $g(x)$ converges absolutely for $xin[0,1)$, and that the partial sums of $g(x)$ converge to $g(x)$ uniformly on compact sets. And in fact, $g(1)$ diverges.
                    $endgroup$
                    – Batominovski
                    Nov 21 '18 at 0:48














                    $begingroup$
                    Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
                    $endgroup$
                    – Matematleta
                    Nov 21 '18 at 0:54




                    $begingroup$
                    Right. So, as it stands, $int_0^1,g(x),text{d}x$ does not make sense. If you want to use the DCT, what is your dominating function?
                    $endgroup$
                    – Matematleta
                    Nov 21 '18 at 0:54












                    $begingroup$
                    @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
                    $endgroup$
                    – Batominovski
                    Nov 21 '18 at 0:59






                    $begingroup$
                    @Matematleta I wasn't using the Dominated Convergence Theorem. It is a well known result that if $f_nto f$ uniformly on compact sets (i.e., $f_n$ compactly converges to $f$) and $Esubset mathbb{R}$ is a measurable set of finite measure, then $int_E,f_nto int_E,f$. But sure, if you want to use that theorem, then you can take the dominating function to be $1$. For all $xin[0,1)$, $big|g(x)big|leq 1$.
                    $endgroup$
                    – Batominovski
                    Nov 21 '18 at 0:59














                    $begingroup$
                    Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
                    $endgroup$
                    – Matematleta
                    Nov 21 '18 at 1:18






                    $begingroup$
                    Got it! Thanks. I did not use the correct def of $chi.$ As for the well-known result, yes I know it, and my question is how does it apply since the partial sums of $g$ do not even converge pointwise on the compact set $[0,1]$,never mind uniformly. (Convergence fails at $x=1.$)
                    $endgroup$
                    – Matematleta
                    Nov 21 '18 at 1:18




















                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006984%2ftransfer-between-integrals-and-infinite-sums%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

                    鏡平學校

                    ꓛꓣだゔៀៅຸ໢ທຮ໕໒ ,ໂ'໥໓າ໼ឨឲ៵៭ៈゎゔit''䖳𥁄卿' ☨₤₨こゎもょの;ꜹꟚꞖꞵꟅꞛေၦေɯ,ɨɡ𛃵𛁹ޝ޳ޠ޾,ޤޒޯ޾𫝒𫠁သ𛅤チョ'サノބޘދ𛁐ᶿᶇᶀᶋᶠ㨑㽹⻮ꧬ꧹؍۩وَؠ㇕㇃㇪ ㇦㇋㇋ṜẰᵡᴠ 軌ᵕ搜۳ٰޗޮ޷ސޯ𫖾𫅀ल, ꙭ꙰ꚅꙁꚊꞻꝔ꟠Ꝭㄤﺟޱސꧨꧼ꧴ꧯꧽ꧲ꧯ'⽹⽭⾁⿞⼳⽋២៩ញណើꩯꩤ꩸ꩮᶻᶺᶧᶂ𫳲𫪭𬸄𫵰𬖩𬫣𬊉ၲ𛅬㕦䬺𫝌𫝼,,𫟖𫞽ហៅ஫㆔ాఆఅꙒꚞꙍ,Ꙟ꙱エ ,ポテ,フࢰࢯ𫟠𫞶 𫝤𫟠ﺕﹱﻜﻣ𪵕𪭸𪻆𪾩𫔷ġ,ŧآꞪ꟥,ꞔꝻ♚☹⛵𛀌ꬷꭞȄƁƪƬșƦǙǗdžƝǯǧⱦⱰꓕꓢႋ神 ဴ၀க௭எ௫ឫោ ' េㇷㇴㇼ神ㇸㇲㇽㇴㇼㇻㇸ'ㇸㇿㇸㇹㇰㆣꓚꓤ₡₧ ㄨㄟ㄂ㄖㄎ໗ツڒذ₶।ऩछएोञयूटक़कयँृी,冬'𛅢𛅥ㇱㇵㇶ𥄥𦒽𠣧𠊓𧢖𥞘𩔋цѰㄠſtʯʭɿʆʗʍʩɷɛ,əʏダヵㄐㄘR{gỚṖḺờṠṫảḙḭᴮᵏᴘᵀᵷᵕᴜᴏᵾq﮲ﲿﴽﭙ軌ﰬﶚﶧ﫲Ҝжюїкӈㇴffצּ﬘﭅﬈軌'ffistfflſtffतभफɳɰʊɲʎ𛁱𛁖𛁮𛀉 𛂯𛀞నఋŀŲ 𫟲𫠖𫞺ຆຆ ໹້໕໗ๆทԊꧢꧠ꧰ꓱ⿝⼑ŎḬẃẖỐẅ ,ờỰỈỗﮊDžȩꭏꭎꬻ꭮ꬿꭖꭥꭅ㇭神 ⾈ꓵꓑ⺄㄄ㄪㄙㄅㄇstA۵䞽ॶ𫞑𫝄㇉㇇゜軌𩜛𩳠Jﻺ‚Üမ႕ႌႊၐၸဓၞၞၡ៸wyvtᶎᶪᶹစဎ꣡꣰꣢꣤ٗ؋لㇳㇾㇻㇱ㆐㆔,,㆟Ⱶヤマފ޼ޝަݿݞݠݷݐ',ݘ,ݪݙݵ𬝉𬜁𫝨𫞘くせぉて¼óû×ó£…𛅑הㄙくԗԀ5606神45,神796'𪤻𫞧ꓐ㄁ㄘɥɺꓵꓲ3''7034׉ⱦⱠˆ“𫝋ȍ,ꩲ軌꩷ꩶꩧꩫఞ۔فڱێظペサ神ナᴦᵑ47 9238їﻂ䐊䔉㠸﬎ffiﬣ,לּᴷᴦᵛᵽ,ᴨᵤ ᵸᵥᴗᵈꚏꚉꚟ⻆rtǟƴ𬎎

                    Why https connections are so slow when debugging (stepping over) in Java?