Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2606

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

From Peter Pein <petsie@dordos.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Series[log[x], {x, 0, 3}]
Date 2011-05-22 10:58 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iraq8j$lsg$1@smc.vnet.net> (permalink)
References <ir8534$ba5$1@smc.vnet.net>

Show all headers | View raw


Am 21.05.2011 12:44, schrieb Hongyi Zhao:
> 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 :.
> 

Hi,

try to use Mathematica Syntax for Log; the outcome is not what you might
expect:

In[1]:= Series[Log[x],{x,0,3}]
Out[1]= Log[x]+O[x]^4

but shifting x by one gives a nice taylor series:

In[2]:= Series[Log[1+x],{x,0,3}]
Out[2]= x-x^2/2+x^3/3+O[x]^4

Peter

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Series[log[x], {x, 0, 3}] Hongyi Zhao <hszhao.cn@gmail.com> - 2011-05-21 10:44 +0000
  Re: Series[log[x], {x, 0, 3}] Erik Max Francis <max@alcyone.com> - 2011-05-22 10:56 +0000
  Re: Series[log[x], {x, 0, 3}] Oliver Jennrich <oliver.jennrich@gmx.net> - 2011-05-22 10:56 +0000
  Re: Series[log[x], {x, 0, 3}] Peter Pein <petsie@dordos.net> - 2011-05-22 10:58 +0000

csiph-web