MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Series[log[x], {x, 0, 3}]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119103] Re: Series[log[x], {x, 0, 3}]
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Sun, 22 May 2011 06:52:46 -0400 (EDT)

The function is called Log. (ALL Mathematica built-ins start with capital  
letters.)

Log has a singularity at 0, so you'd have to expand around some other  
point, such as 1:

Series[Log@x, {x, 1, 3}]

(x-1)-1/2 (x-1)^2+1/3 (x-1)^3+O[x-1]^4

Bobby

On Sat, 21 May 2011 05:44:59 -0500, Hongyi Zhao <hszhao.cn at gmail.com>  
wrote:

> Hi all,
>
> I do the following computation within Mathematica:
>
> Series[log[x], {x, 0, 3}]
>
> Then I get:
>
> log[0]+(log^\[Prime])[0] x+1/2 (log^\[Prime]\[Prime])[0] x^2+1/6  
> (log^(3))
> [0] x^3+O[x]^4
>
> Any hints on this result?  The log[0] is illegal in my mind.
>
> Regards.
> --
> .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: Re: how do I plot many points?
  • Next by Date: Re: how do I plot many points?
  • Previous by thread: Re: Series[log[x], {x, 0, 3}]
  • Next by thread: Re: Series[log[x], {x, 0, 3}]