Proving $pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$ using the Fourier series for $cosh ax$












5












$begingroup$


The exercise wants me to prove the identity



$$pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



using the Fourier series of $cosh ax, ; x in [-pi, pi], ; a neq 0$.





Evaluating the coefficients ($b_n$ is actually zero as $cosh ax$ is even) we have that:



$displaystyle {color{gray} blacksquare} ;; a_0 = frac{1}{pi}int_{-pi}^{pi}cosh ax , {rm d}x= frac{2sinh pi a}{pi a}$



$require{cancel}displaystyle {color{gray} blacksquare} ;; a_n = frac{1}{pi}int_{-pi}^{pi}cosh ax cos n x, {rm d}x= frac{2[a sinh pi a cos pi n+ cancelto{0}{n cosh pi a sin pi n}]}{pi (a^2+n^2)}$



So far so good except one little problem. I get that $cos pi n$ in the nominator which is $(-1)^n$ so I get the alternating series not the wanted one. That is , this way I evaluated the series:



$$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n}{n^2 +a^2} implies \
implies picoth pi a = frac{1}{a}+ sum_{n=1}^{infty}frac{2(-1)^n}{n^2+a^2}$$



and not what I want. Calculations of the coefficients were done by Wolfram because they were too tedious to be done by hand.



However, I know that using contour integration using the kernel $pi cot pi z$ that this series indeed evaluates to the LHS. What is wrong here?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Hint: variable $x$ does not appear in the RHS of your result, as it should.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:54










  • $begingroup$
    Yes... but I cannot see where the mistake is. As for $x$ you are right. Then I plug in $x=pi$.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:56












  • $begingroup$
    Oups... I forgot the $cos nx$ is the RHS.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:57






  • 1




    $begingroup$
    Yes, and then you must put $x=pi$.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:58








  • 1




    $begingroup$
    Similar work with $a:=iz$.
    $endgroup$
    – Raymond Manzoni
    Jul 27 '15 at 21:07
















5












$begingroup$


The exercise wants me to prove the identity



$$pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



using the Fourier series of $cosh ax, ; x in [-pi, pi], ; a neq 0$.





Evaluating the coefficients ($b_n$ is actually zero as $cosh ax$ is even) we have that:



$displaystyle {color{gray} blacksquare} ;; a_0 = frac{1}{pi}int_{-pi}^{pi}cosh ax , {rm d}x= frac{2sinh pi a}{pi a}$



$require{cancel}displaystyle {color{gray} blacksquare} ;; a_n = frac{1}{pi}int_{-pi}^{pi}cosh ax cos n x, {rm d}x= frac{2[a sinh pi a cos pi n+ cancelto{0}{n cosh pi a sin pi n}]}{pi (a^2+n^2)}$



So far so good except one little problem. I get that $cos pi n$ in the nominator which is $(-1)^n$ so I get the alternating series not the wanted one. That is , this way I evaluated the series:



$$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n}{n^2 +a^2} implies \
implies picoth pi a = frac{1}{a}+ sum_{n=1}^{infty}frac{2(-1)^n}{n^2+a^2}$$



and not what I want. Calculations of the coefficients were done by Wolfram because they were too tedious to be done by hand.



However, I know that using contour integration using the kernel $pi cot pi z$ that this series indeed evaluates to the LHS. What is wrong here?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Hint: variable $x$ does not appear in the RHS of your result, as it should.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:54










  • $begingroup$
    Yes... but I cannot see where the mistake is. As for $x$ you are right. Then I plug in $x=pi$.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:56












  • $begingroup$
    Oups... I forgot the $cos nx$ is the RHS.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:57






  • 1




    $begingroup$
    Yes, and then you must put $x=pi$.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:58








  • 1




    $begingroup$
    Similar work with $a:=iz$.
    $endgroup$
    – Raymond Manzoni
    Jul 27 '15 at 21:07














5












5








5


3



$begingroup$


The exercise wants me to prove the identity



$$pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



using the Fourier series of $cosh ax, ; x in [-pi, pi], ; a neq 0$.





Evaluating the coefficients ($b_n$ is actually zero as $cosh ax$ is even) we have that:



$displaystyle {color{gray} blacksquare} ;; a_0 = frac{1}{pi}int_{-pi}^{pi}cosh ax , {rm d}x= frac{2sinh pi a}{pi a}$



$require{cancel}displaystyle {color{gray} blacksquare} ;; a_n = frac{1}{pi}int_{-pi}^{pi}cosh ax cos n x, {rm d}x= frac{2[a sinh pi a cos pi n+ cancelto{0}{n cosh pi a sin pi n}]}{pi (a^2+n^2)}$



So far so good except one little problem. I get that $cos pi n$ in the nominator which is $(-1)^n$ so I get the alternating series not the wanted one. That is , this way I evaluated the series:



$$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n}{n^2 +a^2} implies \
implies picoth pi a = frac{1}{a}+ sum_{n=1}^{infty}frac{2(-1)^n}{n^2+a^2}$$



and not what I want. Calculations of the coefficients were done by Wolfram because they were too tedious to be done by hand.



However, I know that using contour integration using the kernel $pi cot pi z$ that this series indeed evaluates to the LHS. What is wrong here?










share|cite|improve this question











$endgroup$




The exercise wants me to prove the identity



$$pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



using the Fourier series of $cosh ax, ; x in [-pi, pi], ; a neq 0$.





Evaluating the coefficients ($b_n$ is actually zero as $cosh ax$ is even) we have that:



$displaystyle {color{gray} blacksquare} ;; a_0 = frac{1}{pi}int_{-pi}^{pi}cosh ax , {rm d}x= frac{2sinh pi a}{pi a}$



$require{cancel}displaystyle {color{gray} blacksquare} ;; a_n = frac{1}{pi}int_{-pi}^{pi}cosh ax cos n x, {rm d}x= frac{2[a sinh pi a cos pi n+ cancelto{0}{n cosh pi a sin pi n}]}{pi (a^2+n^2)}$



So far so good except one little problem. I get that $cos pi n$ in the nominator which is $(-1)^n$ so I get the alternating series not the wanted one. That is , this way I evaluated the series:



$$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n}{n^2 +a^2} implies \
implies picoth pi a = frac{1}{a}+ sum_{n=1}^{infty}frac{2(-1)^n}{n^2+a^2}$$



and not what I want. Calculations of the coefficients were done by Wolfram because they were too tedious to be done by hand.



However, I know that using contour integration using the kernel $pi cot pi z$ that this series indeed evaluates to the LHS. What is wrong here?







real-analysis fourier-series






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 1 at 20:19









Blue

47.7k870151




47.7k870151










asked Jul 27 '15 at 20:47









TolasoTolaso

3,4101231




3,4101231












  • $begingroup$
    Hint: variable $x$ does not appear in the RHS of your result, as it should.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:54










  • $begingroup$
    Yes... but I cannot see where the mistake is. As for $x$ you are right. Then I plug in $x=pi$.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:56












  • $begingroup$
    Oups... I forgot the $cos nx$ is the RHS.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:57






  • 1




    $begingroup$
    Yes, and then you must put $x=pi$.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:58








  • 1




    $begingroup$
    Similar work with $a:=iz$.
    $endgroup$
    – Raymond Manzoni
    Jul 27 '15 at 21:07


















  • $begingroup$
    Hint: variable $x$ does not appear in the RHS of your result, as it should.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:54










  • $begingroup$
    Yes... but I cannot see where the mistake is. As for $x$ you are right. Then I plug in $x=pi$.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:56












  • $begingroup$
    Oups... I forgot the $cos nx$ is the RHS.
    $endgroup$
    – Tolaso
    Jul 27 '15 at 20:57






  • 1




    $begingroup$
    Yes, and then you must put $x=pi$.
    $endgroup$
    – Aretino
    Jul 27 '15 at 20:58








  • 1




    $begingroup$
    Similar work with $a:=iz$.
    $endgroup$
    – Raymond Manzoni
    Jul 27 '15 at 21:07
















$begingroup$
Hint: variable $x$ does not appear in the RHS of your result, as it should.
$endgroup$
– Aretino
Jul 27 '15 at 20:54




$begingroup$
Hint: variable $x$ does not appear in the RHS of your result, as it should.
$endgroup$
– Aretino
Jul 27 '15 at 20:54












$begingroup$
Yes... but I cannot see where the mistake is. As for $x$ you are right. Then I plug in $x=pi$.
$endgroup$
– Tolaso
Jul 27 '15 at 20:56






$begingroup$
Yes... but I cannot see where the mistake is. As for $x$ you are right. Then I plug in $x=pi$.
$endgroup$
– Tolaso
Jul 27 '15 at 20:56














$begingroup$
Oups... I forgot the $cos nx$ is the RHS.
$endgroup$
– Tolaso
Jul 27 '15 at 20:57




$begingroup$
Oups... I forgot the $cos nx$ is the RHS.
$endgroup$
– Tolaso
Jul 27 '15 at 20:57




1




1




$begingroup$
Yes, and then you must put $x=pi$.
$endgroup$
– Aretino
Jul 27 '15 at 20:58






$begingroup$
Yes, and then you must put $x=pi$.
$endgroup$
– Aretino
Jul 27 '15 at 20:58






1




1




$begingroup$
Similar work with $a:=iz$.
$endgroup$
– Raymond Manzoni
Jul 27 '15 at 21:07




$begingroup$
Similar work with $a:=iz$.
$endgroup$
– Raymond Manzoni
Jul 27 '15 at 21:07










1 Answer
1






active

oldest

votes


















3












$begingroup$

Actually I forgot to add the $cos nx$ in the RHS. Hence:



$$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n cos nx}{n^2 +a^2} overset{x=pi}{implies}$$



$$overset{x=pi}{implies} pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



and the identity is proven.



@Aretino, thanks for the heads up.






share|cite|improve this answer











$endgroup$













    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%2f1376079%2fproving-pi-coth-pi-a-frac1a-sum-n-1-infty-frac2an2a2-us%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









    3












    $begingroup$

    Actually I forgot to add the $cos nx$ in the RHS. Hence:



    $$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n cos nx}{n^2 +a^2} overset{x=pi}{implies}$$



    $$overset{x=pi}{implies} pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



    and the identity is proven.



    @Aretino, thanks for the heads up.






    share|cite|improve this answer











    $endgroup$


















      3












      $begingroup$

      Actually I forgot to add the $cos nx$ in the RHS. Hence:



      $$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n cos nx}{n^2 +a^2} overset{x=pi}{implies}$$



      $$overset{x=pi}{implies} pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



      and the identity is proven.



      @Aretino, thanks for the heads up.






      share|cite|improve this answer











      $endgroup$
















        3












        3








        3





        $begingroup$

        Actually I forgot to add the $cos nx$ in the RHS. Hence:



        $$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n cos nx}{n^2 +a^2} overset{x=pi}{implies}$$



        $$overset{x=pi}{implies} pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



        and the identity is proven.



        @Aretino, thanks for the heads up.






        share|cite|improve this answer











        $endgroup$



        Actually I forgot to add the $cos nx$ in the RHS. Hence:



        $$cosh ax = frac{sinh pi a}{pi a}+ frac{2 asinh pi a}{pi}sum_{n=1}^{infty}frac{ (-1)^n cos nx}{n^2 +a^2} overset{x=pi}{implies}$$



        $$overset{x=pi}{implies} pi coth pi a= frac{1}{a}+ sum_{n=1}^{infty}frac{2a}{n^2+a^2}$$



        and the identity is proven.



        @Aretino, thanks for the heads up.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 1 at 20:15









        clathratus

        3,521332




        3,521332










        answered Jul 27 '15 at 21:05









        TolasoTolaso

        3,4101231




        3,4101231






























            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%2f1376079%2fproving-pi-coth-pi-a-frac1a-sum-n-1-infty-frac2an2a2-us%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

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

            A Topological Invariant for $pi_3(U(n))$