Taylor series of $lnfrac{1+x}{1-x}$ [duplicate]












1












$begingroup$



This question already has an answer here:




  • Taylor Expansion $log(frac{1+z}{1-z})$

    1 answer





Let $f(x)=lnfrac{1+x}{1-x}$ for $x$ in $(-1,1)$. Calculate the Taylor series of $f$ at $x_0=0$




I determined some derivatives:



$f'(x)=frac{2}{1-x^2}$; $f''(x)=frac{4x}{(1-x^2)^2}$; $f^{(3)}(x)=frac{4(3x^2+1)}{(1-x^2)^3}$; $f^{(4)}(x)=frac{48x(x^2+1)}{(1-x^2)^4}$; $f^{(5)}(x)=frac{48(5x^2+10x^2+1)}{(1-x^2)^5}$



and their values at $x_0=0$:



$f(0)=0$; $f'(0)=2$; $f''(0)=0$; $f^{(3)}(0)=4=2^2$



$f^{(4)}(0)=0$; $f^{(5)}(0)=48=2^4.3$; $f^{(7)}(0)=1440=2^5.3^2.5$



I can just see that for $n$ even, $f^{(n)}(0)=0$, but how can I generalize the entire series?










share|cite|improve this question











$endgroup$



marked as duplicate by platty, Dando18, RRL real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 11 '18 at 23:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • 11




    $begingroup$
    Note that $lnfrac{1+x}{1-x}=ln(1+x)-ln(1-x)$ and we know the Taylor series of later ones!
    $endgroup$
    – Qurultay
    Dec 11 '18 at 15:39






  • 1




    $begingroup$
    Why those downvotes ?
    $endgroup$
    – Yves Daoust
    Dec 11 '18 at 16:59
















1












$begingroup$



This question already has an answer here:




  • Taylor Expansion $log(frac{1+z}{1-z})$

    1 answer





Let $f(x)=lnfrac{1+x}{1-x}$ for $x$ in $(-1,1)$. Calculate the Taylor series of $f$ at $x_0=0$




I determined some derivatives:



$f'(x)=frac{2}{1-x^2}$; $f''(x)=frac{4x}{(1-x^2)^2}$; $f^{(3)}(x)=frac{4(3x^2+1)}{(1-x^2)^3}$; $f^{(4)}(x)=frac{48x(x^2+1)}{(1-x^2)^4}$; $f^{(5)}(x)=frac{48(5x^2+10x^2+1)}{(1-x^2)^5}$



and their values at $x_0=0$:



$f(0)=0$; $f'(0)=2$; $f''(0)=0$; $f^{(3)}(0)=4=2^2$



$f^{(4)}(0)=0$; $f^{(5)}(0)=48=2^4.3$; $f^{(7)}(0)=1440=2^5.3^2.5$



I can just see that for $n$ even, $f^{(n)}(0)=0$, but how can I generalize the entire series?










share|cite|improve this question











$endgroup$



marked as duplicate by platty, Dando18, RRL real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 11 '18 at 23:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • 11




    $begingroup$
    Note that $lnfrac{1+x}{1-x}=ln(1+x)-ln(1-x)$ and we know the Taylor series of later ones!
    $endgroup$
    – Qurultay
    Dec 11 '18 at 15:39






  • 1




    $begingroup$
    Why those downvotes ?
    $endgroup$
    – Yves Daoust
    Dec 11 '18 at 16:59














1












1








1





$begingroup$



This question already has an answer here:




  • Taylor Expansion $log(frac{1+z}{1-z})$

    1 answer





Let $f(x)=lnfrac{1+x}{1-x}$ for $x$ in $(-1,1)$. Calculate the Taylor series of $f$ at $x_0=0$




I determined some derivatives:



$f'(x)=frac{2}{1-x^2}$; $f''(x)=frac{4x}{(1-x^2)^2}$; $f^{(3)}(x)=frac{4(3x^2+1)}{(1-x^2)^3}$; $f^{(4)}(x)=frac{48x(x^2+1)}{(1-x^2)^4}$; $f^{(5)}(x)=frac{48(5x^2+10x^2+1)}{(1-x^2)^5}$



and their values at $x_0=0$:



$f(0)=0$; $f'(0)=2$; $f''(0)=0$; $f^{(3)}(0)=4=2^2$



$f^{(4)}(0)=0$; $f^{(5)}(0)=48=2^4.3$; $f^{(7)}(0)=1440=2^5.3^2.5$



I can just see that for $n$ even, $f^{(n)}(0)=0$, but how can I generalize the entire series?










share|cite|improve this question











$endgroup$





This question already has an answer here:




  • Taylor Expansion $log(frac{1+z}{1-z})$

    1 answer





Let $f(x)=lnfrac{1+x}{1-x}$ for $x$ in $(-1,1)$. Calculate the Taylor series of $f$ at $x_0=0$




I determined some derivatives:



$f'(x)=frac{2}{1-x^2}$; $f''(x)=frac{4x}{(1-x^2)^2}$; $f^{(3)}(x)=frac{4(3x^2+1)}{(1-x^2)^3}$; $f^{(4)}(x)=frac{48x(x^2+1)}{(1-x^2)^4}$; $f^{(5)}(x)=frac{48(5x^2+10x^2+1)}{(1-x^2)^5}$



and their values at $x_0=0$:



$f(0)=0$; $f'(0)=2$; $f''(0)=0$; $f^{(3)}(0)=4=2^2$



$f^{(4)}(0)=0$; $f^{(5)}(0)=48=2^4.3$; $f^{(7)}(0)=1440=2^5.3^2.5$



I can just see that for $n$ even, $f^{(n)}(0)=0$, but how can I generalize the entire series?





This question already has an answer here:




  • Taylor Expansion $log(frac{1+z}{1-z})$

    1 answer








real-analysis sequences-and-series derivatives taylor-expansion






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 11 '18 at 20:35









Bernard

121k740116




121k740116










asked Dec 11 '18 at 15:37









DadaDada

7510




7510




marked as duplicate by platty, Dando18, RRL real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 11 '18 at 23:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by platty, Dando18, RRL real-analysis
Users with the  real-analysis badge can single-handedly close real-analysis questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 11 '18 at 23:12


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 11




    $begingroup$
    Note that $lnfrac{1+x}{1-x}=ln(1+x)-ln(1-x)$ and we know the Taylor series of later ones!
    $endgroup$
    – Qurultay
    Dec 11 '18 at 15:39






  • 1




    $begingroup$
    Why those downvotes ?
    $endgroup$
    – Yves Daoust
    Dec 11 '18 at 16:59














  • 11




    $begingroup$
    Note that $lnfrac{1+x}{1-x}=ln(1+x)-ln(1-x)$ and we know the Taylor series of later ones!
    $endgroup$
    – Qurultay
    Dec 11 '18 at 15:39






  • 1




    $begingroup$
    Why those downvotes ?
    $endgroup$
    – Yves Daoust
    Dec 11 '18 at 16:59








11




11




$begingroup$
Note that $lnfrac{1+x}{1-x}=ln(1+x)-ln(1-x)$ and we know the Taylor series of later ones!
$endgroup$
– Qurultay
Dec 11 '18 at 15:39




$begingroup$
Note that $lnfrac{1+x}{1-x}=ln(1+x)-ln(1-x)$ and we know the Taylor series of later ones!
$endgroup$
– Qurultay
Dec 11 '18 at 15:39




1




1




$begingroup$
Why those downvotes ?
$endgroup$
– Yves Daoust
Dec 11 '18 at 16:59




$begingroup$
Why those downvotes ?
$endgroup$
– Yves Daoust
Dec 11 '18 at 16:59










3 Answers
3






active

oldest

votes


















2












$begingroup$

begin{align}
ln frac{1+x}{1-x} &= ln (1+x) - ln (1-x) \
&= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} - sum_{n=0}^infty frac{(-1)^n}{n+1}(-x)^{n+1}\
&= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} + sum_{n=0}^infty frac{1}{n+1}x^{n+1}\
&= sum_{n=0}^infty frac{(-1)^n+1}{n+1}x^{n+1}\
&=sum_{n=1}^infty frac{(-1)^{n-1}+1}{n}x^n\
&=sum_{n=1}^infty frac{2}{2n-1}x^{2n-1}\
end{align}



Remark: Your observation that all the even terms vanishes is due to this is an odd function.






share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    The derivative is
    $$biggl(lnfrac{1+x}{1-x}biggr)'=frac{1-x}{1+x},frac 2{(1-x)^2}=frac 2{1-x^2}$$
    Now
    $$frac 2{1-x^2}=2sum_{n=0}^infty x^{2n},enspacetext{so}quadlnfrac{1+x}{1-x}=2sum_{n=0}^infty frac{x^{2n+1}}{2n+1}, $$
    taking into account that both sides are $0$ for $x=0$.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      Beginning with



      $$frac{1}{1 - x} = sum_{k = 0}^{infty} x^{k}, $$



      we can integrate to get $$log(1 - x) = -sum_{k = 1}^{infty} frac{x^{k}}{k}.$$



      Also, if we plug in $(-x)$ for $x$ into the equation for $frac{1}{1 - x}$, we get



      $$frac{1}{1 + x} = sum_{k = 0}^{infty}(-x)^{k}.$$



      Integrating, we get



      $$log(1 + x) = sum_{k = 1}^{infty} frac{(-x)^{k}}{k}.$$



      Now, by properties of $log$, $frac{log(1 + x)}{log(1 - x)} = log(1 + x) - log(1 - x)$. So,



      $$frac{log(1 + x)}{log(1 - x)} = sum_{k = 1}^{infty} frac{(-x)^{k}}{k} + sum_{k = 1}^{infty} frac{x^{k}}{k}$$



      $$= sum_{k = 1}^{infty} frac{(-x)^{k} + x^{k}}{k}.$$



      Note that when $k$ is odd, the terms vanish.






      share|cite|improve this answer









      $endgroup$




















        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2












        $begingroup$

        begin{align}
        ln frac{1+x}{1-x} &= ln (1+x) - ln (1-x) \
        &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} - sum_{n=0}^infty frac{(-1)^n}{n+1}(-x)^{n+1}\
        &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} + sum_{n=0}^infty frac{1}{n+1}x^{n+1}\
        &= sum_{n=0}^infty frac{(-1)^n+1}{n+1}x^{n+1}\
        &=sum_{n=1}^infty frac{(-1)^{n-1}+1}{n}x^n\
        &=sum_{n=1}^infty frac{2}{2n-1}x^{2n-1}\
        end{align}



        Remark: Your observation that all the even terms vanishes is due to this is an odd function.






        share|cite|improve this answer









        $endgroup$


















          2












          $begingroup$

          begin{align}
          ln frac{1+x}{1-x} &= ln (1+x) - ln (1-x) \
          &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} - sum_{n=0}^infty frac{(-1)^n}{n+1}(-x)^{n+1}\
          &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} + sum_{n=0}^infty frac{1}{n+1}x^{n+1}\
          &= sum_{n=0}^infty frac{(-1)^n+1}{n+1}x^{n+1}\
          &=sum_{n=1}^infty frac{(-1)^{n-1}+1}{n}x^n\
          &=sum_{n=1}^infty frac{2}{2n-1}x^{2n-1}\
          end{align}



          Remark: Your observation that all the even terms vanishes is due to this is an odd function.






          share|cite|improve this answer









          $endgroup$
















            2












            2








            2





            $begingroup$

            begin{align}
            ln frac{1+x}{1-x} &= ln (1+x) - ln (1-x) \
            &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} - sum_{n=0}^infty frac{(-1)^n}{n+1}(-x)^{n+1}\
            &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} + sum_{n=0}^infty frac{1}{n+1}x^{n+1}\
            &= sum_{n=0}^infty frac{(-1)^n+1}{n+1}x^{n+1}\
            &=sum_{n=1}^infty frac{(-1)^{n-1}+1}{n}x^n\
            &=sum_{n=1}^infty frac{2}{2n-1}x^{2n-1}\
            end{align}



            Remark: Your observation that all the even terms vanishes is due to this is an odd function.






            share|cite|improve this answer









            $endgroup$



            begin{align}
            ln frac{1+x}{1-x} &= ln (1+x) - ln (1-x) \
            &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} - sum_{n=0}^infty frac{(-1)^n}{n+1}(-x)^{n+1}\
            &= sum_{n=0}^infty frac{(-1)^n}{n+1}x^{n+1} + sum_{n=0}^infty frac{1}{n+1}x^{n+1}\
            &= sum_{n=0}^infty frac{(-1)^n+1}{n+1}x^{n+1}\
            &=sum_{n=1}^infty frac{(-1)^{n-1}+1}{n}x^n\
            &=sum_{n=1}^infty frac{2}{2n-1}x^{2n-1}\
            end{align}



            Remark: Your observation that all the even terms vanishes is due to this is an odd function.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Dec 11 '18 at 16:52









            Siong Thye GohSiong Thye Goh

            101k1466118




            101k1466118























                1












                $begingroup$

                The derivative is
                $$biggl(lnfrac{1+x}{1-x}biggr)'=frac{1-x}{1+x},frac 2{(1-x)^2}=frac 2{1-x^2}$$
                Now
                $$frac 2{1-x^2}=2sum_{n=0}^infty x^{2n},enspacetext{so}quadlnfrac{1+x}{1-x}=2sum_{n=0}^infty frac{x^{2n+1}}{2n+1}, $$
                taking into account that both sides are $0$ for $x=0$.






                share|cite|improve this answer









                $endgroup$


















                  1












                  $begingroup$

                  The derivative is
                  $$biggl(lnfrac{1+x}{1-x}biggr)'=frac{1-x}{1+x},frac 2{(1-x)^2}=frac 2{1-x^2}$$
                  Now
                  $$frac 2{1-x^2}=2sum_{n=0}^infty x^{2n},enspacetext{so}quadlnfrac{1+x}{1-x}=2sum_{n=0}^infty frac{x^{2n+1}}{2n+1}, $$
                  taking into account that both sides are $0$ for $x=0$.






                  share|cite|improve this answer









                  $endgroup$
















                    1












                    1








                    1





                    $begingroup$

                    The derivative is
                    $$biggl(lnfrac{1+x}{1-x}biggr)'=frac{1-x}{1+x},frac 2{(1-x)^2}=frac 2{1-x^2}$$
                    Now
                    $$frac 2{1-x^2}=2sum_{n=0}^infty x^{2n},enspacetext{so}quadlnfrac{1+x}{1-x}=2sum_{n=0}^infty frac{x^{2n+1}}{2n+1}, $$
                    taking into account that both sides are $0$ for $x=0$.






                    share|cite|improve this answer









                    $endgroup$



                    The derivative is
                    $$biggl(lnfrac{1+x}{1-x}biggr)'=frac{1-x}{1+x},frac 2{(1-x)^2}=frac 2{1-x^2}$$
                    Now
                    $$frac 2{1-x^2}=2sum_{n=0}^infty x^{2n},enspacetext{so}quadlnfrac{1+x}{1-x}=2sum_{n=0}^infty frac{x^{2n+1}}{2n+1}, $$
                    taking into account that both sides are $0$ for $x=0$.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Dec 11 '18 at 17:07









                    BernardBernard

                    121k740116




                    121k740116























                        0












                        $begingroup$

                        Beginning with



                        $$frac{1}{1 - x} = sum_{k = 0}^{infty} x^{k}, $$



                        we can integrate to get $$log(1 - x) = -sum_{k = 1}^{infty} frac{x^{k}}{k}.$$



                        Also, if we plug in $(-x)$ for $x$ into the equation for $frac{1}{1 - x}$, we get



                        $$frac{1}{1 + x} = sum_{k = 0}^{infty}(-x)^{k}.$$



                        Integrating, we get



                        $$log(1 + x) = sum_{k = 1}^{infty} frac{(-x)^{k}}{k}.$$



                        Now, by properties of $log$, $frac{log(1 + x)}{log(1 - x)} = log(1 + x) - log(1 - x)$. So,



                        $$frac{log(1 + x)}{log(1 - x)} = sum_{k = 1}^{infty} frac{(-x)^{k}}{k} + sum_{k = 1}^{infty} frac{x^{k}}{k}$$



                        $$= sum_{k = 1}^{infty} frac{(-x)^{k} + x^{k}}{k}.$$



                        Note that when $k$ is odd, the terms vanish.






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          Beginning with



                          $$frac{1}{1 - x} = sum_{k = 0}^{infty} x^{k}, $$



                          we can integrate to get $$log(1 - x) = -sum_{k = 1}^{infty} frac{x^{k}}{k}.$$



                          Also, if we plug in $(-x)$ for $x$ into the equation for $frac{1}{1 - x}$, we get



                          $$frac{1}{1 + x} = sum_{k = 0}^{infty}(-x)^{k}.$$



                          Integrating, we get



                          $$log(1 + x) = sum_{k = 1}^{infty} frac{(-x)^{k}}{k}.$$



                          Now, by properties of $log$, $frac{log(1 + x)}{log(1 - x)} = log(1 + x) - log(1 - x)$. So,



                          $$frac{log(1 + x)}{log(1 - x)} = sum_{k = 1}^{infty} frac{(-x)^{k}}{k} + sum_{k = 1}^{infty} frac{x^{k}}{k}$$



                          $$= sum_{k = 1}^{infty} frac{(-x)^{k} + x^{k}}{k}.$$



                          Note that when $k$ is odd, the terms vanish.






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            Beginning with



                            $$frac{1}{1 - x} = sum_{k = 0}^{infty} x^{k}, $$



                            we can integrate to get $$log(1 - x) = -sum_{k = 1}^{infty} frac{x^{k}}{k}.$$



                            Also, if we plug in $(-x)$ for $x$ into the equation for $frac{1}{1 - x}$, we get



                            $$frac{1}{1 + x} = sum_{k = 0}^{infty}(-x)^{k}.$$



                            Integrating, we get



                            $$log(1 + x) = sum_{k = 1}^{infty} frac{(-x)^{k}}{k}.$$



                            Now, by properties of $log$, $frac{log(1 + x)}{log(1 - x)} = log(1 + x) - log(1 - x)$. So,



                            $$frac{log(1 + x)}{log(1 - x)} = sum_{k = 1}^{infty} frac{(-x)^{k}}{k} + sum_{k = 1}^{infty} frac{x^{k}}{k}$$



                            $$= sum_{k = 1}^{infty} frac{(-x)^{k} + x^{k}}{k}.$$



                            Note that when $k$ is odd, the terms vanish.






                            share|cite|improve this answer









                            $endgroup$



                            Beginning with



                            $$frac{1}{1 - x} = sum_{k = 0}^{infty} x^{k}, $$



                            we can integrate to get $$log(1 - x) = -sum_{k = 1}^{infty} frac{x^{k}}{k}.$$



                            Also, if we plug in $(-x)$ for $x$ into the equation for $frac{1}{1 - x}$, we get



                            $$frac{1}{1 + x} = sum_{k = 0}^{infty}(-x)^{k}.$$



                            Integrating, we get



                            $$log(1 + x) = sum_{k = 1}^{infty} frac{(-x)^{k}}{k}.$$



                            Now, by properties of $log$, $frac{log(1 + x)}{log(1 - x)} = log(1 + x) - log(1 - x)$. So,



                            $$frac{log(1 + x)}{log(1 - x)} = sum_{k = 1}^{infty} frac{(-x)^{k}}{k} + sum_{k = 1}^{infty} frac{x^{k}}{k}$$



                            $$= sum_{k = 1}^{infty} frac{(-x)^{k} + x^{k}}{k}.$$



                            Note that when $k$ is odd, the terms vanish.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Dec 11 '18 at 16:55









                            Ekesh KumarEkesh Kumar

                            1,01228




                            1,01228















                                Popular posts from this blog

                                Index of /

                                Tribalistas

                                Listed building